* config/mn10300/mn10300.md (adddi3_degenerate): Remove bogus
[official-gcc.git] / libstdc++-v3 / configure
blob39f83e239d7d39cbf74eff9d95b2d23f8ae6916a
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for package-unused version-unused.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
209 as_have_required=yes
210 else
211 as_have_required=no
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
215 else
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
220 IFS=$as_save_IFS
221 test -z "$as_dir" && as_dir=.
222 as_found=:
223 case $as_dir in #(
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 break 2
235 done;;
236 esac
237 as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
246 if test "x$CONFIG_SHELL" != x; then :
247 export CONFIG_SHELL
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256 *v*x* | *x*v* ) as_opts=-vx ;;
257 *v* ) as_opts=-v ;;
258 *x* ) as_opts=-x ;;
259 * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274 else
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
280 exit 1
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
298 { eval $1=; unset $1;}
300 as_unset=as_fn_unset
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
307 return $1
308 } # as_fn_set_status
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
315 set +e
316 as_fn_set_status $1
317 exit $1
318 } # as_fn_exit
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
326 case $as_dir in #(
327 -*) as_dir=./$as_dir;;
328 esac
329 test -d "$as_dir" || eval $as_mkdir_p || {
330 as_dirs=
331 while :; do
332 case $as_dir in #(
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334 *) as_qdir=$as_dir;;
335 esac
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344 s//\1/
347 /^X\(\/\/\)[^/].*/{
348 s//\1/
351 /^X\(\/\/\)$/{
352 s//\1/
355 /^X\(\/\).*/{
356 s//\1/
359 s/.*/./; q'`
360 test -d "$as_dir" && break
361 done
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
366 } # as_fn_mkdir_p
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
384 eval $1+=\$2
386 else
387 as_fn_append ()
389 eval $1=\$$1\$2
391 fi # as_fn_append
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399 eval 'as_fn_arith ()
401 as_val=$(( $* ))
403 else
404 as_fn_arith ()
406 as_val=`expr "$@" || test $? -eq 1`
408 fi # as_fn_arith
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
418 as_status=$1; test $as_status -eq 0 && as_status=1
419 if test "$4"; then
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
425 } # as_fn_error
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 as_expr=expr
430 else
431 as_expr=false
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 as_basename=basename
436 else
437 as_basename=false
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_dirname=dirname
442 else
443 as_dirname=false
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
452 s//\1/
455 /^X\/\(\/\/\)$/{
456 s//\1/
459 /^X\/\(\/\).*/{
460 s//\1/
463 s/.*/./; q'`
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
478 sed -n '
480 /[$]LINENO/=
481 ' <$as_myself |
482 sed '
483 s/[$]LINENO.*/&-/
484 t lineno
486 :lineno
488 :loop
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490 t loop
491 s/-\n.*//
492 ' >$as_me.lineno &&
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
503 . "./$as_me.lineno"
504 # Exit status is that of the last command.
505 exit
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
513 xy) ECHO_C='\c';;
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 ECHO_T=' ';;
516 esac;;
518 ECHO_N='-n';;
519 esac
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
524 else
525 rm -f conf$$.dir
526 mkdir conf$$.dir 2>/dev/null
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s='ln -s'
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536 as_ln_s='cp -pR'
537 elif ln conf$$.file conf$$ 2>/dev/null; then
538 as_ln_s=ln
539 else
540 as_ln_s='cp -pR'
542 else
543 as_ln_s='cp -pR'
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
550 else
551 test -d ./-p && rmdir ./-p
552 as_mkdir_p=false
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
576 # Initializations.
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
587 # Identity of this package.
588 PACKAGE_NAME='package-unused'
589 PACKAGE_TARNAME='libstdc++'
590 PACKAGE_VERSION='version-unused'
591 PACKAGE_STRING='package-unused version-unused'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL=''
595 ac_unique_file="src/shared/hashtable-aux.cc"
596 # Factoring default headers for most tests.
597 ac_includes_default="\
598 #include <stdio.h>
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
601 #endif
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
604 #endif
605 #ifdef STDC_HEADERS
606 # include <stdlib.h>
607 # include <stddef.h>
608 #else
609 # ifdef HAVE_STDLIB_H
610 # include <stdlib.h>
611 # endif
612 #endif
613 #ifdef HAVE_STRING_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615 # include <memory.h>
616 # endif
617 # include <string.h>
618 #endif
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
621 #endif
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
624 #endif
625 #ifdef HAVE_STDINT_H
626 # include <stdint.h>
627 #endif
628 #ifdef HAVE_UNISTD_H
629 # include <unistd.h>
630 #endif"
632 ac_subst_vars='am__EXEEXT_FALSE
633 am__EXEEXT_TRUE
634 LTLIBOBJS
635 LIBOBJS
636 get_gcc_base_ver
637 WARN_FLAGS
638 OPTIMIZE_CXXFLAGS
639 TOPLEVEL_INCLUDES
640 GLIBCXX_INCLUDES
641 glibcxx_toolexeclibdir
642 glibcxx_toolexecdir
643 gxx_include_dir
644 glibcxx_prefixdir
645 EXTRA_CFLAGS
646 CPU_OPT_BITS_RANDOM
647 CPU_OPT_EXT_RANDOM
648 ERROR_CONSTANTS_SRCDIR
649 OS_INC_SRCDIR
650 ABI_TWEAKS_SRCDIR
651 CPU_DEFINES_SRCDIR
652 ATOMIC_FLAGS
653 ATOMIC_WORD_SRCDIR
654 ATOMICITY_SRCDIR
655 INCLUDE_DIR_NOTPARALLEL_FALSE
656 INCLUDE_DIR_NOTPARALLEL_TRUE
657 BUILD_PDF_FALSE
658 BUILD_PDF_TRUE
659 PDFLATEX
660 DBLATEX
661 BUILD_MAN_FALSE
662 BUILD_MAN_TRUE
663 BUILD_HTML_FALSE
664 BUILD_HTML_TRUE
665 BUILD_XML_FALSE
666 BUILD_XML_TRUE
667 BUILD_EPUB_FALSE
668 BUILD_EPUB_TRUE
669 XSL_STYLE_DIR
670 XMLLINT
671 XSLTPROC
673 DOXYGEN
674 BUILD_INFO_FALSE
675 BUILD_INFO_TRUE
676 ENABLE_FILESYSTEM_TS_FALSE
677 ENABLE_FILESYSTEM_TS_TRUE
678 baseline_subdir_switch
679 baseline_dir
680 HWCAP_CFLAGS
681 GLIBCXX_LDBL_COMPAT_FALSE
682 GLIBCXX_LDBL_COMPAT_TRUE
683 LONG_DOUBLE_COMPAT_FLAGS
684 ENABLE_CXX11_ABI_FALSE
685 ENABLE_CXX11_ABI_TRUE
686 glibcxx_cxx98_abi
687 ENABLE_DUAL_ABI_FALSE
688 ENABLE_DUAL_ABI_TRUE
689 ENABLE_VISIBILITY_FALSE
690 ENABLE_VISIBILITY_TRUE
691 libtool_VERSION
692 ENABLE_SYMVERS_SUN_FALSE
693 ENABLE_SYMVERS_SUN_TRUE
694 ENABLE_SYMVERS_DARWIN_FALSE
695 ENABLE_SYMVERS_DARWIN_TRUE
696 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
697 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
698 ENABLE_SYMVERS_GNU_FALSE
699 ENABLE_SYMVERS_GNU_TRUE
700 ENABLE_SYMVERS_FALSE
701 ENABLE_SYMVERS_TRUE
702 port_specific_symbol_files
703 SYMVER_FILE
704 CXXFILT
705 LTLIBICONV
706 LIBICONV
707 OPT_LDFLAGS
708 SECTION_LDFLAGS
709 GLIBCXX_LIBS
710 ENABLE_VTABLE_VERIFY_FALSE
711 ENABLE_VTABLE_VERIFY_TRUE
712 VTV_CYGMIN_FALSE
713 VTV_CYGMIN_TRUE
714 VTV_CXXLINKFLAGS
715 VTV_PCH_CXXFLAGS
716 VTV_CXXFLAGS
717 ENABLE_WERROR_FALSE
718 ENABLE_WERROR_TRUE
719 ENABLE_PYTHONDIR_FALSE
720 ENABLE_PYTHONDIR_TRUE
721 python_mod_dir
722 ENABLE_EXTERN_TEMPLATE_FALSE
723 ENABLE_EXTERN_TEMPLATE_TRUE
724 EXTRA_CXX_FLAGS
725 GLIBCXX_BUILD_DEBUG_FALSE
726 GLIBCXX_BUILD_DEBUG_TRUE
727 DEBUG_FLAGS
728 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
729 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
730 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
731 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
732 GLIBCXX_C_HEADERS_C_STD_FALSE
733 GLIBCXX_C_HEADERS_C_STD_TRUE
734 GLIBCXX_C_HEADERS_C_FALSE
735 GLIBCXX_C_HEADERS_C_TRUE
736 C_INCLUDE_DIR
737 ALLOCATOR_NAME
738 ALLOCATOR_H
739 ENABLE_ALLOCATOR_NEW_FALSE
740 ENABLE_ALLOCATOR_NEW_TRUE
741 CLOCALE_INTERNAL_H
742 CLOCALE_CC
743 CTIME_CC
744 CTIME_H
745 CNUMERIC_CC
746 CMONEY_CC
747 CMESSAGES_CC
748 CCTYPE_CC
749 CCOLLATE_CC
750 CCODECVT_CC
751 CMESSAGES_H
752 CLOCALE_H
753 USE_NLS
754 glibcxx_localedir
755 glibcxx_POFILES
756 glibcxx_MOFILES
757 check_msgfmt
758 BASIC_FILE_CC
759 BASIC_FILE_H
760 CSTDIO_H
761 SECTION_FLAGS
762 ENABLE_FLOAT128_FALSE
763 ENABLE_FLOAT128_TRUE
764 thread_header
765 glibcxx_PCHFLAGS
766 GLIBCXX_BUILD_PCH_FALSE
767 GLIBCXX_BUILD_PCH_TRUE
768 GLIBCXX_HOSTED_FALSE
769 GLIBCXX_HOSTED_TRUE
770 glibcxx_compiler_shared_flag
771 glibcxx_compiler_pic_flag
772 glibcxx_lt_pic_flag
773 enable_static
774 enable_shared
775 lt_host_flags
776 CXXCPP
777 OTOOL64
778 OTOOL
779 LIPO
780 NMEDIT
781 DSYMUTIL
782 OBJDUMP
784 ac_ct_DUMPBIN
785 DUMPBIN
787 FGREP
789 LIBTOOL
790 EGREP
791 GREP
793 MAINT
794 MAINTAINER_MODE_FALSE
795 MAINTAINER_MODE_TRUE
796 RANLIB
799 LN_S
800 toplevel_srcdir
801 toplevel_builddir
802 glibcxx_srcdir
803 glibcxx_builddir
804 ac_ct_CXX
805 CXXFLAGS
807 OBJEXT
808 EXEEXT
809 ac_ct_CC
810 CPPFLAGS
811 LDFLAGS
812 CFLAGS
814 AM_BACKSLASH
815 AM_DEFAULT_VERBOSITY
816 AM_DEFAULT_V
817 AM_V
818 am__untar
819 am__tar
820 AMTAR
821 am__leading_dot
822 SET_MAKE
824 mkdir_p
825 MKDIR_P
826 INSTALL_STRIP_PROGRAM
827 STRIP
828 install_sh
829 MAKEINFO
830 AUTOHEADER
831 AUTOMAKE
832 AUTOCONF
833 ACLOCAL
834 VERSION
835 PACKAGE
836 CYGPATH_W
837 am__isrc
838 INSTALL_DATA
839 INSTALL_SCRIPT
840 INSTALL_PROGRAM
841 target_os
842 target_vendor
843 target_cpu
844 target
845 host_os
846 host_vendor
847 host_cpu
848 host
849 build_os
850 build_vendor
851 build_cpu
852 build
853 multi_basedir
854 target_alias
855 host_alias
856 build_alias
857 LIBS
858 ECHO_T
859 ECHO_N
860 ECHO_C
861 DEFS
862 mandir
863 localedir
864 libdir
865 psdir
866 pdfdir
867 dvidir
868 htmldir
869 infodir
870 docdir
871 oldincludedir
872 includedir
873 localstatedir
874 sharedstatedir
875 sysconfdir
876 datadir
877 datarootdir
878 libexecdir
879 sbindir
880 bindir
881 program_transform_name
882 prefix
883 exec_prefix
884 PACKAGE_URL
885 PACKAGE_BUGREPORT
886 PACKAGE_STRING
887 PACKAGE_VERSION
888 PACKAGE_TARNAME
889 PACKAGE_NAME
890 PATH_SEPARATOR
891 SHELL'
892 ac_subst_files=''
893 ac_user_opts='
894 enable_option_checking
895 enable_multilib
896 enable_silent_rules
897 with_target_subdir
898 with_cross_host
899 with_newlib
900 enable_maintainer_mode
901 enable_shared
902 enable_static
903 with_pic
904 enable_fast_install
905 with_gnu_ld
906 enable_libtool_lock
907 enable_hosted_libstdcxx
908 enable_libstdcxx_verbose
909 enable_libstdcxx_pch
910 enable_cstdio
911 enable_clocale
912 enable_nls
913 enable_libstdcxx_allocator
914 enable_cheaders
915 enable_long_long
916 enable_wchar_t
917 enable_c99
918 enable_concept_checks
919 enable_libstdcxx_debug_flags
920 enable_libstdcxx_debug
921 enable_cxx_flags
922 enable_fully_dynamic_string
923 enable_extern_template
924 with_python_dir
925 enable_werror
926 enable_vtable_verify
927 enable_libstdcxx_time
928 enable_tls
929 enable_rpath
930 with_libiconv_prefix
931 with_system_libunwind
932 enable_linux_futex
933 enable_symvers
934 enable_libstdcxx_visibility
935 enable_libstdcxx_dual_abi
936 with_default_libstdcxx_abi
937 enable_libstdcxx_threads
938 enable_libstdcxx_filesystem_ts
939 enable_cet
940 with_gxx_include_dir
941 enable_version_specific_runtime_libs
942 with_gcc_major_version_only
944 ac_precious_vars='build_alias
945 host_alias
946 target_alias
948 CFLAGS
949 LDFLAGS
950 LIBS
951 CPPFLAGS
953 CXXFLAGS
956 CXXCPP
957 CXXFILT'
960 # Initialize some variables set by options.
961 ac_init_help=
962 ac_init_version=false
963 ac_unrecognized_opts=
964 ac_unrecognized_sep=
965 # The variables have the same names as the options, with
966 # dashes changed to underlines.
967 cache_file=/dev/null
968 exec_prefix=NONE
969 no_create=
970 no_recursion=
971 prefix=NONE
972 program_prefix=NONE
973 program_suffix=NONE
974 program_transform_name=s,x,x,
975 silent=
976 site=
977 srcdir=
978 verbose=
979 x_includes=NONE
980 x_libraries=NONE
982 # Installation directory options.
983 # These are left unexpanded so users can "make install exec_prefix=/foo"
984 # and all the variables that are supposed to be based on exec_prefix
985 # by default will actually change.
986 # Use braces instead of parens because sh, perl, etc. also accept them.
987 # (The list follows the same order as the GNU Coding Standards.)
988 bindir='${exec_prefix}/bin'
989 sbindir='${exec_prefix}/sbin'
990 libexecdir='${exec_prefix}/libexec'
991 datarootdir='${prefix}/share'
992 datadir='${datarootdir}'
993 sysconfdir='${prefix}/etc'
994 sharedstatedir='${prefix}/com'
995 localstatedir='${prefix}/var'
996 includedir='${prefix}/include'
997 oldincludedir='/usr/include'
998 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
999 infodir='${datarootdir}/info'
1000 htmldir='${docdir}'
1001 dvidir='${docdir}'
1002 pdfdir='${docdir}'
1003 psdir='${docdir}'
1004 libdir='${exec_prefix}/lib'
1005 localedir='${datarootdir}/locale'
1006 mandir='${datarootdir}/man'
1008 ac_prev=
1009 ac_dashdash=
1010 for ac_option
1012 # If the previous option needs an argument, assign it.
1013 if test -n "$ac_prev"; then
1014 eval $ac_prev=\$ac_option
1015 ac_prev=
1016 continue
1019 case $ac_option in
1020 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1021 *=) ac_optarg= ;;
1022 *) ac_optarg=yes ;;
1023 esac
1025 # Accept the important Cygnus configure options, so we can diagnose typos.
1027 case $ac_dashdash$ac_option in
1029 ac_dashdash=yes ;;
1031 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1032 ac_prev=bindir ;;
1033 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1034 bindir=$ac_optarg ;;
1036 -build | --build | --buil | --bui | --bu)
1037 ac_prev=build_alias ;;
1038 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1039 build_alias=$ac_optarg ;;
1041 -cache-file | --cache-file | --cache-fil | --cache-fi \
1042 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1043 ac_prev=cache_file ;;
1044 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1045 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1046 cache_file=$ac_optarg ;;
1048 --config-cache | -C)
1049 cache_file=config.cache ;;
1051 -datadir | --datadir | --datadi | --datad)
1052 ac_prev=datadir ;;
1053 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1054 datadir=$ac_optarg ;;
1056 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1057 | --dataroo | --dataro | --datar)
1058 ac_prev=datarootdir ;;
1059 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1060 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1061 datarootdir=$ac_optarg ;;
1063 -disable-* | --disable-*)
1064 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1065 # Reject names that are not valid shell variable names.
1066 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1067 as_fn_error $? "invalid feature name: $ac_useropt"
1068 ac_useropt_orig=$ac_useropt
1069 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1070 case $ac_user_opts in
1072 "enable_$ac_useropt"
1073 "*) ;;
1074 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1075 ac_unrecognized_sep=', ';;
1076 esac
1077 eval enable_$ac_useropt=no ;;
1079 -docdir | --docdir | --docdi | --doc | --do)
1080 ac_prev=docdir ;;
1081 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1082 docdir=$ac_optarg ;;
1084 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1085 ac_prev=dvidir ;;
1086 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1087 dvidir=$ac_optarg ;;
1089 -enable-* | --enable-*)
1090 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1091 # Reject names that are not valid shell variable names.
1092 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1093 as_fn_error $? "invalid feature name: $ac_useropt"
1094 ac_useropt_orig=$ac_useropt
1095 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1096 case $ac_user_opts in
1098 "enable_$ac_useropt"
1099 "*) ;;
1100 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1101 ac_unrecognized_sep=', ';;
1102 esac
1103 eval enable_$ac_useropt=\$ac_optarg ;;
1105 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1106 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1107 | --exec | --exe | --ex)
1108 ac_prev=exec_prefix ;;
1109 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1110 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1111 | --exec=* | --exe=* | --ex=*)
1112 exec_prefix=$ac_optarg ;;
1114 -gas | --gas | --ga | --g)
1115 # Obsolete; use --with-gas.
1116 with_gas=yes ;;
1118 -help | --help | --hel | --he | -h)
1119 ac_init_help=long ;;
1120 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1121 ac_init_help=recursive ;;
1122 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1123 ac_init_help=short ;;
1125 -host | --host | --hos | --ho)
1126 ac_prev=host_alias ;;
1127 -host=* | --host=* | --hos=* | --ho=*)
1128 host_alias=$ac_optarg ;;
1130 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1131 ac_prev=htmldir ;;
1132 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1133 | --ht=*)
1134 htmldir=$ac_optarg ;;
1136 -includedir | --includedir | --includedi | --included | --include \
1137 | --includ | --inclu | --incl | --inc)
1138 ac_prev=includedir ;;
1139 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1140 | --includ=* | --inclu=* | --incl=* | --inc=*)
1141 includedir=$ac_optarg ;;
1143 -infodir | --infodir | --infodi | --infod | --info | --inf)
1144 ac_prev=infodir ;;
1145 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1146 infodir=$ac_optarg ;;
1148 -libdir | --libdir | --libdi | --libd)
1149 ac_prev=libdir ;;
1150 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1151 libdir=$ac_optarg ;;
1153 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1154 | --libexe | --libex | --libe)
1155 ac_prev=libexecdir ;;
1156 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1157 | --libexe=* | --libex=* | --libe=*)
1158 libexecdir=$ac_optarg ;;
1160 -localedir | --localedir | --localedi | --localed | --locale)
1161 ac_prev=localedir ;;
1162 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1163 localedir=$ac_optarg ;;
1165 -localstatedir | --localstatedir | --localstatedi | --localstated \
1166 | --localstate | --localstat | --localsta | --localst | --locals)
1167 ac_prev=localstatedir ;;
1168 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1169 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1170 localstatedir=$ac_optarg ;;
1172 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1173 ac_prev=mandir ;;
1174 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1175 mandir=$ac_optarg ;;
1177 -nfp | --nfp | --nf)
1178 # Obsolete; use --without-fp.
1179 with_fp=no ;;
1181 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1182 | --no-cr | --no-c | -n)
1183 no_create=yes ;;
1185 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1186 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1187 no_recursion=yes ;;
1189 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1190 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1191 | --oldin | --oldi | --old | --ol | --o)
1192 ac_prev=oldincludedir ;;
1193 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1194 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1195 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1196 oldincludedir=$ac_optarg ;;
1198 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1199 ac_prev=prefix ;;
1200 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1201 prefix=$ac_optarg ;;
1203 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1204 | --program-pre | --program-pr | --program-p)
1205 ac_prev=program_prefix ;;
1206 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1207 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1208 program_prefix=$ac_optarg ;;
1210 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1211 | --program-suf | --program-su | --program-s)
1212 ac_prev=program_suffix ;;
1213 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1214 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1215 program_suffix=$ac_optarg ;;
1217 -program-transform-name | --program-transform-name \
1218 | --program-transform-nam | --program-transform-na \
1219 | --program-transform-n | --program-transform- \
1220 | --program-transform | --program-transfor \
1221 | --program-transfo | --program-transf \
1222 | --program-trans | --program-tran \
1223 | --progr-tra | --program-tr | --program-t)
1224 ac_prev=program_transform_name ;;
1225 -program-transform-name=* | --program-transform-name=* \
1226 | --program-transform-nam=* | --program-transform-na=* \
1227 | --program-transform-n=* | --program-transform-=* \
1228 | --program-transform=* | --program-transfor=* \
1229 | --program-transfo=* | --program-transf=* \
1230 | --program-trans=* | --program-tran=* \
1231 | --progr-tra=* | --program-tr=* | --program-t=*)
1232 program_transform_name=$ac_optarg ;;
1234 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1235 ac_prev=pdfdir ;;
1236 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1237 pdfdir=$ac_optarg ;;
1239 -psdir | --psdir | --psdi | --psd | --ps)
1240 ac_prev=psdir ;;
1241 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1242 psdir=$ac_optarg ;;
1244 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1245 | -silent | --silent | --silen | --sile | --sil)
1246 silent=yes ;;
1248 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1249 ac_prev=sbindir ;;
1250 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1251 | --sbi=* | --sb=*)
1252 sbindir=$ac_optarg ;;
1254 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1255 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1256 | --sharedst | --shareds | --shared | --share | --shar \
1257 | --sha | --sh)
1258 ac_prev=sharedstatedir ;;
1259 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1260 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1261 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1262 | --sha=* | --sh=*)
1263 sharedstatedir=$ac_optarg ;;
1265 -site | --site | --sit)
1266 ac_prev=site ;;
1267 -site=* | --site=* | --sit=*)
1268 site=$ac_optarg ;;
1270 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1271 ac_prev=srcdir ;;
1272 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1273 srcdir=$ac_optarg ;;
1275 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1276 | --syscon | --sysco | --sysc | --sys | --sy)
1277 ac_prev=sysconfdir ;;
1278 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1279 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1280 sysconfdir=$ac_optarg ;;
1282 -target | --target | --targe | --targ | --tar | --ta | --t)
1283 ac_prev=target_alias ;;
1284 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1285 target_alias=$ac_optarg ;;
1287 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1288 verbose=yes ;;
1290 -version | --version | --versio | --versi | --vers | -V)
1291 ac_init_version=: ;;
1293 -with-* | --with-*)
1294 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1295 # Reject names that are not valid shell variable names.
1296 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1297 as_fn_error $? "invalid package name: $ac_useropt"
1298 ac_useropt_orig=$ac_useropt
1299 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1300 case $ac_user_opts in
1302 "with_$ac_useropt"
1303 "*) ;;
1304 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1305 ac_unrecognized_sep=', ';;
1306 esac
1307 eval with_$ac_useropt=\$ac_optarg ;;
1309 -without-* | --without-*)
1310 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1311 # Reject names that are not valid shell variable names.
1312 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1313 as_fn_error $? "invalid package name: $ac_useropt"
1314 ac_useropt_orig=$ac_useropt
1315 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1316 case $ac_user_opts in
1318 "with_$ac_useropt"
1319 "*) ;;
1320 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1321 ac_unrecognized_sep=', ';;
1322 esac
1323 eval with_$ac_useropt=no ;;
1325 --x)
1326 # Obsolete; use --with-x.
1327 with_x=yes ;;
1329 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1330 | --x-incl | --x-inc | --x-in | --x-i)
1331 ac_prev=x_includes ;;
1332 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1333 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1334 x_includes=$ac_optarg ;;
1336 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1337 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1338 ac_prev=x_libraries ;;
1339 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1340 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1341 x_libraries=$ac_optarg ;;
1343 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1344 Try \`$0 --help' for more information"
1347 *=*)
1348 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1349 # Reject names that are not valid shell variable names.
1350 case $ac_envvar in #(
1351 '' | [0-9]* | *[!_$as_cr_alnum]* )
1352 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1353 esac
1354 eval $ac_envvar=\$ac_optarg
1355 export $ac_envvar ;;
1358 # FIXME: should be removed in autoconf 3.0.
1359 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1360 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1361 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1362 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1365 esac
1366 done
1368 if test -n "$ac_prev"; then
1369 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1370 as_fn_error $? "missing argument to $ac_option"
1373 if test -n "$ac_unrecognized_opts"; then
1374 case $enable_option_checking in
1375 no) ;;
1376 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1377 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1378 esac
1381 # Check all directory arguments for consistency.
1382 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1383 datadir sysconfdir sharedstatedir localstatedir includedir \
1384 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1385 libdir localedir mandir
1387 eval ac_val=\$$ac_var
1388 # Remove trailing slashes.
1389 case $ac_val in
1390 */ )
1391 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1392 eval $ac_var=\$ac_val;;
1393 esac
1394 # Be sure to have absolute directory names.
1395 case $ac_val in
1396 [\\/$]* | ?:[\\/]* ) continue;;
1397 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1398 esac
1399 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1400 done
1402 # There might be people who depend on the old broken behavior: `$host'
1403 # used to hold the argument of --host etc.
1404 # FIXME: To remove some day.
1405 build=$build_alias
1406 host=$host_alias
1407 target=$target_alias
1409 # FIXME: To remove some day.
1410 if test "x$host_alias" != x; then
1411 if test "x$build_alias" = x; then
1412 cross_compiling=maybe
1413 elif test "x$build_alias" != "x$host_alias"; then
1414 cross_compiling=yes
1418 ac_tool_prefix=
1419 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1421 test "$silent" = yes && exec 6>/dev/null
1424 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1425 ac_ls_di=`ls -di .` &&
1426 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1427 as_fn_error $? "working directory cannot be determined"
1428 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1429 as_fn_error $? "pwd does not report name of working directory"
1432 # Find the source files, if location was not specified.
1433 if test -z "$srcdir"; then
1434 ac_srcdir_defaulted=yes
1435 # Try the directory containing this script, then the parent directory.
1436 ac_confdir=`$as_dirname -- "$as_myself" ||
1437 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1438 X"$as_myself" : 'X\(//\)[^/]' \| \
1439 X"$as_myself" : 'X\(//\)$' \| \
1440 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1441 $as_echo X"$as_myself" |
1442 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1443 s//\1/
1446 /^X\(\/\/\)[^/].*/{
1447 s//\1/
1450 /^X\(\/\/\)$/{
1451 s//\1/
1454 /^X\(\/\).*/{
1455 s//\1/
1458 s/.*/./; q'`
1459 srcdir=$ac_confdir
1460 if test ! -r "$srcdir/$ac_unique_file"; then
1461 srcdir=..
1463 else
1464 ac_srcdir_defaulted=no
1466 if test ! -r "$srcdir/$ac_unique_file"; then
1467 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1468 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1470 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1471 ac_abs_confdir=`(
1472 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1473 pwd)`
1474 # When building in place, set srcdir=.
1475 if test "$ac_abs_confdir" = "$ac_pwd"; then
1476 srcdir=.
1478 # Remove unnecessary trailing slashes from srcdir.
1479 # Double slashes in file names in object file debugging info
1480 # mess up M-x gdb in Emacs.
1481 case $srcdir in
1482 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1483 esac
1484 for ac_var in $ac_precious_vars; do
1485 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1486 eval ac_env_${ac_var}_value=\$${ac_var}
1487 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1488 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1489 done
1492 # Report the --help message.
1494 if test "$ac_init_help" = "long"; then
1495 # Omit some internal or obsolete options to make the list less imposing.
1496 # This message is too long to be a string in the A/UX 3.1 sh.
1497 cat <<_ACEOF
1498 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1500 Usage: $0 [OPTION]... [VAR=VALUE]...
1502 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1503 VAR=VALUE. See below for descriptions of some of the useful variables.
1505 Defaults for the options are specified in brackets.
1507 Configuration:
1508 -h, --help display this help and exit
1509 --help=short display options specific to this package
1510 --help=recursive display the short help of all the included packages
1511 -V, --version display version information and exit
1512 -q, --quiet, --silent do not print \`checking ...' messages
1513 --cache-file=FILE cache test results in FILE [disabled]
1514 -C, --config-cache alias for \`--cache-file=config.cache'
1515 -n, --no-create do not create output files
1516 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1518 Installation directories:
1519 --prefix=PREFIX install architecture-independent files in PREFIX
1520 [$ac_default_prefix]
1521 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1522 [PREFIX]
1524 By default, \`make install' will install all the files in
1525 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1526 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1527 for instance \`--prefix=\$HOME'.
1529 For better control, use the options below.
1531 Fine tuning of the installation directories:
1532 --bindir=DIR user executables [EPREFIX/bin]
1533 --sbindir=DIR system admin executables [EPREFIX/sbin]
1534 --libexecdir=DIR program executables [EPREFIX/libexec]
1535 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1536 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1537 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1538 --libdir=DIR object code libraries [EPREFIX/lib]
1539 --includedir=DIR C header files [PREFIX/include]
1540 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1541 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1542 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1543 --infodir=DIR info documentation [DATAROOTDIR/info]
1544 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1545 --mandir=DIR man documentation [DATAROOTDIR/man]
1546 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1547 --htmldir=DIR html documentation [DOCDIR]
1548 --dvidir=DIR dvi documentation [DOCDIR]
1549 --pdfdir=DIR pdf documentation [DOCDIR]
1550 --psdir=DIR ps documentation [DOCDIR]
1551 _ACEOF
1553 cat <<\_ACEOF
1555 Program names:
1556 --program-prefix=PREFIX prepend PREFIX to installed program names
1557 --program-suffix=SUFFIX append SUFFIX to installed program names
1558 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1560 System types:
1561 --build=BUILD configure for building on BUILD [guessed]
1562 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1563 --target=TARGET configure for building compilers for TARGET [HOST]
1564 _ACEOF
1567 if test -n "$ac_init_help"; then
1568 case $ac_init_help in
1569 short | recursive ) echo "Configuration of package-unused version-unused:";;
1570 esac
1571 cat <<\_ACEOF
1573 Optional Features:
1574 --disable-option-checking ignore unrecognized --enable/--with options
1575 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1576 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1577 --enable-multilib build many library versions (default)
1578 --enable-silent-rules less verbose build output (undo: "make V=1")
1579 --disable-silent-rules verbose build output (undo: "make V=0")
1580 --enable-maintainer-mode
1581 enable make rules and dependencies not useful (and
1582 sometimes confusing) to the casual installer
1583 --enable-shared[=PKGS] build shared libraries [default=yes]
1584 --enable-static[=PKGS] build static libraries [default=yes]
1585 --enable-fast-install[=PKGS]
1586 optimize for fast installation [default=yes]
1587 --disable-libtool-lock avoid locking (might break parallel builds)
1588 --disable-hosted-libstdcxx
1589 only build freestanding C++ runtime support
1590 --disable-libstdcxx-verbose
1591 disable termination messages to standard error
1592 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1593 [default=$is_hosted]
1594 --enable-cstdio[=PACKAGE]
1595 use target-specific I/O package [default=stdio]
1596 --enable-clocale[=MODEL]
1597 use MODEL for target locale package [default=auto]
1598 --enable-nls use Native Language Support (default)
1599 --enable-libstdcxx-allocator[=KIND]
1600 use KIND for target std::allocator base
1601 [default=auto]
1602 --enable-cheaders[=KIND]
1603 construct "C" headers for g++ [default=$c_model]
1604 --enable-long-long enable template specializations for 'long long'
1605 [default=yes]
1606 --enable-wchar_t enable template specializations for 'wchar_t'
1607 [default=yes]
1608 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1609 --enable-concept-checks use Boost-derived template checks [default=no]
1610 --enable-libstdcxx-debug-flags=FLAGS
1611 pass compiler FLAGS when building debug library
1612 [default="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1613 --enable-libstdcxx-debug
1614 build extra debug library [default=no]
1615 --enable-cxx-flags=FLAGS
1616 pass compiler FLAGS when building library [default=]
1617 --enable-fully-dynamic-string
1618 do not put empty strings in per-process static
1619 memory [default=no]
1620 --enable-extern-template
1621 enable extern template [default=yes]
1622 --enable-werror turns on -Werror [default=no]
1623 --enable-vtable-verify enable vtable verify [default=no]
1624 --enable-libstdcxx-time[=KIND]
1625 use KIND for check type [default=auto]
1626 --enable-tls Use thread-local storage [default=yes]
1627 --disable-rpath do not hardcode runtime library paths
1628 --enable-linux-futex use the Linux futex system call [default=default]
1629 --enable-symvers[=STYLE]
1630 enables symbol versioning of the shared library
1631 [default=yes]
1632 --enable-libstdcxx-visibility
1633 enables visibility safe usage [default=yes]
1634 --enable-libstdcxx-dual-abi
1635 support two versions of std::string [default=yes]
1636 --enable-libstdcxx-threads
1637 enable C++11 threads support [default=auto]
1638 --enable-libstdcxx-filesystem-ts
1639 turns on ISO/IEC TS 18822 support [default=auto]
1640 --enable-cet enable Intel CET in target libraries [default=no]
1641 --enable-version-specific-runtime-libs
1642 Specify that runtime libraries should be installed
1643 in a compiler-specific directory
1645 Optional Packages:
1646 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1647 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1648 --with-target-subdir=SUBDIR
1649 configuring in a subdirectory
1650 --with-cross-host=HOST configuring with a cross compiler
1651 --with-newlib assume newlib as a system C library
1652 --with-pic try to use only PIC/non-PIC objects [default=use
1653 both]
1654 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1655 --with-python-dir the location to install Python modules. This path is
1656 relative starting from the prefix.
1657 --with-gnu-ld assume the C compiler uses GNU ld default=no
1658 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1659 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1660 --with-system-libunwind use installed libunwind
1661 --with-default-libstdcxx-abi
1662 set the std::string ABI to use by default
1663 --with-gxx-include-dir=DIR
1664 installation directory for include files
1665 --with-gcc-major-version-only
1666 use only GCC major number in filesystem paths
1668 Some influential environment variables:
1669 CC C compiler command
1670 CFLAGS C compiler flags
1671 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1672 nonstandard directory <lib dir>
1673 LIBS libraries to pass to the linker, e.g. -l<library>
1674 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1675 you have headers in a nonstandard directory <include dir>
1676 CXX C++ compiler command
1677 CXXFLAGS C++ compiler flags
1678 CPP C preprocessor
1679 CXXCPP C++ preprocessor
1680 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1681 `c++filt', `gc++filt' on PATH.
1683 Use these variables to override the choices made by `configure' or to help
1684 it to find libraries and programs with nonstandard names/locations.
1686 Report bugs to the package provider.
1687 _ACEOF
1688 ac_status=$?
1691 if test "$ac_init_help" = "recursive"; then
1692 # If there are subdirs, report their specific --help.
1693 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1694 test -d "$ac_dir" ||
1695 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1696 continue
1697 ac_builddir=.
1699 case "$ac_dir" in
1700 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1702 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1703 # A ".." for each directory in $ac_dir_suffix.
1704 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1705 case $ac_top_builddir_sub in
1706 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1707 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1708 esac ;;
1709 esac
1710 ac_abs_top_builddir=$ac_pwd
1711 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1712 # for backward compatibility:
1713 ac_top_builddir=$ac_top_build_prefix
1715 case $srcdir in
1716 .) # We are building in place.
1717 ac_srcdir=.
1718 ac_top_srcdir=$ac_top_builddir_sub
1719 ac_abs_top_srcdir=$ac_pwd ;;
1720 [\\/]* | ?:[\\/]* ) # Absolute name.
1721 ac_srcdir=$srcdir$ac_dir_suffix;
1722 ac_top_srcdir=$srcdir
1723 ac_abs_top_srcdir=$srcdir ;;
1724 *) # Relative name.
1725 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1726 ac_top_srcdir=$ac_top_build_prefix$srcdir
1727 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1728 esac
1729 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1731 cd "$ac_dir" || { ac_status=$?; continue; }
1732 # Check for guested configure.
1733 if test -f "$ac_srcdir/configure.gnu"; then
1734 echo &&
1735 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1736 elif test -f "$ac_srcdir/configure"; then
1737 echo &&
1738 $SHELL "$ac_srcdir/configure" --help=recursive
1739 else
1740 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1741 fi || ac_status=$?
1742 cd "$ac_pwd" || { ac_status=$?; break; }
1743 done
1746 test -n "$ac_init_help" && exit $ac_status
1747 if $ac_init_version; then
1748 cat <<\_ACEOF
1749 package-unused configure version-unused
1750 generated by GNU Autoconf 2.69
1752 Copyright (C) 2012 Free Software Foundation, Inc.
1753 This configure script is free software; the Free Software Foundation
1754 gives unlimited permission to copy, distribute and modify it.
1755 _ACEOF
1756 exit
1759 ## ------------------------ ##
1760 ## Autoconf initialization. ##
1761 ## ------------------------ ##
1763 # ac_fn_c_try_compile LINENO
1764 # --------------------------
1765 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1766 ac_fn_c_try_compile ()
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769 rm -f conftest.$ac_objext
1770 if { { ac_try="$ac_compile"
1771 case "(($ac_try" in
1772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1773 *) ac_try_echo=$ac_try;;
1774 esac
1775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776 $as_echo "$ac_try_echo"; } >&5
1777 (eval "$ac_compile") 2>conftest.err
1778 ac_status=$?
1779 if test -s conftest.err; then
1780 grep -v '^ *+' conftest.err >conftest.er1
1781 cat conftest.er1 >&5
1782 mv -f conftest.er1 conftest.err
1784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1785 test $ac_status = 0; } && {
1786 test -z "$ac_c_werror_flag" ||
1787 test ! -s conftest.err
1788 } && test -s conftest.$ac_objext; then :
1789 ac_retval=0
1790 else
1791 $as_echo "$as_me: failed program was:" >&5
1792 sed 's/^/| /' conftest.$ac_ext >&5
1794 ac_retval=1
1796 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1797 as_fn_set_status $ac_retval
1799 } # ac_fn_c_try_compile
1801 # ac_fn_cxx_try_compile LINENO
1802 # ----------------------------
1803 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1804 ac_fn_cxx_try_compile ()
1806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807 rm -f conftest.$ac_objext
1808 if { { ac_try="$ac_compile"
1809 case "(($ac_try" in
1810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1811 *) ac_try_echo=$ac_try;;
1812 esac
1813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1814 $as_echo "$ac_try_echo"; } >&5
1815 (eval "$ac_compile") 2>conftest.err
1816 ac_status=$?
1817 if test -s conftest.err; then
1818 grep -v '^ *+' conftest.err >conftest.er1
1819 cat conftest.er1 >&5
1820 mv -f conftest.er1 conftest.err
1822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1823 test $ac_status = 0; } && {
1824 test -z "$ac_cxx_werror_flag" ||
1825 test ! -s conftest.err
1826 } && test -s conftest.$ac_objext; then :
1827 ac_retval=0
1828 else
1829 $as_echo "$as_me: failed program was:" >&5
1830 sed 's/^/| /' conftest.$ac_ext >&5
1832 ac_retval=1
1834 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1835 as_fn_set_status $ac_retval
1837 } # ac_fn_cxx_try_compile
1839 # ac_fn_c_try_cpp LINENO
1840 # ----------------------
1841 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1842 ac_fn_c_try_cpp ()
1844 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1845 if { { ac_try="$ac_cpp conftest.$ac_ext"
1846 case "(($ac_try" in
1847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1848 *) ac_try_echo=$ac_try;;
1849 esac
1850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1851 $as_echo "$ac_try_echo"; } >&5
1852 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1853 ac_status=$?
1854 if test -s conftest.err; then
1855 grep -v '^ *+' conftest.err >conftest.er1
1856 cat conftest.er1 >&5
1857 mv -f conftest.er1 conftest.err
1859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860 test $ac_status = 0; } > conftest.i && {
1861 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1862 test ! -s conftest.err
1863 }; then :
1864 ac_retval=0
1865 else
1866 $as_echo "$as_me: failed program was:" >&5
1867 sed 's/^/| /' conftest.$ac_ext >&5
1869 ac_retval=1
1871 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1872 as_fn_set_status $ac_retval
1874 } # ac_fn_c_try_cpp
1876 # ac_fn_c_try_link LINENO
1877 # -----------------------
1878 # Try to link conftest.$ac_ext, and return whether this succeeded.
1879 ac_fn_c_try_link ()
1881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1882 rm -f conftest.$ac_objext conftest$ac_exeext
1883 if { { ac_try="$ac_link"
1884 case "(($ac_try" in
1885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1886 *) ac_try_echo=$ac_try;;
1887 esac
1888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1889 $as_echo "$ac_try_echo"; } >&5
1890 (eval "$ac_link") 2>conftest.err
1891 ac_status=$?
1892 if test -s conftest.err; then
1893 grep -v '^ *+' conftest.err >conftest.er1
1894 cat conftest.er1 >&5
1895 mv -f conftest.er1 conftest.err
1897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1898 test $ac_status = 0; } && {
1899 test -z "$ac_c_werror_flag" ||
1900 test ! -s conftest.err
1901 } && test -s conftest$ac_exeext && {
1902 test "$cross_compiling" = yes ||
1903 test -x conftest$ac_exeext
1904 }; then :
1905 ac_retval=0
1906 else
1907 $as_echo "$as_me: failed program was:" >&5
1908 sed 's/^/| /' conftest.$ac_ext >&5
1910 ac_retval=1
1912 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1913 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1914 # interfere with the next link command; also delete a directory that is
1915 # left behind by Apple's compiler. We do this before executing the actions.
1916 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1917 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1918 as_fn_set_status $ac_retval
1920 } # ac_fn_c_try_link
1922 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1923 # -------------------------------------------------------
1924 # Tests whether HEADER exists and can be compiled using the include files in
1925 # INCLUDES, setting the cache variable VAR accordingly.
1926 ac_fn_c_check_header_compile ()
1928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1930 $as_echo_n "checking for $2... " >&6; }
1931 if eval \${$3+:} false; then :
1932 $as_echo_n "(cached) " >&6
1933 else
1934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1935 /* end confdefs.h. */
1937 #include <$2>
1938 _ACEOF
1939 if ac_fn_c_try_compile "$LINENO"; then :
1940 eval "$3=yes"
1941 else
1942 eval "$3=no"
1944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1946 eval ac_res=\$$3
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1948 $as_echo "$ac_res" >&6; }
1949 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1951 } # ac_fn_c_check_header_compile
1953 # ac_fn_c_try_run LINENO
1954 # ----------------------
1955 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1956 # that executables *can* be run.
1957 ac_fn_c_try_run ()
1959 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1960 if { { ac_try="$ac_link"
1961 case "(($ac_try" in
1962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1963 *) ac_try_echo=$ac_try;;
1964 esac
1965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1966 $as_echo "$ac_try_echo"; } >&5
1967 (eval "$ac_link") 2>&5
1968 ac_status=$?
1969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1970 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1971 { { case "(($ac_try" in
1972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1973 *) ac_try_echo=$ac_try;;
1974 esac
1975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1976 $as_echo "$ac_try_echo"; } >&5
1977 (eval "$ac_try") 2>&5
1978 ac_status=$?
1979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1980 test $ac_status = 0; }; }; then :
1981 ac_retval=0
1982 else
1983 $as_echo "$as_me: program exited with status $ac_status" >&5
1984 $as_echo "$as_me: failed program was:" >&5
1985 sed 's/^/| /' conftest.$ac_ext >&5
1987 ac_retval=$ac_status
1989 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1990 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1991 as_fn_set_status $ac_retval
1993 } # ac_fn_c_try_run
1995 # ac_fn_c_check_func LINENO FUNC VAR
1996 # ----------------------------------
1997 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1998 ac_fn_c_check_func ()
2000 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2002 $as_echo_n "checking for $2... " >&6; }
2003 if eval \${$3+:} false; then :
2004 $as_echo_n "(cached) " >&6
2005 else
2006 if test x$gcc_no_link = xyes; then
2007 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2010 /* end confdefs.h. */
2011 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2013 #define $2 innocuous_$2
2015 /* System header to define __stub macros and hopefully few prototypes,
2016 which can conflict with char $2 (); below.
2017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2018 <limits.h> exists even on freestanding compilers. */
2020 #ifdef __STDC__
2021 # include <limits.h>
2022 #else
2023 # include <assert.h>
2024 #endif
2026 #undef $2
2028 /* Override any GCC internal prototype to avoid an error.
2029 Use char because int might match the return type of a GCC
2030 builtin and then its argument prototype would still apply. */
2031 #ifdef __cplusplus
2032 extern "C"
2033 #endif
2034 char $2 ();
2035 /* The GNU C library defines this for functions which it implements
2036 to always fail with ENOSYS. Some functions are actually named
2037 something starting with __ and the normal name is an alias. */
2038 #if defined __stub_$2 || defined __stub___$2
2039 choke me
2040 #endif
2043 main ()
2045 return $2 ();
2047 return 0;
2049 _ACEOF
2050 if ac_fn_c_try_link "$LINENO"; then :
2051 eval "$3=yes"
2052 else
2053 eval "$3=no"
2055 rm -f core conftest.err conftest.$ac_objext \
2056 conftest$ac_exeext conftest.$ac_ext
2058 eval ac_res=\$$3
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2060 $as_echo "$ac_res" >&6; }
2061 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2063 } # ac_fn_c_check_func
2065 # ac_fn_cxx_try_cpp LINENO
2066 # ------------------------
2067 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2068 ac_fn_cxx_try_cpp ()
2070 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2071 if { { ac_try="$ac_cpp conftest.$ac_ext"
2072 case "(($ac_try" in
2073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2074 *) ac_try_echo=$ac_try;;
2075 esac
2076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2077 $as_echo "$ac_try_echo"; } >&5
2078 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2079 ac_status=$?
2080 if test -s conftest.err; then
2081 grep -v '^ *+' conftest.err >conftest.er1
2082 cat conftest.er1 >&5
2083 mv -f conftest.er1 conftest.err
2085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2086 test $ac_status = 0; } > conftest.i && {
2087 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2088 test ! -s conftest.err
2089 }; then :
2090 ac_retval=0
2091 else
2092 $as_echo "$as_me: failed program was:" >&5
2093 sed 's/^/| /' conftest.$ac_ext >&5
2095 ac_retval=1
2097 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2098 as_fn_set_status $ac_retval
2100 } # ac_fn_cxx_try_cpp
2102 # ac_fn_cxx_try_link LINENO
2103 # -------------------------
2104 # Try to link conftest.$ac_ext, and return whether this succeeded.
2105 ac_fn_cxx_try_link ()
2107 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2108 rm -f conftest.$ac_objext conftest$ac_exeext
2109 if { { ac_try="$ac_link"
2110 case "(($ac_try" in
2111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2112 *) ac_try_echo=$ac_try;;
2113 esac
2114 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2115 $as_echo "$ac_try_echo"; } >&5
2116 (eval "$ac_link") 2>conftest.err
2117 ac_status=$?
2118 if test -s conftest.err; then
2119 grep -v '^ *+' conftest.err >conftest.er1
2120 cat conftest.er1 >&5
2121 mv -f conftest.er1 conftest.err
2123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2124 test $ac_status = 0; } && {
2125 test -z "$ac_cxx_werror_flag" ||
2126 test ! -s conftest.err
2127 } && test -s conftest$ac_exeext && {
2128 test "$cross_compiling" = yes ||
2129 test -x conftest$ac_exeext
2130 }; then :
2131 ac_retval=0
2132 else
2133 $as_echo "$as_me: failed program was:" >&5
2134 sed 's/^/| /' conftest.$ac_ext >&5
2136 ac_retval=1
2138 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2139 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2140 # interfere with the next link command; also delete a directory that is
2141 # left behind by Apple's compiler. We do this before executing the actions.
2142 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2143 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2144 as_fn_set_status $ac_retval
2146 } # ac_fn_cxx_try_link
2148 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2149 # -------------------------------------------------------
2150 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2151 # the include files in INCLUDES and setting the cache variable VAR
2152 # accordingly.
2153 ac_fn_c_check_header_mongrel ()
2155 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2156 if eval \${$3+:} false; then :
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2158 $as_echo_n "checking for $2... " >&6; }
2159 if eval \${$3+:} false; then :
2160 $as_echo_n "(cached) " >&6
2162 eval ac_res=\$$3
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2164 $as_echo "$ac_res" >&6; }
2165 else
2166 # Is the header compilable?
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2168 $as_echo_n "checking $2 usability... " >&6; }
2169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2170 /* end confdefs.h. */
2172 #include <$2>
2173 _ACEOF
2174 if ac_fn_c_try_compile "$LINENO"; then :
2175 ac_header_compiler=yes
2176 else
2177 ac_header_compiler=no
2179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2181 $as_echo "$ac_header_compiler" >&6; }
2183 # Is the header present?
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2185 $as_echo_n "checking $2 presence... " >&6; }
2186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2187 /* end confdefs.h. */
2188 #include <$2>
2189 _ACEOF
2190 if ac_fn_c_try_cpp "$LINENO"; then :
2191 ac_header_preproc=yes
2192 else
2193 ac_header_preproc=no
2195 rm -f conftest.err conftest.i conftest.$ac_ext
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2197 $as_echo "$ac_header_preproc" >&6; }
2199 # So? What about this header?
2200 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2201 yes:no: )
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2203 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2205 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2207 no:yes:* )
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2209 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2211 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2213 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2215 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2217 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2219 esac
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2221 $as_echo_n "checking for $2... " >&6; }
2222 if eval \${$3+:} false; then :
2223 $as_echo_n "(cached) " >&6
2224 else
2225 eval "$3=\$ac_header_compiler"
2227 eval ac_res=\$$3
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2229 $as_echo "$ac_res" >&6; }
2231 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2233 } # ac_fn_c_check_header_mongrel
2235 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2236 # ---------------------------------------------------------
2237 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2238 # the include files in INCLUDES and setting the cache variable VAR
2239 # accordingly.
2240 ac_fn_cxx_check_header_mongrel ()
2242 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2243 if eval \${$3+:} false; then :
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2245 $as_echo_n "checking for $2... " >&6; }
2246 if eval \${$3+:} false; then :
2247 $as_echo_n "(cached) " >&6
2249 eval ac_res=\$$3
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2251 $as_echo "$ac_res" >&6; }
2252 else
2253 # Is the header compilable?
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2255 $as_echo_n "checking $2 usability... " >&6; }
2256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2257 /* end confdefs.h. */
2259 #include <$2>
2260 _ACEOF
2261 if ac_fn_cxx_try_compile "$LINENO"; then :
2262 ac_header_compiler=yes
2263 else
2264 ac_header_compiler=no
2266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2268 $as_echo "$ac_header_compiler" >&6; }
2270 # Is the header present?
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2272 $as_echo_n "checking $2 presence... " >&6; }
2273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2274 /* end confdefs.h. */
2275 #include <$2>
2276 _ACEOF
2277 if ac_fn_cxx_try_cpp "$LINENO"; then :
2278 ac_header_preproc=yes
2279 else
2280 ac_header_preproc=no
2282 rm -f conftest.err conftest.i conftest.$ac_ext
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2284 $as_echo "$ac_header_preproc" >&6; }
2286 # So? What about this header?
2287 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2288 yes:no: )
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2290 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2292 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2294 no:yes:* )
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2296 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2298 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2300 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2302 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2304 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2306 esac
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2308 $as_echo_n "checking for $2... " >&6; }
2309 if eval \${$3+:} false; then :
2310 $as_echo_n "(cached) " >&6
2311 else
2312 eval "$3=\$ac_header_compiler"
2314 eval ac_res=\$$3
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2316 $as_echo "$ac_res" >&6; }
2318 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2320 } # ac_fn_cxx_check_header_mongrel
2322 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2323 # --------------------------------------------
2324 # Tries to find the compile-time value of EXPR in a program that includes
2325 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2326 # computed
2327 ac_fn_c_compute_int ()
2329 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2330 if test "$cross_compiling" = yes; then
2331 # Depending upon the size, compute the lo and hi bounds.
2332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2333 /* end confdefs.h. */
2336 main ()
2338 static int test_array [1 - 2 * !(($2) >= 0)];
2339 test_array [0] = 0;
2340 return test_array [0];
2343 return 0;
2345 _ACEOF
2346 if ac_fn_c_try_compile "$LINENO"; then :
2347 ac_lo=0 ac_mid=0
2348 while :; do
2349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2350 /* end confdefs.h. */
2353 main ()
2355 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2356 test_array [0] = 0;
2357 return test_array [0];
2360 return 0;
2362 _ACEOF
2363 if ac_fn_c_try_compile "$LINENO"; then :
2364 ac_hi=$ac_mid; break
2365 else
2366 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2367 if test $ac_lo -le $ac_mid; then
2368 ac_lo= ac_hi=
2369 break
2371 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2374 done
2375 else
2376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2377 /* end confdefs.h. */
2380 main ()
2382 static int test_array [1 - 2 * !(($2) < 0)];
2383 test_array [0] = 0;
2384 return test_array [0];
2387 return 0;
2389 _ACEOF
2390 if ac_fn_c_try_compile "$LINENO"; then :
2391 ac_hi=-1 ac_mid=-1
2392 while :; do
2393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2394 /* end confdefs.h. */
2397 main ()
2399 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2400 test_array [0] = 0;
2401 return test_array [0];
2404 return 0;
2406 _ACEOF
2407 if ac_fn_c_try_compile "$LINENO"; then :
2408 ac_lo=$ac_mid; break
2409 else
2410 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2411 if test $ac_mid -le $ac_hi; then
2412 ac_lo= ac_hi=
2413 break
2415 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2418 done
2419 else
2420 ac_lo= ac_hi=
2422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2425 # Binary search between lo and hi bounds.
2426 while test "x$ac_lo" != "x$ac_hi"; do
2427 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2429 /* end confdefs.h. */
2432 main ()
2434 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2435 test_array [0] = 0;
2436 return test_array [0];
2439 return 0;
2441 _ACEOF
2442 if ac_fn_c_try_compile "$LINENO"; then :
2443 ac_hi=$ac_mid
2444 else
2445 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2448 done
2449 case $ac_lo in #((
2450 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2451 '') ac_retval=1 ;;
2452 esac
2453 else
2454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2455 /* end confdefs.h. */
2457 static long int longval () { return $2; }
2458 static unsigned long int ulongval () { return $2; }
2459 #include <stdio.h>
2460 #include <stdlib.h>
2462 main ()
2465 FILE *f = fopen ("conftest.val", "w");
2466 if (! f)
2467 return 1;
2468 if (($2) < 0)
2470 long int i = longval ();
2471 if (i != ($2))
2472 return 1;
2473 fprintf (f, "%ld", i);
2475 else
2477 unsigned long int i = ulongval ();
2478 if (i != ($2))
2479 return 1;
2480 fprintf (f, "%lu", i);
2482 /* Do not output a trailing newline, as this causes \r\n confusion
2483 on some platforms. */
2484 return ferror (f) || fclose (f) != 0;
2487 return 0;
2489 _ACEOF
2490 if ac_fn_c_try_run "$LINENO"; then :
2491 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2492 else
2493 ac_retval=1
2495 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2496 conftest.$ac_objext conftest.beam conftest.$ac_ext
2497 rm -f conftest.val
2500 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2501 as_fn_set_status $ac_retval
2503 } # ac_fn_c_compute_int
2505 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2506 # -------------------------------------------
2507 # Tests whether TYPE exists after having included INCLUDES, setting cache
2508 # variable VAR accordingly.
2509 ac_fn_c_check_type ()
2511 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2513 $as_echo_n "checking for $2... " >&6; }
2514 if eval \${$3+:} false; then :
2515 $as_echo_n "(cached) " >&6
2516 else
2517 eval "$3=no"
2518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2519 /* end confdefs.h. */
2522 main ()
2524 if (sizeof ($2))
2525 return 0;
2527 return 0;
2529 _ACEOF
2530 if ac_fn_c_try_compile "$LINENO"; then :
2531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2532 /* end confdefs.h. */
2535 main ()
2537 if (sizeof (($2)))
2538 return 0;
2540 return 0;
2542 _ACEOF
2543 if ac_fn_c_try_compile "$LINENO"; then :
2545 else
2546 eval "$3=yes"
2548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2552 eval ac_res=\$$3
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2554 $as_echo "$ac_res" >&6; }
2555 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2557 } # ac_fn_c_check_type
2559 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2560 # ---------------------------------------------
2561 # Tests whether TYPE exists after having included INCLUDES, setting cache
2562 # variable VAR accordingly.
2563 ac_fn_cxx_check_type ()
2565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2567 $as_echo_n "checking for $2... " >&6; }
2568 if eval \${$3+:} false; then :
2569 $as_echo_n "(cached) " >&6
2570 else
2571 eval "$3=no"
2572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2573 /* end confdefs.h. */
2576 main ()
2578 if (sizeof ($2))
2579 return 0;
2581 return 0;
2583 _ACEOF
2584 if ac_fn_cxx_try_compile "$LINENO"; then :
2585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2586 /* end confdefs.h. */
2589 main ()
2591 if (sizeof (($2)))
2592 return 0;
2594 return 0;
2596 _ACEOF
2597 if ac_fn_cxx_try_compile "$LINENO"; then :
2599 else
2600 eval "$3=yes"
2602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2606 eval ac_res=\$$3
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2608 $as_echo "$ac_res" >&6; }
2609 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2611 } # ac_fn_cxx_check_type
2612 cat >config.log <<_ACEOF
2613 This file contains any messages produced by compilers while
2614 running configure, to aid debugging if configure makes a mistake.
2616 It was created by package-unused $as_me version-unused, which was
2617 generated by GNU Autoconf 2.69. Invocation command line was
2619 $ $0 $@
2621 _ACEOF
2622 exec 5>>config.log
2624 cat <<_ASUNAME
2625 ## --------- ##
2626 ## Platform. ##
2627 ## --------- ##
2629 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2630 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2631 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2632 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2633 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2635 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2636 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2638 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2639 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2640 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2641 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2642 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2643 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2644 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2646 _ASUNAME
2648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2649 for as_dir in $PATH
2651 IFS=$as_save_IFS
2652 test -z "$as_dir" && as_dir=.
2653 $as_echo "PATH: $as_dir"
2654 done
2655 IFS=$as_save_IFS
2657 } >&5
2659 cat >&5 <<_ACEOF
2662 ## ----------- ##
2663 ## Core tests. ##
2664 ## ----------- ##
2666 _ACEOF
2669 # Keep a trace of the command line.
2670 # Strip out --no-create and --no-recursion so they do not pile up.
2671 # Strip out --silent because we don't want to record it for future runs.
2672 # Also quote any args containing shell meta-characters.
2673 # Make two passes to allow for proper duplicate-argument suppression.
2674 ac_configure_args=
2675 ac_configure_args0=
2676 ac_configure_args1=
2677 ac_must_keep_next=false
2678 for ac_pass in 1 2
2680 for ac_arg
2682 case $ac_arg in
2683 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2684 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2685 | -silent | --silent | --silen | --sile | --sil)
2686 continue ;;
2687 *\'*)
2688 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2689 esac
2690 case $ac_pass in
2691 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2693 as_fn_append ac_configure_args1 " '$ac_arg'"
2694 if test $ac_must_keep_next = true; then
2695 ac_must_keep_next=false # Got value, back to normal.
2696 else
2697 case $ac_arg in
2698 *=* | --config-cache | -C | -disable-* | --disable-* \
2699 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2700 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2701 | -with-* | --with-* | -without-* | --without-* | --x)
2702 case "$ac_configure_args0 " in
2703 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2704 esac
2706 -* ) ac_must_keep_next=true ;;
2707 esac
2709 as_fn_append ac_configure_args " '$ac_arg'"
2711 esac
2712 done
2713 done
2714 { ac_configure_args0=; unset ac_configure_args0;}
2715 { ac_configure_args1=; unset ac_configure_args1;}
2717 # When interrupted or exit'd, cleanup temporary files, and complete
2718 # config.log. We remove comments because anyway the quotes in there
2719 # would cause problems or look ugly.
2720 # WARNING: Use '\'' to represent an apostrophe within the trap.
2721 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2722 trap 'exit_status=$?
2723 # Save into config.log some information that might help in debugging.
2725 echo
2727 $as_echo "## ---------------- ##
2728 ## Cache variables. ##
2729 ## ---------------- ##"
2730 echo
2731 # The following way of writing the cache mishandles newlines in values,
2733 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2734 eval ac_val=\$$ac_var
2735 case $ac_val in #(
2736 *${as_nl}*)
2737 case $ac_var in #(
2738 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2739 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2740 esac
2741 case $ac_var in #(
2742 _ | IFS | as_nl) ;; #(
2743 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2744 *) { eval $ac_var=; unset $ac_var;} ;;
2745 esac ;;
2746 esac
2747 done
2748 (set) 2>&1 |
2749 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2750 *${as_nl}ac_space=\ *)
2751 sed -n \
2752 "s/'\''/'\''\\\\'\'''\''/g;
2753 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2754 ;; #(
2756 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2758 esac |
2759 sort
2761 echo
2763 $as_echo "## ----------------- ##
2764 ## Output variables. ##
2765 ## ----------------- ##"
2766 echo
2767 for ac_var in $ac_subst_vars
2769 eval ac_val=\$$ac_var
2770 case $ac_val in
2771 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2772 esac
2773 $as_echo "$ac_var='\''$ac_val'\''"
2774 done | sort
2775 echo
2777 if test -n "$ac_subst_files"; then
2778 $as_echo "## ------------------- ##
2779 ## File substitutions. ##
2780 ## ------------------- ##"
2781 echo
2782 for ac_var in $ac_subst_files
2784 eval ac_val=\$$ac_var
2785 case $ac_val in
2786 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2787 esac
2788 $as_echo "$ac_var='\''$ac_val'\''"
2789 done | sort
2790 echo
2793 if test -s confdefs.h; then
2794 $as_echo "## ----------- ##
2795 ## confdefs.h. ##
2796 ## ----------- ##"
2797 echo
2798 cat confdefs.h
2799 echo
2801 test "$ac_signal" != 0 &&
2802 $as_echo "$as_me: caught signal $ac_signal"
2803 $as_echo "$as_me: exit $exit_status"
2804 } >&5
2805 rm -f core *.core core.conftest.* &&
2806 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2807 exit $exit_status
2809 for ac_signal in 1 2 13 15; do
2810 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2811 done
2812 ac_signal=0
2814 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2815 rm -f -r conftest* confdefs.h
2817 $as_echo "/* confdefs.h */" > confdefs.h
2819 # Predefined preprocessor variables.
2821 cat >>confdefs.h <<_ACEOF
2822 #define PACKAGE_NAME "$PACKAGE_NAME"
2823 _ACEOF
2825 cat >>confdefs.h <<_ACEOF
2826 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2827 _ACEOF
2829 cat >>confdefs.h <<_ACEOF
2830 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2831 _ACEOF
2833 cat >>confdefs.h <<_ACEOF
2834 #define PACKAGE_STRING "$PACKAGE_STRING"
2835 _ACEOF
2837 cat >>confdefs.h <<_ACEOF
2838 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2839 _ACEOF
2841 cat >>confdefs.h <<_ACEOF
2842 #define PACKAGE_URL "$PACKAGE_URL"
2843 _ACEOF
2846 # Let the site file select an alternate cache file if it wants to.
2847 # Prefer an explicitly selected file to automatically selected ones.
2848 ac_site_file1=NONE
2849 ac_site_file2=NONE
2850 if test -n "$CONFIG_SITE"; then
2851 # We do not want a PATH search for config.site.
2852 case $CONFIG_SITE in #((
2853 -*) ac_site_file1=./$CONFIG_SITE;;
2854 */*) ac_site_file1=$CONFIG_SITE;;
2855 *) ac_site_file1=./$CONFIG_SITE;;
2856 esac
2857 elif test "x$prefix" != xNONE; then
2858 ac_site_file1=$prefix/share/config.site
2859 ac_site_file2=$prefix/etc/config.site
2860 else
2861 ac_site_file1=$ac_default_prefix/share/config.site
2862 ac_site_file2=$ac_default_prefix/etc/config.site
2864 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2866 test "x$ac_site_file" = xNONE && continue
2867 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2869 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2870 sed 's/^/| /' "$ac_site_file" >&5
2871 . "$ac_site_file" \
2872 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2873 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2874 as_fn_error $? "failed to load site script $ac_site_file
2875 See \`config.log' for more details" "$LINENO" 5; }
2877 done
2879 if test -r "$cache_file"; then
2880 # Some versions of bash will fail to source /dev/null (special files
2881 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2882 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2884 $as_echo "$as_me: loading cache $cache_file" >&6;}
2885 case $cache_file in
2886 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2887 *) . "./$cache_file";;
2888 esac
2890 else
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2892 $as_echo "$as_me: creating cache $cache_file" >&6;}
2893 >$cache_file
2896 # Check that the precious variables saved in the cache have kept the same
2897 # value.
2898 ac_cache_corrupted=false
2899 for ac_var in $ac_precious_vars; do
2900 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2901 eval ac_new_set=\$ac_env_${ac_var}_set
2902 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2903 eval ac_new_val=\$ac_env_${ac_var}_value
2904 case $ac_old_set,$ac_new_set in
2905 set,)
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2907 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2908 ac_cache_corrupted=: ;;
2909 ,set)
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2911 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2912 ac_cache_corrupted=: ;;
2913 ,);;
2915 if test "x$ac_old_val" != "x$ac_new_val"; then
2916 # differences in whitespace do not lead to failure.
2917 ac_old_val_w=`echo x $ac_old_val`
2918 ac_new_val_w=`echo x $ac_new_val`
2919 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2921 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2922 ac_cache_corrupted=:
2923 else
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2925 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2926 eval $ac_var=\$ac_old_val
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2929 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2931 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2932 fi;;
2933 esac
2934 # Pass precious variables to config.status.
2935 if test "$ac_new_set" = set; then
2936 case $ac_new_val in
2937 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2938 *) ac_arg=$ac_var=$ac_new_val ;;
2939 esac
2940 case " $ac_configure_args " in
2941 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2942 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2943 esac
2945 done
2946 if $ac_cache_corrupted; then
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2950 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2951 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2953 ## -------------------- ##
2954 ## Main body of script. ##
2955 ## -------------------- ##
2957 ac_ext=c
2958 ac_cpp='$CPP $CPPFLAGS'
2959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2968 ac_config_headers="$ac_config_headers config.h"
2971 # This works around the fact that libtool configuration may change LD
2972 # for this particular configuration, but some shells, instead of
2973 # keeping the changes in LD private, export them just because LD is
2974 # exported. Only used at the end of this file.
2975 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2977 # Find the rest of the source tree framework.
2978 # Default to --enable-multilib
2979 # Check whether --enable-multilib was given.
2980 if test "${enable_multilib+set}" = set; then :
2981 enableval=$enable_multilib; case "$enableval" in
2982 yes) multilib=yes ;;
2983 no) multilib=no ;;
2984 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2985 esac
2986 else
2987 multilib=yes
2991 # We may get other options which we leave undocumented:
2992 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2993 # See config-ml.in if you want the gory details.
2995 if test "$srcdir" = "."; then
2996 if test "$with_target_subdir" != "."; then
2997 multi_basedir="$srcdir/$with_multisrctop../.."
2998 else
2999 multi_basedir="$srcdir/$with_multisrctop.."
3001 else
3002 multi_basedir="$srcdir/.."
3006 # Even if the default multilib is not a cross compilation,
3007 # it may be that some of the other multilibs are.
3008 if test $cross_compiling = no && test $multilib = yes \
3009 && test "x${with_multisubdir}" != x ; then
3010 cross_compiling=maybe
3013 ac_config_commands="$ac_config_commands default-1"
3016 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3018 # You will slowly go insane if you do not grok the following fact: when
3019 # building v3 as part of the compiler, the top-level /target/ becomes the
3020 # library's /host/. configure then causes --target to default to --host,
3021 # exactly like any other package using autoconf. Therefore, 'target' and
3022 # 'host' will always be the same. This makes sense both for native and
3023 # cross compilers, just think about it for a little while. :-)
3025 # Also, if v3 is being configured as part of a cross compiler, the top-level
3026 # configure script will pass the "real" host as $with_cross_host.
3028 # Do not delete or change the following two lines. For why, see
3029 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3030 ac_aux_dir=
3031 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3032 if test -f "$ac_dir/install-sh"; then
3033 ac_aux_dir=$ac_dir
3034 ac_install_sh="$ac_aux_dir/install-sh -c"
3035 break
3036 elif test -f "$ac_dir/install.sh"; then
3037 ac_aux_dir=$ac_dir
3038 ac_install_sh="$ac_aux_dir/install.sh -c"
3039 break
3040 elif test -f "$ac_dir/shtool"; then
3041 ac_aux_dir=$ac_dir
3042 ac_install_sh="$ac_aux_dir/shtool install -c"
3043 break
3045 done
3046 if test -z "$ac_aux_dir"; then
3047 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3050 # These three variables are undocumented and unsupported,
3051 # and are intended to be withdrawn in a future Autoconf release.
3052 # They can cause serious problems if a builder's source tree is in a directory
3053 # whose full name contains unusual characters.
3054 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3055 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3056 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3059 # Make sure we can run config.sub.
3060 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3061 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3064 $as_echo_n "checking build system type... " >&6; }
3065 if ${ac_cv_build+:} false; then :
3066 $as_echo_n "(cached) " >&6
3067 else
3068 ac_build_alias=$build_alias
3069 test "x$ac_build_alias" = x &&
3070 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3071 test "x$ac_build_alias" = x &&
3072 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3073 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3074 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3078 $as_echo "$ac_cv_build" >&6; }
3079 case $ac_cv_build in
3080 *-*-*) ;;
3081 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3082 esac
3083 build=$ac_cv_build
3084 ac_save_IFS=$IFS; IFS='-'
3085 set x $ac_cv_build
3086 shift
3087 build_cpu=$1
3088 build_vendor=$2
3089 shift; shift
3090 # Remember, the first character of IFS is used to create $*,
3091 # except with old shells:
3092 build_os=$*
3093 IFS=$ac_save_IFS
3094 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3098 $as_echo_n "checking host system type... " >&6; }
3099 if ${ac_cv_host+:} false; then :
3100 $as_echo_n "(cached) " >&6
3101 else
3102 if test "x$host_alias" = x; then
3103 ac_cv_host=$ac_cv_build
3104 else
3105 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3106 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3111 $as_echo "$ac_cv_host" >&6; }
3112 case $ac_cv_host in
3113 *-*-*) ;;
3114 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3115 esac
3116 host=$ac_cv_host
3117 ac_save_IFS=$IFS; IFS='-'
3118 set x $ac_cv_host
3119 shift
3120 host_cpu=$1
3121 host_vendor=$2
3122 shift; shift
3123 # Remember, the first character of IFS is used to create $*,
3124 # except with old shells:
3125 host_os=$*
3126 IFS=$ac_save_IFS
3127 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3131 $as_echo_n "checking target system type... " >&6; }
3132 if ${ac_cv_target+:} false; then :
3133 $as_echo_n "(cached) " >&6
3134 else
3135 if test "x$target_alias" = x; then
3136 ac_cv_target=$ac_cv_host
3137 else
3138 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3139 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3144 $as_echo "$ac_cv_target" >&6; }
3145 case $ac_cv_target in
3146 *-*-*) ;;
3147 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3148 esac
3149 target=$ac_cv_target
3150 ac_save_IFS=$IFS; IFS='-'
3151 set x $ac_cv_target
3152 shift
3153 target_cpu=$1
3154 target_vendor=$2
3155 shift; shift
3156 # Remember, the first character of IFS is used to create $*,
3157 # except with old shells:
3158 target_os=$*
3159 IFS=$ac_save_IFS
3160 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3163 # The aliases save the names the user supplied, while $host etc.
3164 # will get canonicalized.
3165 test -n "$target_alias" &&
3166 test "$program_prefix$program_suffix$program_transform_name" = \
3167 NONENONEs,x,x, &&
3168 program_prefix=${target_alias}-
3170 target_alias=${target_alias-$host_alias}
3172 # Handy for debugging:
3173 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3175 if test "$build" != "$host"; then
3176 # We are being configured with some form of cross compiler.
3177 GLIBCXX_IS_NATIVE=false
3178 case "$host","$target" in
3179 # Darwin crosses can use the host system's libraries and headers,
3180 # because of the fat library support. Of course, it must be the
3181 # same version of Darwin on both sides. Allow the user to
3182 # just say --target=foo-darwin without a version number to mean
3183 # "the version on this system".
3184 *-*-darwin*,*-*-darwin*)
3185 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3186 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3187 if test $hostos = $targetos -o $targetos = darwin ; then
3188 GLIBCXX_IS_NATIVE=true
3195 esac
3196 else
3197 GLIBCXX_IS_NATIVE=true
3200 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3201 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3202 # 1.x: minimum required version
3203 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3204 # of other PACKAGE_* variables will, however, and there's nothing
3205 # we can do about that; they come from AC_INIT).
3206 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3207 # file in the top srcdir, etc, etc), so stop complaining.
3208 # no-dependencies: turns off auto dependency generation (just for now)
3209 # no-dist: we don't want 'dist' and related rules.
3210 # -Wall: turns on all automake warnings...
3211 # -Wno-portability: ...except this one, since GNU make is now required.
3212 am__api_version='1.15'
3214 # Find a good install program. We prefer a C program (faster),
3215 # so one script is as good as another. But avoid the broken or
3216 # incompatible versions:
3217 # SysV /etc/install, /usr/sbin/install
3218 # SunOS /usr/etc/install
3219 # IRIX /sbin/install
3220 # AIX /bin/install
3221 # AmigaOS /C/install, which installs bootblocks on floppy discs
3222 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3223 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3224 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3225 # OS/2's system install, which has a completely different semantic
3226 # ./install, which can be erroneously created by make from ./install.sh.
3227 # Reject install programs that cannot install multiple files.
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3229 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3230 if test -z "$INSTALL"; then
3231 if ${ac_cv_path_install+:} false; then :
3232 $as_echo_n "(cached) " >&6
3233 else
3234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3235 for as_dir in $PATH
3237 IFS=$as_save_IFS
3238 test -z "$as_dir" && as_dir=.
3239 # Account for people who put trailing slashes in PATH elements.
3240 case $as_dir/ in #((
3241 ./ | .// | /[cC]/* | \
3242 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3243 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3244 /usr/ucb/* ) ;;
3246 # OSF1 and SCO ODT 3.0 have their own names for install.
3247 # Don't use installbsd from OSF since it installs stuff as root
3248 # by default.
3249 for ac_prog in ginstall scoinst install; do
3250 for ac_exec_ext in '' $ac_executable_extensions; do
3251 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3252 if test $ac_prog = install &&
3253 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3254 # AIX install. It has an incompatible calling convention.
3256 elif test $ac_prog = install &&
3257 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3258 # program-specific install script used by HP pwplus--don't use.
3260 else
3261 rm -rf conftest.one conftest.two conftest.dir
3262 echo one > conftest.one
3263 echo two > conftest.two
3264 mkdir conftest.dir
3265 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3266 test -s conftest.one && test -s conftest.two &&
3267 test -s conftest.dir/conftest.one &&
3268 test -s conftest.dir/conftest.two
3269 then
3270 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3271 break 3
3275 done
3276 done
3278 esac
3280 done
3281 IFS=$as_save_IFS
3283 rm -rf conftest.one conftest.two conftest.dir
3286 if test "${ac_cv_path_install+set}" = set; then
3287 INSTALL=$ac_cv_path_install
3288 else
3289 # As a last resort, use the slow shell script. Don't cache a
3290 # value for INSTALL within a source directory, because that will
3291 # break other packages using the cache if that directory is
3292 # removed, or if the value is a relative name.
3293 INSTALL=$ac_install_sh
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3297 $as_echo "$INSTALL" >&6; }
3299 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3300 # It thinks the first close brace ends the variable substitution.
3301 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3303 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3305 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3308 $as_echo_n "checking whether build environment is sane... " >&6; }
3309 # Reject unsafe characters in $srcdir or the absolute working directory
3310 # name. Accept space and tab only in the latter.
3311 am_lf='
3313 case `pwd` in
3314 *[\\\"\#\$\&\'\`$am_lf]*)
3315 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3316 esac
3317 case $srcdir in
3318 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3319 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3320 esac
3322 # Do 'set' in a subshell so we don't clobber the current shell's
3323 # arguments. Must try -L first in case configure is actually a
3324 # symlink; some systems play weird games with the mod time of symlinks
3325 # (eg FreeBSD returns the mod time of the symlink's containing
3326 # directory).
3327 if (
3328 am_has_slept=no
3329 for am_try in 1 2; do
3330 echo "timestamp, slept: $am_has_slept" > conftest.file
3331 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3332 if test "$*" = "X"; then
3333 # -L didn't work.
3334 set X `ls -t "$srcdir/configure" conftest.file`
3336 if test "$*" != "X $srcdir/configure conftest.file" \
3337 && test "$*" != "X conftest.file $srcdir/configure"; then
3339 # If neither matched, then we have a broken ls. This can happen
3340 # if, for instance, CONFIG_SHELL is bash and it inherits a
3341 # broken ls alias from the environment. This has actually
3342 # happened. Such a system could not be considered "sane".
3343 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3344 alias in your environment" "$LINENO" 5
3346 if test "$2" = conftest.file || test $am_try -eq 2; then
3347 break
3349 # Just in case.
3350 sleep 1
3351 am_has_slept=yes
3352 done
3353 test "$2" = conftest.file
3355 then
3356 # Ok.
3358 else
3359 as_fn_error $? "newly created file is older than distributed files!
3360 Check your system clock" "$LINENO" 5
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3363 $as_echo "yes" >&6; }
3364 # If we didn't sleep, we still need to ensure time stamps of config.status and
3365 # generated files are strictly newer.
3366 am_sleep_pid=
3367 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3368 ( sleep 1 ) &
3369 am_sleep_pid=$!
3372 rm -f conftest.file
3374 test "$program_prefix" != NONE &&
3375 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3376 # Use a double $ so make ignores it.
3377 test "$program_suffix" != NONE &&
3378 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3379 # Double any \ or $.
3380 # By default was `s,x,x', remove it if useless.
3381 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3382 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3384 # Expand $ac_aux_dir to an absolute path.
3385 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3387 if test x"${MISSING+set}" != xset; then
3388 case $am_aux_dir in
3389 *\ * | *\ *)
3390 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3392 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3393 esac
3395 # Use eval to expand $SHELL
3396 if eval "$MISSING --is-lightweight"; then
3397 am_missing_run="$MISSING "
3398 else
3399 am_missing_run=
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3401 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3404 if test x"${install_sh+set}" != xset; then
3405 case $am_aux_dir in
3406 *\ * | *\ *)
3407 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3409 install_sh="\${SHELL} $am_aux_dir/install-sh"
3410 esac
3413 # Installed binaries are usually stripped using 'strip' when the user
3414 # run "make install-strip". However 'strip' might not be the right
3415 # tool to use in cross-compilation environments, therefore Automake
3416 # will honor the 'STRIP' environment variable to overrule this program.
3417 if test "$cross_compiling" != no; then
3418 if test -n "$ac_tool_prefix"; then
3419 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3420 set dummy ${ac_tool_prefix}strip; ac_word=$2
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3422 $as_echo_n "checking for $ac_word... " >&6; }
3423 if ${ac_cv_prog_STRIP+:} false; then :
3424 $as_echo_n "(cached) " >&6
3425 else
3426 if test -n "$STRIP"; then
3427 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3428 else
3429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3430 for as_dir in $PATH
3432 IFS=$as_save_IFS
3433 test -z "$as_dir" && as_dir=.
3434 for ac_exec_ext in '' $ac_executable_extensions; do
3435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3436 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3438 break 2
3440 done
3441 done
3442 IFS=$as_save_IFS
3446 STRIP=$ac_cv_prog_STRIP
3447 if test -n "$STRIP"; then
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3449 $as_echo "$STRIP" >&6; }
3450 else
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3452 $as_echo "no" >&6; }
3457 if test -z "$ac_cv_prog_STRIP"; then
3458 ac_ct_STRIP=$STRIP
3459 # Extract the first word of "strip", so it can be a program name with args.
3460 set dummy strip; ac_word=$2
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3462 $as_echo_n "checking for $ac_word... " >&6; }
3463 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3464 $as_echo_n "(cached) " >&6
3465 else
3466 if test -n "$ac_ct_STRIP"; then
3467 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3468 else
3469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3470 for as_dir in $PATH
3472 IFS=$as_save_IFS
3473 test -z "$as_dir" && as_dir=.
3474 for ac_exec_ext in '' $ac_executable_extensions; do
3475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3476 ac_cv_prog_ac_ct_STRIP="strip"
3477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3478 break 2
3480 done
3481 done
3482 IFS=$as_save_IFS
3486 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3487 if test -n "$ac_ct_STRIP"; then
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3489 $as_echo "$ac_ct_STRIP" >&6; }
3490 else
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3492 $as_echo "no" >&6; }
3495 if test "x$ac_ct_STRIP" = x; then
3496 STRIP=":"
3497 else
3498 case $cross_compiling:$ac_tool_warned in
3499 yes:)
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3502 ac_tool_warned=yes ;;
3503 esac
3504 STRIP=$ac_ct_STRIP
3506 else
3507 STRIP="$ac_cv_prog_STRIP"
3511 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3514 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3515 if test -z "$MKDIR_P"; then
3516 if ${ac_cv_path_mkdir+:} false; then :
3517 $as_echo_n "(cached) " >&6
3518 else
3519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3520 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3522 IFS=$as_save_IFS
3523 test -z "$as_dir" && as_dir=.
3524 for ac_prog in mkdir gmkdir; do
3525 for ac_exec_ext in '' $ac_executable_extensions; do
3526 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3527 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3528 'mkdir (GNU coreutils) '* | \
3529 'mkdir (coreutils) '* | \
3530 'mkdir (fileutils) '4.1*)
3531 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3532 break 3;;
3533 esac
3534 done
3535 done
3536 done
3537 IFS=$as_save_IFS
3541 test -d ./--version && rmdir ./--version
3542 if test "${ac_cv_path_mkdir+set}" = set; then
3543 MKDIR_P="$ac_cv_path_mkdir -p"
3544 else
3545 # As a last resort, use the slow shell script. Don't cache a
3546 # value for MKDIR_P within a source directory, because that will
3547 # break other packages using the cache if that directory is
3548 # removed, or if the value is a relative name.
3549 MKDIR_P="$ac_install_sh -d"
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3553 $as_echo "$MKDIR_P" >&6; }
3555 for ac_prog in gawk mawk nawk awk
3557 # Extract the first word of "$ac_prog", so it can be a program name with args.
3558 set dummy $ac_prog; ac_word=$2
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560 $as_echo_n "checking for $ac_word... " >&6; }
3561 if ${ac_cv_prog_AWK+:} false; then :
3562 $as_echo_n "(cached) " >&6
3563 else
3564 if test -n "$AWK"; then
3565 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3566 else
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 for as_dir in $PATH
3570 IFS=$as_save_IFS
3571 test -z "$as_dir" && as_dir=.
3572 for ac_exec_ext in '' $ac_executable_extensions; do
3573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3574 ac_cv_prog_AWK="$ac_prog"
3575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576 break 2
3578 done
3579 done
3580 IFS=$as_save_IFS
3584 AWK=$ac_cv_prog_AWK
3585 if test -n "$AWK"; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3587 $as_echo "$AWK" >&6; }
3588 else
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3594 test -n "$AWK" && break
3595 done
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3598 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3599 set x ${MAKE-make}
3600 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3601 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3602 $as_echo_n "(cached) " >&6
3603 else
3604 cat >conftest.make <<\_ACEOF
3605 SHELL = /bin/sh
3606 all:
3607 @echo '@@@%%%=$(MAKE)=@@@%%%'
3608 _ACEOF
3609 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3610 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3611 *@@@%%%=?*=@@@%%%*)
3612 eval ac_cv_prog_make_${ac_make}_set=yes;;
3614 eval ac_cv_prog_make_${ac_make}_set=no;;
3615 esac
3616 rm -f conftest.make
3618 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3620 $as_echo "yes" >&6; }
3621 SET_MAKE=
3622 else
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3624 $as_echo "no" >&6; }
3625 SET_MAKE="MAKE=${MAKE-make}"
3628 rm -rf .tst 2>/dev/null
3629 mkdir .tst 2>/dev/null
3630 if test -d .tst; then
3631 am__leading_dot=.
3632 else
3633 am__leading_dot=_
3635 rmdir .tst 2>/dev/null
3637 # Check whether --enable-silent-rules was given.
3638 if test "${enable_silent_rules+set}" = set; then :
3639 enableval=$enable_silent_rules;
3642 case $enable_silent_rules in # (((
3643 yes) AM_DEFAULT_VERBOSITY=0;;
3644 no) AM_DEFAULT_VERBOSITY=1;;
3645 *) AM_DEFAULT_VERBOSITY=1;;
3646 esac
3647 am_make=${MAKE-make}
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3649 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3650 if ${am_cv_make_support_nested_variables+:} false; then :
3651 $as_echo_n "(cached) " >&6
3652 else
3653 if $as_echo 'TRUE=$(BAR$(V))
3654 BAR0=false
3655 BAR1=true
3657 am__doit:
3658 @$(TRUE)
3659 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3660 am_cv_make_support_nested_variables=yes
3661 else
3662 am_cv_make_support_nested_variables=no
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3666 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3667 if test $am_cv_make_support_nested_variables = yes; then
3668 AM_V='$(V)'
3669 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3670 else
3671 AM_V=$AM_DEFAULT_VERBOSITY
3672 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3674 AM_BACKSLASH='\'
3676 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3677 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3678 # is not polluted with repeated "-I."
3679 am__isrc=' -I$(srcdir)'
3680 # test to see if srcdir already configured
3681 if test -f $srcdir/config.status; then
3682 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3686 # test whether we have cygpath
3687 if test -z "$CYGPATH_W"; then
3688 if (cygpath --version) >/dev/null 2>/dev/null; then
3689 CYGPATH_W='cygpath -w'
3690 else
3691 CYGPATH_W=echo
3696 # Define the identity of the package.
3697 PACKAGE='libstdc++'
3698 VERSION='version-unused'
3701 # Some tools Automake needs.
3703 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3706 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3709 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3712 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3715 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3717 # For better backward compatibility. To be removed once Automake 1.9.x
3718 # dies out for good. For more background, see:
3719 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3720 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3721 mkdir_p='$(MKDIR_P)'
3723 # We need awk for the "check" target (and possibly the TAP driver). The
3724 # system "awk" is bad on some platforms.
3725 # Always define AMTAR for backward compatibility. Yes, it's still used
3726 # in the wild :-( We should find a proper way to deprecate it ...
3727 AMTAR='$${TAR-tar}'
3730 # We'll loop over all known methods to create a tar archive until one works.
3731 _am_tools='gnutar pax cpio none'
3733 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3740 # POSIX will say in a future version that running "rm -f" with no argument
3741 # is OK; and we want to be able to make that assumption in our Makefile
3742 # recipes. So use an aggressive probe to check that the usage we want is
3743 # actually supported "in the wild" to an acceptable degree.
3744 # See automake bug#10828.
3745 # To make any issue more visible, cause the running configure to be aborted
3746 # by default if the 'rm' program in use doesn't match our expectations; the
3747 # user can still override this though.
3748 if rm -f && rm -fr && rm -rf; then : OK; else
3749 cat >&2 <<'END'
3750 Oops!
3752 Your 'rm' program seems unable to run without file operands specified
3753 on the command line, even when the '-f' option is present. This is contrary
3754 to the behaviour of most rm programs out there, and not conforming with
3755 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3757 Please tell bug-automake@gnu.org about your system, including the value
3758 of your $PATH and any error possibly output before this message. This
3759 can help us improve future automake versions.
3762 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3763 echo 'Configuration will proceed anyway, since you have set the' >&2
3764 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3765 echo >&2
3766 else
3767 cat >&2 <<'END'
3768 Aborting the configuration process, to ensure you take notice of the issue.
3770 You can download and install GNU coreutils to get an 'rm' implementation
3771 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3773 If you want to complete the configuration process using your problematic
3774 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3775 to "yes", and re-run configure.
3778 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3785 # -fno-builtin must be present here so that a non-conflicting form of
3786 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3788 save_CXXFLAGS="$CXXFLAGS"
3789 CXXFLAGS="$CXXFLAGS -fno-builtin"
3790 ac_ext=c
3791 ac_cpp='$CPP $CPPFLAGS'
3792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3795 if test -n "$ac_tool_prefix"; then
3796 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3797 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3799 $as_echo_n "checking for $ac_word... " >&6; }
3800 if ${ac_cv_prog_CC+:} false; then :
3801 $as_echo_n "(cached) " >&6
3802 else
3803 if test -n "$CC"; then
3804 ac_cv_prog_CC="$CC" # Let the user override the test.
3805 else
3806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3807 for as_dir in $PATH
3809 IFS=$as_save_IFS
3810 test -z "$as_dir" && as_dir=.
3811 for ac_exec_ext in '' $ac_executable_extensions; do
3812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3813 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3815 break 2
3817 done
3818 done
3819 IFS=$as_save_IFS
3823 CC=$ac_cv_prog_CC
3824 if test -n "$CC"; then
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3826 $as_echo "$CC" >&6; }
3827 else
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3829 $as_echo "no" >&6; }
3834 if test -z "$ac_cv_prog_CC"; then
3835 ac_ct_CC=$CC
3836 # Extract the first word of "gcc", so it can be a program name with args.
3837 set dummy gcc; ac_word=$2
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3839 $as_echo_n "checking for $ac_word... " >&6; }
3840 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3841 $as_echo_n "(cached) " >&6
3842 else
3843 if test -n "$ac_ct_CC"; then
3844 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3845 else
3846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3847 for as_dir in $PATH
3849 IFS=$as_save_IFS
3850 test -z "$as_dir" && as_dir=.
3851 for ac_exec_ext in '' $ac_executable_extensions; do
3852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3853 ac_cv_prog_ac_ct_CC="gcc"
3854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3855 break 2
3857 done
3858 done
3859 IFS=$as_save_IFS
3863 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3864 if test -n "$ac_ct_CC"; then
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3866 $as_echo "$ac_ct_CC" >&6; }
3867 else
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3869 $as_echo "no" >&6; }
3872 if test "x$ac_ct_CC" = x; then
3873 CC=""
3874 else
3875 case $cross_compiling:$ac_tool_warned in
3876 yes:)
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3878 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3879 ac_tool_warned=yes ;;
3880 esac
3881 CC=$ac_ct_CC
3883 else
3884 CC="$ac_cv_prog_CC"
3887 if test -z "$CC"; then
3888 if test -n "$ac_tool_prefix"; then
3889 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3890 set dummy ${ac_tool_prefix}cc; ac_word=$2
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3892 $as_echo_n "checking for $ac_word... " >&6; }
3893 if ${ac_cv_prog_CC+:} false; then :
3894 $as_echo_n "(cached) " >&6
3895 else
3896 if test -n "$CC"; then
3897 ac_cv_prog_CC="$CC" # Let the user override the test.
3898 else
3899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3900 for as_dir in $PATH
3902 IFS=$as_save_IFS
3903 test -z "$as_dir" && as_dir=.
3904 for ac_exec_ext in '' $ac_executable_extensions; do
3905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3906 ac_cv_prog_CC="${ac_tool_prefix}cc"
3907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3908 break 2
3910 done
3911 done
3912 IFS=$as_save_IFS
3916 CC=$ac_cv_prog_CC
3917 if test -n "$CC"; then
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3919 $as_echo "$CC" >&6; }
3920 else
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3922 $as_echo "no" >&6; }
3928 if test -z "$CC"; then
3929 # Extract the first word of "cc", so it can be a program name with args.
3930 set dummy cc; ac_word=$2
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3932 $as_echo_n "checking for $ac_word... " >&6; }
3933 if ${ac_cv_prog_CC+:} false; then :
3934 $as_echo_n "(cached) " >&6
3935 else
3936 if test -n "$CC"; then
3937 ac_cv_prog_CC="$CC" # Let the user override the test.
3938 else
3939 ac_prog_rejected=no
3940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3941 for as_dir in $PATH
3943 IFS=$as_save_IFS
3944 test -z "$as_dir" && as_dir=.
3945 for ac_exec_ext in '' $ac_executable_extensions; do
3946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3947 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3948 ac_prog_rejected=yes
3949 continue
3951 ac_cv_prog_CC="cc"
3952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3953 break 2
3955 done
3956 done
3957 IFS=$as_save_IFS
3959 if test $ac_prog_rejected = yes; then
3960 # We found a bogon in the path, so make sure we never use it.
3961 set dummy $ac_cv_prog_CC
3962 shift
3963 if test $# != 0; then
3964 # We chose a different compiler from the bogus one.
3965 # However, it has the same basename, so the bogon will be chosen
3966 # first if we set CC to just the basename; use the full file name.
3967 shift
3968 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3973 CC=$ac_cv_prog_CC
3974 if test -n "$CC"; then
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3976 $as_echo "$CC" >&6; }
3977 else
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3979 $as_echo "no" >&6; }
3984 if test -z "$CC"; then
3985 if test -n "$ac_tool_prefix"; then
3986 for ac_prog in cl.exe
3988 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3989 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3991 $as_echo_n "checking for $ac_word... " >&6; }
3992 if ${ac_cv_prog_CC+:} false; then :
3993 $as_echo_n "(cached) " >&6
3994 else
3995 if test -n "$CC"; then
3996 ac_cv_prog_CC="$CC" # Let the user override the test.
3997 else
3998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3999 for as_dir in $PATH
4001 IFS=$as_save_IFS
4002 test -z "$as_dir" && as_dir=.
4003 for ac_exec_ext in '' $ac_executable_extensions; do
4004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4005 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4007 break 2
4009 done
4010 done
4011 IFS=$as_save_IFS
4015 CC=$ac_cv_prog_CC
4016 if test -n "$CC"; then
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4018 $as_echo "$CC" >&6; }
4019 else
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4021 $as_echo "no" >&6; }
4025 test -n "$CC" && break
4026 done
4028 if test -z "$CC"; then
4029 ac_ct_CC=$CC
4030 for ac_prog in cl.exe
4032 # Extract the first word of "$ac_prog", so it can be a program name with args.
4033 set dummy $ac_prog; ac_word=$2
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4035 $as_echo_n "checking for $ac_word... " >&6; }
4036 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4037 $as_echo_n "(cached) " >&6
4038 else
4039 if test -n "$ac_ct_CC"; then
4040 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4041 else
4042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4043 for as_dir in $PATH
4045 IFS=$as_save_IFS
4046 test -z "$as_dir" && as_dir=.
4047 for ac_exec_ext in '' $ac_executable_extensions; do
4048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4049 ac_cv_prog_ac_ct_CC="$ac_prog"
4050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4051 break 2
4053 done
4054 done
4055 IFS=$as_save_IFS
4059 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4060 if test -n "$ac_ct_CC"; then
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4062 $as_echo "$ac_ct_CC" >&6; }
4063 else
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4065 $as_echo "no" >&6; }
4069 test -n "$ac_ct_CC" && break
4070 done
4072 if test "x$ac_ct_CC" = x; then
4073 CC=""
4074 else
4075 case $cross_compiling:$ac_tool_warned in
4076 yes:)
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4079 ac_tool_warned=yes ;;
4080 esac
4081 CC=$ac_ct_CC
4088 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4089 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4090 as_fn_error $? "no acceptable C compiler found in \$PATH
4091 See \`config.log' for more details" "$LINENO" 5; }
4093 # Provide some information about the compiler.
4094 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4095 set X $ac_compile
4096 ac_compiler=$2
4097 for ac_option in --version -v -V -qversion; do
4098 { { ac_try="$ac_compiler $ac_option >&5"
4099 case "(($ac_try" in
4100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4101 *) ac_try_echo=$ac_try;;
4102 esac
4103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4104 $as_echo "$ac_try_echo"; } >&5
4105 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4106 ac_status=$?
4107 if test -s conftest.err; then
4108 sed '10a\
4109 ... rest of stderr output deleted ...
4110 10q' conftest.err >conftest.er1
4111 cat conftest.er1 >&5
4113 rm -f conftest.er1 conftest.err
4114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4115 test $ac_status = 0; }
4116 done
4118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4119 /* end confdefs.h. */
4122 main ()
4126 return 0;
4128 _ACEOF
4129 # FIXME: Cleanup?
4130 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4131 (eval $ac_link) 2>&5
4132 ac_status=$?
4133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4134 test $ac_status = 0; }; then :
4135 gcc_no_link=no
4136 else
4137 gcc_no_link=yes
4139 if test x$gcc_no_link = xyes; then
4140 # Setting cross_compile will disable run tests; it will
4141 # also disable AC_CHECK_FILE but that's generally
4142 # correct if we can't link.
4143 cross_compiling=yes
4144 EXEEXT=
4145 else
4146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4147 /* end confdefs.h. */
4150 main ()
4154 return 0;
4156 _ACEOF
4157 ac_clean_files_save=$ac_clean_files
4158 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4159 # Try to create an executable without -o first, disregard a.out.
4160 # It will help us diagnose broken compilers, and finding out an intuition
4161 # of exeext.
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4163 $as_echo_n "checking whether the C compiler works... " >&6; }
4164 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4166 # The possible output files:
4167 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4169 ac_rmfiles=
4170 for ac_file in $ac_files
4172 case $ac_file in
4173 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4174 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4175 esac
4176 done
4177 rm -f $ac_rmfiles
4179 if { { ac_try="$ac_link_default"
4180 case "(($ac_try" in
4181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4182 *) ac_try_echo=$ac_try;;
4183 esac
4184 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4185 $as_echo "$ac_try_echo"; } >&5
4186 (eval "$ac_link_default") 2>&5
4187 ac_status=$?
4188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4189 test $ac_status = 0; }; then :
4190 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4191 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4192 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4193 # so that the user can short-circuit this test for compilers unknown to
4194 # Autoconf.
4195 for ac_file in $ac_files ''
4197 test -f "$ac_file" || continue
4198 case $ac_file in
4199 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4201 [ab].out )
4202 # We found the default executable, but exeext='' is most
4203 # certainly right.
4204 break;;
4205 *.* )
4206 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4207 then :; else
4208 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4210 # We set ac_cv_exeext here because the later test for it is not
4211 # safe: cross compilers may not add the suffix if given an `-o'
4212 # argument, so we may need to know it at that point already.
4213 # Even if this section looks crufty: it has the advantage of
4214 # actually working.
4215 break;;
4217 break;;
4218 esac
4219 done
4220 test "$ac_cv_exeext" = no && ac_cv_exeext=
4222 else
4223 ac_file=''
4225 if test -z "$ac_file"; then :
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4227 $as_echo "no" >&6; }
4228 $as_echo "$as_me: failed program was:" >&5
4229 sed 's/^/| /' conftest.$ac_ext >&5
4231 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4233 as_fn_error 77 "C compiler cannot create executables
4234 See \`config.log' for more details" "$LINENO" 5; }
4235 else
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4237 $as_echo "yes" >&6; }
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4240 $as_echo_n "checking for C compiler default output file name... " >&6; }
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4242 $as_echo "$ac_file" >&6; }
4243 ac_exeext=$ac_cv_exeext
4245 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4246 ac_clean_files=$ac_clean_files_save
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4248 $as_echo_n "checking for suffix of executables... " >&6; }
4249 if { { ac_try="$ac_link"
4250 case "(($ac_try" in
4251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4252 *) ac_try_echo=$ac_try;;
4253 esac
4254 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4255 $as_echo "$ac_try_echo"; } >&5
4256 (eval "$ac_link") 2>&5
4257 ac_status=$?
4258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4259 test $ac_status = 0; }; then :
4260 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4261 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4262 # work properly (i.e., refer to `conftest.exe'), while it won't with
4263 # `rm'.
4264 for ac_file in conftest.exe conftest conftest.*; do
4265 test -f "$ac_file" || continue
4266 case $ac_file in
4267 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4268 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4269 break;;
4270 * ) break;;
4271 esac
4272 done
4273 else
4274 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4276 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4277 See \`config.log' for more details" "$LINENO" 5; }
4279 rm -f conftest conftest$ac_cv_exeext
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4281 $as_echo "$ac_cv_exeext" >&6; }
4283 rm -f conftest.$ac_ext
4284 EXEEXT=$ac_cv_exeext
4285 ac_exeext=$EXEEXT
4286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4287 /* end confdefs.h. */
4288 #include <stdio.h>
4290 main ()
4292 FILE *f = fopen ("conftest.out", "w");
4293 return ferror (f) || fclose (f) != 0;
4296 return 0;
4298 _ACEOF
4299 ac_clean_files="$ac_clean_files conftest.out"
4300 # Check that the compiler produces executables we can run. If not, either
4301 # the compiler is broken, or we cross compile.
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4303 $as_echo_n "checking whether we are cross compiling... " >&6; }
4304 if test "$cross_compiling" != yes; then
4305 { { ac_try="$ac_link"
4306 case "(($ac_try" in
4307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4308 *) ac_try_echo=$ac_try;;
4309 esac
4310 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4311 $as_echo "$ac_try_echo"; } >&5
4312 (eval "$ac_link") 2>&5
4313 ac_status=$?
4314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4315 test $ac_status = 0; }
4316 if { ac_try='./conftest$ac_cv_exeext'
4317 { { case "(($ac_try" in
4318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4319 *) ac_try_echo=$ac_try;;
4320 esac
4321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4322 $as_echo "$ac_try_echo"; } >&5
4323 (eval "$ac_try") 2>&5
4324 ac_status=$?
4325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4326 test $ac_status = 0; }; }; then
4327 cross_compiling=no
4328 else
4329 if test "$cross_compiling" = maybe; then
4330 cross_compiling=yes
4331 else
4332 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4333 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4334 as_fn_error $? "cannot run C compiled programs.
4335 If you meant to cross compile, use \`--host'.
4336 See \`config.log' for more details" "$LINENO" 5; }
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4341 $as_echo "$cross_compiling" >&6; }
4343 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4344 ac_clean_files=$ac_clean_files_save
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4347 $as_echo_n "checking for suffix of object files... " >&6; }
4348 if ${ac_cv_objext+:} false; then :
4349 $as_echo_n "(cached) " >&6
4350 else
4351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352 /* end confdefs.h. */
4355 main ()
4359 return 0;
4361 _ACEOF
4362 rm -f conftest.o conftest.obj
4363 if { { ac_try="$ac_compile"
4364 case "(($ac_try" in
4365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4366 *) ac_try_echo=$ac_try;;
4367 esac
4368 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4369 $as_echo "$ac_try_echo"; } >&5
4370 (eval "$ac_compile") 2>&5
4371 ac_status=$?
4372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4373 test $ac_status = 0; }; then :
4374 for ac_file in conftest.o conftest.obj conftest.*; do
4375 test -f "$ac_file" || continue;
4376 case $ac_file in
4377 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4378 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4379 break;;
4380 esac
4381 done
4382 else
4383 $as_echo "$as_me: failed program was:" >&5
4384 sed 's/^/| /' conftest.$ac_ext >&5
4386 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4387 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4388 as_fn_error $? "cannot compute suffix of object files: cannot compile
4389 See \`config.log' for more details" "$LINENO" 5; }
4391 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4394 $as_echo "$ac_cv_objext" >&6; }
4395 OBJEXT=$ac_cv_objext
4396 ac_objext=$OBJEXT
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4398 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4399 if ${ac_cv_c_compiler_gnu+:} false; then :
4400 $as_echo_n "(cached) " >&6
4401 else
4402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4403 /* end confdefs.h. */
4406 main ()
4408 #ifndef __GNUC__
4409 choke me
4410 #endif
4413 return 0;
4415 _ACEOF
4416 if ac_fn_c_try_compile "$LINENO"; then :
4417 ac_compiler_gnu=yes
4418 else
4419 ac_compiler_gnu=no
4421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4422 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4426 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4427 if test $ac_compiler_gnu = yes; then
4428 GCC=yes
4429 else
4430 GCC=
4432 ac_test_CFLAGS=${CFLAGS+set}
4433 ac_save_CFLAGS=$CFLAGS
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4435 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4436 if ${ac_cv_prog_cc_g+:} false; then :
4437 $as_echo_n "(cached) " >&6
4438 else
4439 ac_save_c_werror_flag=$ac_c_werror_flag
4440 ac_c_werror_flag=yes
4441 ac_cv_prog_cc_g=no
4442 CFLAGS="-g"
4443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4444 /* end confdefs.h. */
4447 main ()
4451 return 0;
4453 _ACEOF
4454 if ac_fn_c_try_compile "$LINENO"; then :
4455 ac_cv_prog_cc_g=yes
4456 else
4457 CFLAGS=""
4458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4459 /* end confdefs.h. */
4462 main ()
4466 return 0;
4468 _ACEOF
4469 if ac_fn_c_try_compile "$LINENO"; then :
4471 else
4472 ac_c_werror_flag=$ac_save_c_werror_flag
4473 CFLAGS="-g"
4474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4475 /* end confdefs.h. */
4478 main ()
4482 return 0;
4484 _ACEOF
4485 if ac_fn_c_try_compile "$LINENO"; then :
4486 ac_cv_prog_cc_g=yes
4488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4493 ac_c_werror_flag=$ac_save_c_werror_flag
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4496 $as_echo "$ac_cv_prog_cc_g" >&6; }
4497 if test "$ac_test_CFLAGS" = set; then
4498 CFLAGS=$ac_save_CFLAGS
4499 elif test $ac_cv_prog_cc_g = yes; then
4500 if test "$GCC" = yes; then
4501 CFLAGS="-g -O2"
4502 else
4503 CFLAGS="-g"
4505 else
4506 if test "$GCC" = yes; then
4507 CFLAGS="-O2"
4508 else
4509 CFLAGS=
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4513 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4514 if ${ac_cv_prog_cc_c89+:} false; then :
4515 $as_echo_n "(cached) " >&6
4516 else
4517 ac_cv_prog_cc_c89=no
4518 ac_save_CC=$CC
4519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4520 /* end confdefs.h. */
4521 #include <stdarg.h>
4522 #include <stdio.h>
4523 struct stat;
4524 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4525 struct buf { int x; };
4526 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4527 static char *e (p, i)
4528 char **p;
4529 int i;
4531 return p[i];
4533 static char *f (char * (*g) (char **, int), char **p, ...)
4535 char *s;
4536 va_list v;
4537 va_start (v,p);
4538 s = g (p, va_arg (v,int));
4539 va_end (v);
4540 return s;
4543 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4544 function prototypes and stuff, but not '\xHH' hex character constants.
4545 These don't provoke an error unfortunately, instead are silently treated
4546 as 'x'. The following induces an error, until -std is added to get
4547 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4548 array size at least. It's necessary to write '\x00'==0 to get something
4549 that's true only with -std. */
4550 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4552 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4553 inside strings and character constants. */
4554 #define FOO(x) 'x'
4555 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4557 int test (int i, double x);
4558 struct s1 {int (*f) (int a);};
4559 struct s2 {int (*f) (double a);};
4560 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4561 int argc;
4562 char **argv;
4564 main ()
4566 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4568 return 0;
4570 _ACEOF
4571 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4572 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4574 CC="$ac_save_CC $ac_arg"
4575 if ac_fn_c_try_compile "$LINENO"; then :
4576 ac_cv_prog_cc_c89=$ac_arg
4578 rm -f core conftest.err conftest.$ac_objext
4579 test "x$ac_cv_prog_cc_c89" != "xno" && break
4580 done
4581 rm -f conftest.$ac_ext
4582 CC=$ac_save_CC
4585 # AC_CACHE_VAL
4586 case "x$ac_cv_prog_cc_c89" in
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4589 $as_echo "none needed" >&6; } ;;
4590 xno)
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4592 $as_echo "unsupported" >&6; } ;;
4594 CC="$CC $ac_cv_prog_cc_c89"
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4596 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4597 esac
4598 if test "x$ac_cv_prog_cc_c89" != xno; then :
4602 ac_ext=c
4603 ac_cpp='$CPP $CPPFLAGS'
4604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4608 ac_ext=c
4609 ac_cpp='$CPP $CPPFLAGS'
4610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4614 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4615 if ${am_cv_prog_cc_c_o+:} false; then :
4616 $as_echo_n "(cached) " >&6
4617 else
4618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4619 /* end confdefs.h. */
4622 main ()
4626 return 0;
4628 _ACEOF
4629 # Make sure it works both with $CC and with simple cc.
4630 # Following AC_PROG_CC_C_O, we do the test twice because some
4631 # compilers refuse to overwrite an existing .o file with -o,
4632 # though they will create one.
4633 am_cv_prog_cc_c_o=yes
4634 for am_i in 1 2; do
4635 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4636 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4637 ac_status=$?
4638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639 (exit $ac_status); } \
4640 && test -f conftest2.$ac_objext; then
4641 : OK
4642 else
4643 am_cv_prog_cc_c_o=no
4644 break
4646 done
4647 rm -f core conftest*
4648 unset am_i
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4651 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4652 if test "$am_cv_prog_cc_c_o" != yes; then
4653 # Losing compiler, so override with the script.
4654 # FIXME: It is wrong to rewrite CC.
4655 # But if we don't then we get into trouble of one sort or another.
4656 # A longer-term fix would be to have automake use am__CC in this case,
4657 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4658 CC="$am_aux_dir/compile $CC"
4660 ac_ext=c
4661 ac_cpp='$CPP $CPPFLAGS'
4662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4667 ac_ext=cpp
4668 ac_cpp='$CXXCPP $CPPFLAGS'
4669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4672 if test -z "$CXX"; then
4673 if test -n "$CCC"; then
4674 CXX=$CCC
4675 else
4676 if test -n "$ac_tool_prefix"; then
4677 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4679 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4680 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4682 $as_echo_n "checking for $ac_word... " >&6; }
4683 if ${ac_cv_prog_CXX+:} false; then :
4684 $as_echo_n "(cached) " >&6
4685 else
4686 if test -n "$CXX"; then
4687 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4688 else
4689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4690 for as_dir in $PATH
4692 IFS=$as_save_IFS
4693 test -z "$as_dir" && as_dir=.
4694 for ac_exec_ext in '' $ac_executable_extensions; do
4695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4696 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4698 break 2
4700 done
4701 done
4702 IFS=$as_save_IFS
4706 CXX=$ac_cv_prog_CXX
4707 if test -n "$CXX"; then
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4709 $as_echo "$CXX" >&6; }
4710 else
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4712 $as_echo "no" >&6; }
4716 test -n "$CXX" && break
4717 done
4719 if test -z "$CXX"; then
4720 ac_ct_CXX=$CXX
4721 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4723 # Extract the first word of "$ac_prog", so it can be a program name with args.
4724 set dummy $ac_prog; ac_word=$2
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4726 $as_echo_n "checking for $ac_word... " >&6; }
4727 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4728 $as_echo_n "(cached) " >&6
4729 else
4730 if test -n "$ac_ct_CXX"; then
4731 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4732 else
4733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4734 for as_dir in $PATH
4736 IFS=$as_save_IFS
4737 test -z "$as_dir" && as_dir=.
4738 for ac_exec_ext in '' $ac_executable_extensions; do
4739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4740 ac_cv_prog_ac_ct_CXX="$ac_prog"
4741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4742 break 2
4744 done
4745 done
4746 IFS=$as_save_IFS
4750 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4751 if test -n "$ac_ct_CXX"; then
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4753 $as_echo "$ac_ct_CXX" >&6; }
4754 else
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4756 $as_echo "no" >&6; }
4760 test -n "$ac_ct_CXX" && break
4761 done
4763 if test "x$ac_ct_CXX" = x; then
4764 CXX="g++"
4765 else
4766 case $cross_compiling:$ac_tool_warned in
4767 yes:)
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4770 ac_tool_warned=yes ;;
4771 esac
4772 CXX=$ac_ct_CXX
4778 # Provide some information about the compiler.
4779 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4780 set X $ac_compile
4781 ac_compiler=$2
4782 for ac_option in --version -v -V -qversion; do
4783 { { ac_try="$ac_compiler $ac_option >&5"
4784 case "(($ac_try" in
4785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4786 *) ac_try_echo=$ac_try;;
4787 esac
4788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4789 $as_echo "$ac_try_echo"; } >&5
4790 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4791 ac_status=$?
4792 if test -s conftest.err; then
4793 sed '10a\
4794 ... rest of stderr output deleted ...
4795 10q' conftest.err >conftest.er1
4796 cat conftest.er1 >&5
4798 rm -f conftest.er1 conftest.err
4799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4800 test $ac_status = 0; }
4801 done
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4804 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4805 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4806 $as_echo_n "(cached) " >&6
4807 else
4808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4809 /* end confdefs.h. */
4812 main ()
4814 #ifndef __GNUC__
4815 choke me
4816 #endif
4819 return 0;
4821 _ACEOF
4822 if ac_fn_cxx_try_compile "$LINENO"; then :
4823 ac_compiler_gnu=yes
4824 else
4825 ac_compiler_gnu=no
4827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4828 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4832 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4833 if test $ac_compiler_gnu = yes; then
4834 GXX=yes
4835 else
4836 GXX=
4838 ac_test_CXXFLAGS=${CXXFLAGS+set}
4839 ac_save_CXXFLAGS=$CXXFLAGS
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4841 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4842 if ${ac_cv_prog_cxx_g+:} false; then :
4843 $as_echo_n "(cached) " >&6
4844 else
4845 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4846 ac_cxx_werror_flag=yes
4847 ac_cv_prog_cxx_g=no
4848 CXXFLAGS="-g"
4849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4850 /* end confdefs.h. */
4853 main ()
4857 return 0;
4859 _ACEOF
4860 if ac_fn_cxx_try_compile "$LINENO"; then :
4861 ac_cv_prog_cxx_g=yes
4862 else
4863 CXXFLAGS=""
4864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4865 /* end confdefs.h. */
4868 main ()
4872 return 0;
4874 _ACEOF
4875 if ac_fn_cxx_try_compile "$LINENO"; then :
4877 else
4878 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4879 CXXFLAGS="-g"
4880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4881 /* end confdefs.h. */
4884 main ()
4888 return 0;
4890 _ACEOF
4891 if ac_fn_cxx_try_compile "$LINENO"; then :
4892 ac_cv_prog_cxx_g=yes
4894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4899 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4902 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4903 if test "$ac_test_CXXFLAGS" = set; then
4904 CXXFLAGS=$ac_save_CXXFLAGS
4905 elif test $ac_cv_prog_cxx_g = yes; then
4906 if test "$GXX" = yes; then
4907 CXXFLAGS="-g -O2"
4908 else
4909 CXXFLAGS="-g"
4911 else
4912 if test "$GXX" = yes; then
4913 CXXFLAGS="-O2"
4914 else
4915 CXXFLAGS=
4918 ac_ext=c
4919 ac_cpp='$CPP $CPPFLAGS'
4920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4924 CXXFLAGS="$save_CXXFLAGS"
4926 # Runs configure.host, and assorted other critical bits. Sets
4927 # up critical shell variables.
4929 ac_ext=c
4930 ac_cpp='$CPP $CPPFLAGS'
4931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4935 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4936 # On Suns, sometimes $CPP names a directory.
4937 if test -n "$CPP" && test -d "$CPP"; then
4938 CPP=
4940 if test -z "$CPP"; then
4941 if ${ac_cv_prog_CPP+:} false; then :
4942 $as_echo_n "(cached) " >&6
4943 else
4944 # Double quotes because CPP needs to be expanded
4945 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4947 ac_preproc_ok=false
4948 for ac_c_preproc_warn_flag in '' yes
4950 # Use a header file that comes with gcc, so configuring glibc
4951 # with a fresh cross-compiler works.
4952 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4953 # <limits.h> exists even on freestanding compilers.
4954 # On the NeXT, cc -E runs the code through the compiler's parser,
4955 # not just through cpp. "Syntax error" is here to catch this case.
4956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4957 /* end confdefs.h. */
4958 #ifdef __STDC__
4959 # include <limits.h>
4960 #else
4961 # include <assert.h>
4962 #endif
4963 Syntax error
4964 _ACEOF
4965 if ac_fn_c_try_cpp "$LINENO"; then :
4967 else
4968 # Broken: fails on valid input.
4969 continue
4971 rm -f conftest.err conftest.i conftest.$ac_ext
4973 # OK, works on sane cases. Now check whether nonexistent headers
4974 # can be detected and how.
4975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4976 /* end confdefs.h. */
4977 #include <ac_nonexistent.h>
4978 _ACEOF
4979 if ac_fn_c_try_cpp "$LINENO"; then :
4980 # Broken: success on invalid input.
4981 continue
4982 else
4983 # Passes both tests.
4984 ac_preproc_ok=:
4985 break
4987 rm -f conftest.err conftest.i conftest.$ac_ext
4989 done
4990 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4991 rm -f conftest.i conftest.err conftest.$ac_ext
4992 if $ac_preproc_ok; then :
4993 break
4996 done
4997 ac_cv_prog_CPP=$CPP
5000 CPP=$ac_cv_prog_CPP
5001 else
5002 ac_cv_prog_CPP=$CPP
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5005 $as_echo "$CPP" >&6; }
5006 ac_preproc_ok=false
5007 for ac_c_preproc_warn_flag in '' yes
5009 # Use a header file that comes with gcc, so configuring glibc
5010 # with a fresh cross-compiler works.
5011 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5012 # <limits.h> exists even on freestanding compilers.
5013 # On the NeXT, cc -E runs the code through the compiler's parser,
5014 # not just through cpp. "Syntax error" is here to catch this case.
5015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5016 /* end confdefs.h. */
5017 #ifdef __STDC__
5018 # include <limits.h>
5019 #else
5020 # include <assert.h>
5021 #endif
5022 Syntax error
5023 _ACEOF
5024 if ac_fn_c_try_cpp "$LINENO"; then :
5026 else
5027 # Broken: fails on valid input.
5028 continue
5030 rm -f conftest.err conftest.i conftest.$ac_ext
5032 # OK, works on sane cases. Now check whether nonexistent headers
5033 # can be detected and how.
5034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5035 /* end confdefs.h. */
5036 #include <ac_nonexistent.h>
5037 _ACEOF
5038 if ac_fn_c_try_cpp "$LINENO"; then :
5039 # Broken: success on invalid input.
5040 continue
5041 else
5042 # Passes both tests.
5043 ac_preproc_ok=:
5044 break
5046 rm -f conftest.err conftest.i conftest.$ac_ext
5048 done
5049 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5050 rm -f conftest.i conftest.err conftest.$ac_ext
5051 if $ac_preproc_ok; then :
5053 else
5054 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5056 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5057 See \`config.log' for more details" "$LINENO" 5; }
5060 ac_ext=c
5061 ac_cpp='$CPP $CPPFLAGS'
5062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5068 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5069 if ${ac_cv_path_GREP+:} false; then :
5070 $as_echo_n "(cached) " >&6
5071 else
5072 if test -z "$GREP"; then
5073 ac_path_GREP_found=false
5074 # Loop through the user's path and test for each of PROGNAME-LIST
5075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5076 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5078 IFS=$as_save_IFS
5079 test -z "$as_dir" && as_dir=.
5080 for ac_prog in grep ggrep; do
5081 for ac_exec_ext in '' $ac_executable_extensions; do
5082 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5083 as_fn_executable_p "$ac_path_GREP" || continue
5084 # Check for GNU ac_path_GREP and select it if it is found.
5085 # Check for GNU $ac_path_GREP
5086 case `"$ac_path_GREP" --version 2>&1` in
5087 *GNU*)
5088 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5090 ac_count=0
5091 $as_echo_n 0123456789 >"conftest.in"
5092 while :
5094 cat "conftest.in" "conftest.in" >"conftest.tmp"
5095 mv "conftest.tmp" "conftest.in"
5096 cp "conftest.in" "conftest.nl"
5097 $as_echo 'GREP' >> "conftest.nl"
5098 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5099 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5100 as_fn_arith $ac_count + 1 && ac_count=$as_val
5101 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5102 # Best one so far, save it but keep looking for a better one
5103 ac_cv_path_GREP="$ac_path_GREP"
5104 ac_path_GREP_max=$ac_count
5106 # 10*(2^10) chars as input seems more than enough
5107 test $ac_count -gt 10 && break
5108 done
5109 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5110 esac
5112 $ac_path_GREP_found && break 3
5113 done
5114 done
5115 done
5116 IFS=$as_save_IFS
5117 if test -z "$ac_cv_path_GREP"; then
5118 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5120 else
5121 ac_cv_path_GREP=$GREP
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5126 $as_echo "$ac_cv_path_GREP" >&6; }
5127 GREP="$ac_cv_path_GREP"
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5131 $as_echo_n "checking for egrep... " >&6; }
5132 if ${ac_cv_path_EGREP+:} false; then :
5133 $as_echo_n "(cached) " >&6
5134 else
5135 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5136 then ac_cv_path_EGREP="$GREP -E"
5137 else
5138 if test -z "$EGREP"; then
5139 ac_path_EGREP_found=false
5140 # Loop through the user's path and test for each of PROGNAME-LIST
5141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5142 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5144 IFS=$as_save_IFS
5145 test -z "$as_dir" && as_dir=.
5146 for ac_prog in egrep; do
5147 for ac_exec_ext in '' $ac_executable_extensions; do
5148 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5149 as_fn_executable_p "$ac_path_EGREP" || continue
5150 # Check for GNU ac_path_EGREP and select it if it is found.
5151 # Check for GNU $ac_path_EGREP
5152 case `"$ac_path_EGREP" --version 2>&1` in
5153 *GNU*)
5154 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5156 ac_count=0
5157 $as_echo_n 0123456789 >"conftest.in"
5158 while :
5160 cat "conftest.in" "conftest.in" >"conftest.tmp"
5161 mv "conftest.tmp" "conftest.in"
5162 cp "conftest.in" "conftest.nl"
5163 $as_echo 'EGREP' >> "conftest.nl"
5164 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5165 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5166 as_fn_arith $ac_count + 1 && ac_count=$as_val
5167 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5168 # Best one so far, save it but keep looking for a better one
5169 ac_cv_path_EGREP="$ac_path_EGREP"
5170 ac_path_EGREP_max=$ac_count
5172 # 10*(2^10) chars as input seems more than enough
5173 test $ac_count -gt 10 && break
5174 done
5175 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5176 esac
5178 $ac_path_EGREP_found && break 3
5179 done
5180 done
5181 done
5182 IFS=$as_save_IFS
5183 if test -z "$ac_cv_path_EGREP"; then
5184 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5186 else
5187 ac_cv_path_EGREP=$EGREP
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5193 $as_echo "$ac_cv_path_EGREP" >&6; }
5194 EGREP="$ac_cv_path_EGREP"
5198 # Keep these sync'd with the list in Makefile.am. The first provides an
5199 # expandable list at autoconf time; the second provides an expandable list
5200 # (i.e., shell variable) at configure time.
5202 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/filesystem doc po testsuite python'
5204 # These need to be absolute paths, yet at the same time need to
5205 # canonicalize only relative paths, because then amd will not unmount
5206 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5207 glibcxx_builddir=`${PWDCMD-pwd}`
5208 case $srcdir in
5209 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5210 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5211 esac
5212 toplevel_builddir=${glibcxx_builddir}/..
5213 toplevel_srcdir=${glibcxx_srcdir}/..
5219 # We use these options to decide which functions to include. They are
5220 # set from the top level.
5222 # Check whether --with-target-subdir was given.
5223 if test "${with_target_subdir+set}" = set; then :
5224 withval=$with_target_subdir;
5229 # Check whether --with-cross-host was given.
5230 if test "${with_cross_host+set}" = set; then :
5231 withval=$with_cross_host;
5236 # Check whether --with-newlib was given.
5237 if test "${with_newlib+set}" = set; then :
5238 withval=$with_newlib;
5242 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5243 # available). Uncomment the next line to force a particular method.
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5245 $as_echo_n "checking whether ln -s works... " >&6; }
5246 LN_S=$as_ln_s
5247 if test "$LN_S" = "ln -s"; then
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5249 $as_echo "yes" >&6; }
5250 else
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5252 $as_echo "no, using $LN_S" >&6; }
5255 #LN_S='cp -p'
5257 if test -n "$ac_tool_prefix"; then
5258 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5259 set dummy ${ac_tool_prefix}as; ac_word=$2
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5261 $as_echo_n "checking for $ac_word... " >&6; }
5262 if ${ac_cv_prog_AS+:} false; then :
5263 $as_echo_n "(cached) " >&6
5264 else
5265 if test -n "$AS"; then
5266 ac_cv_prog_AS="$AS" # Let the user override the test.
5267 else
5268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5269 for as_dir in $PATH
5271 IFS=$as_save_IFS
5272 test -z "$as_dir" && as_dir=.
5273 for ac_exec_ext in '' $ac_executable_extensions; do
5274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5275 ac_cv_prog_AS="${ac_tool_prefix}as"
5276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5277 break 2
5279 done
5280 done
5281 IFS=$as_save_IFS
5285 AS=$ac_cv_prog_AS
5286 if test -n "$AS"; then
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5288 $as_echo "$AS" >&6; }
5289 else
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5291 $as_echo "no" >&6; }
5296 if test -z "$ac_cv_prog_AS"; then
5297 ac_ct_AS=$AS
5298 # Extract the first word of "as", so it can be a program name with args.
5299 set dummy as; ac_word=$2
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5301 $as_echo_n "checking for $ac_word... " >&6; }
5302 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5303 $as_echo_n "(cached) " >&6
5304 else
5305 if test -n "$ac_ct_AS"; then
5306 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5307 else
5308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5309 for as_dir in $PATH
5311 IFS=$as_save_IFS
5312 test -z "$as_dir" && as_dir=.
5313 for ac_exec_ext in '' $ac_executable_extensions; do
5314 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5315 ac_cv_prog_ac_ct_AS="as"
5316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5317 break 2
5319 done
5320 done
5321 IFS=$as_save_IFS
5325 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5326 if test -n "$ac_ct_AS"; then
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5328 $as_echo "$ac_ct_AS" >&6; }
5329 else
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5331 $as_echo "no" >&6; }
5334 if test "x$ac_ct_AS" = x; then
5335 AS=""
5336 else
5337 case $cross_compiling:$ac_tool_warned in
5338 yes:)
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5341 ac_tool_warned=yes ;;
5342 esac
5343 AS=$ac_ct_AS
5345 else
5346 AS="$ac_cv_prog_AS"
5349 if test -n "$ac_tool_prefix"; then
5350 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5351 set dummy ${ac_tool_prefix}ar; ac_word=$2
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5353 $as_echo_n "checking for $ac_word... " >&6; }
5354 if ${ac_cv_prog_AR+:} false; then :
5355 $as_echo_n "(cached) " >&6
5356 else
5357 if test -n "$AR"; then
5358 ac_cv_prog_AR="$AR" # Let the user override the test.
5359 else
5360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5361 for as_dir in $PATH
5363 IFS=$as_save_IFS
5364 test -z "$as_dir" && as_dir=.
5365 for ac_exec_ext in '' $ac_executable_extensions; do
5366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5367 ac_cv_prog_AR="${ac_tool_prefix}ar"
5368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5369 break 2
5371 done
5372 done
5373 IFS=$as_save_IFS
5377 AR=$ac_cv_prog_AR
5378 if test -n "$AR"; then
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5380 $as_echo "$AR" >&6; }
5381 else
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5383 $as_echo "no" >&6; }
5388 if test -z "$ac_cv_prog_AR"; then
5389 ac_ct_AR=$AR
5390 # Extract the first word of "ar", so it can be a program name with args.
5391 set dummy ar; ac_word=$2
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5393 $as_echo_n "checking for $ac_word... " >&6; }
5394 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5395 $as_echo_n "(cached) " >&6
5396 else
5397 if test -n "$ac_ct_AR"; then
5398 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5399 else
5400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5401 for as_dir in $PATH
5403 IFS=$as_save_IFS
5404 test -z "$as_dir" && as_dir=.
5405 for ac_exec_ext in '' $ac_executable_extensions; do
5406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5407 ac_cv_prog_ac_ct_AR="ar"
5408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5409 break 2
5411 done
5412 done
5413 IFS=$as_save_IFS
5417 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5418 if test -n "$ac_ct_AR"; then
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5420 $as_echo "$ac_ct_AR" >&6; }
5421 else
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5423 $as_echo "no" >&6; }
5426 if test "x$ac_ct_AR" = x; then
5427 AR=""
5428 else
5429 case $cross_compiling:$ac_tool_warned in
5430 yes:)
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5433 ac_tool_warned=yes ;;
5434 esac
5435 AR=$ac_ct_AR
5437 else
5438 AR="$ac_cv_prog_AR"
5441 if test -n "$ac_tool_prefix"; then
5442 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5443 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5445 $as_echo_n "checking for $ac_word... " >&6; }
5446 if ${ac_cv_prog_RANLIB+:} false; then :
5447 $as_echo_n "(cached) " >&6
5448 else
5449 if test -n "$RANLIB"; then
5450 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5451 else
5452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5453 for as_dir in $PATH
5455 IFS=$as_save_IFS
5456 test -z "$as_dir" && as_dir=.
5457 for ac_exec_ext in '' $ac_executable_extensions; do
5458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5459 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5461 break 2
5463 done
5464 done
5465 IFS=$as_save_IFS
5469 RANLIB=$ac_cv_prog_RANLIB
5470 if test -n "$RANLIB"; then
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5472 $as_echo "$RANLIB" >&6; }
5473 else
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5475 $as_echo "no" >&6; }
5480 if test -z "$ac_cv_prog_RANLIB"; then
5481 ac_ct_RANLIB=$RANLIB
5482 # Extract the first word of "ranlib", so it can be a program name with args.
5483 set dummy ranlib; ac_word=$2
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5485 $as_echo_n "checking for $ac_word... " >&6; }
5486 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5487 $as_echo_n "(cached) " >&6
5488 else
5489 if test -n "$ac_ct_RANLIB"; then
5490 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5491 else
5492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5493 for as_dir in $PATH
5495 IFS=$as_save_IFS
5496 test -z "$as_dir" && as_dir=.
5497 for ac_exec_ext in '' $ac_executable_extensions; do
5498 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5499 ac_cv_prog_ac_ct_RANLIB="ranlib"
5500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5501 break 2
5503 done
5504 done
5505 IFS=$as_save_IFS
5509 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5510 if test -n "$ac_ct_RANLIB"; then
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5512 $as_echo "$ac_ct_RANLIB" >&6; }
5513 else
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5515 $as_echo "no" >&6; }
5518 if test "x$ac_ct_RANLIB" = x; then
5519 RANLIB="ranlib-not-found-in-path-error"
5520 else
5521 case $cross_compiling:$ac_tool_warned in
5522 yes:)
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5525 ac_tool_warned=yes ;;
5526 esac
5527 RANLIB=$ac_ct_RANLIB
5529 else
5530 RANLIB="$ac_cv_prog_RANLIB"
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5536 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5537 # Check whether --enable-maintainer-mode was given.
5538 if test "${enable_maintainer_mode+set}" = set; then :
5539 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5540 else
5541 USE_MAINTAINER_MODE=no
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5545 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5546 if test $USE_MAINTAINER_MODE = yes; then
5547 MAINTAINER_MODE_TRUE=
5548 MAINTAINER_MODE_FALSE='#'
5549 else
5550 MAINTAINER_MODE_TRUE='#'
5551 MAINTAINER_MODE_FALSE=
5554 MAINT=$MAINTAINER_MODE_TRUE
5558 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5559 # which are themselves conditionally expanded.
5560 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5561 ## other macros from doing the same. This should be automated.) -pme
5563 # Check for C library flavor since GNU/Linux platforms use different
5564 # configuration directories depending on the C library in use.
5565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5566 /* end confdefs.h. */
5568 #include <stdio.h>
5569 #if __UCLIBC__
5570 _using_uclibc
5571 #endif
5573 _ACEOF
5574 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5575 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5576 uclibc=yes
5577 else
5578 uclibc=no
5580 rm -f conftest*
5583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5584 /* end confdefs.h. */
5586 #include <stdio.h>
5587 #if __BIONIC__
5588 _using_bionic
5589 #endif
5591 _ACEOF
5592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5593 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5594 bionic=yes
5595 else
5596 bionic=no
5598 rm -f conftest*
5601 # Find platform-specific directories containing configuration info.
5602 # Also possibly modify flags used elsewhere, as needed by the platform.
5604 . $glibcxx_srcdir/configure.host
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5606 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5608 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5612 # Libtool setup.
5613 if test "x${with_newlib}" != "xyes"; then
5614 enable_dlopen=yes
5619 case `pwd` in
5620 *\ * | *\ *)
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5622 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5623 esac
5627 macro_version='2.2.7a'
5628 macro_revision='1.3134'
5642 ltmain="$ac_aux_dir/ltmain.sh"
5644 # Backslashify metacharacters that are still active within
5645 # double-quoted strings.
5646 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5648 # Same as above, but do not quote variable references.
5649 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5651 # Sed substitution to delay expansion of an escaped shell variable in a
5652 # double_quote_subst'ed string.
5653 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5655 # Sed substitution to delay expansion of an escaped single quote.
5656 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5658 # Sed substitution to avoid accidental globbing in evaled expressions
5659 no_glob_subst='s/\*/\\\*/g'
5661 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5662 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5663 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5666 $as_echo_n "checking how to print strings... " >&6; }
5667 # Test print first, because it will be a builtin if present.
5668 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5669 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5670 ECHO='print -r --'
5671 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5672 ECHO='printf %s\n'
5673 else
5674 # Use this function as a fallback that always works.
5675 func_fallback_echo ()
5677 eval 'cat <<_LTECHO_EOF
5679 _LTECHO_EOF'
5681 ECHO='func_fallback_echo'
5684 # func_echo_all arg...
5685 # Invoke $ECHO with all args, space-separated.
5686 func_echo_all ()
5688 $ECHO ""
5691 case "$ECHO" in
5692 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5693 $as_echo "printf" >&6; } ;;
5694 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5695 $as_echo "print -r" >&6; } ;;
5696 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5697 $as_echo "cat" >&6; } ;;
5698 esac
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5714 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5715 if ${ac_cv_path_SED+:} false; then :
5716 $as_echo_n "(cached) " >&6
5717 else
5718 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5719 for ac_i in 1 2 3 4 5 6 7; do
5720 ac_script="$ac_script$as_nl$ac_script"
5721 done
5722 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5723 { ac_script=; unset ac_script;}
5724 if test -z "$SED"; then
5725 ac_path_SED_found=false
5726 # Loop through the user's path and test for each of PROGNAME-LIST
5727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5728 for as_dir in $PATH
5730 IFS=$as_save_IFS
5731 test -z "$as_dir" && as_dir=.
5732 for ac_prog in sed gsed; do
5733 for ac_exec_ext in '' $ac_executable_extensions; do
5734 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5735 as_fn_executable_p "$ac_path_SED" || continue
5736 # Check for GNU ac_path_SED and select it if it is found.
5737 # Check for GNU $ac_path_SED
5738 case `"$ac_path_SED" --version 2>&1` in
5739 *GNU*)
5740 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5742 ac_count=0
5743 $as_echo_n 0123456789 >"conftest.in"
5744 while :
5746 cat "conftest.in" "conftest.in" >"conftest.tmp"
5747 mv "conftest.tmp" "conftest.in"
5748 cp "conftest.in" "conftest.nl"
5749 $as_echo '' >> "conftest.nl"
5750 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5751 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5752 as_fn_arith $ac_count + 1 && ac_count=$as_val
5753 if test $ac_count -gt ${ac_path_SED_max-0}; then
5754 # Best one so far, save it but keep looking for a better one
5755 ac_cv_path_SED="$ac_path_SED"
5756 ac_path_SED_max=$ac_count
5758 # 10*(2^10) chars as input seems more than enough
5759 test $ac_count -gt 10 && break
5760 done
5761 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5762 esac
5764 $ac_path_SED_found && break 3
5765 done
5766 done
5767 done
5768 IFS=$as_save_IFS
5769 if test -z "$ac_cv_path_SED"; then
5770 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5772 else
5773 ac_cv_path_SED=$SED
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5778 $as_echo "$ac_cv_path_SED" >&6; }
5779 SED="$ac_cv_path_SED"
5780 rm -f conftest.sed
5782 test -z "$SED" && SED=sed
5783 Xsed="$SED -e 1s/^X//"
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5796 $as_echo_n "checking for fgrep... " >&6; }
5797 if ${ac_cv_path_FGREP+:} false; then :
5798 $as_echo_n "(cached) " >&6
5799 else
5800 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5801 then ac_cv_path_FGREP="$GREP -F"
5802 else
5803 if test -z "$FGREP"; then
5804 ac_path_FGREP_found=false
5805 # Loop through the user's path and test for each of PROGNAME-LIST
5806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5807 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5809 IFS=$as_save_IFS
5810 test -z "$as_dir" && as_dir=.
5811 for ac_prog in fgrep; do
5812 for ac_exec_ext in '' $ac_executable_extensions; do
5813 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5814 as_fn_executable_p "$ac_path_FGREP" || continue
5815 # Check for GNU ac_path_FGREP and select it if it is found.
5816 # Check for GNU $ac_path_FGREP
5817 case `"$ac_path_FGREP" --version 2>&1` in
5818 *GNU*)
5819 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5821 ac_count=0
5822 $as_echo_n 0123456789 >"conftest.in"
5823 while :
5825 cat "conftest.in" "conftest.in" >"conftest.tmp"
5826 mv "conftest.tmp" "conftest.in"
5827 cp "conftest.in" "conftest.nl"
5828 $as_echo 'FGREP' >> "conftest.nl"
5829 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5830 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5831 as_fn_arith $ac_count + 1 && ac_count=$as_val
5832 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5833 # Best one so far, save it but keep looking for a better one
5834 ac_cv_path_FGREP="$ac_path_FGREP"
5835 ac_path_FGREP_max=$ac_count
5837 # 10*(2^10) chars as input seems more than enough
5838 test $ac_count -gt 10 && break
5839 done
5840 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5841 esac
5843 $ac_path_FGREP_found && break 3
5844 done
5845 done
5846 done
5847 IFS=$as_save_IFS
5848 if test -z "$ac_cv_path_FGREP"; then
5849 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5851 else
5852 ac_cv_path_FGREP=$FGREP
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5858 $as_echo "$ac_cv_path_FGREP" >&6; }
5859 FGREP="$ac_cv_path_FGREP"
5862 test -z "$GREP" && GREP=grep
5882 # Check whether --with-gnu-ld was given.
5883 if test "${with_gnu_ld+set}" = set; then :
5884 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5885 else
5886 with_gnu_ld=no
5889 ac_prog=ld
5890 if test "$GCC" = yes; then
5891 # Check if gcc -print-prog-name=ld gives a path.
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5893 $as_echo_n "checking for ld used by $CC... " >&6; }
5894 case $host in
5895 *-*-mingw*)
5896 # gcc leaves a trailing carriage return which upsets mingw
5897 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5899 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5900 esac
5901 case $ac_prog in
5902 # Accept absolute paths.
5903 [\\/]* | ?:[\\/]*)
5904 re_direlt='/[^/][^/]*/\.\./'
5905 # Canonicalize the pathname of ld
5906 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5907 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5908 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5909 done
5910 test -z "$LD" && LD="$ac_prog"
5913 # If it fails, then pretend we aren't using GCC.
5914 ac_prog=ld
5917 # If it is relative, then search for the first ld in PATH.
5918 with_gnu_ld=unknown
5920 esac
5921 elif test "$with_gnu_ld" = yes; then
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5923 $as_echo_n "checking for GNU ld... " >&6; }
5924 else
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5926 $as_echo_n "checking for non-GNU ld... " >&6; }
5928 if ${lt_cv_path_LD+:} false; then :
5929 $as_echo_n "(cached) " >&6
5930 else
5931 if test -z "$LD"; then
5932 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5933 for ac_dir in $PATH; do
5934 IFS="$lt_save_ifs"
5935 test -z "$ac_dir" && ac_dir=.
5936 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5937 lt_cv_path_LD="$ac_dir/$ac_prog"
5938 # Check to see if the program is GNU ld. I'd rather use --version,
5939 # but apparently some variants of GNU ld only accept -v.
5940 # Break only if it was the GNU/non-GNU ld that we prefer.
5941 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5942 *GNU* | *'with BFD'*)
5943 test "$with_gnu_ld" != no && break
5946 test "$with_gnu_ld" != yes && break
5948 esac
5950 done
5951 IFS="$lt_save_ifs"
5952 else
5953 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5957 LD="$lt_cv_path_LD"
5958 if test -n "$LD"; then
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5960 $as_echo "$LD" >&6; }
5961 else
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5963 $as_echo "no" >&6; }
5965 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5967 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5968 if ${lt_cv_prog_gnu_ld+:} false; then :
5969 $as_echo_n "(cached) " >&6
5970 else
5971 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5972 case `$LD -v 2>&1 </dev/null` in
5973 *GNU* | *'with BFD'*)
5974 lt_cv_prog_gnu_ld=yes
5977 lt_cv_prog_gnu_ld=no
5979 esac
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5982 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5983 with_gnu_ld=$lt_cv_prog_gnu_ld
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5994 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5995 if ${lt_cv_path_NM+:} false; then :
5996 $as_echo_n "(cached) " >&6
5997 else
5998 if test -n "$NM"; then
5999 # Let the user override the test.
6000 lt_cv_path_NM="$NM"
6001 else
6002 lt_nm_to_check="${ac_tool_prefix}nm"
6003 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6004 lt_nm_to_check="$lt_nm_to_check nm"
6006 for lt_tmp_nm in $lt_nm_to_check; do
6007 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6008 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6009 IFS="$lt_save_ifs"
6010 test -z "$ac_dir" && ac_dir=.
6011 tmp_nm="$ac_dir/$lt_tmp_nm"
6012 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6013 # Check to see if the nm accepts a BSD-compat flag.
6014 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6015 # nm: unknown option "B" ignored
6016 # Tru64's nm complains that /dev/null is an invalid object file
6017 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6018 */dev/null* | *'Invalid file or object type'*)
6019 lt_cv_path_NM="$tmp_nm -B"
6020 break
6023 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6024 */dev/null*)
6025 lt_cv_path_NM="$tmp_nm -p"
6026 break
6029 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6030 continue # so that we can try to find one that supports BSD flags
6032 esac
6034 esac
6036 done
6037 IFS="$lt_save_ifs"
6038 done
6039 : ${lt_cv_path_NM=no}
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6043 $as_echo "$lt_cv_path_NM" >&6; }
6044 if test "$lt_cv_path_NM" != "no"; then
6045 NM="$lt_cv_path_NM"
6046 else
6047 # Didn't find any BSD compatible name lister, look for dumpbin.
6048 if test -n "$DUMPBIN"; then :
6049 # Let the user override the test.
6050 else
6051 if test -n "$ac_tool_prefix"; then
6052 for ac_prog in dumpbin "link -dump"
6054 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6055 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6057 $as_echo_n "checking for $ac_word... " >&6; }
6058 if ${ac_cv_prog_DUMPBIN+:} false; then :
6059 $as_echo_n "(cached) " >&6
6060 else
6061 if test -n "$DUMPBIN"; then
6062 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6063 else
6064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6065 for as_dir in $PATH
6067 IFS=$as_save_IFS
6068 test -z "$as_dir" && as_dir=.
6069 for ac_exec_ext in '' $ac_executable_extensions; do
6070 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6071 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6073 break 2
6075 done
6076 done
6077 IFS=$as_save_IFS
6081 DUMPBIN=$ac_cv_prog_DUMPBIN
6082 if test -n "$DUMPBIN"; then
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6084 $as_echo "$DUMPBIN" >&6; }
6085 else
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6087 $as_echo "no" >&6; }
6091 test -n "$DUMPBIN" && break
6092 done
6094 if test -z "$DUMPBIN"; then
6095 ac_ct_DUMPBIN=$DUMPBIN
6096 for ac_prog in dumpbin "link -dump"
6098 # Extract the first word of "$ac_prog", so it can be a program name with args.
6099 set dummy $ac_prog; ac_word=$2
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6101 $as_echo_n "checking for $ac_word... " >&6; }
6102 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6103 $as_echo_n "(cached) " >&6
6104 else
6105 if test -n "$ac_ct_DUMPBIN"; then
6106 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6107 else
6108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6109 for as_dir in $PATH
6111 IFS=$as_save_IFS
6112 test -z "$as_dir" && as_dir=.
6113 for ac_exec_ext in '' $ac_executable_extensions; do
6114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6115 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6117 break 2
6119 done
6120 done
6121 IFS=$as_save_IFS
6125 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6126 if test -n "$ac_ct_DUMPBIN"; then
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6128 $as_echo "$ac_ct_DUMPBIN" >&6; }
6129 else
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6131 $as_echo "no" >&6; }
6135 test -n "$ac_ct_DUMPBIN" && break
6136 done
6138 if test "x$ac_ct_DUMPBIN" = x; then
6139 DUMPBIN=":"
6140 else
6141 case $cross_compiling:$ac_tool_warned in
6142 yes:)
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6145 ac_tool_warned=yes ;;
6146 esac
6147 DUMPBIN=$ac_ct_DUMPBIN
6151 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6152 *COFF*)
6153 DUMPBIN="$DUMPBIN -symbols"
6156 DUMPBIN=:
6158 esac
6161 if test "$DUMPBIN" != ":"; then
6162 NM="$DUMPBIN"
6165 test -z "$NM" && NM=nm
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6173 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6174 if ${lt_cv_nm_interface+:} false; then :
6175 $as_echo_n "(cached) " >&6
6176 else
6177 lt_cv_nm_interface="BSD nm"
6178 echo "int some_variable = 0;" > conftest.$ac_ext
6179 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6180 (eval "$ac_compile" 2>conftest.err)
6181 cat conftest.err >&5
6182 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6183 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6184 cat conftest.err >&5
6185 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6186 cat conftest.out >&5
6187 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6188 lt_cv_nm_interface="MS dumpbin"
6190 rm -f conftest*
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6193 $as_echo "$lt_cv_nm_interface" >&6; }
6195 # find the maximum length of command line arguments
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6197 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6198 if ${lt_cv_sys_max_cmd_len+:} false; then :
6199 $as_echo_n "(cached) " >&6
6200 else
6202 teststring="ABCD"
6204 case $build_os in
6205 msdosdjgpp*)
6206 # On DJGPP, this test can blow up pretty badly due to problems in libc
6207 # (any single argument exceeding 2000 bytes causes a buffer overrun
6208 # during glob expansion). Even if it were fixed, the result of this
6209 # check would be larger than it should be.
6210 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6213 gnu*)
6214 # Under GNU Hurd, this test is not required because there is
6215 # no limit to the length of command line arguments.
6216 # Libtool will interpret -1 as no limit whatsoever
6217 lt_cv_sys_max_cmd_len=-1;
6220 cygwin* | mingw* | cegcc*)
6221 # On Win9x/ME, this test blows up -- it succeeds, but takes
6222 # about 5 minutes as the teststring grows exponentially.
6223 # Worse, since 9x/ME are not pre-emptively multitasking,
6224 # you end up with a "frozen" computer, even though with patience
6225 # the test eventually succeeds (with a max line length of 256k).
6226 # Instead, let's just punt: use the minimum linelength reported by
6227 # all of the supported platforms: 8192 (on NT/2K/XP).
6228 lt_cv_sys_max_cmd_len=8192;
6231 mint*)
6232 # On MiNT this can take a long time and run out of memory.
6233 lt_cv_sys_max_cmd_len=8192;
6236 amigaos*)
6237 # On AmigaOS with pdksh, this test takes hours, literally.
6238 # So we just punt and use a minimum line length of 8192.
6239 lt_cv_sys_max_cmd_len=8192;
6242 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6243 # This has been around since 386BSD, at least. Likely further.
6244 if test -x /sbin/sysctl; then
6245 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6246 elif test -x /usr/sbin/sysctl; then
6247 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6248 else
6249 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6251 # And add a safety zone
6252 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6253 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6256 interix*)
6257 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6258 lt_cv_sys_max_cmd_len=196608
6261 osf*)
6262 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6263 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6264 # nice to cause kernel panics so lets avoid the loop below.
6265 # First set a reasonable default.
6266 lt_cv_sys_max_cmd_len=16384
6268 if test -x /sbin/sysconfig; then
6269 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6270 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6271 esac
6274 sco3.2v5*)
6275 lt_cv_sys_max_cmd_len=102400
6277 sysv5* | sco5v6* | sysv4.2uw2*)
6278 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6279 if test -n "$kargmax"; then
6280 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6281 else
6282 lt_cv_sys_max_cmd_len=32768
6286 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6287 if test -n "$lt_cv_sys_max_cmd_len"; then
6288 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6289 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6290 else
6291 # Make teststring a little bigger before we do anything with it.
6292 # a 1K string should be a reasonable start.
6293 for i in 1 2 3 4 5 6 7 8 ; do
6294 teststring=$teststring$teststring
6295 done
6296 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6297 # If test is not a shell built-in, we'll probably end up computing a
6298 # maximum length that is only half of the actual maximum length, but
6299 # we can't tell.
6300 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6301 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6302 test $i != 17 # 1/2 MB should be enough
6304 i=`expr $i + 1`
6305 teststring=$teststring$teststring
6306 done
6307 # Only check the string length outside the loop.
6308 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6309 teststring=
6310 # Add a significant safety factor because C++ compilers can tack on
6311 # massive amounts of additional arguments before passing them to the
6312 # linker. It appears as though 1/2 is a usable value.
6313 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6316 esac
6320 if test -n $lt_cv_sys_max_cmd_len ; then
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6322 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6323 else
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6325 $as_echo "none" >&6; }
6327 max_cmd_len=$lt_cv_sys_max_cmd_len
6334 : ${CP="cp -f"}
6335 : ${MV="mv -f"}
6336 : ${RM="rm -f"}
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6339 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6340 # Try some XSI features
6341 xsi_shell=no
6342 ( _lt_dummy="a/b/c"
6343 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6344 = c,a/b,, \
6345 && eval 'test $(( 1 + 1 )) -eq 2 \
6346 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6347 && xsi_shell=yes
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6349 $as_echo "$xsi_shell" >&6; }
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6353 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6354 lt_shell_append=no
6355 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6356 >/dev/null 2>&1 \
6357 && lt_shell_append=yes
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6359 $as_echo "$lt_shell_append" >&6; }
6362 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6363 lt_unset=unset
6364 else
6365 lt_unset=false
6372 # test EBCDIC or ASCII
6373 case `echo X|tr X '\101'` in
6374 A) # ASCII based system
6375 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6376 lt_SP2NL='tr \040 \012'
6377 lt_NL2SP='tr \015\012 \040\040'
6379 *) # EBCDIC based system
6380 lt_SP2NL='tr \100 \n'
6381 lt_NL2SP='tr \r\n \100\100'
6383 esac
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6394 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6395 if ${lt_cv_ld_reload_flag+:} false; then :
6396 $as_echo_n "(cached) " >&6
6397 else
6398 lt_cv_ld_reload_flag='-r'
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6401 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6402 reload_flag=$lt_cv_ld_reload_flag
6403 case $reload_flag in
6404 "" | " "*) ;;
6405 *) reload_flag=" $reload_flag" ;;
6406 esac
6407 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6408 case $host_os in
6409 darwin*)
6410 if test "$GCC" = yes; then
6411 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6412 else
6413 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6416 esac
6426 if test -n "$ac_tool_prefix"; then
6427 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6428 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6430 $as_echo_n "checking for $ac_word... " >&6; }
6431 if ${ac_cv_prog_OBJDUMP+:} false; then :
6432 $as_echo_n "(cached) " >&6
6433 else
6434 if test -n "$OBJDUMP"; then
6435 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6436 else
6437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6438 for as_dir in $PATH
6440 IFS=$as_save_IFS
6441 test -z "$as_dir" && as_dir=.
6442 for ac_exec_ext in '' $ac_executable_extensions; do
6443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6444 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6446 break 2
6448 done
6449 done
6450 IFS=$as_save_IFS
6454 OBJDUMP=$ac_cv_prog_OBJDUMP
6455 if test -n "$OBJDUMP"; then
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6457 $as_echo "$OBJDUMP" >&6; }
6458 else
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6460 $as_echo "no" >&6; }
6465 if test -z "$ac_cv_prog_OBJDUMP"; then
6466 ac_ct_OBJDUMP=$OBJDUMP
6467 # Extract the first word of "objdump", so it can be a program name with args.
6468 set dummy objdump; ac_word=$2
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6470 $as_echo_n "checking for $ac_word... " >&6; }
6471 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6472 $as_echo_n "(cached) " >&6
6473 else
6474 if test -n "$ac_ct_OBJDUMP"; then
6475 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6476 else
6477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6478 for as_dir in $PATH
6480 IFS=$as_save_IFS
6481 test -z "$as_dir" && as_dir=.
6482 for ac_exec_ext in '' $ac_executable_extensions; do
6483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6484 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6486 break 2
6488 done
6489 done
6490 IFS=$as_save_IFS
6494 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6495 if test -n "$ac_ct_OBJDUMP"; then
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6497 $as_echo "$ac_ct_OBJDUMP" >&6; }
6498 else
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6500 $as_echo "no" >&6; }
6503 if test "x$ac_ct_OBJDUMP" = x; then
6504 OBJDUMP="false"
6505 else
6506 case $cross_compiling:$ac_tool_warned in
6507 yes:)
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6509 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6510 ac_tool_warned=yes ;;
6511 esac
6512 OBJDUMP=$ac_ct_OBJDUMP
6514 else
6515 OBJDUMP="$ac_cv_prog_OBJDUMP"
6518 test -z "$OBJDUMP" && OBJDUMP=objdump
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6529 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6530 if ${lt_cv_deplibs_check_method+:} false; then :
6531 $as_echo_n "(cached) " >&6
6532 else
6533 lt_cv_file_magic_cmd='$MAGIC_CMD'
6534 lt_cv_file_magic_test_file=
6535 lt_cv_deplibs_check_method='unknown'
6536 # Need to set the preceding variable on all platforms that support
6537 # interlibrary dependencies.
6538 # 'none' -- dependencies not supported.
6539 # `unknown' -- same as none, but documents that we really don't know.
6540 # 'pass_all' -- all dependencies passed with no checks.
6541 # 'test_compile' -- check by making test program.
6542 # 'file_magic [[regex]]' -- check by looking for files in library path
6543 # which responds to the $file_magic_cmd with a given extended regex.
6544 # If you have `file' or equivalent on your system and you're not sure
6545 # whether `pass_all' will *always* work, you probably want this one.
6547 case $host_os in
6548 aix[4-9]*)
6549 lt_cv_deplibs_check_method=pass_all
6552 beos*)
6553 lt_cv_deplibs_check_method=pass_all
6556 bsdi[45]*)
6557 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6558 lt_cv_file_magic_cmd='/usr/bin/file -L'
6559 lt_cv_file_magic_test_file=/shlib/libc.so
6562 cygwin*)
6563 # func_win32_libid is a shell function defined in ltmain.sh
6564 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6565 lt_cv_file_magic_cmd='func_win32_libid'
6568 mingw* | pw32*)
6569 # Base MSYS/MinGW do not provide the 'file' command needed by
6570 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6571 # unless we find 'file', for example because we are cross-compiling.
6572 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6573 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6574 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6575 lt_cv_file_magic_cmd='func_win32_libid'
6576 else
6577 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6578 lt_cv_file_magic_cmd='$OBJDUMP -f'
6582 cegcc*)
6583 # use the weaker test based on 'objdump'. See mingw*.
6584 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6585 lt_cv_file_magic_cmd='$OBJDUMP -f'
6588 darwin* | rhapsody*)
6589 lt_cv_deplibs_check_method=pass_all
6592 freebsd* | dragonfly*)
6593 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6594 case $host_cpu in
6595 i*86 )
6596 # Not sure whether the presence of OpenBSD here was a mistake.
6597 # Let's accept both of them until this is cleared up.
6598 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6599 lt_cv_file_magic_cmd=/usr/bin/file
6600 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6602 esac
6603 else
6604 lt_cv_deplibs_check_method=pass_all
6608 gnu*)
6609 lt_cv_deplibs_check_method=pass_all
6612 haiku*)
6613 lt_cv_deplibs_check_method=pass_all
6616 hpux10.20* | hpux11*)
6617 lt_cv_file_magic_cmd=/usr/bin/file
6618 case $host_cpu in
6619 ia64*)
6620 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6621 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6623 hppa*64*)
6624 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6625 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6628 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6629 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6631 esac
6634 interix[3-9]*)
6635 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6636 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6639 irix5* | irix6* | nonstopux*)
6640 case $LD in
6641 *-32|*"-32 ") libmagic=32-bit;;
6642 *-n32|*"-n32 ") libmagic=N32;;
6643 *-64|*"-64 ") libmagic=64-bit;;
6644 *) libmagic=never-match;;
6645 esac
6646 lt_cv_deplibs_check_method=pass_all
6649 # This must be Linux ELF.
6650 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6651 lt_cv_deplibs_check_method=pass_all
6654 netbsd*)
6655 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6656 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6657 else
6658 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6662 newos6*)
6663 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6664 lt_cv_file_magic_cmd=/usr/bin/file
6665 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6668 *nto* | *qnx*)
6669 lt_cv_deplibs_check_method=pass_all
6672 openbsd*)
6673 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6674 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6675 else
6676 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6680 osf3* | osf4* | osf5*)
6681 lt_cv_deplibs_check_method=pass_all
6684 rdos*)
6685 lt_cv_deplibs_check_method=pass_all
6688 solaris*)
6689 lt_cv_deplibs_check_method=pass_all
6692 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6693 lt_cv_deplibs_check_method=pass_all
6696 sysv4 | sysv4.3*)
6697 case $host_vendor in
6698 motorola)
6699 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]'
6700 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6702 ncr)
6703 lt_cv_deplibs_check_method=pass_all
6705 sequent)
6706 lt_cv_file_magic_cmd='/bin/file'
6707 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6709 sni)
6710 lt_cv_file_magic_cmd='/bin/file'
6711 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6712 lt_cv_file_magic_test_file=/lib/libc.so
6714 siemens)
6715 lt_cv_deplibs_check_method=pass_all
6718 lt_cv_deplibs_check_method=pass_all
6720 esac
6723 tpf*)
6724 lt_cv_deplibs_check_method=pass_all
6726 esac
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6730 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6731 file_magic_cmd=$lt_cv_file_magic_cmd
6732 deplibs_check_method=$lt_cv_deplibs_check_method
6733 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6746 if test -n "$ac_tool_prefix"; then
6747 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6748 set dummy ${ac_tool_prefix}ar; ac_word=$2
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6750 $as_echo_n "checking for $ac_word... " >&6; }
6751 if ${ac_cv_prog_AR+:} false; then :
6752 $as_echo_n "(cached) " >&6
6753 else
6754 if test -n "$AR"; then
6755 ac_cv_prog_AR="$AR" # Let the user override the test.
6756 else
6757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6758 for as_dir in $PATH
6760 IFS=$as_save_IFS
6761 test -z "$as_dir" && as_dir=.
6762 for ac_exec_ext in '' $ac_executable_extensions; do
6763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6764 ac_cv_prog_AR="${ac_tool_prefix}ar"
6765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6766 break 2
6768 done
6769 done
6770 IFS=$as_save_IFS
6774 AR=$ac_cv_prog_AR
6775 if test -n "$AR"; then
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6777 $as_echo "$AR" >&6; }
6778 else
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6780 $as_echo "no" >&6; }
6785 if test -z "$ac_cv_prog_AR"; then
6786 ac_ct_AR=$AR
6787 # Extract the first word of "ar", so it can be a program name with args.
6788 set dummy ar; ac_word=$2
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6790 $as_echo_n "checking for $ac_word... " >&6; }
6791 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6792 $as_echo_n "(cached) " >&6
6793 else
6794 if test -n "$ac_ct_AR"; then
6795 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6796 else
6797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6798 for as_dir in $PATH
6800 IFS=$as_save_IFS
6801 test -z "$as_dir" && as_dir=.
6802 for ac_exec_ext in '' $ac_executable_extensions; do
6803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6804 ac_cv_prog_ac_ct_AR="ar"
6805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6806 break 2
6808 done
6809 done
6810 IFS=$as_save_IFS
6814 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6815 if test -n "$ac_ct_AR"; then
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6817 $as_echo "$ac_ct_AR" >&6; }
6818 else
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6820 $as_echo "no" >&6; }
6823 if test "x$ac_ct_AR" = x; then
6824 AR="false"
6825 else
6826 case $cross_compiling:$ac_tool_warned in
6827 yes:)
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6830 ac_tool_warned=yes ;;
6831 esac
6832 AR=$ac_ct_AR
6834 else
6835 AR="$ac_cv_prog_AR"
6838 test -z "$AR" && AR=ar
6839 test -z "$AR_FLAGS" && AR_FLAGS=cru
6851 if test -n "$ac_tool_prefix"; then
6852 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6853 set dummy ${ac_tool_prefix}strip; ac_word=$2
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6855 $as_echo_n "checking for $ac_word... " >&6; }
6856 if ${ac_cv_prog_STRIP+:} false; then :
6857 $as_echo_n "(cached) " >&6
6858 else
6859 if test -n "$STRIP"; then
6860 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6861 else
6862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6863 for as_dir in $PATH
6865 IFS=$as_save_IFS
6866 test -z "$as_dir" && as_dir=.
6867 for ac_exec_ext in '' $ac_executable_extensions; do
6868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6869 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6871 break 2
6873 done
6874 done
6875 IFS=$as_save_IFS
6879 STRIP=$ac_cv_prog_STRIP
6880 if test -n "$STRIP"; then
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6882 $as_echo "$STRIP" >&6; }
6883 else
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6885 $as_echo "no" >&6; }
6890 if test -z "$ac_cv_prog_STRIP"; then
6891 ac_ct_STRIP=$STRIP
6892 # Extract the first word of "strip", so it can be a program name with args.
6893 set dummy strip; ac_word=$2
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6895 $as_echo_n "checking for $ac_word... " >&6; }
6896 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6897 $as_echo_n "(cached) " >&6
6898 else
6899 if test -n "$ac_ct_STRIP"; then
6900 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6901 else
6902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6903 for as_dir in $PATH
6905 IFS=$as_save_IFS
6906 test -z "$as_dir" && as_dir=.
6907 for ac_exec_ext in '' $ac_executable_extensions; do
6908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6909 ac_cv_prog_ac_ct_STRIP="strip"
6910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6911 break 2
6913 done
6914 done
6915 IFS=$as_save_IFS
6919 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6920 if test -n "$ac_ct_STRIP"; then
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6922 $as_echo "$ac_ct_STRIP" >&6; }
6923 else
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6925 $as_echo "no" >&6; }
6928 if test "x$ac_ct_STRIP" = x; then
6929 STRIP=":"
6930 else
6931 case $cross_compiling:$ac_tool_warned in
6932 yes:)
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6934 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6935 ac_tool_warned=yes ;;
6936 esac
6937 STRIP=$ac_ct_STRIP
6939 else
6940 STRIP="$ac_cv_prog_STRIP"
6943 test -z "$STRIP" && STRIP=:
6950 if test -n "$ac_tool_prefix"; then
6951 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6952 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6954 $as_echo_n "checking for $ac_word... " >&6; }
6955 if ${ac_cv_prog_RANLIB+:} false; then :
6956 $as_echo_n "(cached) " >&6
6957 else
6958 if test -n "$RANLIB"; then
6959 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6960 else
6961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6962 for as_dir in $PATH
6964 IFS=$as_save_IFS
6965 test -z "$as_dir" && as_dir=.
6966 for ac_exec_ext in '' $ac_executable_extensions; do
6967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6968 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6970 break 2
6972 done
6973 done
6974 IFS=$as_save_IFS
6978 RANLIB=$ac_cv_prog_RANLIB
6979 if test -n "$RANLIB"; then
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6981 $as_echo "$RANLIB" >&6; }
6982 else
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6984 $as_echo "no" >&6; }
6989 if test -z "$ac_cv_prog_RANLIB"; then
6990 ac_ct_RANLIB=$RANLIB
6991 # Extract the first word of "ranlib", so it can be a program name with args.
6992 set dummy ranlib; ac_word=$2
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6994 $as_echo_n "checking for $ac_word... " >&6; }
6995 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6996 $as_echo_n "(cached) " >&6
6997 else
6998 if test -n "$ac_ct_RANLIB"; then
6999 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7000 else
7001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7002 for as_dir in $PATH
7004 IFS=$as_save_IFS
7005 test -z "$as_dir" && as_dir=.
7006 for ac_exec_ext in '' $ac_executable_extensions; do
7007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7008 ac_cv_prog_ac_ct_RANLIB="ranlib"
7009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7010 break 2
7012 done
7013 done
7014 IFS=$as_save_IFS
7018 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7019 if test -n "$ac_ct_RANLIB"; then
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7021 $as_echo "$ac_ct_RANLIB" >&6; }
7022 else
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7024 $as_echo "no" >&6; }
7027 if test "x$ac_ct_RANLIB" = x; then
7028 RANLIB=":"
7029 else
7030 case $cross_compiling:$ac_tool_warned in
7031 yes:)
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7033 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7034 ac_tool_warned=yes ;;
7035 esac
7036 RANLIB=$ac_ct_RANLIB
7038 else
7039 RANLIB="$ac_cv_prog_RANLIB"
7042 test -z "$RANLIB" && RANLIB=:
7049 # Determine commands to create old-style static archives.
7050 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7051 old_postinstall_cmds='chmod 644 $oldlib'
7052 old_postuninstall_cmds=
7054 if test -n "$RANLIB"; then
7055 case $host_os in
7056 openbsd*)
7057 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7060 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7062 esac
7063 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7066 case $host_os in
7067 darwin*)
7068 lock_old_archive_extraction=yes ;;
7070 lock_old_archive_extraction=no ;;
7071 esac
7111 # If no C compiler was specified, use CC.
7112 LTCC=${LTCC-"$CC"}
7114 # If no C compiler flags were specified, use CFLAGS.
7115 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7117 # Allow CC to be a program name with arguments.
7118 compiler=$CC
7121 # Check for command to grab the raw symbol name followed by C symbol from nm.
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7123 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7124 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7125 $as_echo_n "(cached) " >&6
7126 else
7128 # These are sane defaults that work on at least a few old systems.
7129 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7131 # Character class describing NM global symbol codes.
7132 symcode='[BCDEGRST]'
7134 # Regexp to match symbols that can be accessed directly from C.
7135 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7137 # Define system-specific variables.
7138 case $host_os in
7139 aix*)
7140 symcode='[BCDT]'
7142 cygwin* | mingw* | pw32* | cegcc*)
7143 symcode='[ABCDGISTW]'
7145 hpux*)
7146 if test "$host_cpu" = ia64; then
7147 symcode='[ABCDEGRST]'
7150 irix* | nonstopux*)
7151 symcode='[BCDEGRST]'
7153 osf*)
7154 symcode='[BCDEGQRST]'
7156 solaris*)
7157 symcode='[BDRT]'
7159 sco3.2v5*)
7160 symcode='[DT]'
7162 sysv4.2uw2*)
7163 symcode='[DT]'
7165 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7166 symcode='[ABDT]'
7168 sysv4)
7169 symcode='[DFNSTU]'
7171 esac
7173 # If we're using GNU nm, then use its standard symbol codes.
7174 case `$NM -V 2>&1` in
7175 *GNU* | *'with BFD'*)
7176 symcode='[ABCDGIRSTW]' ;;
7177 esac
7179 # Transform an extracted symbol line into a proper C declaration.
7180 # Some systems (esp. on ia64) link data and code symbols differently,
7181 # so use this general approach.
7182 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7184 # Transform an extracted symbol line into symbol name and symbol address
7185 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7186 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
7188 # Handle CRLF in mingw tool chain
7189 opt_cr=
7190 case $build_os in
7191 mingw*)
7192 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7194 esac
7196 # Try without a prefix underscore, then with it.
7197 for ac_symprfx in "" "_"; do
7199 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7200 symxfrm="\\1 $ac_symprfx\\2 \\2"
7202 # Write the raw and C identifiers.
7203 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7204 # Fake it for dumpbin and say T for any non-static function
7205 # and D for any global variable.
7206 # Also find C++ and __fastcall symbols from MSVC++,
7207 # which start with @ or ?.
7208 lt_cv_sys_global_symbol_pipe="$AWK '"\
7209 " {last_section=section; section=\$ 3};"\
7210 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7211 " \$ 0!~/External *\|/{next};"\
7212 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7213 " {if(hide[section]) next};"\
7214 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7215 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7216 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7217 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7218 " ' prfx=^$ac_symprfx"
7219 else
7220 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7223 # Check to see that the pipe works correctly.
7224 pipe_works=no
7226 rm -f conftest*
7227 cat > conftest.$ac_ext <<_LT_EOF
7228 #ifdef __cplusplus
7229 extern "C" {
7230 #endif
7231 char nm_test_var;
7232 void nm_test_func(void);
7233 void nm_test_func(void){}
7234 #ifdef __cplusplus
7236 #endif
7237 int main(){nm_test_var='a';nm_test_func();return(0);}
7238 _LT_EOF
7240 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7241 (eval $ac_compile) 2>&5
7242 ac_status=$?
7243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7244 test $ac_status = 0; }; then
7245 # Now try to grab the symbols.
7246 nlist=conftest.nm
7247 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7248 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7249 ac_status=$?
7250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7251 test $ac_status = 0; } && test -s "$nlist"; then
7252 # Try sorting and uniquifying the output.
7253 if sort "$nlist" | uniq > "$nlist"T; then
7254 mv -f "$nlist"T "$nlist"
7255 else
7256 rm -f "$nlist"T
7259 # Make sure that we snagged all the symbols we need.
7260 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7261 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7262 cat <<_LT_EOF > conftest.$ac_ext
7263 #ifdef __cplusplus
7264 extern "C" {
7265 #endif
7267 _LT_EOF
7268 # Now generate the symbol file.
7269 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7271 cat <<_LT_EOF >> conftest.$ac_ext
7273 /* The mapping between symbol names and symbols. */
7274 const struct {
7275 const char *name;
7276 void *address;
7278 lt__PROGRAM__LTX_preloaded_symbols[] =
7280 { "@PROGRAM@", (void *) 0 },
7281 _LT_EOF
7282 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7283 cat <<\_LT_EOF >> conftest.$ac_ext
7284 {0, (void *) 0}
7287 /* This works around a problem in FreeBSD linker */
7288 #ifdef FREEBSD_WORKAROUND
7289 static const void *lt_preloaded_setup() {
7290 return lt__PROGRAM__LTX_preloaded_symbols;
7292 #endif
7294 #ifdef __cplusplus
7296 #endif
7297 _LT_EOF
7298 # Now try linking the two files.
7299 mv conftest.$ac_objext conftstm.$ac_objext
7300 lt_save_LIBS="$LIBS"
7301 lt_save_CFLAGS="$CFLAGS"
7302 LIBS="conftstm.$ac_objext"
7303 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7304 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7305 (eval $ac_link) 2>&5
7306 ac_status=$?
7307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7308 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7309 pipe_works=yes
7311 LIBS="$lt_save_LIBS"
7312 CFLAGS="$lt_save_CFLAGS"
7313 else
7314 echo "cannot find nm_test_func in $nlist" >&5
7316 else
7317 echo "cannot find nm_test_var in $nlist" >&5
7319 else
7320 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7322 else
7323 echo "$progname: failed program was:" >&5
7324 cat conftest.$ac_ext >&5
7326 rm -rf conftest* conftst*
7328 # Do not use the global_symbol_pipe unless it works.
7329 if test "$pipe_works" = yes; then
7330 break
7331 else
7332 lt_cv_sys_global_symbol_pipe=
7334 done
7338 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7339 lt_cv_sys_global_symbol_to_cdecl=
7341 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7343 $as_echo "failed" >&6; }
7344 else
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7346 $as_echo "ok" >&6; }
7370 # Check whether --enable-libtool-lock was given.
7371 if test "${enable_libtool_lock+set}" = set; then :
7372 enableval=$enable_libtool_lock;
7375 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7377 # Some flags need to be propagated to the compiler or linker for good
7378 # libtool support.
7379 case $host in
7380 ia64-*-hpux*)
7381 # Find out which ABI we are using.
7382 echo 'int i;' > conftest.$ac_ext
7383 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7384 (eval $ac_compile) 2>&5
7385 ac_status=$?
7386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7387 test $ac_status = 0; }; then
7388 case `/usr/bin/file conftest.$ac_objext` in
7389 *ELF-32*)
7390 HPUX_IA64_MODE="32"
7392 *ELF-64*)
7393 HPUX_IA64_MODE="64"
7395 esac
7397 rm -rf conftest*
7399 *-*-irix6*)
7400 # Find out which ABI we are using.
7401 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7402 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7403 (eval $ac_compile) 2>&5
7404 ac_status=$?
7405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7406 test $ac_status = 0; }; then
7407 if test "$lt_cv_prog_gnu_ld" = yes; then
7408 case `/usr/bin/file conftest.$ac_objext` in
7409 *32-bit*)
7410 LD="${LD-ld} -melf32bsmip"
7412 *N32*)
7413 LD="${LD-ld} -melf32bmipn32"
7415 *64-bit*)
7416 LD="${LD-ld} -melf64bmip"
7418 esac
7419 else
7420 case `/usr/bin/file conftest.$ac_objext` in
7421 *32-bit*)
7422 LD="${LD-ld} -32"
7424 *N32*)
7425 LD="${LD-ld} -n32"
7427 *64-bit*)
7428 LD="${LD-ld} -64"
7430 esac
7433 rm -rf conftest*
7436 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7437 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7438 # Find out which ABI we are using.
7439 echo 'int i;' > conftest.$ac_ext
7440 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7441 (eval $ac_compile) 2>&5
7442 ac_status=$?
7443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7444 test $ac_status = 0; }; then
7445 case `/usr/bin/file conftest.o` in
7446 *32-bit*)
7447 case $host in
7448 x86_64-*kfreebsd*-gnu)
7449 LD="${LD-ld} -m elf_i386_fbsd"
7451 x86_64-*linux*)
7452 case `/usr/bin/file conftest.o` in
7453 *x86-64*)
7454 LD="${LD-ld} -m elf32_x86_64"
7457 LD="${LD-ld} -m elf_i386"
7459 esac
7461 powerpc64le-*linux*)
7462 LD="${LD-ld} -m elf32lppclinux"
7464 powerpc64-*linux*)
7465 LD="${LD-ld} -m elf32ppclinux"
7467 s390x-*linux*)
7468 LD="${LD-ld} -m elf_s390"
7470 sparc64-*linux*)
7471 LD="${LD-ld} -m elf32_sparc"
7473 esac
7475 *64-bit*)
7476 case $host in
7477 x86_64-*kfreebsd*-gnu)
7478 LD="${LD-ld} -m elf_x86_64_fbsd"
7480 x86_64-*linux*)
7481 LD="${LD-ld} -m elf_x86_64"
7483 powerpcle-*linux*)
7484 LD="${LD-ld} -m elf64lppc"
7486 powerpc-*linux*)
7487 LD="${LD-ld} -m elf64ppc"
7489 s390*-*linux*|s390*-*tpf*)
7490 LD="${LD-ld} -m elf64_s390"
7492 sparc*-*linux*)
7493 LD="${LD-ld} -m elf64_sparc"
7495 esac
7497 esac
7499 rm -rf conftest*
7502 *-*-sco3.2v5*)
7503 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7504 SAVE_CFLAGS="$CFLAGS"
7505 CFLAGS="$CFLAGS -belf"
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7507 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7508 if ${lt_cv_cc_needs_belf+:} false; then :
7509 $as_echo_n "(cached) " >&6
7510 else
7511 ac_ext=c
7512 ac_cpp='$CPP $CPPFLAGS'
7513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7517 if test x$gcc_no_link = xyes; then
7518 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7521 /* end confdefs.h. */
7524 main ()
7528 return 0;
7530 _ACEOF
7531 if ac_fn_c_try_link "$LINENO"; then :
7532 lt_cv_cc_needs_belf=yes
7533 else
7534 lt_cv_cc_needs_belf=no
7536 rm -f core conftest.err conftest.$ac_objext \
7537 conftest$ac_exeext conftest.$ac_ext
7538 ac_ext=c
7539 ac_cpp='$CPP $CPPFLAGS'
7540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7546 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7547 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7548 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7549 CFLAGS="$SAVE_CFLAGS"
7552 sparc*-*solaris*)
7553 # Find out which ABI we are using.
7554 echo 'int i;' > conftest.$ac_ext
7555 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7556 (eval $ac_compile) 2>&5
7557 ac_status=$?
7558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7559 test $ac_status = 0; }; then
7560 case `/usr/bin/file conftest.o` in
7561 *64-bit*)
7562 case $lt_cv_prog_gnu_ld in
7563 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7565 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7566 LD="${LD-ld} -64"
7569 esac
7571 esac
7573 rm -rf conftest*
7575 esac
7577 need_locks="$enable_libtool_lock"
7580 case $host_os in
7581 rhapsody* | darwin*)
7582 if test -n "$ac_tool_prefix"; then
7583 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7584 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7586 $as_echo_n "checking for $ac_word... " >&6; }
7587 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7588 $as_echo_n "(cached) " >&6
7589 else
7590 if test -n "$DSYMUTIL"; then
7591 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7592 else
7593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7594 for as_dir in $PATH
7596 IFS=$as_save_IFS
7597 test -z "$as_dir" && as_dir=.
7598 for ac_exec_ext in '' $ac_executable_extensions; do
7599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7600 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7602 break 2
7604 done
7605 done
7606 IFS=$as_save_IFS
7610 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7611 if test -n "$DSYMUTIL"; then
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7613 $as_echo "$DSYMUTIL" >&6; }
7614 else
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7616 $as_echo "no" >&6; }
7621 if test -z "$ac_cv_prog_DSYMUTIL"; then
7622 ac_ct_DSYMUTIL=$DSYMUTIL
7623 # Extract the first word of "dsymutil", so it can be a program name with args.
7624 set dummy dsymutil; ac_word=$2
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7626 $as_echo_n "checking for $ac_word... " >&6; }
7627 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7628 $as_echo_n "(cached) " >&6
7629 else
7630 if test -n "$ac_ct_DSYMUTIL"; then
7631 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7632 else
7633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7634 for as_dir in $PATH
7636 IFS=$as_save_IFS
7637 test -z "$as_dir" && as_dir=.
7638 for ac_exec_ext in '' $ac_executable_extensions; do
7639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7640 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7642 break 2
7644 done
7645 done
7646 IFS=$as_save_IFS
7650 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7651 if test -n "$ac_ct_DSYMUTIL"; then
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7653 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7654 else
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7656 $as_echo "no" >&6; }
7659 if test "x$ac_ct_DSYMUTIL" = x; then
7660 DSYMUTIL=":"
7661 else
7662 case $cross_compiling:$ac_tool_warned in
7663 yes:)
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7666 ac_tool_warned=yes ;;
7667 esac
7668 DSYMUTIL=$ac_ct_DSYMUTIL
7670 else
7671 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7674 if test -n "$ac_tool_prefix"; then
7675 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7676 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7678 $as_echo_n "checking for $ac_word... " >&6; }
7679 if ${ac_cv_prog_NMEDIT+:} false; then :
7680 $as_echo_n "(cached) " >&6
7681 else
7682 if test -n "$NMEDIT"; then
7683 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7684 else
7685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7686 for as_dir in $PATH
7688 IFS=$as_save_IFS
7689 test -z "$as_dir" && as_dir=.
7690 for ac_exec_ext in '' $ac_executable_extensions; do
7691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7692 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7694 break 2
7696 done
7697 done
7698 IFS=$as_save_IFS
7702 NMEDIT=$ac_cv_prog_NMEDIT
7703 if test -n "$NMEDIT"; then
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7705 $as_echo "$NMEDIT" >&6; }
7706 else
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7708 $as_echo "no" >&6; }
7713 if test -z "$ac_cv_prog_NMEDIT"; then
7714 ac_ct_NMEDIT=$NMEDIT
7715 # Extract the first word of "nmedit", so it can be a program name with args.
7716 set dummy nmedit; ac_word=$2
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7718 $as_echo_n "checking for $ac_word... " >&6; }
7719 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7720 $as_echo_n "(cached) " >&6
7721 else
7722 if test -n "$ac_ct_NMEDIT"; then
7723 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7724 else
7725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7726 for as_dir in $PATH
7728 IFS=$as_save_IFS
7729 test -z "$as_dir" && as_dir=.
7730 for ac_exec_ext in '' $ac_executable_extensions; do
7731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7732 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7734 break 2
7736 done
7737 done
7738 IFS=$as_save_IFS
7742 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7743 if test -n "$ac_ct_NMEDIT"; then
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7745 $as_echo "$ac_ct_NMEDIT" >&6; }
7746 else
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7748 $as_echo "no" >&6; }
7751 if test "x$ac_ct_NMEDIT" = x; then
7752 NMEDIT=":"
7753 else
7754 case $cross_compiling:$ac_tool_warned in
7755 yes:)
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7757 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7758 ac_tool_warned=yes ;;
7759 esac
7760 NMEDIT=$ac_ct_NMEDIT
7762 else
7763 NMEDIT="$ac_cv_prog_NMEDIT"
7766 if test -n "$ac_tool_prefix"; then
7767 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7768 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7770 $as_echo_n "checking for $ac_word... " >&6; }
7771 if ${ac_cv_prog_LIPO+:} false; then :
7772 $as_echo_n "(cached) " >&6
7773 else
7774 if test -n "$LIPO"; then
7775 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7776 else
7777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7778 for as_dir in $PATH
7780 IFS=$as_save_IFS
7781 test -z "$as_dir" && as_dir=.
7782 for ac_exec_ext in '' $ac_executable_extensions; do
7783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7784 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7786 break 2
7788 done
7789 done
7790 IFS=$as_save_IFS
7794 LIPO=$ac_cv_prog_LIPO
7795 if test -n "$LIPO"; then
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7797 $as_echo "$LIPO" >&6; }
7798 else
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7800 $as_echo "no" >&6; }
7805 if test -z "$ac_cv_prog_LIPO"; then
7806 ac_ct_LIPO=$LIPO
7807 # Extract the first word of "lipo", so it can be a program name with args.
7808 set dummy lipo; ac_word=$2
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7810 $as_echo_n "checking for $ac_word... " >&6; }
7811 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7812 $as_echo_n "(cached) " >&6
7813 else
7814 if test -n "$ac_ct_LIPO"; then
7815 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7816 else
7817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7818 for as_dir in $PATH
7820 IFS=$as_save_IFS
7821 test -z "$as_dir" && as_dir=.
7822 for ac_exec_ext in '' $ac_executable_extensions; do
7823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7824 ac_cv_prog_ac_ct_LIPO="lipo"
7825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7826 break 2
7828 done
7829 done
7830 IFS=$as_save_IFS
7834 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7835 if test -n "$ac_ct_LIPO"; then
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7837 $as_echo "$ac_ct_LIPO" >&6; }
7838 else
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7840 $as_echo "no" >&6; }
7843 if test "x$ac_ct_LIPO" = x; then
7844 LIPO=":"
7845 else
7846 case $cross_compiling:$ac_tool_warned in
7847 yes:)
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7849 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7850 ac_tool_warned=yes ;;
7851 esac
7852 LIPO=$ac_ct_LIPO
7854 else
7855 LIPO="$ac_cv_prog_LIPO"
7858 if test -n "$ac_tool_prefix"; then
7859 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7860 set dummy ${ac_tool_prefix}otool; ac_word=$2
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7862 $as_echo_n "checking for $ac_word... " >&6; }
7863 if ${ac_cv_prog_OTOOL+:} false; then :
7864 $as_echo_n "(cached) " >&6
7865 else
7866 if test -n "$OTOOL"; then
7867 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7868 else
7869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7870 for as_dir in $PATH
7872 IFS=$as_save_IFS
7873 test -z "$as_dir" && as_dir=.
7874 for ac_exec_ext in '' $ac_executable_extensions; do
7875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7876 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7878 break 2
7880 done
7881 done
7882 IFS=$as_save_IFS
7886 OTOOL=$ac_cv_prog_OTOOL
7887 if test -n "$OTOOL"; then
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7889 $as_echo "$OTOOL" >&6; }
7890 else
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7892 $as_echo "no" >&6; }
7897 if test -z "$ac_cv_prog_OTOOL"; then
7898 ac_ct_OTOOL=$OTOOL
7899 # Extract the first word of "otool", so it can be a program name with args.
7900 set dummy otool; ac_word=$2
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7902 $as_echo_n "checking for $ac_word... " >&6; }
7903 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7904 $as_echo_n "(cached) " >&6
7905 else
7906 if test -n "$ac_ct_OTOOL"; then
7907 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7908 else
7909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7910 for as_dir in $PATH
7912 IFS=$as_save_IFS
7913 test -z "$as_dir" && as_dir=.
7914 for ac_exec_ext in '' $ac_executable_extensions; do
7915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7916 ac_cv_prog_ac_ct_OTOOL="otool"
7917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7918 break 2
7920 done
7921 done
7922 IFS=$as_save_IFS
7926 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7927 if test -n "$ac_ct_OTOOL"; then
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7929 $as_echo "$ac_ct_OTOOL" >&6; }
7930 else
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7932 $as_echo "no" >&6; }
7935 if test "x$ac_ct_OTOOL" = x; then
7936 OTOOL=":"
7937 else
7938 case $cross_compiling:$ac_tool_warned in
7939 yes:)
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7941 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7942 ac_tool_warned=yes ;;
7943 esac
7944 OTOOL=$ac_ct_OTOOL
7946 else
7947 OTOOL="$ac_cv_prog_OTOOL"
7950 if test -n "$ac_tool_prefix"; then
7951 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7952 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7954 $as_echo_n "checking for $ac_word... " >&6; }
7955 if ${ac_cv_prog_OTOOL64+:} false; then :
7956 $as_echo_n "(cached) " >&6
7957 else
7958 if test -n "$OTOOL64"; then
7959 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7960 else
7961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7962 for as_dir in $PATH
7964 IFS=$as_save_IFS
7965 test -z "$as_dir" && as_dir=.
7966 for ac_exec_ext in '' $ac_executable_extensions; do
7967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7968 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7970 break 2
7972 done
7973 done
7974 IFS=$as_save_IFS
7978 OTOOL64=$ac_cv_prog_OTOOL64
7979 if test -n "$OTOOL64"; then
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7981 $as_echo "$OTOOL64" >&6; }
7982 else
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7984 $as_echo "no" >&6; }
7989 if test -z "$ac_cv_prog_OTOOL64"; then
7990 ac_ct_OTOOL64=$OTOOL64
7991 # Extract the first word of "otool64", so it can be a program name with args.
7992 set dummy otool64; ac_word=$2
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7994 $as_echo_n "checking for $ac_word... " >&6; }
7995 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7996 $as_echo_n "(cached) " >&6
7997 else
7998 if test -n "$ac_ct_OTOOL64"; then
7999 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8000 else
8001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8002 for as_dir in $PATH
8004 IFS=$as_save_IFS
8005 test -z "$as_dir" && as_dir=.
8006 for ac_exec_ext in '' $ac_executable_extensions; do
8007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8008 ac_cv_prog_ac_ct_OTOOL64="otool64"
8009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8010 break 2
8012 done
8013 done
8014 IFS=$as_save_IFS
8018 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8019 if test -n "$ac_ct_OTOOL64"; then
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8021 $as_echo "$ac_ct_OTOOL64" >&6; }
8022 else
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8024 $as_echo "no" >&6; }
8027 if test "x$ac_ct_OTOOL64" = x; then
8028 OTOOL64=":"
8029 else
8030 case $cross_compiling:$ac_tool_warned in
8031 yes:)
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8033 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8034 ac_tool_warned=yes ;;
8035 esac
8036 OTOOL64=$ac_ct_OTOOL64
8038 else
8039 OTOOL64="$ac_cv_prog_OTOOL64"
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8069 $as_echo_n "checking for -single_module linker flag... " >&6; }
8070 if ${lt_cv_apple_cc_single_mod+:} false; then :
8071 $as_echo_n "(cached) " >&6
8072 else
8073 lt_cv_apple_cc_single_mod=no
8074 if test -z "${LT_MULTI_MODULE}"; then
8075 # By default we will add the -single_module flag. You can override
8076 # by either setting the environment variable LT_MULTI_MODULE
8077 # non-empty at configure time, or by adding -multi_module to the
8078 # link flags.
8079 rm -rf libconftest.dylib*
8080 echo "int foo(void){return 1;}" > conftest.c
8081 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8082 -dynamiclib -Wl,-single_module conftest.c" >&5
8083 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8084 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8085 _lt_result=$?
8086 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8087 lt_cv_apple_cc_single_mod=yes
8088 else
8089 cat conftest.err >&5
8091 rm -rf libconftest.dylib*
8092 rm -f conftest.*
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8096 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8098 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8099 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8100 $as_echo_n "(cached) " >&6
8101 else
8102 lt_cv_ld_exported_symbols_list=no
8103 save_LDFLAGS=$LDFLAGS
8104 echo "_main" > conftest.sym
8105 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8106 if test x$gcc_no_link = xyes; then
8107 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8110 /* end confdefs.h. */
8113 main ()
8117 return 0;
8119 _ACEOF
8120 if ac_fn_c_try_link "$LINENO"; then :
8121 lt_cv_ld_exported_symbols_list=yes
8122 else
8123 lt_cv_ld_exported_symbols_list=no
8125 rm -f core conftest.err conftest.$ac_objext \
8126 conftest$ac_exeext conftest.$ac_ext
8127 LDFLAGS="$save_LDFLAGS"
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8131 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8133 $as_echo_n "checking for -force_load linker flag... " >&6; }
8134 if ${lt_cv_ld_force_load+:} false; then :
8135 $as_echo_n "(cached) " >&6
8136 else
8137 lt_cv_ld_force_load=no
8138 cat > conftest.c << _LT_EOF
8139 int forced_loaded() { return 2;}
8140 _LT_EOF
8141 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8142 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8143 echo "$AR cru libconftest.a conftest.o" >&5
8144 $AR cru libconftest.a conftest.o 2>&5
8145 cat > conftest.c << _LT_EOF
8146 int main() { return 0;}
8147 _LT_EOF
8148 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8149 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8150 _lt_result=$?
8151 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8152 lt_cv_ld_force_load=yes
8153 else
8154 cat conftest.err >&5
8156 rm -f conftest.err libconftest.a conftest conftest.c
8157 rm -rf conftest.dSYM
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8161 $as_echo "$lt_cv_ld_force_load" >&6; }
8162 case $host_os in
8163 rhapsody* | darwin1.[012])
8164 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8165 darwin1.*)
8166 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8167 darwin*) # darwin 5.x on
8168 # if running on 10.5 or later, the deployment target defaults
8169 # to the OS version, if on x86, and 10.4, the deployment
8170 # target defaults to 10.4. Don't you love it?
8171 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8172 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8173 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8174 10.[012][,.]*)
8175 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8176 10.*)
8177 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8178 esac
8180 esac
8181 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8182 _lt_dar_single_mod='$single_module'
8184 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8185 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8186 else
8187 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8189 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8190 _lt_dsymutil='~$DSYMUTIL $lib || :'
8191 else
8192 _lt_dsymutil=
8195 esac
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8198 $as_echo_n "checking for ANSI C header files... " >&6; }
8199 if ${ac_cv_header_stdc+:} false; then :
8200 $as_echo_n "(cached) " >&6
8201 else
8202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8203 /* end confdefs.h. */
8204 #include <stdlib.h>
8205 #include <stdarg.h>
8206 #include <string.h>
8207 #include <float.h>
8210 main ()
8214 return 0;
8216 _ACEOF
8217 if ac_fn_c_try_compile "$LINENO"; then :
8218 ac_cv_header_stdc=yes
8219 else
8220 ac_cv_header_stdc=no
8222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8224 if test $ac_cv_header_stdc = yes; then
8225 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8227 /* end confdefs.h. */
8228 #include <string.h>
8230 _ACEOF
8231 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8232 $EGREP "memchr" >/dev/null 2>&1; then :
8234 else
8235 ac_cv_header_stdc=no
8237 rm -f conftest*
8241 if test $ac_cv_header_stdc = yes; then
8242 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8244 /* end confdefs.h. */
8245 #include <stdlib.h>
8247 _ACEOF
8248 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8249 $EGREP "free" >/dev/null 2>&1; then :
8251 else
8252 ac_cv_header_stdc=no
8254 rm -f conftest*
8258 if test $ac_cv_header_stdc = yes; then
8259 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8260 if test "$cross_compiling" = yes; then :
8262 else
8263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8264 /* end confdefs.h. */
8265 #include <ctype.h>
8266 #include <stdlib.h>
8267 #if ((' ' & 0x0FF) == 0x020)
8268 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8269 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8270 #else
8271 # define ISLOWER(c) \
8272 (('a' <= (c) && (c) <= 'i') \
8273 || ('j' <= (c) && (c) <= 'r') \
8274 || ('s' <= (c) && (c) <= 'z'))
8275 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8276 #endif
8278 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8280 main ()
8282 int i;
8283 for (i = 0; i < 256; i++)
8284 if (XOR (islower (i), ISLOWER (i))
8285 || toupper (i) != TOUPPER (i))
8286 return 2;
8287 return 0;
8289 _ACEOF
8290 if ac_fn_c_try_run "$LINENO"; then :
8292 else
8293 ac_cv_header_stdc=no
8295 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8296 conftest.$ac_objext conftest.beam conftest.$ac_ext
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8302 $as_echo "$ac_cv_header_stdc" >&6; }
8303 if test $ac_cv_header_stdc = yes; then
8305 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8309 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8310 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8311 inttypes.h stdint.h unistd.h
8312 do :
8313 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8314 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8316 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8317 cat >>confdefs.h <<_ACEOF
8318 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8319 _ACEOF
8323 done
8326 for ac_header in dlfcn.h
8327 do :
8328 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8330 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8331 cat >>confdefs.h <<_ACEOF
8332 #define HAVE_DLFCN_H 1
8333 _ACEOF
8337 done
8344 # Set options
8349 enable_win32_dll=no
8352 # Check whether --enable-shared was given.
8353 if test "${enable_shared+set}" = set; then :
8354 enableval=$enable_shared; p=${PACKAGE-default}
8355 case $enableval in
8356 yes) enable_shared=yes ;;
8357 no) enable_shared=no ;;
8359 enable_shared=no
8360 # Look at the argument we got. We use all the common list separators.
8361 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8362 for pkg in $enableval; do
8363 IFS="$lt_save_ifs"
8364 if test "X$pkg" = "X$p"; then
8365 enable_shared=yes
8367 done
8368 IFS="$lt_save_ifs"
8370 esac
8371 else
8372 enable_shared=yes
8383 # Check whether --enable-static was given.
8384 if test "${enable_static+set}" = set; then :
8385 enableval=$enable_static; p=${PACKAGE-default}
8386 case $enableval in
8387 yes) enable_static=yes ;;
8388 no) enable_static=no ;;
8390 enable_static=no
8391 # Look at the argument we got. We use all the common list separators.
8392 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8393 for pkg in $enableval; do
8394 IFS="$lt_save_ifs"
8395 if test "X$pkg" = "X$p"; then
8396 enable_static=yes
8398 done
8399 IFS="$lt_save_ifs"
8401 esac
8402 else
8403 enable_static=yes
8415 # Check whether --with-pic was given.
8416 if test "${with_pic+set}" = set; then :
8417 withval=$with_pic; pic_mode="$withval"
8418 else
8419 pic_mode=default
8423 test -z "$pic_mode" && pic_mode=default
8431 # Check whether --enable-fast-install was given.
8432 if test "${enable_fast_install+set}" = set; then :
8433 enableval=$enable_fast_install; p=${PACKAGE-default}
8434 case $enableval in
8435 yes) enable_fast_install=yes ;;
8436 no) enable_fast_install=no ;;
8438 enable_fast_install=no
8439 # Look at the argument we got. We use all the common list separators.
8440 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8441 for pkg in $enableval; do
8442 IFS="$lt_save_ifs"
8443 if test "X$pkg" = "X$p"; then
8444 enable_fast_install=yes
8446 done
8447 IFS="$lt_save_ifs"
8449 esac
8450 else
8451 enable_fast_install=yes
8464 # This can be used to rebuild libtool when needed
8465 LIBTOOL_DEPS="$ltmain"
8467 # Always use our own libtool.
8468 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8495 test -z "$LN_S" && LN_S="ln -s"
8510 if test -n "${ZSH_VERSION+set}" ; then
8511 setopt NO_GLOB_SUBST
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8515 $as_echo_n "checking for objdir... " >&6; }
8516 if ${lt_cv_objdir+:} false; then :
8517 $as_echo_n "(cached) " >&6
8518 else
8519 rm -f .libs 2>/dev/null
8520 mkdir .libs 2>/dev/null
8521 if test -d .libs; then
8522 lt_cv_objdir=.libs
8523 else
8524 # MS-DOS does not allow filenames that begin with a dot.
8525 lt_cv_objdir=_libs
8527 rmdir .libs 2>/dev/null
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8530 $as_echo "$lt_cv_objdir" >&6; }
8531 objdir=$lt_cv_objdir
8537 cat >>confdefs.h <<_ACEOF
8538 #define LT_OBJDIR "$lt_cv_objdir/"
8539 _ACEOF
8544 case $host_os in
8545 aix3*)
8546 # AIX sometimes has problems with the GCC collect2 program. For some
8547 # reason, if we set the COLLECT_NAMES environment variable, the problems
8548 # vanish in a puff of smoke.
8549 if test "X${COLLECT_NAMES+set}" != Xset; then
8550 COLLECT_NAMES=
8551 export COLLECT_NAMES
8554 esac
8556 # Global variables:
8557 ofile=libtool
8558 can_build_shared=yes
8560 # All known linkers require a `.a' archive for static linking (except MSVC,
8561 # which needs '.lib').
8562 libext=a
8564 with_gnu_ld="$lt_cv_prog_gnu_ld"
8566 old_CC="$CC"
8567 old_CFLAGS="$CFLAGS"
8569 # Set sane defaults for various variables
8570 test -z "$CC" && CC=cc
8571 test -z "$LTCC" && LTCC=$CC
8572 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8573 test -z "$LD" && LD=ld
8574 test -z "$ac_objext" && ac_objext=o
8576 for cc_temp in $compiler""; do
8577 case $cc_temp in
8578 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8579 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8580 \-*) ;;
8581 *) break;;
8582 esac
8583 done
8584 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8587 # Only perform the check for file, if the check method requires it
8588 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8589 case $deplibs_check_method in
8590 file_magic*)
8591 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8593 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8594 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8595 $as_echo_n "(cached) " >&6
8596 else
8597 case $MAGIC_CMD in
8598 [\\/*] | ?:[\\/]*)
8599 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8602 lt_save_MAGIC_CMD="$MAGIC_CMD"
8603 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8604 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8605 for ac_dir in $ac_dummy; do
8606 IFS="$lt_save_ifs"
8607 test -z "$ac_dir" && ac_dir=.
8608 if test -f $ac_dir/${ac_tool_prefix}file; then
8609 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8610 if test -n "$file_magic_test_file"; then
8611 case $deplibs_check_method in
8612 "file_magic "*)
8613 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8614 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8615 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8616 $EGREP "$file_magic_regex" > /dev/null; then
8618 else
8619 cat <<_LT_EOF 1>&2
8621 *** Warning: the command libtool uses to detect shared libraries,
8622 *** $file_magic_cmd, produces output that libtool cannot recognize.
8623 *** The result is that libtool may fail to recognize shared libraries
8624 *** as such. This will affect the creation of libtool libraries that
8625 *** depend on shared libraries, but programs linked with such libtool
8626 *** libraries will work regardless of this problem. Nevertheless, you
8627 *** may want to report the problem to your system manager and/or to
8628 *** bug-libtool@gnu.org
8630 _LT_EOF
8631 fi ;;
8632 esac
8634 break
8636 done
8637 IFS="$lt_save_ifs"
8638 MAGIC_CMD="$lt_save_MAGIC_CMD"
8640 esac
8643 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8644 if test -n "$MAGIC_CMD"; then
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8646 $as_echo "$MAGIC_CMD" >&6; }
8647 else
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8649 $as_echo "no" >&6; }
8656 if test -z "$lt_cv_path_MAGIC_CMD"; then
8657 if test -n "$ac_tool_prefix"; then
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8659 $as_echo_n "checking for file... " >&6; }
8660 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8661 $as_echo_n "(cached) " >&6
8662 else
8663 case $MAGIC_CMD in
8664 [\\/*] | ?:[\\/]*)
8665 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8668 lt_save_MAGIC_CMD="$MAGIC_CMD"
8669 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8670 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8671 for ac_dir in $ac_dummy; do
8672 IFS="$lt_save_ifs"
8673 test -z "$ac_dir" && ac_dir=.
8674 if test -f $ac_dir/file; then
8675 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8676 if test -n "$file_magic_test_file"; then
8677 case $deplibs_check_method in
8678 "file_magic "*)
8679 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8680 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8681 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8682 $EGREP "$file_magic_regex" > /dev/null; then
8684 else
8685 cat <<_LT_EOF 1>&2
8687 *** Warning: the command libtool uses to detect shared libraries,
8688 *** $file_magic_cmd, produces output that libtool cannot recognize.
8689 *** The result is that libtool may fail to recognize shared libraries
8690 *** as such. This will affect the creation of libtool libraries that
8691 *** depend on shared libraries, but programs linked with such libtool
8692 *** libraries will work regardless of this problem. Nevertheless, you
8693 *** may want to report the problem to your system manager and/or to
8694 *** bug-libtool@gnu.org
8696 _LT_EOF
8697 fi ;;
8698 esac
8700 break
8702 done
8703 IFS="$lt_save_ifs"
8704 MAGIC_CMD="$lt_save_MAGIC_CMD"
8706 esac
8709 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8710 if test -n "$MAGIC_CMD"; then
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8712 $as_echo "$MAGIC_CMD" >&6; }
8713 else
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8715 $as_echo "no" >&6; }
8719 else
8720 MAGIC_CMD=:
8726 esac
8728 # Use C for the default configuration in the libtool script
8730 lt_save_CC="$CC"
8731 ac_ext=c
8732 ac_cpp='$CPP $CPPFLAGS'
8733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8738 # Source file extension for C test sources.
8739 ac_ext=c
8741 # Object file extension for compiled C test sources.
8742 objext=o
8743 objext=$objext
8745 # Code to be used in simple compile tests
8746 lt_simple_compile_test_code="int some_variable = 0;"
8748 # Code to be used in simple link tests
8749 lt_simple_link_test_code='int main(){return(0);}'
8757 # If no C compiler was specified, use CC.
8758 LTCC=${LTCC-"$CC"}
8760 # If no C compiler flags were specified, use CFLAGS.
8761 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8763 # Allow CC to be a program name with arguments.
8764 compiler=$CC
8766 # Save the default compiler, since it gets overwritten when the other
8767 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8768 compiler_DEFAULT=$CC
8770 # save warnings/boilerplate of simple test code
8771 ac_outfile=conftest.$ac_objext
8772 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8773 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8774 _lt_compiler_boilerplate=`cat conftest.err`
8775 $RM conftest*
8777 ac_outfile=conftest.$ac_objext
8778 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8779 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8780 _lt_linker_boilerplate=`cat conftest.err`
8781 $RM -r conftest*
8784 ## CAVEAT EMPTOR:
8785 ## There is no encapsulation within the following macros, do not change
8786 ## the running order or otherwise move them around unless you know exactly
8787 ## what you are doing...
8788 if test -n "$compiler"; then
8790 lt_prog_compiler_no_builtin_flag=
8792 if test "$GCC" = yes; then
8793 case $cc_basename in
8794 nvcc*)
8795 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8797 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8798 esac
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8801 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8802 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8803 $as_echo_n "(cached) " >&6
8804 else
8805 lt_cv_prog_compiler_rtti_exceptions=no
8806 ac_outfile=conftest.$ac_objext
8807 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8808 lt_compiler_flag="-fno-rtti -fno-exceptions"
8809 # Insert the option either (1) after the last *FLAGS variable, or
8810 # (2) before a word containing "conftest.", or (3) at the end.
8811 # Note that $ac_compile itself does not contain backslashes and begins
8812 # with a dollar sign (not a hyphen), so the echo should work correctly.
8813 # The option is referenced via a variable to avoid confusing sed.
8814 lt_compile=`echo "$ac_compile" | $SED \
8815 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8816 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8817 -e 's:$: $lt_compiler_flag:'`
8818 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8819 (eval "$lt_compile" 2>conftest.err)
8820 ac_status=$?
8821 cat conftest.err >&5
8822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8823 if (exit $ac_status) && test -s "$ac_outfile"; then
8824 # The compiler can only warn and ignore the option if not recognized
8825 # So say no if there are warnings other than the usual output.
8826 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8827 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8828 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8829 lt_cv_prog_compiler_rtti_exceptions=yes
8832 $RM conftest*
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8836 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8838 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8839 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8840 else
8851 lt_prog_compiler_wl=
8852 lt_prog_compiler_pic=
8853 lt_prog_compiler_static=
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8856 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8858 if test "$GCC" = yes; then
8859 lt_prog_compiler_wl='-Wl,'
8860 lt_prog_compiler_static='-static'
8862 case $host_os in
8863 aix*)
8864 # All AIX code is PIC.
8865 if test "$host_cpu" = ia64; then
8866 # AIX 5 now supports IA64 processor
8867 lt_prog_compiler_static='-Bstatic'
8869 lt_prog_compiler_pic='-fPIC'
8872 amigaos*)
8873 case $host_cpu in
8874 powerpc)
8875 # see comment about AmigaOS4 .so support
8876 lt_prog_compiler_pic='-fPIC'
8878 m68k)
8879 # FIXME: we need at least 68020 code to build shared libraries, but
8880 # adding the `-m68020' flag to GCC prevents building anything better,
8881 # like `-m68040'.
8882 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8884 esac
8887 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8888 # PIC is the default for these OSes.
8891 mingw* | cygwin* | pw32* | os2* | cegcc*)
8892 # This hack is so that the source file can tell whether it is being
8893 # built for inclusion in a dll (and should export symbols for example).
8894 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8895 # (--disable-auto-import) libraries
8896 lt_prog_compiler_pic='-DDLL_EXPORT'
8899 darwin* | rhapsody*)
8900 # PIC is the default on this platform
8901 # Common symbols not allowed in MH_DYLIB files
8902 lt_prog_compiler_pic='-fno-common'
8905 haiku*)
8906 # PIC is the default for Haiku.
8907 # The "-static" flag exists, but is broken.
8908 lt_prog_compiler_static=
8911 hpux*)
8912 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8913 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8914 # sets the default TLS model and affects inlining.
8915 case $host_cpu in
8916 hppa*64*)
8917 # +Z the default
8920 lt_prog_compiler_pic='-fPIC'
8922 esac
8925 interix[3-9]*)
8926 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8927 # Instead, we relocate shared libraries at runtime.
8930 msdosdjgpp*)
8931 # Just because we use GCC doesn't mean we suddenly get shared libraries
8932 # on systems that don't support them.
8933 lt_prog_compiler_can_build_shared=no
8934 enable_shared=no
8937 *nto* | *qnx*)
8938 # QNX uses GNU C++, but need to define -shared option too, otherwise
8939 # it will coredump.
8940 lt_prog_compiler_pic='-fPIC -shared'
8943 sysv4*MP*)
8944 if test -d /usr/nec; then
8945 lt_prog_compiler_pic=-Kconform_pic
8950 lt_prog_compiler_pic='-fPIC'
8952 esac
8954 case $cc_basename in
8955 nvcc*) # Cuda Compiler Driver 2.2
8956 lt_prog_compiler_wl='-Xlinker '
8957 lt_prog_compiler_pic='-Xcompiler -fPIC'
8959 esac
8960 else
8961 # PORTME Check for flag to pass linker flags through the system compiler.
8962 case $host_os in
8963 aix*)
8964 lt_prog_compiler_wl='-Wl,'
8965 if test "$host_cpu" = ia64; then
8966 # AIX 5 now supports IA64 processor
8967 lt_prog_compiler_static='-Bstatic'
8968 else
8969 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8973 mingw* | cygwin* | pw32* | os2* | cegcc*)
8974 # This hack is so that the source file can tell whether it is being
8975 # built for inclusion in a dll (and should export symbols for example).
8976 lt_prog_compiler_pic='-DDLL_EXPORT'
8979 hpux9* | hpux10* | hpux11*)
8980 lt_prog_compiler_wl='-Wl,'
8981 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8982 # not for PA HP-UX.
8983 case $host_cpu in
8984 hppa*64*|ia64*)
8985 # +Z the default
8988 lt_prog_compiler_pic='+Z'
8990 esac
8991 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8992 lt_prog_compiler_static='${wl}-a ${wl}archive'
8995 irix5* | irix6* | nonstopux*)
8996 lt_prog_compiler_wl='-Wl,'
8997 # PIC (with -KPIC) is the default.
8998 lt_prog_compiler_static='-non_shared'
9001 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9002 case $cc_basename in
9003 # old Intel for x86_64 which still supported -KPIC.
9004 ecc*)
9005 lt_prog_compiler_wl='-Wl,'
9006 lt_prog_compiler_pic='-KPIC'
9007 lt_prog_compiler_static='-static'
9009 # icc used to be incompatible with GCC.
9010 # ICC 10 doesn't accept -KPIC any more.
9011 icc* | ifort*)
9012 lt_prog_compiler_wl='-Wl,'
9013 lt_prog_compiler_pic='-fPIC'
9014 lt_prog_compiler_static='-static'
9016 # Lahey Fortran 8.1.
9017 lf95*)
9018 lt_prog_compiler_wl='-Wl,'
9019 lt_prog_compiler_pic='--shared'
9020 lt_prog_compiler_static='--static'
9022 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9023 # Portland Group compilers (*not* the Pentium gcc compiler,
9024 # which looks to be a dead project)
9025 lt_prog_compiler_wl='-Wl,'
9026 lt_prog_compiler_pic='-fpic'
9027 lt_prog_compiler_static='-Bstatic'
9029 ccc*)
9030 lt_prog_compiler_wl='-Wl,'
9031 # All Alpha code is PIC.
9032 lt_prog_compiler_static='-non_shared'
9034 xl* | bgxl* | bgf* | mpixl*)
9035 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9036 lt_prog_compiler_wl='-Wl,'
9037 lt_prog_compiler_pic='-qpic'
9038 lt_prog_compiler_static='-qstaticlink'
9041 case `$CC -V 2>&1 | sed 5q` in
9042 *Sun\ F* | *Sun*Fortran*)
9043 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9044 lt_prog_compiler_pic='-KPIC'
9045 lt_prog_compiler_static='-Bstatic'
9046 lt_prog_compiler_wl=''
9048 *Sun\ C*)
9049 # Sun C 5.9
9050 lt_prog_compiler_pic='-KPIC'
9051 lt_prog_compiler_static='-Bstatic'
9052 lt_prog_compiler_wl='-Wl,'
9054 esac
9056 esac
9059 newsos6)
9060 lt_prog_compiler_pic='-KPIC'
9061 lt_prog_compiler_static='-Bstatic'
9064 *nto* | *qnx*)
9065 # QNX uses GNU C++, but need to define -shared option too, otherwise
9066 # it will coredump.
9067 lt_prog_compiler_pic='-fPIC -shared'
9070 osf3* | osf4* | osf5*)
9071 lt_prog_compiler_wl='-Wl,'
9072 # All OSF/1 code is PIC.
9073 lt_prog_compiler_static='-non_shared'
9076 rdos*)
9077 lt_prog_compiler_static='-non_shared'
9080 solaris*)
9081 lt_prog_compiler_pic='-KPIC'
9082 lt_prog_compiler_static='-Bstatic'
9083 case $cc_basename in
9084 f77* | f90* | f95*)
9085 lt_prog_compiler_wl='-Qoption ld ';;
9087 lt_prog_compiler_wl='-Wl,';;
9088 esac
9091 sunos4*)
9092 lt_prog_compiler_wl='-Qoption ld '
9093 lt_prog_compiler_pic='-PIC'
9094 lt_prog_compiler_static='-Bstatic'
9097 sysv4 | sysv4.2uw2* | sysv4.3*)
9098 lt_prog_compiler_wl='-Wl,'
9099 lt_prog_compiler_pic='-KPIC'
9100 lt_prog_compiler_static='-Bstatic'
9103 sysv4*MP*)
9104 if test -d /usr/nec ;then
9105 lt_prog_compiler_pic='-Kconform_pic'
9106 lt_prog_compiler_static='-Bstatic'
9110 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9111 lt_prog_compiler_wl='-Wl,'
9112 lt_prog_compiler_pic='-KPIC'
9113 lt_prog_compiler_static='-Bstatic'
9116 unicos*)
9117 lt_prog_compiler_wl='-Wl,'
9118 lt_prog_compiler_can_build_shared=no
9121 uts4*)
9122 lt_prog_compiler_pic='-pic'
9123 lt_prog_compiler_static='-Bstatic'
9127 lt_prog_compiler_can_build_shared=no
9129 esac
9132 case $host_os in
9133 # For platforms which do not support PIC, -DPIC is meaningless:
9134 *djgpp*)
9135 lt_prog_compiler_pic=
9138 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9140 esac
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9142 $as_echo "$lt_prog_compiler_pic" >&6; }
9150 # Check to make sure the PIC flag actually works.
9152 if test -n "$lt_prog_compiler_pic"; then
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9154 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9155 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9156 $as_echo_n "(cached) " >&6
9157 else
9158 lt_cv_prog_compiler_pic_works=no
9159 ac_outfile=conftest.$ac_objext
9160 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9161 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9162 # Insert the option either (1) after the last *FLAGS variable, or
9163 # (2) before a word containing "conftest.", or (3) at the end.
9164 # Note that $ac_compile itself does not contain backslashes and begins
9165 # with a dollar sign (not a hyphen), so the echo should work correctly.
9166 # The option is referenced via a variable to avoid confusing sed.
9167 lt_compile=`echo "$ac_compile" | $SED \
9168 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9169 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9170 -e 's:$: $lt_compiler_flag:'`
9171 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9172 (eval "$lt_compile" 2>conftest.err)
9173 ac_status=$?
9174 cat conftest.err >&5
9175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9176 if (exit $ac_status) && test -s "$ac_outfile"; then
9177 # The compiler can only warn and ignore the option if not recognized
9178 # So say no if there are warnings other than the usual output.
9179 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9180 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9181 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9182 lt_cv_prog_compiler_pic_works=yes
9185 $RM conftest*
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9189 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9191 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9192 case $lt_prog_compiler_pic in
9193 "" | " "*) ;;
9194 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9195 esac
9196 else
9197 lt_prog_compiler_pic=
9198 lt_prog_compiler_can_build_shared=no
9209 # Check to make sure the static flag actually works.
9211 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9213 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9214 if ${lt_cv_prog_compiler_static_works+:} false; then :
9215 $as_echo_n "(cached) " >&6
9216 else
9217 lt_cv_prog_compiler_static_works=no
9218 save_LDFLAGS="$LDFLAGS"
9219 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9220 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9221 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9222 # The linker can only warn and ignore the option if not recognized
9223 # So say no if there are warnings
9224 if test -s conftest.err; then
9225 # Append any errors to the config.log.
9226 cat conftest.err 1>&5
9227 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9228 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9229 if diff conftest.exp conftest.er2 >/dev/null; then
9230 lt_cv_prog_compiler_static_works=yes
9232 else
9233 lt_cv_prog_compiler_static_works=yes
9236 $RM -r conftest*
9237 LDFLAGS="$save_LDFLAGS"
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9241 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9243 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9245 else
9246 lt_prog_compiler_static=
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9256 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9257 if ${lt_cv_prog_compiler_c_o+:} false; then :
9258 $as_echo_n "(cached) " >&6
9259 else
9260 lt_cv_prog_compiler_c_o=no
9261 $RM -r conftest 2>/dev/null
9262 mkdir conftest
9263 cd conftest
9264 mkdir out
9265 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9267 lt_compiler_flag="-o out/conftest2.$ac_objext"
9268 # Insert the option either (1) after the last *FLAGS variable, or
9269 # (2) before a word containing "conftest.", or (3) at the end.
9270 # Note that $ac_compile itself does not contain backslashes and begins
9271 # with a dollar sign (not a hyphen), so the echo should work correctly.
9272 lt_compile=`echo "$ac_compile" | $SED \
9273 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9274 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9275 -e 's:$: $lt_compiler_flag:'`
9276 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9277 (eval "$lt_compile" 2>out/conftest.err)
9278 ac_status=$?
9279 cat out/conftest.err >&5
9280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9281 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9282 then
9283 # The compiler can only warn and ignore the option if not recognized
9284 # So say no if there are warnings
9285 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9286 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9287 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9288 lt_cv_prog_compiler_c_o=yes
9291 chmod u+w . 2>&5
9292 $RM conftest*
9293 # SGI C++ compiler will create directory out/ii_files/ for
9294 # template instantiation
9295 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9296 $RM out/* && rmdir out
9297 cd ..
9298 $RM -r conftest
9299 $RM conftest*
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9303 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9311 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9312 if ${lt_cv_prog_compiler_c_o+:} false; then :
9313 $as_echo_n "(cached) " >&6
9314 else
9315 lt_cv_prog_compiler_c_o=no
9316 $RM -r conftest 2>/dev/null
9317 mkdir conftest
9318 cd conftest
9319 mkdir out
9320 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9322 lt_compiler_flag="-o out/conftest2.$ac_objext"
9323 # Insert the option either (1) after the last *FLAGS variable, or
9324 # (2) before a word containing "conftest.", or (3) at the end.
9325 # Note that $ac_compile itself does not contain backslashes and begins
9326 # with a dollar sign (not a hyphen), so the echo should work correctly.
9327 lt_compile=`echo "$ac_compile" | $SED \
9328 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9329 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9330 -e 's:$: $lt_compiler_flag:'`
9331 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9332 (eval "$lt_compile" 2>out/conftest.err)
9333 ac_status=$?
9334 cat out/conftest.err >&5
9335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9336 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9337 then
9338 # The compiler can only warn and ignore the option if not recognized
9339 # So say no if there are warnings
9340 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9341 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9342 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9343 lt_cv_prog_compiler_c_o=yes
9346 chmod u+w . 2>&5
9347 $RM conftest*
9348 # SGI C++ compiler will create directory out/ii_files/ for
9349 # template instantiation
9350 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9351 $RM out/* && rmdir out
9352 cd ..
9353 $RM -r conftest
9354 $RM conftest*
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9358 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9363 hard_links="nottested"
9364 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9365 # do not overwrite the value of need_locks provided by the user
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9367 $as_echo_n "checking if we can lock with hard links... " >&6; }
9368 hard_links=yes
9369 $RM conftest*
9370 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9371 touch conftest.a
9372 ln conftest.a conftest.b 2>&5 || hard_links=no
9373 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9375 $as_echo "$hard_links" >&6; }
9376 if test "$hard_links" = no; then
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9378 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9379 need_locks=warn
9381 else
9382 need_locks=no
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9391 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9393 runpath_var=
9394 allow_undefined_flag=
9395 always_export_symbols=no
9396 archive_cmds=
9397 archive_expsym_cmds=
9398 compiler_needs_object=no
9399 enable_shared_with_static_runtimes=no
9400 export_dynamic_flag_spec=
9401 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9402 hardcode_automatic=no
9403 hardcode_direct=no
9404 hardcode_direct_absolute=no
9405 hardcode_libdir_flag_spec=
9406 hardcode_libdir_flag_spec_ld=
9407 hardcode_libdir_separator=
9408 hardcode_minus_L=no
9409 hardcode_shlibpath_var=unsupported
9410 inherit_rpath=no
9411 link_all_deplibs=unknown
9412 module_cmds=
9413 module_expsym_cmds=
9414 old_archive_from_new_cmds=
9415 old_archive_from_expsyms_cmds=
9416 thread_safe_flag_spec=
9417 whole_archive_flag_spec=
9418 # include_expsyms should be a list of space-separated symbols to be *always*
9419 # included in the symbol list
9420 include_expsyms=
9421 # exclude_expsyms can be an extended regexp of symbols to exclude
9422 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9423 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9424 # as well as any symbol that contains `d'.
9425 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9426 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9427 # platforms (ab)use it in PIC code, but their linkers get confused if
9428 # the symbol is explicitly referenced. Since portable code cannot
9429 # rely on this symbol name, it's probably fine to never include it in
9430 # preloaded symbol tables.
9431 # Exclude shared library initialization/finalization symbols.
9432 extract_expsyms_cmds=
9434 case $host_os in
9435 cygwin* | mingw* | pw32* | cegcc*)
9436 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9437 # When not using gcc, we currently assume that we are using
9438 # Microsoft Visual C++.
9439 if test "$GCC" != yes; then
9440 with_gnu_ld=no
9443 interix*)
9444 # we just hope/assume this is gcc and not c89 (= MSVC++)
9445 with_gnu_ld=yes
9447 openbsd*)
9448 with_gnu_ld=no
9450 esac
9452 ld_shlibs=yes
9454 # On some targets, GNU ld is compatible enough with the native linker
9455 # that we're better off using the native interface for both.
9456 lt_use_gnu_ld_interface=no
9457 if test "$with_gnu_ld" = yes; then
9458 case $host_os in
9459 aix*)
9460 # The AIX port of GNU ld has always aspired to compatibility
9461 # with the native linker. However, as the warning in the GNU ld
9462 # block says, versions before 2.19.5* couldn't really create working
9463 # shared libraries, regardless of the interface used.
9464 case `$LD -v 2>&1` in
9465 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9466 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9467 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9469 lt_use_gnu_ld_interface=yes
9471 esac
9474 lt_use_gnu_ld_interface=yes
9476 esac
9479 if test "$lt_use_gnu_ld_interface" = yes; then
9480 # If archive_cmds runs LD, not CC, wlarc should be empty
9481 wlarc='${wl}'
9483 # Set some defaults for GNU ld with shared library support. These
9484 # are reset later if shared libraries are not supported. Putting them
9485 # here allows them to be overridden if necessary.
9486 runpath_var=LD_RUN_PATH
9487 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9488 export_dynamic_flag_spec='${wl}--export-dynamic'
9489 # ancient GNU ld didn't support --whole-archive et. al.
9490 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9491 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9492 else
9493 whole_archive_flag_spec=
9495 supports_anon_versioning=no
9496 case `$LD -v 2>&1` in
9497 *GNU\ gold*) supports_anon_versioning=yes ;;
9498 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9499 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9500 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9501 *\ 2.11.*) ;; # other 2.11 versions
9502 *) supports_anon_versioning=yes ;;
9503 esac
9505 # See if GNU ld supports shared libraries.
9506 case $host_os in
9507 aix[3-9]*)
9508 # On AIX/PPC, the GNU linker is very broken
9509 if test "$host_cpu" != ia64; then
9510 ld_shlibs=no
9511 cat <<_LT_EOF 1>&2
9513 *** Warning: the GNU linker, at least up to release 2.19, is reported
9514 *** to be unable to reliably create shared libraries on AIX.
9515 *** Therefore, libtool is disabling shared libraries support. If you
9516 *** really care for shared libraries, you may want to install binutils
9517 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9518 *** You will then need to restart the configuration process.
9520 _LT_EOF
9524 amigaos*)
9525 case $host_cpu in
9526 powerpc)
9527 # see comment about AmigaOS4 .so support
9528 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9529 archive_expsym_cmds=''
9531 m68k)
9532 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9533 hardcode_libdir_flag_spec='-L$libdir'
9534 hardcode_minus_L=yes
9536 esac
9539 beos*)
9540 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9541 allow_undefined_flag=unsupported
9542 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9543 # support --undefined. This deserves some investigation. FIXME
9544 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9545 else
9546 ld_shlibs=no
9550 cygwin* | mingw* | pw32* | cegcc*)
9551 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9552 # as there is no search path for DLLs.
9553 hardcode_libdir_flag_spec='-L$libdir'
9554 export_dynamic_flag_spec='${wl}--export-all-symbols'
9555 allow_undefined_flag=unsupported
9556 always_export_symbols=no
9557 enable_shared_with_static_runtimes=yes
9558 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9560 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9561 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9562 # If the export-symbols file already is a .def file (1st line
9563 # is EXPORTS), use it as is; otherwise, prepend...
9564 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9565 cp $export_symbols $output_objdir/$soname.def;
9566 else
9567 echo EXPORTS > $output_objdir/$soname.def;
9568 cat $export_symbols >> $output_objdir/$soname.def;
9570 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9571 else
9572 ld_shlibs=no
9576 haiku*)
9577 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9578 link_all_deplibs=yes
9581 interix[3-9]*)
9582 hardcode_direct=no
9583 hardcode_shlibpath_var=no
9584 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9585 export_dynamic_flag_spec='${wl}-E'
9586 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9587 # Instead, shared libraries are loaded at an image base (0x10000000 by
9588 # default) and relocated if they conflict, which is a slow very memory
9589 # consuming and fragmenting process. To avoid this, we pick a random,
9590 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9591 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9592 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9593 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9596 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9597 tmp_diet=no
9598 if test "$host_os" = linux-dietlibc; then
9599 case $cc_basename in
9600 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9601 esac
9603 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9604 && test "$tmp_diet" = no
9605 then
9606 tmp_addflag=' $pic_flag'
9607 tmp_sharedflag='-shared'
9608 case $cc_basename,$host_cpu in
9609 pgcc*) # Portland Group C compiler
9610 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9611 tmp_addflag=' $pic_flag'
9613 pgf77* | pgf90* | pgf95* | pgfortran*)
9614 # Portland Group f77 and f90 compilers
9615 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9616 tmp_addflag=' $pic_flag -Mnomain' ;;
9617 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9618 tmp_addflag=' -i_dynamic' ;;
9619 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9620 tmp_addflag=' -i_dynamic -nofor_main' ;;
9621 ifc* | ifort*) # Intel Fortran compiler
9622 tmp_addflag=' -nofor_main' ;;
9623 lf95*) # Lahey Fortran 8.1
9624 whole_archive_flag_spec=
9625 tmp_sharedflag='--shared' ;;
9626 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9627 tmp_sharedflag='-qmkshrobj'
9628 tmp_addflag= ;;
9629 nvcc*) # Cuda Compiler Driver 2.2
9630 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9631 compiler_needs_object=yes
9633 esac
9634 case `$CC -V 2>&1 | sed 5q` in
9635 *Sun\ C*) # Sun C 5.9
9636 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9637 compiler_needs_object=yes
9638 tmp_sharedflag='-G' ;;
9639 *Sun\ F*) # Sun Fortran 8.3
9640 tmp_sharedflag='-G' ;;
9641 esac
9642 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9644 if test "x$supports_anon_versioning" = xyes; then
9645 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9646 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9647 echo "local: *; };" >> $output_objdir/$libname.ver~
9648 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9651 case $cc_basename in
9652 xlf* | bgf* | bgxlf* | mpixlf*)
9653 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9654 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9655 hardcode_libdir_flag_spec=
9656 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9657 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9658 if test "x$supports_anon_versioning" = xyes; then
9659 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9660 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9661 echo "local: *; };" >> $output_objdir/$libname.ver~
9662 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9665 esac
9666 else
9667 ld_shlibs=no
9671 netbsd*)
9672 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9673 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9674 wlarc=
9675 else
9676 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9677 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9681 solaris*)
9682 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9683 ld_shlibs=no
9684 cat <<_LT_EOF 1>&2
9686 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9687 *** create shared libraries on Solaris systems. Therefore, libtool
9688 *** is disabling shared libraries support. We urge you to upgrade GNU
9689 *** binutils to release 2.9.1 or newer. Another option is to modify
9690 *** your PATH or compiler configuration so that the native linker is
9691 *** used, and then restart.
9693 _LT_EOF
9694 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9695 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9696 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9697 else
9698 ld_shlibs=no
9702 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9703 case `$LD -v 2>&1` in
9704 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9705 ld_shlibs=no
9706 cat <<_LT_EOF 1>&2
9708 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9709 *** reliably create shared libraries on SCO systems. Therefore, libtool
9710 *** is disabling shared libraries support. We urge you to upgrade GNU
9711 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9712 *** your PATH or compiler configuration so that the native linker is
9713 *** used, and then restart.
9715 _LT_EOF
9718 # For security reasons, it is highly recommended that you always
9719 # use absolute paths for naming shared libraries, and exclude the
9720 # DT_RUNPATH tag from executables and libraries. But doing so
9721 # requires that you compile everything twice, which is a pain.
9722 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9723 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9724 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9725 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9726 else
9727 ld_shlibs=no
9730 esac
9733 sunos4*)
9734 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9735 wlarc=
9736 hardcode_direct=yes
9737 hardcode_shlibpath_var=no
9741 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9742 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9743 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9744 else
9745 ld_shlibs=no
9748 esac
9750 if test "$ld_shlibs" = no; then
9751 runpath_var=
9752 hardcode_libdir_flag_spec=
9753 export_dynamic_flag_spec=
9754 whole_archive_flag_spec=
9756 else
9757 # PORTME fill in a description of your system's linker (not GNU ld)
9758 case $host_os in
9759 aix3*)
9760 allow_undefined_flag=unsupported
9761 always_export_symbols=yes
9762 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9763 # Note: this linker hardcodes the directories in LIBPATH if there
9764 # are no directories specified by -L.
9765 hardcode_minus_L=yes
9766 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9767 # Neither direct hardcoding nor static linking is supported with a
9768 # broken collect2.
9769 hardcode_direct=unsupported
9773 aix[4-9]*)
9774 if test "$host_cpu" = ia64; then
9775 # On IA64, the linker does run time linking by default, so we don't
9776 # have to do anything special.
9777 aix_use_runtimelinking=no
9778 exp_sym_flag='-Bexport'
9779 no_entry_flag=""
9780 else
9781 # If we're using GNU nm, then we don't want the "-C" option.
9782 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9783 # Also, AIX nm treats weak defined symbols like other global
9784 # defined symbols, whereas GNU nm marks them as "W".
9785 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9786 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9787 else
9788 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9790 aix_use_runtimelinking=no
9792 # Test if we are trying to use run time linking or normal
9793 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9794 # need to do runtime linking.
9795 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9796 for ld_flag in $LDFLAGS; do
9797 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9798 aix_use_runtimelinking=yes
9799 break
9801 done
9803 esac
9805 exp_sym_flag='-bexport'
9806 no_entry_flag='-bnoentry'
9809 # When large executables or shared objects are built, AIX ld can
9810 # have problems creating the table of contents. If linking a library
9811 # or program results in "error TOC overflow" add -mminimal-toc to
9812 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9813 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9815 archive_cmds=''
9816 hardcode_direct=yes
9817 hardcode_direct_absolute=yes
9818 hardcode_libdir_separator=':'
9819 link_all_deplibs=yes
9820 file_list_spec='${wl}-f,'
9822 if test "$GCC" = yes; then
9823 case $host_os in aix4.[012]|aix4.[012].*)
9824 # We only want to do this on AIX 4.2 and lower, the check
9825 # below for broken collect2 doesn't work under 4.3+
9826 collect2name=`${CC} -print-prog-name=collect2`
9827 if test -f "$collect2name" &&
9828 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9829 then
9830 # We have reworked collect2
9832 else
9833 # We have old collect2
9834 hardcode_direct=unsupported
9835 # It fails to find uninstalled libraries when the uninstalled
9836 # path is not listed in the libpath. Setting hardcode_minus_L
9837 # to unsupported forces relinking
9838 hardcode_minus_L=yes
9839 hardcode_libdir_flag_spec='-L$libdir'
9840 hardcode_libdir_separator=
9843 esac
9844 shared_flag='-shared'
9845 if test "$aix_use_runtimelinking" = yes; then
9846 shared_flag="$shared_flag "'${wl}-G'
9848 else
9849 # not using gcc
9850 if test "$host_cpu" = ia64; then
9851 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9852 # chokes on -Wl,-G. The following line is correct:
9853 shared_flag='-G'
9854 else
9855 if test "$aix_use_runtimelinking" = yes; then
9856 shared_flag='${wl}-G'
9857 else
9858 shared_flag='${wl}-bM:SRE'
9863 export_dynamic_flag_spec='${wl}-bexpall'
9864 # It seems that -bexpall does not export symbols beginning with
9865 # underscore (_), so it is better to generate a list of symbols to export.
9866 always_export_symbols=yes
9867 if test "$aix_use_runtimelinking" = yes; then
9868 # Warning - without using the other runtime loading flags (-brtl),
9869 # -berok will link without error, but may produce a broken library.
9870 allow_undefined_flag='-berok'
9871 # Determine the default libpath from the value encoded in an
9872 # empty executable.
9873 if test x$gcc_no_link = xyes; then
9874 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9877 /* end confdefs.h. */
9880 main ()
9884 return 0;
9886 _ACEOF
9887 if ac_fn_c_try_link "$LINENO"; then :
9889 lt_aix_libpath_sed='
9890 /Import File Strings/,/^$/ {
9891 /^0/ {
9892 s/^0 *\(.*\)$/\1/
9896 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9897 # Check for a 64-bit object if we didn't find anything.
9898 if test -z "$aix_libpath"; then
9899 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9902 rm -f core conftest.err conftest.$ac_objext \
9903 conftest$ac_exeext conftest.$ac_ext
9904 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9906 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9907 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9908 else
9909 if test "$host_cpu" = ia64; then
9910 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9911 allow_undefined_flag="-z nodefs"
9912 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9913 else
9914 # Determine the default libpath from the value encoded in an
9915 # empty executable.
9916 if test x$gcc_no_link = xyes; then
9917 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9920 /* end confdefs.h. */
9923 main ()
9927 return 0;
9929 _ACEOF
9930 if ac_fn_c_try_link "$LINENO"; then :
9932 lt_aix_libpath_sed='
9933 /Import File Strings/,/^$/ {
9934 /^0/ {
9935 s/^0 *\(.*\)$/\1/
9939 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9940 # Check for a 64-bit object if we didn't find anything.
9941 if test -z "$aix_libpath"; then
9942 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9945 rm -f core conftest.err conftest.$ac_objext \
9946 conftest$ac_exeext conftest.$ac_ext
9947 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9949 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9950 # Warning - without using the other run time loading flags,
9951 # -berok will link without error, but may produce a broken library.
9952 no_undefined_flag=' ${wl}-bernotok'
9953 allow_undefined_flag=' ${wl}-berok'
9954 if test "$with_gnu_ld" = yes; then
9955 # We only use this code for GNU lds that support --whole-archive.
9956 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9957 else
9958 # Exported symbols can be pulled into shared objects from archives
9959 whole_archive_flag_spec='$convenience'
9961 archive_cmds_need_lc=yes
9962 # This is similar to how AIX traditionally builds its shared libraries.
9963 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9968 amigaos*)
9969 case $host_cpu in
9970 powerpc)
9971 # see comment about AmigaOS4 .so support
9972 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9973 archive_expsym_cmds=''
9975 m68k)
9976 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9977 hardcode_libdir_flag_spec='-L$libdir'
9978 hardcode_minus_L=yes
9980 esac
9983 bsdi[45]*)
9984 export_dynamic_flag_spec=-rdynamic
9987 cygwin* | mingw* | pw32* | cegcc*)
9988 # When not using gcc, we currently assume that we are using
9989 # Microsoft Visual C++.
9990 # hardcode_libdir_flag_spec is actually meaningless, as there is
9991 # no search path for DLLs.
9992 hardcode_libdir_flag_spec=' '
9993 allow_undefined_flag=unsupported
9994 # Tell ltmain to make .lib files, not .a files.
9995 libext=lib
9996 # Tell ltmain to make .dll files, not .so files.
9997 shrext_cmds=".dll"
9998 # FIXME: Setting linknames here is a bad hack.
9999 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10000 # The linker will automatically build a .lib file if we build a DLL.
10001 old_archive_from_new_cmds='true'
10002 # FIXME: Should let the user specify the lib program.
10003 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10004 fix_srcfile_path='`cygpath -w "$srcfile"`'
10005 enable_shared_with_static_runtimes=yes
10008 darwin* | rhapsody*)
10011 archive_cmds_need_lc=no
10012 hardcode_direct=no
10013 hardcode_automatic=yes
10014 hardcode_shlibpath_var=unsupported
10015 if test "$lt_cv_ld_force_load" = "yes"; then
10016 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10017 else
10018 whole_archive_flag_spec=''
10020 link_all_deplibs=yes
10021 allow_undefined_flag="$_lt_dar_allow_undefined"
10022 case $cc_basename in
10023 ifort*) _lt_dar_can_shared=yes ;;
10024 *) _lt_dar_can_shared=$GCC ;;
10025 esac
10026 if test "$_lt_dar_can_shared" = "yes"; then
10027 output_verbose_link_cmd=func_echo_all
10028 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10029 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10030 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10031 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10033 else
10034 ld_shlibs=no
10039 dgux*)
10040 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10041 hardcode_libdir_flag_spec='-L$libdir'
10042 hardcode_shlibpath_var=no
10045 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10046 # support. Future versions do this automatically, but an explicit c++rt0.o
10047 # does not break anything, and helps significantly (at the cost of a little
10048 # extra space).
10049 freebsd2.2*)
10050 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10051 hardcode_libdir_flag_spec='-R$libdir'
10052 hardcode_direct=yes
10053 hardcode_shlibpath_var=no
10056 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10057 freebsd2.*)
10058 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10059 hardcode_direct=yes
10060 hardcode_minus_L=yes
10061 hardcode_shlibpath_var=no
10064 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10065 freebsd* | dragonfly*)
10066 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10067 hardcode_libdir_flag_spec='-R$libdir'
10068 hardcode_direct=yes
10069 hardcode_shlibpath_var=no
10072 hpux9*)
10073 if test "$GCC" = yes; then
10074 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10075 else
10076 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10078 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10079 hardcode_libdir_separator=:
10080 hardcode_direct=yes
10082 # hardcode_minus_L: Not really in the search PATH,
10083 # but as the default location of the library.
10084 hardcode_minus_L=yes
10085 export_dynamic_flag_spec='${wl}-E'
10088 hpux10*)
10089 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10090 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10091 else
10092 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10094 if test "$with_gnu_ld" = no; then
10095 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10096 hardcode_libdir_flag_spec_ld='+b $libdir'
10097 hardcode_libdir_separator=:
10098 hardcode_direct=yes
10099 hardcode_direct_absolute=yes
10100 export_dynamic_flag_spec='${wl}-E'
10101 # hardcode_minus_L: Not really in the search PATH,
10102 # but as the default location of the library.
10103 hardcode_minus_L=yes
10107 hpux11*)
10108 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10109 case $host_cpu in
10110 hppa*64*)
10111 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10113 ia64*)
10114 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10117 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10119 esac
10120 else
10121 case $host_cpu in
10122 hppa*64*)
10123 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10125 ia64*)
10126 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10130 # Older versions of the 11.00 compiler do not understand -b yet
10131 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10133 $as_echo_n "checking if $CC understands -b... " >&6; }
10134 if ${lt_cv_prog_compiler__b+:} false; then :
10135 $as_echo_n "(cached) " >&6
10136 else
10137 lt_cv_prog_compiler__b=no
10138 save_LDFLAGS="$LDFLAGS"
10139 LDFLAGS="$LDFLAGS -b"
10140 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10141 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10142 # The linker can only warn and ignore the option if not recognized
10143 # So say no if there are warnings
10144 if test -s conftest.err; then
10145 # Append any errors to the config.log.
10146 cat conftest.err 1>&5
10147 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10148 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10149 if diff conftest.exp conftest.er2 >/dev/null; then
10150 lt_cv_prog_compiler__b=yes
10152 else
10153 lt_cv_prog_compiler__b=yes
10156 $RM -r conftest*
10157 LDFLAGS="$save_LDFLAGS"
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10161 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10163 if test x"$lt_cv_prog_compiler__b" = xyes; then
10164 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10165 else
10166 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10170 esac
10172 if test "$with_gnu_ld" = no; then
10173 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10174 hardcode_libdir_separator=:
10176 case $host_cpu in
10177 hppa*64*|ia64*)
10178 hardcode_direct=no
10179 hardcode_shlibpath_var=no
10182 hardcode_direct=yes
10183 hardcode_direct_absolute=yes
10184 export_dynamic_flag_spec='${wl}-E'
10186 # hardcode_minus_L: Not really in the search PATH,
10187 # but as the default location of the library.
10188 hardcode_minus_L=yes
10190 esac
10194 irix5* | irix6* | nonstopux*)
10195 if test "$GCC" = yes; then
10196 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10197 # Try to use the -exported_symbol ld option, if it does not
10198 # work, assume that -exports_file does not work either and
10199 # implicitly export all symbols.
10200 save_LDFLAGS="$LDFLAGS"
10201 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10202 if test x$gcc_no_link = xyes; then
10203 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10206 /* end confdefs.h. */
10207 int foo(void) {}
10208 _ACEOF
10209 if ac_fn_c_try_link "$LINENO"; then :
10210 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10213 rm -f core conftest.err conftest.$ac_objext \
10214 conftest$ac_exeext conftest.$ac_ext
10215 LDFLAGS="$save_LDFLAGS"
10216 else
10217 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10218 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10220 archive_cmds_need_lc='no'
10221 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10222 hardcode_libdir_separator=:
10223 inherit_rpath=yes
10224 link_all_deplibs=yes
10227 netbsd*)
10228 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10229 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10230 else
10231 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10233 hardcode_libdir_flag_spec='-R$libdir'
10234 hardcode_direct=yes
10235 hardcode_shlibpath_var=no
10238 newsos6)
10239 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10240 hardcode_direct=yes
10241 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10242 hardcode_libdir_separator=:
10243 hardcode_shlibpath_var=no
10246 *nto* | *qnx*)
10249 openbsd*)
10250 if test -f /usr/libexec/ld.so; then
10251 hardcode_direct=yes
10252 hardcode_shlibpath_var=no
10253 hardcode_direct_absolute=yes
10254 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10255 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10256 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10257 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10258 export_dynamic_flag_spec='${wl}-E'
10259 else
10260 case $host_os in
10261 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10262 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10263 hardcode_libdir_flag_spec='-R$libdir'
10266 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10267 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10269 esac
10271 else
10272 ld_shlibs=no
10276 os2*)
10277 hardcode_libdir_flag_spec='-L$libdir'
10278 hardcode_minus_L=yes
10279 allow_undefined_flag=unsupported
10280 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10281 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10284 osf3*)
10285 if test "$GCC" = yes; then
10286 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10287 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10288 else
10289 allow_undefined_flag=' -expect_unresolved \*'
10290 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10292 archive_cmds_need_lc='no'
10293 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10294 hardcode_libdir_separator=:
10297 osf4* | osf5*) # as osf3* with the addition of -msym flag
10298 if test "$GCC" = yes; then
10299 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10300 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10301 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10302 else
10303 allow_undefined_flag=' -expect_unresolved \*'
10304 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10305 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10306 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10308 # Both c and cxx compiler support -rpath directly
10309 hardcode_libdir_flag_spec='-rpath $libdir'
10311 archive_cmds_need_lc='no'
10312 hardcode_libdir_separator=:
10315 solaris*)
10316 no_undefined_flag=' -z defs'
10317 if test "$GCC" = yes; then
10318 wlarc='${wl}'
10319 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10320 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10321 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10322 else
10323 case `$CC -V 2>&1` in
10324 *"Compilers 5.0"*)
10325 wlarc=''
10326 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10327 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10328 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10331 wlarc='${wl}'
10332 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10333 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10334 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10336 esac
10338 hardcode_libdir_flag_spec='-R$libdir'
10339 hardcode_shlibpath_var=no
10340 case $host_os in
10341 solaris2.[0-5] | solaris2.[0-5].*) ;;
10343 # The compiler driver will combine and reorder linker options,
10344 # but understands `-z linker_flag'. GCC discards it without `$wl',
10345 # but is careful enough not to reorder.
10346 # Supported since Solaris 2.6 (maybe 2.5.1?)
10347 if test "$GCC" = yes; then
10348 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10349 else
10350 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10353 esac
10354 link_all_deplibs=yes
10357 sunos4*)
10358 if test "x$host_vendor" = xsequent; then
10359 # Use $CC to link under sequent, because it throws in some extra .o
10360 # files that make .init and .fini sections work.
10361 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10362 else
10363 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10365 hardcode_libdir_flag_spec='-L$libdir'
10366 hardcode_direct=yes
10367 hardcode_minus_L=yes
10368 hardcode_shlibpath_var=no
10371 sysv4)
10372 case $host_vendor in
10373 sni)
10374 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10375 hardcode_direct=yes # is this really true???
10377 siemens)
10378 ## LD is ld it makes a PLAMLIB
10379 ## CC just makes a GrossModule.
10380 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10381 reload_cmds='$CC -r -o $output$reload_objs'
10382 hardcode_direct=no
10384 motorola)
10385 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10386 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10388 esac
10389 runpath_var='LD_RUN_PATH'
10390 hardcode_shlibpath_var=no
10393 sysv4.3*)
10394 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10395 hardcode_shlibpath_var=no
10396 export_dynamic_flag_spec='-Bexport'
10399 sysv4*MP*)
10400 if test -d /usr/nec; then
10401 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10402 hardcode_shlibpath_var=no
10403 runpath_var=LD_RUN_PATH
10404 hardcode_runpath_var=yes
10405 ld_shlibs=yes
10409 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10410 no_undefined_flag='${wl}-z,text'
10411 archive_cmds_need_lc=no
10412 hardcode_shlibpath_var=no
10413 runpath_var='LD_RUN_PATH'
10415 if test "$GCC" = yes; then
10416 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10417 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10418 else
10419 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10420 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10424 sysv5* | sco3.2v5* | sco5v6*)
10425 # Note: We can NOT use -z defs as we might desire, because we do not
10426 # link with -lc, and that would cause any symbols used from libc to
10427 # always be unresolved, which means just about no library would
10428 # ever link correctly. If we're not using GNU ld we use -z text
10429 # though, which does catch some bad symbols but isn't as heavy-handed
10430 # as -z defs.
10431 no_undefined_flag='${wl}-z,text'
10432 allow_undefined_flag='${wl}-z,nodefs'
10433 archive_cmds_need_lc=no
10434 hardcode_shlibpath_var=no
10435 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10436 hardcode_libdir_separator=':'
10437 link_all_deplibs=yes
10438 export_dynamic_flag_spec='${wl}-Bexport'
10439 runpath_var='LD_RUN_PATH'
10441 if test "$GCC" = yes; then
10442 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10443 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10444 else
10445 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10446 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10450 uts4*)
10451 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10452 hardcode_libdir_flag_spec='-L$libdir'
10453 hardcode_shlibpath_var=no
10457 ld_shlibs=no
10459 esac
10461 if test x$host_vendor = xsni; then
10462 case $host in
10463 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10464 export_dynamic_flag_spec='${wl}-Blargedynsym'
10466 esac
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10471 $as_echo "$ld_shlibs" >&6; }
10472 test "$ld_shlibs" = no && can_build_shared=no
10474 with_gnu_ld=$with_gnu_ld
10491 # Do we need to explicitly link libc?
10493 case "x$archive_cmds_need_lc" in
10494 x|xyes)
10495 # Assume -lc should be added
10496 archive_cmds_need_lc=yes
10498 if test "$enable_shared" = yes && test "$GCC" = yes; then
10499 case $archive_cmds in
10500 *'~'*)
10501 # FIXME: we may have to deal with multi-command sequences.
10503 '$CC '*)
10504 # Test whether the compiler implicitly links with -lc since on some
10505 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10506 # to ld, don't add -lc before -lgcc.
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10508 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10509 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10510 $as_echo_n "(cached) " >&6
10511 else
10512 $RM conftest*
10513 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10515 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10516 (eval $ac_compile) 2>&5
10517 ac_status=$?
10518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10519 test $ac_status = 0; } 2>conftest.err; then
10520 soname=conftest
10521 lib=conftest
10522 libobjs=conftest.$ac_objext
10523 deplibs=
10524 wl=$lt_prog_compiler_wl
10525 pic_flag=$lt_prog_compiler_pic
10526 compiler_flags=-v
10527 linker_flags=-v
10528 verstring=
10529 output_objdir=.
10530 libname=conftest
10531 lt_save_allow_undefined_flag=$allow_undefined_flag
10532 allow_undefined_flag=
10533 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10534 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10535 ac_status=$?
10536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10537 test $ac_status = 0; }
10538 then
10539 lt_cv_archive_cmds_need_lc=no
10540 else
10541 lt_cv_archive_cmds_need_lc=yes
10543 allow_undefined_flag=$lt_save_allow_undefined_flag
10544 else
10545 cat conftest.err 1>&5
10547 $RM conftest*
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10551 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10552 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10554 esac
10557 esac
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10716 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10718 if test "$GCC" = yes; then
10719 case $host_os in
10720 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10721 *) lt_awk_arg="/^libraries:/" ;;
10722 esac
10723 case $host_os in
10724 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10725 *) lt_sed_strip_eq="s,=/,/,g" ;;
10726 esac
10727 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10728 case $lt_search_path_spec in
10729 *\;*)
10730 # if the path contains ";" then we assume it to be the separator
10731 # otherwise default to the standard path separator (i.e. ":") - it is
10732 # assumed that no part of a normal pathname contains ";" but that should
10733 # okay in the real world where ";" in dirpaths is itself problematic.
10734 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10737 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10739 esac
10740 # Ok, now we have the path, separated by spaces, we can step through it
10741 # and add multilib dir if necessary.
10742 lt_tmp_lt_search_path_spec=
10743 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10744 for lt_sys_path in $lt_search_path_spec; do
10745 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10746 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10747 else
10748 test -d "$lt_sys_path" && \
10749 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10751 done
10752 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10753 BEGIN {RS=" "; FS="/|\n";} {
10754 lt_foo="";
10755 lt_count=0;
10756 for (lt_i = NF; lt_i > 0; lt_i--) {
10757 if ($lt_i != "" && $lt_i != ".") {
10758 if ($lt_i == "..") {
10759 lt_count++;
10760 } else {
10761 if (lt_count == 0) {
10762 lt_foo="/" $lt_i lt_foo;
10763 } else {
10764 lt_count--;
10769 if (lt_foo != "") { lt_freq[lt_foo]++; }
10770 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10772 # AWK program above erroneously prepends '/' to C:/dos/paths
10773 # for these hosts.
10774 case $host_os in
10775 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10776 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10777 esac
10778 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10779 else
10780 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10782 library_names_spec=
10783 libname_spec='lib$name'
10784 soname_spec=
10785 shrext_cmds=".so"
10786 postinstall_cmds=
10787 postuninstall_cmds=
10788 finish_cmds=
10789 finish_eval=
10790 shlibpath_var=
10791 shlibpath_overrides_runpath=unknown
10792 version_type=none
10793 dynamic_linker="$host_os ld.so"
10794 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10795 need_lib_prefix=unknown
10796 hardcode_into_libs=no
10798 # when you set need_version to no, make sure it does not cause -set_version
10799 # flags to be left without arguments
10800 need_version=unknown
10802 case $host_os in
10803 aix3*)
10804 version_type=linux
10805 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10806 shlibpath_var=LIBPATH
10808 # AIX 3 has no versioning support, so we append a major version to the name.
10809 soname_spec='${libname}${release}${shared_ext}$major'
10812 aix[4-9]*)
10813 version_type=linux
10814 need_lib_prefix=no
10815 need_version=no
10816 hardcode_into_libs=yes
10817 if test "$host_cpu" = ia64; then
10818 # AIX 5 supports IA64
10819 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10820 shlibpath_var=LD_LIBRARY_PATH
10821 else
10822 # With GCC up to 2.95.x, collect2 would create an import file
10823 # for dependence libraries. The import file would start with
10824 # the line `#! .'. This would cause the generated library to
10825 # depend on `.', always an invalid library. This was fixed in
10826 # development snapshots of GCC prior to 3.0.
10827 case $host_os in
10828 aix4 | aix4.[01] | aix4.[01].*)
10829 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10830 echo ' yes '
10831 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10833 else
10834 can_build_shared=no
10837 esac
10838 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10839 # soname into executable. Probably we can add versioning support to
10840 # collect2, so additional links can be useful in future.
10841 if test "$aix_use_runtimelinking" = yes; then
10842 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10843 # instead of lib<name>.a to let people know that these are not
10844 # typical AIX shared libraries.
10845 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10846 else
10847 # We preserve .a as extension for shared libraries through AIX4.2
10848 # and later when we are not doing run time linking.
10849 library_names_spec='${libname}${release}.a $libname.a'
10850 soname_spec='${libname}${release}${shared_ext}$major'
10852 shlibpath_var=LIBPATH
10856 amigaos*)
10857 case $host_cpu in
10858 powerpc)
10859 # Since July 2007 AmigaOS4 officially supports .so libraries.
10860 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10861 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10863 m68k)
10864 library_names_spec='$libname.ixlibrary $libname.a'
10865 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10866 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10868 esac
10871 beos*)
10872 library_names_spec='${libname}${shared_ext}'
10873 dynamic_linker="$host_os ld.so"
10874 shlibpath_var=LIBRARY_PATH
10877 bsdi[45]*)
10878 version_type=linux
10879 need_version=no
10880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10881 soname_spec='${libname}${release}${shared_ext}$major'
10882 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10883 shlibpath_var=LD_LIBRARY_PATH
10884 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10885 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10886 # the default ld.so.conf also contains /usr/contrib/lib and
10887 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10888 # libtool to hard-code these into programs
10891 cygwin* | mingw* | pw32* | cegcc*)
10892 version_type=windows
10893 shrext_cmds=".dll"
10894 need_version=no
10895 need_lib_prefix=no
10897 case $GCC,$host_os in
10898 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10899 library_names_spec='$libname.dll.a'
10900 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10901 postinstall_cmds='base_file=`basename \${file}`~
10902 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10903 dldir=$destdir/`dirname \$dlpath`~
10904 test -d \$dldir || mkdir -p \$dldir~
10905 $install_prog $dir/$dlname \$dldir/$dlname~
10906 chmod a+x \$dldir/$dlname~
10907 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10908 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10910 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10911 dlpath=$dir/\$dldll~
10912 $RM \$dlpath'
10913 shlibpath_overrides_runpath=yes
10915 case $host_os in
10916 cygwin*)
10917 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10918 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10920 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10922 mingw* | cegcc*)
10923 # MinGW DLLs use traditional 'lib' prefix
10924 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10926 pw32*)
10927 # pw32 DLLs use 'pw' prefix rather than 'lib'
10928 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10930 esac
10934 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10936 esac
10937 dynamic_linker='Win32 ld.exe'
10938 # FIXME: first we should search . and the directory the executable is in
10939 shlibpath_var=PATH
10942 darwin* | rhapsody*)
10943 dynamic_linker="$host_os dyld"
10944 version_type=darwin
10945 need_lib_prefix=no
10946 need_version=no
10947 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10948 soname_spec='${libname}${release}${major}$shared_ext'
10949 shlibpath_overrides_runpath=yes
10950 shlibpath_var=DYLD_LIBRARY_PATH
10951 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10953 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10954 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10957 dgux*)
10958 version_type=linux
10959 need_lib_prefix=no
10960 need_version=no
10961 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10962 soname_spec='${libname}${release}${shared_ext}$major'
10963 shlibpath_var=LD_LIBRARY_PATH
10966 freebsd* | dragonfly*)
10967 # DragonFly does not have aout. When/if they implement a new
10968 # versioning mechanism, adjust this.
10969 if test -x /usr/bin/objformat; then
10970 objformat=`/usr/bin/objformat`
10971 else
10972 case $host_os in
10973 freebsd[23].*) objformat=aout ;;
10974 *) objformat=elf ;;
10975 esac
10977 version_type=freebsd-$objformat
10978 case $version_type in
10979 freebsd-elf*)
10980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10981 need_version=no
10982 need_lib_prefix=no
10984 freebsd-*)
10985 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10986 need_version=yes
10988 esac
10989 shlibpath_var=LD_LIBRARY_PATH
10990 case $host_os in
10991 freebsd2.*)
10992 shlibpath_overrides_runpath=yes
10994 freebsd3.[01]* | freebsdelf3.[01]*)
10995 shlibpath_overrides_runpath=yes
10996 hardcode_into_libs=yes
10998 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10999 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11000 shlibpath_overrides_runpath=no
11001 hardcode_into_libs=yes
11003 *) # from 4.6 on, and DragonFly
11004 shlibpath_overrides_runpath=yes
11005 hardcode_into_libs=yes
11007 esac
11010 gnu*)
11011 version_type=linux
11012 need_lib_prefix=no
11013 need_version=no
11014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11015 soname_spec='${libname}${release}${shared_ext}$major'
11016 shlibpath_var=LD_LIBRARY_PATH
11017 hardcode_into_libs=yes
11020 haiku*)
11021 version_type=linux
11022 need_lib_prefix=no
11023 need_version=no
11024 dynamic_linker="$host_os runtime_loader"
11025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11026 soname_spec='${libname}${release}${shared_ext}$major'
11027 shlibpath_var=LIBRARY_PATH
11028 shlibpath_overrides_runpath=yes
11029 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11030 hardcode_into_libs=yes
11033 hpux9* | hpux10* | hpux11*)
11034 # Give a soname corresponding to the major version so that dld.sl refuses to
11035 # link against other versions.
11036 version_type=sunos
11037 need_lib_prefix=no
11038 need_version=no
11039 case $host_cpu in
11040 ia64*)
11041 shrext_cmds='.so'
11042 hardcode_into_libs=yes
11043 dynamic_linker="$host_os dld.so"
11044 shlibpath_var=LD_LIBRARY_PATH
11045 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11046 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11047 soname_spec='${libname}${release}${shared_ext}$major'
11048 if test "X$HPUX_IA64_MODE" = X32; then
11049 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11050 else
11051 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11053 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11055 hppa*64*)
11056 shrext_cmds='.sl'
11057 hardcode_into_libs=yes
11058 dynamic_linker="$host_os dld.sl"
11059 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11060 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11062 soname_spec='${libname}${release}${shared_ext}$major'
11063 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11064 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11067 shrext_cmds='.sl'
11068 dynamic_linker="$host_os dld.sl"
11069 shlibpath_var=SHLIB_PATH
11070 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11072 soname_spec='${libname}${release}${shared_ext}$major'
11074 esac
11075 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11076 postinstall_cmds='chmod 555 $lib'
11077 # or fails outright, so override atomically:
11078 install_override_mode=555
11081 interix[3-9]*)
11082 version_type=linux
11083 need_lib_prefix=no
11084 need_version=no
11085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11086 soname_spec='${libname}${release}${shared_ext}$major'
11087 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11088 shlibpath_var=LD_LIBRARY_PATH
11089 shlibpath_overrides_runpath=no
11090 hardcode_into_libs=yes
11093 irix5* | irix6* | nonstopux*)
11094 case $host_os in
11095 nonstopux*) version_type=nonstopux ;;
11097 if test "$lt_cv_prog_gnu_ld" = yes; then
11098 version_type=linux
11099 else
11100 version_type=irix
11101 fi ;;
11102 esac
11103 need_lib_prefix=no
11104 need_version=no
11105 soname_spec='${libname}${release}${shared_ext}$major'
11106 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11107 case $host_os in
11108 irix5* | nonstopux*)
11109 libsuff= shlibsuff=
11112 case $LD in # libtool.m4 will add one of these switches to LD
11113 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11114 libsuff= shlibsuff= libmagic=32-bit;;
11115 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11116 libsuff=32 shlibsuff=N32 libmagic=N32;;
11117 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11118 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11119 *) libsuff= shlibsuff= libmagic=never-match;;
11120 esac
11122 esac
11123 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11124 shlibpath_overrides_runpath=no
11125 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11126 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11127 hardcode_into_libs=yes
11130 # No shared lib support for Linux oldld, aout, or coff.
11131 linux*oldld* | linux*aout* | linux*coff*)
11132 dynamic_linker=no
11135 # This must be Linux ELF.
11136 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11137 version_type=linux
11138 need_lib_prefix=no
11139 need_version=no
11140 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11141 soname_spec='${libname}${release}${shared_ext}$major'
11142 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11143 shlibpath_var=LD_LIBRARY_PATH
11144 shlibpath_overrides_runpath=no
11146 # Some binutils ld are patched to set DT_RUNPATH
11147 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11148 $as_echo_n "(cached) " >&6
11149 else
11150 lt_cv_shlibpath_overrides_runpath=no
11151 save_LDFLAGS=$LDFLAGS
11152 save_libdir=$libdir
11153 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11154 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11155 if test x$gcc_no_link = xyes; then
11156 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11159 /* end confdefs.h. */
11162 main ()
11166 return 0;
11168 _ACEOF
11169 if ac_fn_c_try_link "$LINENO"; then :
11170 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11171 lt_cv_shlibpath_overrides_runpath=yes
11174 rm -f core conftest.err conftest.$ac_objext \
11175 conftest$ac_exeext conftest.$ac_ext
11176 LDFLAGS=$save_LDFLAGS
11177 libdir=$save_libdir
11181 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11183 # This implies no fast_install, which is unacceptable.
11184 # Some rework will be needed to allow for fast_install
11185 # before this can be enabled.
11186 hardcode_into_libs=yes
11188 # Append ld.so.conf contents to the search path
11189 if test -f /etc/ld.so.conf; then
11190 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11191 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11194 # We used to test for /lib/ld.so.1 and disable shared libraries on
11195 # powerpc, because MkLinux only supported shared libraries with the
11196 # GNU dynamic linker. Since this was broken with cross compilers,
11197 # most powerpc-linux boxes support dynamic linking these days and
11198 # people can always --disable-shared, the test was removed, and we
11199 # assume the GNU/Linux dynamic linker is in use.
11200 dynamic_linker='GNU/Linux ld.so'
11203 netbsd*)
11204 version_type=sunos
11205 need_lib_prefix=no
11206 need_version=no
11207 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11208 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11209 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11210 dynamic_linker='NetBSD (a.out) ld.so'
11211 else
11212 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11213 soname_spec='${libname}${release}${shared_ext}$major'
11214 dynamic_linker='NetBSD ld.elf_so'
11216 shlibpath_var=LD_LIBRARY_PATH
11217 shlibpath_overrides_runpath=yes
11218 hardcode_into_libs=yes
11221 newsos6)
11222 version_type=linux
11223 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11224 shlibpath_var=LD_LIBRARY_PATH
11225 shlibpath_overrides_runpath=yes
11228 *nto* | *qnx*)
11229 version_type=qnx
11230 need_lib_prefix=no
11231 need_version=no
11232 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11233 soname_spec='${libname}${release}${shared_ext}$major'
11234 shlibpath_var=LD_LIBRARY_PATH
11235 shlibpath_overrides_runpath=no
11236 hardcode_into_libs=yes
11237 dynamic_linker='ldqnx.so'
11240 openbsd*)
11241 version_type=sunos
11242 sys_lib_dlsearch_path_spec="/usr/lib"
11243 need_lib_prefix=no
11244 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11245 case $host_os in
11246 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11247 *) need_version=no ;;
11248 esac
11249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11250 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11251 shlibpath_var=LD_LIBRARY_PATH
11252 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11253 case $host_os in
11254 openbsd2.[89] | openbsd2.[89].*)
11255 shlibpath_overrides_runpath=no
11258 shlibpath_overrides_runpath=yes
11260 esac
11261 else
11262 shlibpath_overrides_runpath=yes
11266 os2*)
11267 libname_spec='$name'
11268 shrext_cmds=".dll"
11269 need_lib_prefix=no
11270 library_names_spec='$libname${shared_ext} $libname.a'
11271 dynamic_linker='OS/2 ld.exe'
11272 shlibpath_var=LIBPATH
11275 osf3* | osf4* | osf5*)
11276 version_type=osf
11277 need_lib_prefix=no
11278 need_version=no
11279 soname_spec='${libname}${release}${shared_ext}$major'
11280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11281 shlibpath_var=LD_LIBRARY_PATH
11282 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11283 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11286 rdos*)
11287 dynamic_linker=no
11290 solaris*)
11291 version_type=linux
11292 need_lib_prefix=no
11293 need_version=no
11294 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11295 soname_spec='${libname}${release}${shared_ext}$major'
11296 shlibpath_var=LD_LIBRARY_PATH
11297 shlibpath_overrides_runpath=yes
11298 hardcode_into_libs=yes
11299 # ldd complains unless libraries are executable
11300 postinstall_cmds='chmod +x $lib'
11303 sunos4*)
11304 version_type=sunos
11305 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11306 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11307 shlibpath_var=LD_LIBRARY_PATH
11308 shlibpath_overrides_runpath=yes
11309 if test "$with_gnu_ld" = yes; then
11310 need_lib_prefix=no
11312 need_version=yes
11315 sysv4 | sysv4.3*)
11316 version_type=linux
11317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11318 soname_spec='${libname}${release}${shared_ext}$major'
11319 shlibpath_var=LD_LIBRARY_PATH
11320 case $host_vendor in
11321 sni)
11322 shlibpath_overrides_runpath=no
11323 need_lib_prefix=no
11324 runpath_var=LD_RUN_PATH
11326 siemens)
11327 need_lib_prefix=no
11329 motorola)
11330 need_lib_prefix=no
11331 need_version=no
11332 shlibpath_overrides_runpath=no
11333 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11335 esac
11338 sysv4*MP*)
11339 if test -d /usr/nec ;then
11340 version_type=linux
11341 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11342 soname_spec='$libname${shared_ext}.$major'
11343 shlibpath_var=LD_LIBRARY_PATH
11347 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11348 version_type=freebsd-elf
11349 need_lib_prefix=no
11350 need_version=no
11351 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11352 soname_spec='${libname}${release}${shared_ext}$major'
11353 shlibpath_var=LD_LIBRARY_PATH
11354 shlibpath_overrides_runpath=yes
11355 hardcode_into_libs=yes
11356 if test "$with_gnu_ld" = yes; then
11357 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11358 else
11359 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11360 case $host_os in
11361 sco3.2v5*)
11362 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11364 esac
11366 sys_lib_dlsearch_path_spec='/usr/lib'
11369 tpf*)
11370 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11371 version_type=linux
11372 need_lib_prefix=no
11373 need_version=no
11374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11375 shlibpath_var=LD_LIBRARY_PATH
11376 shlibpath_overrides_runpath=no
11377 hardcode_into_libs=yes
11380 uts4*)
11381 version_type=linux
11382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11383 soname_spec='${libname}${release}${shared_ext}$major'
11384 shlibpath_var=LD_LIBRARY_PATH
11388 dynamic_linker=no
11390 esac
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11392 $as_echo "$dynamic_linker" >&6; }
11393 test "$dynamic_linker" = no && can_build_shared=no
11395 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11396 if test "$GCC" = yes; then
11397 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11400 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11401 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11403 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11404 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11499 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11500 hardcode_action=
11501 if test -n "$hardcode_libdir_flag_spec" ||
11502 test -n "$runpath_var" ||
11503 test "X$hardcode_automatic" = "Xyes" ; then
11505 # We can hardcode non-existent directories.
11506 if test "$hardcode_direct" != no &&
11507 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11508 # have to relink, otherwise we might link with an installed library
11509 # when we should be linking with a yet-to-be-installed one
11510 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11511 test "$hardcode_minus_L" != no; then
11512 # Linking always hardcodes the temporary library directory.
11513 hardcode_action=relink
11514 else
11515 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11516 hardcode_action=immediate
11518 else
11519 # We cannot hardcode anything, or else we can only hardcode existing
11520 # directories.
11521 hardcode_action=unsupported
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11524 $as_echo "$hardcode_action" >&6; }
11526 if test "$hardcode_action" = relink ||
11527 test "$inherit_rpath" = yes; then
11528 # Fast installation is not supported
11529 enable_fast_install=no
11530 elif test "$shlibpath_overrides_runpath" = yes ||
11531 test "$enable_shared" = no; then
11532 # Fast installation is not necessary
11533 enable_fast_install=needless
11541 if test "x$enable_dlopen" != xyes; then
11542 enable_dlopen=unknown
11543 enable_dlopen_self=unknown
11544 enable_dlopen_self_static=unknown
11545 else
11546 lt_cv_dlopen=no
11547 lt_cv_dlopen_libs=
11549 case $host_os in
11550 beos*)
11551 lt_cv_dlopen="load_add_on"
11552 lt_cv_dlopen_libs=
11553 lt_cv_dlopen_self=yes
11556 mingw* | pw32* | cegcc*)
11557 lt_cv_dlopen="LoadLibrary"
11558 lt_cv_dlopen_libs=
11561 cygwin*)
11562 lt_cv_dlopen="dlopen"
11563 lt_cv_dlopen_libs=
11566 darwin*)
11567 # if libdl is installed we need to link against it
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11569 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11570 if ${ac_cv_lib_dl_dlopen+:} false; then :
11571 $as_echo_n "(cached) " >&6
11572 else
11573 ac_check_lib_save_LIBS=$LIBS
11574 LIBS="-ldl $LIBS"
11575 if test x$gcc_no_link = xyes; then
11576 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11579 /* end confdefs.h. */
11581 /* Override any GCC internal prototype to avoid an error.
11582 Use char because int might match the return type of a GCC
11583 builtin and then its argument prototype would still apply. */
11584 #ifdef __cplusplus
11585 extern "C"
11586 #endif
11587 char dlopen ();
11589 main ()
11591 return dlopen ();
11593 return 0;
11595 _ACEOF
11596 if ac_fn_c_try_link "$LINENO"; then :
11597 ac_cv_lib_dl_dlopen=yes
11598 else
11599 ac_cv_lib_dl_dlopen=no
11601 rm -f core conftest.err conftest.$ac_objext \
11602 conftest$ac_exeext conftest.$ac_ext
11603 LIBS=$ac_check_lib_save_LIBS
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11606 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11607 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11608 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11609 else
11611 lt_cv_dlopen="dyld"
11612 lt_cv_dlopen_libs=
11613 lt_cv_dlopen_self=yes
11620 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11621 if test "x$ac_cv_func_shl_load" = xyes; then :
11622 lt_cv_dlopen="shl_load"
11623 else
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11625 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11626 if ${ac_cv_lib_dld_shl_load+:} false; then :
11627 $as_echo_n "(cached) " >&6
11628 else
11629 ac_check_lib_save_LIBS=$LIBS
11630 LIBS="-ldld $LIBS"
11631 if test x$gcc_no_link = xyes; then
11632 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11635 /* end confdefs.h. */
11637 /* Override any GCC internal prototype to avoid an error.
11638 Use char because int might match the return type of a GCC
11639 builtin and then its argument prototype would still apply. */
11640 #ifdef __cplusplus
11641 extern "C"
11642 #endif
11643 char shl_load ();
11645 main ()
11647 return shl_load ();
11649 return 0;
11651 _ACEOF
11652 if ac_fn_c_try_link "$LINENO"; then :
11653 ac_cv_lib_dld_shl_load=yes
11654 else
11655 ac_cv_lib_dld_shl_load=no
11657 rm -f core conftest.err conftest.$ac_objext \
11658 conftest$ac_exeext conftest.$ac_ext
11659 LIBS=$ac_check_lib_save_LIBS
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11662 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11663 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11664 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11665 else
11666 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11667 if test "x$ac_cv_func_dlopen" = xyes; then :
11668 lt_cv_dlopen="dlopen"
11669 else
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11671 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11672 if ${ac_cv_lib_dl_dlopen+:} false; then :
11673 $as_echo_n "(cached) " >&6
11674 else
11675 ac_check_lib_save_LIBS=$LIBS
11676 LIBS="-ldl $LIBS"
11677 if test x$gcc_no_link = xyes; then
11678 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11681 /* end confdefs.h. */
11683 /* Override any GCC internal prototype to avoid an error.
11684 Use char because int might match the return type of a GCC
11685 builtin and then its argument prototype would still apply. */
11686 #ifdef __cplusplus
11687 extern "C"
11688 #endif
11689 char dlopen ();
11691 main ()
11693 return dlopen ();
11695 return 0;
11697 _ACEOF
11698 if ac_fn_c_try_link "$LINENO"; then :
11699 ac_cv_lib_dl_dlopen=yes
11700 else
11701 ac_cv_lib_dl_dlopen=no
11703 rm -f core conftest.err conftest.$ac_objext \
11704 conftest$ac_exeext conftest.$ac_ext
11705 LIBS=$ac_check_lib_save_LIBS
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11708 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11709 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11710 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11711 else
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11713 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11714 if ${ac_cv_lib_svld_dlopen+:} false; then :
11715 $as_echo_n "(cached) " >&6
11716 else
11717 ac_check_lib_save_LIBS=$LIBS
11718 LIBS="-lsvld $LIBS"
11719 if test x$gcc_no_link = xyes; then
11720 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11723 /* end confdefs.h. */
11725 /* Override any GCC internal prototype to avoid an error.
11726 Use char because int might match the return type of a GCC
11727 builtin and then its argument prototype would still apply. */
11728 #ifdef __cplusplus
11729 extern "C"
11730 #endif
11731 char dlopen ();
11733 main ()
11735 return dlopen ();
11737 return 0;
11739 _ACEOF
11740 if ac_fn_c_try_link "$LINENO"; then :
11741 ac_cv_lib_svld_dlopen=yes
11742 else
11743 ac_cv_lib_svld_dlopen=no
11745 rm -f core conftest.err conftest.$ac_objext \
11746 conftest$ac_exeext conftest.$ac_ext
11747 LIBS=$ac_check_lib_save_LIBS
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11750 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11751 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11752 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11753 else
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11755 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11756 if ${ac_cv_lib_dld_dld_link+:} false; then :
11757 $as_echo_n "(cached) " >&6
11758 else
11759 ac_check_lib_save_LIBS=$LIBS
11760 LIBS="-ldld $LIBS"
11761 if test x$gcc_no_link = xyes; then
11762 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11765 /* end confdefs.h. */
11767 /* Override any GCC internal prototype to avoid an error.
11768 Use char because int might match the return type of a GCC
11769 builtin and then its argument prototype would still apply. */
11770 #ifdef __cplusplus
11771 extern "C"
11772 #endif
11773 char dld_link ();
11775 main ()
11777 return dld_link ();
11779 return 0;
11781 _ACEOF
11782 if ac_fn_c_try_link "$LINENO"; then :
11783 ac_cv_lib_dld_dld_link=yes
11784 else
11785 ac_cv_lib_dld_dld_link=no
11787 rm -f core conftest.err conftest.$ac_objext \
11788 conftest$ac_exeext conftest.$ac_ext
11789 LIBS=$ac_check_lib_save_LIBS
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11792 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11793 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11794 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11813 esac
11815 if test "x$lt_cv_dlopen" != xno; then
11816 enable_dlopen=yes
11817 else
11818 enable_dlopen=no
11821 case $lt_cv_dlopen in
11822 dlopen)
11823 save_CPPFLAGS="$CPPFLAGS"
11824 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11826 save_LDFLAGS="$LDFLAGS"
11827 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11829 save_LIBS="$LIBS"
11830 LIBS="$lt_cv_dlopen_libs $LIBS"
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11833 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11834 if ${lt_cv_dlopen_self+:} false; then :
11835 $as_echo_n "(cached) " >&6
11836 else
11837 if test "$cross_compiling" = yes; then :
11838 lt_cv_dlopen_self=cross
11839 else
11840 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11841 lt_status=$lt_dlunknown
11842 cat > conftest.$ac_ext <<_LT_EOF
11843 #line 11843 "configure"
11844 #include "confdefs.h"
11846 #if HAVE_DLFCN_H
11847 #include <dlfcn.h>
11848 #endif
11850 #include <stdio.h>
11852 #ifdef RTLD_GLOBAL
11853 # define LT_DLGLOBAL RTLD_GLOBAL
11854 #else
11855 # ifdef DL_GLOBAL
11856 # define LT_DLGLOBAL DL_GLOBAL
11857 # else
11858 # define LT_DLGLOBAL 0
11859 # endif
11860 #endif
11862 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11863 find out it does not work in some platform. */
11864 #ifndef LT_DLLAZY_OR_NOW
11865 # ifdef RTLD_LAZY
11866 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11867 # else
11868 # ifdef DL_LAZY
11869 # define LT_DLLAZY_OR_NOW DL_LAZY
11870 # else
11871 # ifdef RTLD_NOW
11872 # define LT_DLLAZY_OR_NOW RTLD_NOW
11873 # else
11874 # ifdef DL_NOW
11875 # define LT_DLLAZY_OR_NOW DL_NOW
11876 # else
11877 # define LT_DLLAZY_OR_NOW 0
11878 # endif
11879 # endif
11880 # endif
11881 # endif
11882 #endif
11884 /* When -fvisbility=hidden is used, assume the code has been annotated
11885 correspondingly for the symbols needed. */
11886 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11887 void fnord () __attribute__((visibility("default")));
11888 #endif
11890 void fnord () { int i=42; }
11891 int main ()
11893 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11894 int status = $lt_dlunknown;
11896 if (self)
11898 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11899 else
11901 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11902 else puts (dlerror ());
11904 /* dlclose (self); */
11906 else
11907 puts (dlerror ());
11909 return status;
11911 _LT_EOF
11912 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11913 (eval $ac_link) 2>&5
11914 ac_status=$?
11915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11916 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11917 (./conftest; exit; ) >&5 2>/dev/null
11918 lt_status=$?
11919 case x$lt_status in
11920 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11921 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11922 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11923 esac
11924 else :
11925 # compilation failed
11926 lt_cv_dlopen_self=no
11929 rm -fr conftest*
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11934 $as_echo "$lt_cv_dlopen_self" >&6; }
11936 if test "x$lt_cv_dlopen_self" = xyes; then
11937 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11939 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11940 if ${lt_cv_dlopen_self_static+:} false; then :
11941 $as_echo_n "(cached) " >&6
11942 else
11943 if test "$cross_compiling" = yes; then :
11944 lt_cv_dlopen_self_static=cross
11945 else
11946 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11947 lt_status=$lt_dlunknown
11948 cat > conftest.$ac_ext <<_LT_EOF
11949 #line 11949 "configure"
11950 #include "confdefs.h"
11952 #if HAVE_DLFCN_H
11953 #include <dlfcn.h>
11954 #endif
11956 #include <stdio.h>
11958 #ifdef RTLD_GLOBAL
11959 # define LT_DLGLOBAL RTLD_GLOBAL
11960 #else
11961 # ifdef DL_GLOBAL
11962 # define LT_DLGLOBAL DL_GLOBAL
11963 # else
11964 # define LT_DLGLOBAL 0
11965 # endif
11966 #endif
11968 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11969 find out it does not work in some platform. */
11970 #ifndef LT_DLLAZY_OR_NOW
11971 # ifdef RTLD_LAZY
11972 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11973 # else
11974 # ifdef DL_LAZY
11975 # define LT_DLLAZY_OR_NOW DL_LAZY
11976 # else
11977 # ifdef RTLD_NOW
11978 # define LT_DLLAZY_OR_NOW RTLD_NOW
11979 # else
11980 # ifdef DL_NOW
11981 # define LT_DLLAZY_OR_NOW DL_NOW
11982 # else
11983 # define LT_DLLAZY_OR_NOW 0
11984 # endif
11985 # endif
11986 # endif
11987 # endif
11988 #endif
11990 /* When -fvisbility=hidden is used, assume the code has been annotated
11991 correspondingly for the symbols needed. */
11992 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11993 void fnord () __attribute__((visibility("default")));
11994 #endif
11996 void fnord () { int i=42; }
11997 int main ()
11999 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12000 int status = $lt_dlunknown;
12002 if (self)
12004 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12005 else
12007 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12008 else puts (dlerror ());
12010 /* dlclose (self); */
12012 else
12013 puts (dlerror ());
12015 return status;
12017 _LT_EOF
12018 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12019 (eval $ac_link) 2>&5
12020 ac_status=$?
12021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12022 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12023 (./conftest; exit; ) >&5 2>/dev/null
12024 lt_status=$?
12025 case x$lt_status in
12026 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12027 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12028 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12029 esac
12030 else :
12031 # compilation failed
12032 lt_cv_dlopen_self_static=no
12035 rm -fr conftest*
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12040 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12043 CPPFLAGS="$save_CPPFLAGS"
12044 LDFLAGS="$save_LDFLAGS"
12045 LIBS="$save_LIBS"
12047 esac
12049 case $lt_cv_dlopen_self in
12050 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12051 *) enable_dlopen_self=unknown ;;
12052 esac
12054 case $lt_cv_dlopen_self_static in
12055 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12056 *) enable_dlopen_self_static=unknown ;;
12057 esac
12076 striplib=
12077 old_striplib=
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12079 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12080 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12081 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12082 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12084 $as_echo "yes" >&6; }
12085 else
12086 # FIXME - insert some real tests, host_os isn't really good enough
12087 case $host_os in
12088 darwin*)
12089 if test -n "$STRIP" ; then
12090 striplib="$STRIP -x"
12091 old_striplib="$STRIP -S"
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12093 $as_echo "yes" >&6; }
12094 else
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12096 $as_echo "no" >&6; }
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12101 $as_echo "no" >&6; }
12103 esac
12117 # Report which library types will actually be built
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12119 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12121 $as_echo "$can_build_shared" >&6; }
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12124 $as_echo_n "checking whether to build shared libraries... " >&6; }
12125 test "$can_build_shared" = "no" && enable_shared=no
12127 # On AIX, shared libraries and static libraries use the same namespace, and
12128 # are all built from PIC.
12129 case $host_os in
12130 aix3*)
12131 test "$enable_shared" = yes && enable_static=no
12132 if test -n "$RANLIB"; then
12133 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12134 postinstall_cmds='$RANLIB $lib'
12138 aix[4-9]*)
12139 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12140 test "$enable_shared" = yes && enable_static=no
12143 esac
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12145 $as_echo "$enable_shared" >&6; }
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12148 $as_echo_n "checking whether to build static libraries... " >&6; }
12149 # Make sure either enable_shared or enable_static is yes.
12150 test "$enable_shared" = yes || enable_static=yes
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12152 $as_echo "$enable_static" >&6; }
12158 ac_ext=c
12159 ac_cpp='$CPP $CPPFLAGS'
12160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12164 CC="$lt_save_CC"
12166 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12167 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12168 (test "X$CXX" != "Xg++"))) ; then
12169 ac_ext=cpp
12170 ac_cpp='$CXXCPP $CPPFLAGS'
12171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12175 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12176 if test -z "$CXXCPP"; then
12177 if ${ac_cv_prog_CXXCPP+:} false; then :
12178 $as_echo_n "(cached) " >&6
12179 else
12180 # Double quotes because CXXCPP needs to be expanded
12181 for CXXCPP in "$CXX -E" "/lib/cpp"
12183 ac_preproc_ok=false
12184 for ac_cxx_preproc_warn_flag in '' yes
12186 # Use a header file that comes with gcc, so configuring glibc
12187 # with a fresh cross-compiler works.
12188 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12189 # <limits.h> exists even on freestanding compilers.
12190 # On the NeXT, cc -E runs the code through the compiler's parser,
12191 # not just through cpp. "Syntax error" is here to catch this case.
12192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12193 /* end confdefs.h. */
12194 #ifdef __STDC__
12195 # include <limits.h>
12196 #else
12197 # include <assert.h>
12198 #endif
12199 Syntax error
12200 _ACEOF
12201 if ac_fn_cxx_try_cpp "$LINENO"; then :
12203 else
12204 # Broken: fails on valid input.
12205 continue
12207 rm -f conftest.err conftest.i conftest.$ac_ext
12209 # OK, works on sane cases. Now check whether nonexistent headers
12210 # can be detected and how.
12211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12212 /* end confdefs.h. */
12213 #include <ac_nonexistent.h>
12214 _ACEOF
12215 if ac_fn_cxx_try_cpp "$LINENO"; then :
12216 # Broken: success on invalid input.
12217 continue
12218 else
12219 # Passes both tests.
12220 ac_preproc_ok=:
12221 break
12223 rm -f conftest.err conftest.i conftest.$ac_ext
12225 done
12226 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12227 rm -f conftest.i conftest.err conftest.$ac_ext
12228 if $ac_preproc_ok; then :
12229 break
12232 done
12233 ac_cv_prog_CXXCPP=$CXXCPP
12236 CXXCPP=$ac_cv_prog_CXXCPP
12237 else
12238 ac_cv_prog_CXXCPP=$CXXCPP
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12241 $as_echo "$CXXCPP" >&6; }
12242 ac_preproc_ok=false
12243 for ac_cxx_preproc_warn_flag in '' yes
12245 # Use a header file that comes with gcc, so configuring glibc
12246 # with a fresh cross-compiler works.
12247 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12248 # <limits.h> exists even on freestanding compilers.
12249 # On the NeXT, cc -E runs the code through the compiler's parser,
12250 # not just through cpp. "Syntax error" is here to catch this case.
12251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12252 /* end confdefs.h. */
12253 #ifdef __STDC__
12254 # include <limits.h>
12255 #else
12256 # include <assert.h>
12257 #endif
12258 Syntax error
12259 _ACEOF
12260 if ac_fn_cxx_try_cpp "$LINENO"; then :
12262 else
12263 # Broken: fails on valid input.
12264 continue
12266 rm -f conftest.err conftest.i conftest.$ac_ext
12268 # OK, works on sane cases. Now check whether nonexistent headers
12269 # can be detected and how.
12270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12271 /* end confdefs.h. */
12272 #include <ac_nonexistent.h>
12273 _ACEOF
12274 if ac_fn_cxx_try_cpp "$LINENO"; then :
12275 # Broken: success on invalid input.
12276 continue
12277 else
12278 # Passes both tests.
12279 ac_preproc_ok=:
12280 break
12282 rm -f conftest.err conftest.i conftest.$ac_ext
12284 done
12285 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12286 rm -f conftest.i conftest.err conftest.$ac_ext
12287 if $ac_preproc_ok; then :
12289 else
12290 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12292 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12293 See \`config.log' for more details" "$LINENO" 5; }
12296 ac_ext=c
12297 ac_cpp='$CPP $CPPFLAGS'
12298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12302 else
12303 _lt_caught_CXX_error=yes
12306 ac_ext=cpp
12307 ac_cpp='$CXXCPP $CPPFLAGS'
12308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12312 archive_cmds_need_lc_CXX=no
12313 allow_undefined_flag_CXX=
12314 always_export_symbols_CXX=no
12315 archive_expsym_cmds_CXX=
12316 compiler_needs_object_CXX=no
12317 export_dynamic_flag_spec_CXX=
12318 hardcode_direct_CXX=no
12319 hardcode_direct_absolute_CXX=no
12320 hardcode_libdir_flag_spec_CXX=
12321 hardcode_libdir_flag_spec_ld_CXX=
12322 hardcode_libdir_separator_CXX=
12323 hardcode_minus_L_CXX=no
12324 hardcode_shlibpath_var_CXX=unsupported
12325 hardcode_automatic_CXX=no
12326 inherit_rpath_CXX=no
12327 module_cmds_CXX=
12328 module_expsym_cmds_CXX=
12329 link_all_deplibs_CXX=unknown
12330 old_archive_cmds_CXX=$old_archive_cmds
12331 reload_flag_CXX=$reload_flag
12332 reload_cmds_CXX=$reload_cmds
12333 no_undefined_flag_CXX=
12334 whole_archive_flag_spec_CXX=
12335 enable_shared_with_static_runtimes_CXX=no
12337 # Source file extension for C++ test sources.
12338 ac_ext=cpp
12340 # Object file extension for compiled C++ test sources.
12341 objext=o
12342 objext_CXX=$objext
12344 # No sense in running all these tests if we already determined that
12345 # the CXX compiler isn't working. Some variables (like enable_shared)
12346 # are currently assumed to apply to all compilers on this platform,
12347 # and will be corrupted by setting them based on a non-working compiler.
12348 if test "$_lt_caught_CXX_error" != yes; then
12349 # Code to be used in simple compile tests
12350 lt_simple_compile_test_code="int some_variable = 0;"
12352 # Code to be used in simple link tests
12353 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12355 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12362 # If no C compiler was specified, use CC.
12363 LTCC=${LTCC-"$CC"}
12365 # If no C compiler flags were specified, use CFLAGS.
12366 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12368 # Allow CC to be a program name with arguments.
12369 compiler=$CC
12372 # save warnings/boilerplate of simple test code
12373 ac_outfile=conftest.$ac_objext
12374 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12375 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12376 _lt_compiler_boilerplate=`cat conftest.err`
12377 $RM conftest*
12379 ac_outfile=conftest.$ac_objext
12380 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12381 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12382 _lt_linker_boilerplate=`cat conftest.err`
12383 $RM -r conftest*
12386 # Allow CC to be a program name with arguments.
12387 lt_save_CC=$CC
12388 lt_save_LD=$LD
12389 lt_save_GCC=$GCC
12390 GCC=$GXX
12391 lt_save_with_gnu_ld=$with_gnu_ld
12392 lt_save_path_LD=$lt_cv_path_LD
12393 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12394 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12395 else
12396 $as_unset lt_cv_prog_gnu_ld
12398 if test -n "${lt_cv_path_LDCXX+set}"; then
12399 lt_cv_path_LD=$lt_cv_path_LDCXX
12400 else
12401 $as_unset lt_cv_path_LD
12403 test -z "${LDCXX+set}" || LD=$LDCXX
12404 CC=${CXX-"c++"}
12405 compiler=$CC
12406 compiler_CXX=$CC
12407 for cc_temp in $compiler""; do
12408 case $cc_temp in
12409 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12410 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12411 \-*) ;;
12412 *) break;;
12413 esac
12414 done
12415 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12418 if test -n "$compiler"; then
12419 # We don't want -fno-exception when compiling C++ code, so set the
12420 # no_builtin_flag separately
12421 if test "$GXX" = yes; then
12422 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12423 else
12424 lt_prog_compiler_no_builtin_flag_CXX=
12427 if test "$GXX" = yes; then
12428 # Set up default GNU C++ configuration
12432 # Check whether --with-gnu-ld was given.
12433 if test "${with_gnu_ld+set}" = set; then :
12434 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12435 else
12436 with_gnu_ld=no
12439 ac_prog=ld
12440 if test "$GCC" = yes; then
12441 # Check if gcc -print-prog-name=ld gives a path.
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12443 $as_echo_n "checking for ld used by $CC... " >&6; }
12444 case $host in
12445 *-*-mingw*)
12446 # gcc leaves a trailing carriage return which upsets mingw
12447 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12449 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12450 esac
12451 case $ac_prog in
12452 # Accept absolute paths.
12453 [\\/]* | ?:[\\/]*)
12454 re_direlt='/[^/][^/]*/\.\./'
12455 # Canonicalize the pathname of ld
12456 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12457 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12458 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12459 done
12460 test -z "$LD" && LD="$ac_prog"
12463 # If it fails, then pretend we aren't using GCC.
12464 ac_prog=ld
12467 # If it is relative, then search for the first ld in PATH.
12468 with_gnu_ld=unknown
12470 esac
12471 elif test "$with_gnu_ld" = yes; then
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12473 $as_echo_n "checking for GNU ld... " >&6; }
12474 else
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12476 $as_echo_n "checking for non-GNU ld... " >&6; }
12478 if ${lt_cv_path_LD+:} false; then :
12479 $as_echo_n "(cached) " >&6
12480 else
12481 if test -z "$LD"; then
12482 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12483 for ac_dir in $PATH; do
12484 IFS="$lt_save_ifs"
12485 test -z "$ac_dir" && ac_dir=.
12486 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12487 lt_cv_path_LD="$ac_dir/$ac_prog"
12488 # Check to see if the program is GNU ld. I'd rather use --version,
12489 # but apparently some variants of GNU ld only accept -v.
12490 # Break only if it was the GNU/non-GNU ld that we prefer.
12491 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12492 *GNU* | *'with BFD'*)
12493 test "$with_gnu_ld" != no && break
12496 test "$with_gnu_ld" != yes && break
12498 esac
12500 done
12501 IFS="$lt_save_ifs"
12502 else
12503 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12507 LD="$lt_cv_path_LD"
12508 if test -n "$LD"; then
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12510 $as_echo "$LD" >&6; }
12511 else
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12513 $as_echo "no" >&6; }
12515 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12517 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12518 if ${lt_cv_prog_gnu_ld+:} false; then :
12519 $as_echo_n "(cached) " >&6
12520 else
12521 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12522 case `$LD -v 2>&1 </dev/null` in
12523 *GNU* | *'with BFD'*)
12524 lt_cv_prog_gnu_ld=yes
12527 lt_cv_prog_gnu_ld=no
12529 esac
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12532 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12533 with_gnu_ld=$lt_cv_prog_gnu_ld
12541 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12542 # archiving commands below assume that GNU ld is being used.
12543 if test "$with_gnu_ld" = yes; then
12544 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12545 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12547 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12548 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12550 # If archive_cmds runs LD, not CC, wlarc should be empty
12551 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12552 # investigate it a little bit more. (MM)
12553 wlarc='${wl}'
12555 # ancient GNU ld didn't support --whole-archive et. al.
12556 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12557 $GREP 'no-whole-archive' > /dev/null; then
12558 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12559 else
12560 whole_archive_flag_spec_CXX=
12562 else
12563 with_gnu_ld=no
12564 wlarc=
12566 # A generic and very simple default shared library creation
12567 # command for GNU C++ for the case where it uses the native
12568 # linker, instead of GNU ld. If possible, this setting should
12569 # overridden to take advantage of the native linker features on
12570 # the platform it is being used on.
12571 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12574 # Commands to make compiler produce verbose output that lists
12575 # what "hidden" libraries, object files and flags are used when
12576 # linking a shared library.
12577 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12579 else
12580 GXX=no
12581 with_gnu_ld=no
12582 wlarc=
12585 # PORTME: fill in a description of your system's C++ link characteristics
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12587 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12588 ld_shlibs_CXX=yes
12589 case $host_os in
12590 aix3*)
12591 # FIXME: insert proper C++ library support
12592 ld_shlibs_CXX=no
12594 aix[4-9]*)
12595 if test "$host_cpu" = ia64; then
12596 # On IA64, the linker does run time linking by default, so we don't
12597 # have to do anything special.
12598 aix_use_runtimelinking=no
12599 exp_sym_flag='-Bexport'
12600 no_entry_flag=""
12601 else
12602 aix_use_runtimelinking=no
12604 # Test if we are trying to use run time linking or normal
12605 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12606 # need to do runtime linking.
12607 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12608 for ld_flag in $LDFLAGS; do
12609 case $ld_flag in
12610 *-brtl*)
12611 aix_use_runtimelinking=yes
12612 break
12614 esac
12615 done
12617 esac
12619 exp_sym_flag='-bexport'
12620 no_entry_flag='-bnoentry'
12623 # When large executables or shared objects are built, AIX ld can
12624 # have problems creating the table of contents. If linking a library
12625 # or program results in "error TOC overflow" add -mminimal-toc to
12626 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12627 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12629 archive_cmds_CXX=''
12630 hardcode_direct_CXX=yes
12631 hardcode_direct_absolute_CXX=yes
12632 hardcode_libdir_separator_CXX=':'
12633 link_all_deplibs_CXX=yes
12634 file_list_spec_CXX='${wl}-f,'
12636 if test "$GXX" = yes; then
12637 case $host_os in aix4.[012]|aix4.[012].*)
12638 # We only want to do this on AIX 4.2 and lower, the check
12639 # below for broken collect2 doesn't work under 4.3+
12640 collect2name=`${CC} -print-prog-name=collect2`
12641 if test -f "$collect2name" &&
12642 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12643 then
12644 # We have reworked collect2
12646 else
12647 # We have old collect2
12648 hardcode_direct_CXX=unsupported
12649 # It fails to find uninstalled libraries when the uninstalled
12650 # path is not listed in the libpath. Setting hardcode_minus_L
12651 # to unsupported forces relinking
12652 hardcode_minus_L_CXX=yes
12653 hardcode_libdir_flag_spec_CXX='-L$libdir'
12654 hardcode_libdir_separator_CXX=
12656 esac
12657 shared_flag='-shared'
12658 if test "$aix_use_runtimelinking" = yes; then
12659 shared_flag="$shared_flag "'${wl}-G'
12661 else
12662 # not using gcc
12663 if test "$host_cpu" = ia64; then
12664 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12665 # chokes on -Wl,-G. The following line is correct:
12666 shared_flag='-G'
12667 else
12668 if test "$aix_use_runtimelinking" = yes; then
12669 shared_flag='${wl}-G'
12670 else
12671 shared_flag='${wl}-bM:SRE'
12676 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12677 # It seems that -bexpall does not export symbols beginning with
12678 # underscore (_), so it is better to generate a list of symbols to
12679 # export.
12680 always_export_symbols_CXX=yes
12681 if test "$aix_use_runtimelinking" = yes; then
12682 # Warning - without using the other runtime loading flags (-brtl),
12683 # -berok will link without error, but may produce a broken library.
12684 allow_undefined_flag_CXX='-berok'
12685 # Determine the default libpath from the value encoded in an empty
12686 # executable.
12687 if test x$gcc_no_link = xyes; then
12688 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12691 /* end confdefs.h. */
12694 main ()
12698 return 0;
12700 _ACEOF
12701 if ac_fn_cxx_try_link "$LINENO"; then :
12703 lt_aix_libpath_sed='
12704 /Import File Strings/,/^$/ {
12705 /^0/ {
12706 s/^0 *\(.*\)$/\1/
12710 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12711 # Check for a 64-bit object if we didn't find anything.
12712 if test -z "$aix_libpath"; then
12713 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12716 rm -f core conftest.err conftest.$ac_objext \
12717 conftest$ac_exeext conftest.$ac_ext
12718 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12720 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12722 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12723 else
12724 if test "$host_cpu" = ia64; then
12725 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12726 allow_undefined_flag_CXX="-z nodefs"
12727 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12728 else
12729 # Determine the default libpath from the value encoded in an
12730 # empty executable.
12731 if test x$gcc_no_link = xyes; then
12732 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12735 /* end confdefs.h. */
12738 main ()
12742 return 0;
12744 _ACEOF
12745 if ac_fn_cxx_try_link "$LINENO"; then :
12747 lt_aix_libpath_sed='
12748 /Import File Strings/,/^$/ {
12749 /^0/ {
12750 s/^0 *\(.*\)$/\1/
12754 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12755 # Check for a 64-bit object if we didn't find anything.
12756 if test -z "$aix_libpath"; then
12757 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12760 rm -f core conftest.err conftest.$ac_objext \
12761 conftest$ac_exeext conftest.$ac_ext
12762 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12764 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12765 # Warning - without using the other run time loading flags,
12766 # -berok will link without error, but may produce a broken library.
12767 no_undefined_flag_CXX=' ${wl}-bernotok'
12768 allow_undefined_flag_CXX=' ${wl}-berok'
12769 if test "$with_gnu_ld" = yes; then
12770 # We only use this code for GNU lds that support --whole-archive.
12771 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12772 else
12773 # Exported symbols can be pulled into shared objects from archives
12774 whole_archive_flag_spec_CXX='$convenience'
12776 archive_cmds_need_lc_CXX=yes
12777 # This is similar to how AIX traditionally builds its shared
12778 # libraries.
12779 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12784 beos*)
12785 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12786 allow_undefined_flag_CXX=unsupported
12787 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12788 # support --undefined. This deserves some investigation. FIXME
12789 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12790 else
12791 ld_shlibs_CXX=no
12795 chorus*)
12796 case $cc_basename in
12798 # FIXME: insert proper C++ library support
12799 ld_shlibs_CXX=no
12801 esac
12804 cygwin* | mingw* | pw32* | cegcc*)
12805 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12806 # as there is no search path for DLLs.
12807 hardcode_libdir_flag_spec_CXX='-L$libdir'
12808 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12809 allow_undefined_flag_CXX=unsupported
12810 always_export_symbols_CXX=no
12811 enable_shared_with_static_runtimes_CXX=yes
12813 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12814 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12815 # If the export-symbols file already is a .def file (1st line
12816 # is EXPORTS), use it as is; otherwise, prepend...
12817 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12818 cp $export_symbols $output_objdir/$soname.def;
12819 else
12820 echo EXPORTS > $output_objdir/$soname.def;
12821 cat $export_symbols >> $output_objdir/$soname.def;
12823 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12824 else
12825 ld_shlibs_CXX=no
12828 darwin* | rhapsody*)
12831 archive_cmds_need_lc_CXX=no
12832 hardcode_direct_CXX=no
12833 hardcode_automatic_CXX=yes
12834 hardcode_shlibpath_var_CXX=unsupported
12835 if test "$lt_cv_ld_force_load" = "yes"; then
12836 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12837 else
12838 whole_archive_flag_spec_CXX=''
12840 link_all_deplibs_CXX=yes
12841 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12842 case $cc_basename in
12843 ifort*) _lt_dar_can_shared=yes ;;
12844 *) _lt_dar_can_shared=$GCC ;;
12845 esac
12846 if test "$_lt_dar_can_shared" = "yes"; then
12847 output_verbose_link_cmd=func_echo_all
12848 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12849 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12850 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12851 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12852 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12853 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12854 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12857 else
12858 ld_shlibs_CXX=no
12863 dgux*)
12864 case $cc_basename in
12865 ec++*)
12866 # FIXME: insert proper C++ library support
12867 ld_shlibs_CXX=no
12869 ghcx*)
12870 # Green Hills C++ Compiler
12871 # FIXME: insert proper C++ library support
12872 ld_shlibs_CXX=no
12875 # FIXME: insert proper C++ library support
12876 ld_shlibs_CXX=no
12878 esac
12881 freebsd2.*)
12882 # C++ shared libraries reported to be fairly broken before
12883 # switch to ELF
12884 ld_shlibs_CXX=no
12887 freebsd-elf*)
12888 archive_cmds_need_lc_CXX=no
12891 freebsd* | dragonfly*)
12892 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12893 # conventions
12894 ld_shlibs_CXX=yes
12897 gnu*)
12900 haiku*)
12901 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12902 link_all_deplibs_CXX=yes
12905 hpux9*)
12906 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12907 hardcode_libdir_separator_CXX=:
12908 export_dynamic_flag_spec_CXX='${wl}-E'
12909 hardcode_direct_CXX=yes
12910 hardcode_minus_L_CXX=yes # Not in the search PATH,
12911 # but as the default
12912 # location of the library.
12914 case $cc_basename in
12915 CC*)
12916 # FIXME: insert proper C++ library support
12917 ld_shlibs_CXX=no
12919 aCC*)
12920 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12921 # Commands to make compiler produce verbose output that lists
12922 # what "hidden" libraries, object files and flags are used when
12923 # linking a shared library.
12925 # There doesn't appear to be a way to prevent this compiler from
12926 # explicitly linking system object files so we need to strip them
12927 # from the output so that they don't get included in the library
12928 # dependencies.
12929 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12932 if test "$GXX" = yes; then
12933 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12934 else
12935 # FIXME: insert proper C++ library support
12936 ld_shlibs_CXX=no
12939 esac
12942 hpux10*|hpux11*)
12943 if test $with_gnu_ld = no; then
12944 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12945 hardcode_libdir_separator_CXX=:
12947 case $host_cpu in
12948 hppa*64*|ia64*)
12951 export_dynamic_flag_spec_CXX='${wl}-E'
12953 esac
12955 case $host_cpu in
12956 hppa*64*|ia64*)
12957 hardcode_direct_CXX=no
12958 hardcode_shlibpath_var_CXX=no
12961 hardcode_direct_CXX=yes
12962 hardcode_direct_absolute_CXX=yes
12963 hardcode_minus_L_CXX=yes # Not in the search PATH,
12964 # but as the default
12965 # location of the library.
12967 esac
12969 case $cc_basename in
12970 CC*)
12971 # FIXME: insert proper C++ library support
12972 ld_shlibs_CXX=no
12974 aCC*)
12975 case $host_cpu in
12976 hppa*64*)
12977 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12979 ia64*)
12980 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12983 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12985 esac
12986 # Commands to make compiler produce verbose output that lists
12987 # what "hidden" libraries, object files and flags are used when
12988 # linking a shared library.
12990 # There doesn't appear to be a way to prevent this compiler from
12991 # explicitly linking system object files so we need to strip them
12992 # from the output so that they don't get included in the library
12993 # dependencies.
12994 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12997 if test "$GXX" = yes; then
12998 if test $with_gnu_ld = no; then
12999 case $host_cpu in
13000 hppa*64*)
13001 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13003 ia64*)
13004 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13007 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13009 esac
13011 else
13012 # FIXME: insert proper C++ library support
13013 ld_shlibs_CXX=no
13016 esac
13019 interix[3-9]*)
13020 hardcode_direct_CXX=no
13021 hardcode_shlibpath_var_CXX=no
13022 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13023 export_dynamic_flag_spec_CXX='${wl}-E'
13024 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13025 # Instead, shared libraries are loaded at an image base (0x10000000 by
13026 # default) and relocated if they conflict, which is a slow very memory
13027 # consuming and fragmenting process. To avoid this, we pick a random,
13028 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13029 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13030 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13031 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13033 irix5* | irix6*)
13034 case $cc_basename in
13035 CC*)
13036 # SGI C++
13037 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13039 # Archives containing C++ object files must be created using
13040 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13041 # necessary to make sure instantiated templates are included
13042 # in the archive.
13043 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13046 if test "$GXX" = yes; then
13047 if test "$with_gnu_ld" = no; then
13048 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13049 else
13050 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13053 link_all_deplibs_CXX=yes
13055 esac
13056 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13057 hardcode_libdir_separator_CXX=:
13058 inherit_rpath_CXX=yes
13061 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13062 case $cc_basename in
13063 KCC*)
13064 # Kuck and Associates, Inc. (KAI) C++ Compiler
13066 # KCC will only create a shared library if the output file
13067 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13068 # to its proper name (with version) after linking.
13069 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13070 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
13071 # Commands to make compiler produce verbose output that lists
13072 # what "hidden" libraries, object files and flags are used when
13073 # linking a shared library.
13075 # There doesn't appear to be a way to prevent this compiler from
13076 # explicitly linking system object files so we need to strip them
13077 # from the output so that they don't get included in the library
13078 # dependencies.
13079 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13081 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13082 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13084 # Archives containing C++ object files must be created using
13085 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13086 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13088 icpc* | ecpc* )
13089 # Intel C++
13090 with_gnu_ld=yes
13091 # version 8.0 and above of icpc choke on multiply defined symbols
13092 # if we add $predep_objects and $postdep_objects, however 7.1 and
13093 # earlier do not add the objects themselves.
13094 case `$CC -V 2>&1` in
13095 *"Version 7."*)
13096 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13097 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13099 *) # Version 8.0 or newer
13100 tmp_idyn=
13101 case $host_cpu in
13102 ia64*) tmp_idyn=' -i_dynamic';;
13103 esac
13104 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13105 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13107 esac
13108 archive_cmds_need_lc_CXX=no
13109 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13110 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13111 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13113 pgCC* | pgcpp*)
13114 # Portland Group C++ compiler
13115 case `$CC -V` in
13116 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13117 prelink_cmds_CXX='tpldir=Template.dir~
13118 rm -rf $tpldir~
13119 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13120 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13121 old_archive_cmds_CXX='tpldir=Template.dir~
13122 rm -rf $tpldir~
13123 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13124 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13125 $RANLIB $oldlib'
13126 archive_cmds_CXX='tpldir=Template.dir~
13127 rm -rf $tpldir~
13128 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13129 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13130 archive_expsym_cmds_CXX='tpldir=Template.dir~
13131 rm -rf $tpldir~
13132 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13133 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13135 *) # Version 6 and above use weak symbols
13136 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13137 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13139 esac
13141 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13142 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13143 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13145 cxx*)
13146 # Compaq C++
13147 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13148 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13150 runpath_var=LD_RUN_PATH
13151 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13152 hardcode_libdir_separator_CXX=:
13154 # Commands to make compiler produce verbose output that lists
13155 # what "hidden" libraries, object files and flags are used when
13156 # linking a shared library.
13158 # There doesn't appear to be a way to prevent this compiler from
13159 # explicitly linking system object files so we need to strip them
13160 # from the output so that they don't get included in the library
13161 # dependencies.
13162 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13164 xl* | mpixl* | bgxl*)
13165 # IBM XL 8.0 on PPC, with GNU ld
13166 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13167 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13168 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13169 if test "x$supports_anon_versioning" = xyes; then
13170 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13171 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13172 echo "local: *; };" >> $output_objdir/$libname.ver~
13173 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13177 case `$CC -V 2>&1 | sed 5q` in
13178 *Sun\ C*)
13179 # Sun C++ 5.9
13180 no_undefined_flag_CXX=' -zdefs'
13181 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13182 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13183 hardcode_libdir_flag_spec_CXX='-R$libdir'
13184 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13185 compiler_needs_object_CXX=yes
13187 # Not sure whether something based on
13188 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13189 # would be better.
13190 output_verbose_link_cmd='func_echo_all'
13192 # Archives containing C++ object files must be created using
13193 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13194 # necessary to make sure instantiated templates are included
13195 # in the archive.
13196 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13198 esac
13200 esac
13203 lynxos*)
13204 # FIXME: insert proper C++ library support
13205 ld_shlibs_CXX=no
13208 m88k*)
13209 # FIXME: insert proper C++ library support
13210 ld_shlibs_CXX=no
13213 mvs*)
13214 case $cc_basename in
13215 cxx*)
13216 # FIXME: insert proper C++ library support
13217 ld_shlibs_CXX=no
13220 # FIXME: insert proper C++ library support
13221 ld_shlibs_CXX=no
13223 esac
13226 netbsd*)
13227 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13228 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13229 wlarc=
13230 hardcode_libdir_flag_spec_CXX='-R$libdir'
13231 hardcode_direct_CXX=yes
13232 hardcode_shlibpath_var_CXX=no
13234 # Workaround some broken pre-1.5 toolchains
13235 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13238 *nto* | *qnx*)
13239 ld_shlibs_CXX=yes
13242 openbsd2*)
13243 # C++ shared libraries are fairly broken
13244 ld_shlibs_CXX=no
13247 openbsd*)
13248 if test -f /usr/libexec/ld.so; then
13249 hardcode_direct_CXX=yes
13250 hardcode_shlibpath_var_CXX=no
13251 hardcode_direct_absolute_CXX=yes
13252 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13253 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13254 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13255 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13256 export_dynamic_flag_spec_CXX='${wl}-E'
13257 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13259 output_verbose_link_cmd=func_echo_all
13260 else
13261 ld_shlibs_CXX=no
13265 osf3* | osf4* | osf5*)
13266 case $cc_basename in
13267 KCC*)
13268 # Kuck and Associates, Inc. (KAI) C++ Compiler
13270 # KCC will only create a shared library if the output file
13271 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13272 # to its proper name (with version) after linking.
13273 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13275 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13276 hardcode_libdir_separator_CXX=:
13278 # Archives containing C++ object files must be created using
13279 # the KAI C++ compiler.
13280 case $host in
13281 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13282 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13283 esac
13285 RCC*)
13286 # Rational C++ 2.4.1
13287 # FIXME: insert proper C++ library support
13288 ld_shlibs_CXX=no
13290 cxx*)
13291 case $host in
13292 osf3*)
13293 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13294 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13295 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13298 allow_undefined_flag_CXX=' -expect_unresolved \*'
13299 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13300 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13301 echo "-hidden">> $lib.exp~
13302 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13303 $RM $lib.exp'
13304 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13306 esac
13308 hardcode_libdir_separator_CXX=:
13310 # Commands to make compiler produce verbose output that lists
13311 # what "hidden" libraries, object files and flags are used when
13312 # linking a shared library.
13314 # There doesn't appear to be a way to prevent this compiler from
13315 # explicitly linking system object files so we need to strip them
13316 # from the output so that they don't get included in the library
13317 # dependencies.
13318 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13321 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13322 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13323 case $host in
13324 osf3*)
13325 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13328 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13330 esac
13332 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13333 hardcode_libdir_separator_CXX=:
13335 # Commands to make compiler produce verbose output that lists
13336 # what "hidden" libraries, object files and flags are used when
13337 # linking a shared library.
13338 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13340 else
13341 # FIXME: insert proper C++ library support
13342 ld_shlibs_CXX=no
13345 esac
13348 psos*)
13349 # FIXME: insert proper C++ library support
13350 ld_shlibs_CXX=no
13353 sunos4*)
13354 case $cc_basename in
13355 CC*)
13356 # Sun C++ 4.x
13357 # FIXME: insert proper C++ library support
13358 ld_shlibs_CXX=no
13360 lcc*)
13361 # Lucid
13362 # FIXME: insert proper C++ library support
13363 ld_shlibs_CXX=no
13366 # FIXME: insert proper C++ library support
13367 ld_shlibs_CXX=no
13369 esac
13372 solaris*)
13373 case $cc_basename in
13374 CC*)
13375 # Sun C++ 4.2, 5.x and Centerline C++
13376 archive_cmds_need_lc_CXX=yes
13377 no_undefined_flag_CXX=' -zdefs'
13378 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13379 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13380 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13382 hardcode_libdir_flag_spec_CXX='-R$libdir'
13383 hardcode_shlibpath_var_CXX=no
13384 case $host_os in
13385 solaris2.[0-5] | solaris2.[0-5].*) ;;
13387 # The compiler driver will combine and reorder linker options,
13388 # but understands `-z linker_flag'.
13389 # Supported since Solaris 2.6 (maybe 2.5.1?)
13390 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13392 esac
13393 link_all_deplibs_CXX=yes
13395 output_verbose_link_cmd='func_echo_all'
13397 # Archives containing C++ object files must be created using
13398 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13399 # necessary to make sure instantiated templates are included
13400 # in the archive.
13401 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13403 gcx*)
13404 # Green Hills C++ Compiler
13405 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13407 # The C++ compiler must be used to create the archive.
13408 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13411 # GNU C++ compiler with Solaris linker
13412 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13413 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13414 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13415 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13416 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13417 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13419 # Commands to make compiler produce verbose output that lists
13420 # what "hidden" libraries, object files and flags are used when
13421 # linking a shared library.
13422 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13423 else
13424 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13425 # platform.
13426 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13427 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13428 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13430 # Commands to make compiler produce verbose output that lists
13431 # what "hidden" libraries, object files and flags are used when
13432 # linking a shared library.
13433 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13436 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13437 case $host_os in
13438 solaris2.[0-5] | solaris2.[0-5].*) ;;
13440 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13442 esac
13445 esac
13448 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13449 no_undefined_flag_CXX='${wl}-z,text'
13450 archive_cmds_need_lc_CXX=no
13451 hardcode_shlibpath_var_CXX=no
13452 runpath_var='LD_RUN_PATH'
13454 case $cc_basename in
13455 CC*)
13456 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13457 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13460 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13461 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13463 esac
13466 sysv5* | sco3.2v5* | sco5v6*)
13467 # Note: We can NOT use -z defs as we might desire, because we do not
13468 # link with -lc, and that would cause any symbols used from libc to
13469 # always be unresolved, which means just about no library would
13470 # ever link correctly. If we're not using GNU ld we use -z text
13471 # though, which does catch some bad symbols but isn't as heavy-handed
13472 # as -z defs.
13473 no_undefined_flag_CXX='${wl}-z,text'
13474 allow_undefined_flag_CXX='${wl}-z,nodefs'
13475 archive_cmds_need_lc_CXX=no
13476 hardcode_shlibpath_var_CXX=no
13477 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13478 hardcode_libdir_separator_CXX=':'
13479 link_all_deplibs_CXX=yes
13480 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13481 runpath_var='LD_RUN_PATH'
13483 case $cc_basename in
13484 CC*)
13485 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13486 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13487 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13488 '"$old_archive_cmds_CXX"
13489 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13490 '"$reload_cmds_CXX"
13493 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13494 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13496 esac
13499 tandem*)
13500 case $cc_basename in
13501 NCC*)
13502 # NonStop-UX NCC 3.20
13503 # FIXME: insert proper C++ library support
13504 ld_shlibs_CXX=no
13507 # FIXME: insert proper C++ library support
13508 ld_shlibs_CXX=no
13510 esac
13513 vxworks*)
13514 # FIXME: insert proper C++ library support
13515 ld_shlibs_CXX=no
13519 # FIXME: insert proper C++ library support
13520 ld_shlibs_CXX=no
13522 esac
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13525 $as_echo "$ld_shlibs_CXX" >&6; }
13526 test "$ld_shlibs_CXX" = no && can_build_shared=no
13528 GCC_CXX="$GXX"
13529 LD_CXX="$LD"
13531 ## CAVEAT EMPTOR:
13532 ## There is no encapsulation within the following macros, do not change
13533 ## the running order or otherwise move them around unless you know exactly
13534 ## what you are doing...
13535 # Dependencies to place before and after the object being linked:
13536 predep_objects_CXX=
13537 postdep_objects_CXX=
13538 predeps_CXX=
13539 postdeps_CXX=
13540 compiler_lib_search_path_CXX=
13542 cat > conftest.$ac_ext <<_LT_EOF
13543 class Foo
13545 public:
13546 Foo (void) { a = 0; }
13547 private:
13548 int a;
13550 _LT_EOF
13552 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13553 (eval $ac_compile) 2>&5
13554 ac_status=$?
13555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13556 test $ac_status = 0; }; then
13557 # Parse the compiler output and extract the necessary
13558 # objects, libraries and library flags.
13560 # Sentinel used to keep track of whether or not we are before
13561 # the conftest object file.
13562 pre_test_object_deps_done=no
13564 for p in `eval "$output_verbose_link_cmd"`; do
13565 case $p in
13567 -L* | -R* | -l*)
13568 # Some compilers place space between "-{L,R}" and the path.
13569 # Remove the space.
13570 if test $p = "-L" ||
13571 test $p = "-R"; then
13572 prev=$p
13573 continue
13574 else
13575 prev=
13578 if test "$pre_test_object_deps_done" = no; then
13579 case $p in
13580 -L* | -R*)
13581 # Internal compiler library paths should come after those
13582 # provided the user. The postdeps already come after the
13583 # user supplied libs so there is no need to process them.
13584 if test -z "$compiler_lib_search_path_CXX"; then
13585 compiler_lib_search_path_CXX="${prev}${p}"
13586 else
13587 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13590 # The "-l" case would never come before the object being
13591 # linked, so don't bother handling this case.
13592 esac
13593 else
13594 if test -z "$postdeps_CXX"; then
13595 postdeps_CXX="${prev}${p}"
13596 else
13597 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13602 *.$objext)
13603 # This assumes that the test object file only shows up
13604 # once in the compiler output.
13605 if test "$p" = "conftest.$objext"; then
13606 pre_test_object_deps_done=yes
13607 continue
13610 if test "$pre_test_object_deps_done" = no; then
13611 if test -z "$predep_objects_CXX"; then
13612 predep_objects_CXX="$p"
13613 else
13614 predep_objects_CXX="$predep_objects_CXX $p"
13616 else
13617 if test -z "$postdep_objects_CXX"; then
13618 postdep_objects_CXX="$p"
13619 else
13620 postdep_objects_CXX="$postdep_objects_CXX $p"
13625 *) ;; # Ignore the rest.
13627 esac
13628 done
13630 # Clean up.
13631 rm -f a.out a.exe
13632 else
13633 echo "libtool.m4: error: problem compiling CXX test program"
13636 $RM -f confest.$objext
13638 # PORTME: override above test on systems where it is broken
13639 case $host_os in
13640 interix[3-9]*)
13641 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13642 # hack all around it, let's just trust "g++" to DTRT.
13643 predep_objects_CXX=
13644 postdep_objects_CXX=
13645 postdeps_CXX=
13648 linux*)
13649 case `$CC -V 2>&1 | sed 5q` in
13650 *Sun\ C*)
13651 # Sun C++ 5.9
13653 # The more standards-conforming stlport4 library is
13654 # incompatible with the Cstd library. Avoid specifying
13655 # it if it's in CXXFLAGS. Ignore libCrun as
13656 # -library=stlport4 depends on it.
13657 case " $CXX $CXXFLAGS " in
13658 *" -library=stlport4 "*)
13659 solaris_use_stlport4=yes
13661 esac
13663 if test "$solaris_use_stlport4" != yes; then
13664 postdeps_CXX='-library=Cstd -library=Crun'
13667 esac
13670 solaris*)
13671 case $cc_basename in
13672 CC*)
13673 # The more standards-conforming stlport4 library is
13674 # incompatible with the Cstd library. Avoid specifying
13675 # it if it's in CXXFLAGS. Ignore libCrun as
13676 # -library=stlport4 depends on it.
13677 case " $CXX $CXXFLAGS " in
13678 *" -library=stlport4 "*)
13679 solaris_use_stlport4=yes
13681 esac
13683 # Adding this requires a known-good setup of shared libraries for
13684 # Sun compiler versions before 5.6, else PIC objects from an old
13685 # archive will be linked into the output, leading to subtle bugs.
13686 if test "$solaris_use_stlport4" != yes; then
13687 postdeps_CXX='-library=Cstd -library=Crun'
13690 esac
13692 esac
13695 case " $postdeps_CXX " in
13696 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13697 esac
13698 compiler_lib_search_dirs_CXX=
13699 if test -n "${compiler_lib_search_path_CXX}"; then
13700 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13733 lt_prog_compiler_wl_CXX=
13734 lt_prog_compiler_pic_CXX=
13735 lt_prog_compiler_static_CXX=
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13738 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13740 # C++ specific cases for pic, static, wl, etc.
13741 if test "$GXX" = yes; then
13742 lt_prog_compiler_wl_CXX='-Wl,'
13743 lt_prog_compiler_static_CXX='-static'
13745 case $host_os in
13746 aix*)
13747 # All AIX code is PIC.
13748 if test "$host_cpu" = ia64; then
13749 # AIX 5 now supports IA64 processor
13750 lt_prog_compiler_static_CXX='-Bstatic'
13752 lt_prog_compiler_pic_CXX='-fPIC'
13755 amigaos*)
13756 case $host_cpu in
13757 powerpc)
13758 # see comment about AmigaOS4 .so support
13759 lt_prog_compiler_pic_CXX='-fPIC'
13761 m68k)
13762 # FIXME: we need at least 68020 code to build shared libraries, but
13763 # adding the `-m68020' flag to GCC prevents building anything better,
13764 # like `-m68040'.
13765 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13767 esac
13770 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13771 # PIC is the default for these OSes.
13773 mingw* | cygwin* | os2* | pw32* | cegcc*)
13774 # This hack is so that the source file can tell whether it is being
13775 # built for inclusion in a dll (and should export symbols for example).
13776 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13777 # (--disable-auto-import) libraries
13778 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13780 darwin* | rhapsody*)
13781 # PIC is the default on this platform
13782 # Common symbols not allowed in MH_DYLIB files
13783 lt_prog_compiler_pic_CXX='-fno-common'
13785 *djgpp*)
13786 # DJGPP does not support shared libraries at all
13787 lt_prog_compiler_pic_CXX=
13789 haiku*)
13790 # PIC is the default for Haiku.
13791 # The "-static" flag exists, but is broken.
13792 lt_prog_compiler_static_CXX=
13794 interix[3-9]*)
13795 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13796 # Instead, we relocate shared libraries at runtime.
13798 sysv4*MP*)
13799 if test -d /usr/nec; then
13800 lt_prog_compiler_pic_CXX=-Kconform_pic
13803 hpux*)
13804 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13805 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13806 # sets the default TLS model and affects inlining.
13807 case $host_cpu in
13808 hppa*64*)
13811 lt_prog_compiler_pic_CXX='-fPIC'
13813 esac
13815 *qnx* | *nto*)
13816 # QNX uses GNU C++, but need to define -shared option too, otherwise
13817 # it will coredump.
13818 lt_prog_compiler_pic_CXX='-fPIC -shared'
13821 lt_prog_compiler_pic_CXX='-fPIC'
13823 esac
13824 else
13825 case $host_os in
13826 aix[4-9]*)
13827 # All AIX code is PIC.
13828 if test "$host_cpu" = ia64; then
13829 # AIX 5 now supports IA64 processor
13830 lt_prog_compiler_static_CXX='-Bstatic'
13831 else
13832 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13835 chorus*)
13836 case $cc_basename in
13837 cxch68*)
13838 # Green Hills C++ Compiler
13839 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13841 esac
13843 dgux*)
13844 case $cc_basename in
13845 ec++*)
13846 lt_prog_compiler_pic_CXX='-KPIC'
13848 ghcx*)
13849 # Green Hills C++ Compiler
13850 lt_prog_compiler_pic_CXX='-pic'
13854 esac
13856 freebsd* | dragonfly*)
13857 # FreeBSD uses GNU C++
13859 hpux9* | hpux10* | hpux11*)
13860 case $cc_basename in
13861 CC*)
13862 lt_prog_compiler_wl_CXX='-Wl,'
13863 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13864 if test "$host_cpu" != ia64; then
13865 lt_prog_compiler_pic_CXX='+Z'
13868 aCC*)
13869 lt_prog_compiler_wl_CXX='-Wl,'
13870 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13871 case $host_cpu in
13872 hppa*64*|ia64*)
13873 # +Z the default
13876 lt_prog_compiler_pic_CXX='+Z'
13878 esac
13882 esac
13884 interix*)
13885 # This is c89, which is MS Visual C++ (no shared libs)
13886 # Anyone wants to do a port?
13888 irix5* | irix6* | nonstopux*)
13889 case $cc_basename in
13890 CC*)
13891 lt_prog_compiler_wl_CXX='-Wl,'
13892 lt_prog_compiler_static_CXX='-non_shared'
13893 # CC pic flag -KPIC is the default.
13897 esac
13899 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13900 case $cc_basename in
13901 KCC*)
13902 # KAI C++ Compiler
13903 lt_prog_compiler_wl_CXX='--backend -Wl,'
13904 lt_prog_compiler_pic_CXX='-fPIC'
13906 ecpc* )
13907 # old Intel C++ for x86_64 which still supported -KPIC.
13908 lt_prog_compiler_wl_CXX='-Wl,'
13909 lt_prog_compiler_pic_CXX='-KPIC'
13910 lt_prog_compiler_static_CXX='-static'
13912 icpc* )
13913 # Intel C++, used to be incompatible with GCC.
13914 # ICC 10 doesn't accept -KPIC any more.
13915 lt_prog_compiler_wl_CXX='-Wl,'
13916 lt_prog_compiler_pic_CXX='-fPIC'
13917 lt_prog_compiler_static_CXX='-static'
13919 pgCC* | pgcpp*)
13920 # Portland Group C++ compiler
13921 lt_prog_compiler_wl_CXX='-Wl,'
13922 lt_prog_compiler_pic_CXX='-fpic'
13923 lt_prog_compiler_static_CXX='-Bstatic'
13925 cxx*)
13926 # Compaq C++
13927 # Make sure the PIC flag is empty. It appears that all Alpha
13928 # Linux and Compaq Tru64 Unix objects are PIC.
13929 lt_prog_compiler_pic_CXX=
13930 lt_prog_compiler_static_CXX='-non_shared'
13932 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13933 # IBM XL 8.0, 9.0 on PPC and BlueGene
13934 lt_prog_compiler_wl_CXX='-Wl,'
13935 lt_prog_compiler_pic_CXX='-qpic'
13936 lt_prog_compiler_static_CXX='-qstaticlink'
13939 case `$CC -V 2>&1 | sed 5q` in
13940 *Sun\ C*)
13941 # Sun C++ 5.9
13942 lt_prog_compiler_pic_CXX='-KPIC'
13943 lt_prog_compiler_static_CXX='-Bstatic'
13944 lt_prog_compiler_wl_CXX='-Qoption ld '
13946 esac
13948 esac
13950 lynxos*)
13952 m88k*)
13954 mvs*)
13955 case $cc_basename in
13956 cxx*)
13957 lt_prog_compiler_pic_CXX='-W c,exportall'
13961 esac
13963 netbsd*)
13965 *qnx* | *nto*)
13966 # QNX uses GNU C++, but need to define -shared option too, otherwise
13967 # it will coredump.
13968 lt_prog_compiler_pic_CXX='-fPIC -shared'
13970 osf3* | osf4* | osf5*)
13971 case $cc_basename in
13972 KCC*)
13973 lt_prog_compiler_wl_CXX='--backend -Wl,'
13975 RCC*)
13976 # Rational C++ 2.4.1
13977 lt_prog_compiler_pic_CXX='-pic'
13979 cxx*)
13980 # Digital/Compaq C++
13981 lt_prog_compiler_wl_CXX='-Wl,'
13982 # Make sure the PIC flag is empty. It appears that all Alpha
13983 # Linux and Compaq Tru64 Unix objects are PIC.
13984 lt_prog_compiler_pic_CXX=
13985 lt_prog_compiler_static_CXX='-non_shared'
13989 esac
13991 psos*)
13993 solaris*)
13994 case $cc_basename in
13995 CC*)
13996 # Sun C++ 4.2, 5.x and Centerline C++
13997 lt_prog_compiler_pic_CXX='-KPIC'
13998 lt_prog_compiler_static_CXX='-Bstatic'
13999 lt_prog_compiler_wl_CXX='-Qoption ld '
14001 gcx*)
14002 # Green Hills C++ Compiler
14003 lt_prog_compiler_pic_CXX='-PIC'
14007 esac
14009 sunos4*)
14010 case $cc_basename in
14011 CC*)
14012 # Sun C++ 4.x
14013 lt_prog_compiler_pic_CXX='-pic'
14014 lt_prog_compiler_static_CXX='-Bstatic'
14016 lcc*)
14017 # Lucid
14018 lt_prog_compiler_pic_CXX='-pic'
14022 esac
14024 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14025 case $cc_basename in
14026 CC*)
14027 lt_prog_compiler_wl_CXX='-Wl,'
14028 lt_prog_compiler_pic_CXX='-KPIC'
14029 lt_prog_compiler_static_CXX='-Bstatic'
14031 esac
14033 tandem*)
14034 case $cc_basename in
14035 NCC*)
14036 # NonStop-UX NCC 3.20
14037 lt_prog_compiler_pic_CXX='-KPIC'
14041 esac
14043 vxworks*)
14046 lt_prog_compiler_can_build_shared_CXX=no
14048 esac
14051 case $host_os in
14052 # For platforms which do not support PIC, -DPIC is meaningless:
14053 *djgpp*)
14054 lt_prog_compiler_pic_CXX=
14057 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14059 esac
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14061 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14066 # Check to make sure the PIC flag actually works.
14068 if test -n "$lt_prog_compiler_pic_CXX"; then
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14070 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14071 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14072 $as_echo_n "(cached) " >&6
14073 else
14074 lt_cv_prog_compiler_pic_works_CXX=no
14075 ac_outfile=conftest.$ac_objext
14076 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14077 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14078 # Insert the option either (1) after the last *FLAGS variable, or
14079 # (2) before a word containing "conftest.", or (3) at the end.
14080 # Note that $ac_compile itself does not contain backslashes and begins
14081 # with a dollar sign (not a hyphen), so the echo should work correctly.
14082 # The option is referenced via a variable to avoid confusing sed.
14083 lt_compile=`echo "$ac_compile" | $SED \
14084 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14085 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14086 -e 's:$: $lt_compiler_flag:'`
14087 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14088 (eval "$lt_compile" 2>conftest.err)
14089 ac_status=$?
14090 cat conftest.err >&5
14091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14092 if (exit $ac_status) && test -s "$ac_outfile"; then
14093 # The compiler can only warn and ignore the option if not recognized
14094 # So say no if there are warnings other than the usual output.
14095 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14096 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14097 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14098 lt_cv_prog_compiler_pic_works_CXX=yes
14101 $RM conftest*
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14105 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14107 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14108 case $lt_prog_compiler_pic_CXX in
14109 "" | " "*) ;;
14110 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14111 esac
14112 else
14113 lt_prog_compiler_pic_CXX=
14114 lt_prog_compiler_can_build_shared_CXX=no
14122 # Check to make sure the static flag actually works.
14124 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14126 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14127 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14128 $as_echo_n "(cached) " >&6
14129 else
14130 lt_cv_prog_compiler_static_works_CXX=no
14131 save_LDFLAGS="$LDFLAGS"
14132 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14133 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14134 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14135 # The linker can only warn and ignore the option if not recognized
14136 # So say no if there are warnings
14137 if test -s conftest.err; then
14138 # Append any errors to the config.log.
14139 cat conftest.err 1>&5
14140 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14141 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14142 if diff conftest.exp conftest.er2 >/dev/null; then
14143 lt_cv_prog_compiler_static_works_CXX=yes
14145 else
14146 lt_cv_prog_compiler_static_works_CXX=yes
14149 $RM -r conftest*
14150 LDFLAGS="$save_LDFLAGS"
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14154 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14156 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14158 else
14159 lt_prog_compiler_static_CXX=
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14166 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14167 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14168 $as_echo_n "(cached) " >&6
14169 else
14170 lt_cv_prog_compiler_c_o_CXX=no
14171 $RM -r conftest 2>/dev/null
14172 mkdir conftest
14173 cd conftest
14174 mkdir out
14175 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14177 lt_compiler_flag="-o out/conftest2.$ac_objext"
14178 # Insert the option either (1) after the last *FLAGS variable, or
14179 # (2) before a word containing "conftest.", or (3) at the end.
14180 # Note that $ac_compile itself does not contain backslashes and begins
14181 # with a dollar sign (not a hyphen), so the echo should work correctly.
14182 lt_compile=`echo "$ac_compile" | $SED \
14183 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14184 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14185 -e 's:$: $lt_compiler_flag:'`
14186 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14187 (eval "$lt_compile" 2>out/conftest.err)
14188 ac_status=$?
14189 cat out/conftest.err >&5
14190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14191 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14192 then
14193 # The compiler can only warn and ignore the option if not recognized
14194 # So say no if there are warnings
14195 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14196 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14197 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14198 lt_cv_prog_compiler_c_o_CXX=yes
14201 chmod u+w . 2>&5
14202 $RM conftest*
14203 # SGI C++ compiler will create directory out/ii_files/ for
14204 # template instantiation
14205 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14206 $RM out/* && rmdir out
14207 cd ..
14208 $RM -r conftest
14209 $RM conftest*
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14213 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14218 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14219 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14220 $as_echo_n "(cached) " >&6
14221 else
14222 lt_cv_prog_compiler_c_o_CXX=no
14223 $RM -r conftest 2>/dev/null
14224 mkdir conftest
14225 cd conftest
14226 mkdir out
14227 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14229 lt_compiler_flag="-o out/conftest2.$ac_objext"
14230 # Insert the option either (1) after the last *FLAGS variable, or
14231 # (2) before a word containing "conftest.", or (3) at the end.
14232 # Note that $ac_compile itself does not contain backslashes and begins
14233 # with a dollar sign (not a hyphen), so the echo should work correctly.
14234 lt_compile=`echo "$ac_compile" | $SED \
14235 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14236 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14237 -e 's:$: $lt_compiler_flag:'`
14238 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14239 (eval "$lt_compile" 2>out/conftest.err)
14240 ac_status=$?
14241 cat out/conftest.err >&5
14242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14243 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14244 then
14245 # The compiler can only warn and ignore the option if not recognized
14246 # So say no if there are warnings
14247 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14248 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14249 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14250 lt_cv_prog_compiler_c_o_CXX=yes
14253 chmod u+w . 2>&5
14254 $RM conftest*
14255 # SGI C++ compiler will create directory out/ii_files/ for
14256 # template instantiation
14257 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14258 $RM out/* && rmdir out
14259 cd ..
14260 $RM -r conftest
14261 $RM conftest*
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14265 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14270 hard_links="nottested"
14271 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14272 # do not overwrite the value of need_locks provided by the user
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14274 $as_echo_n "checking if we can lock with hard links... " >&6; }
14275 hard_links=yes
14276 $RM conftest*
14277 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14278 touch conftest.a
14279 ln conftest.a conftest.b 2>&5 || hard_links=no
14280 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14282 $as_echo "$hard_links" >&6; }
14283 if test "$hard_links" = no; then
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14285 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14286 need_locks=warn
14288 else
14289 need_locks=no
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14295 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14297 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14298 case $host_os in
14299 aix[4-9]*)
14300 # If we're using GNU nm, then we don't want the "-C" option.
14301 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14302 # Also, AIX nm treats weak defined symbols like other global defined
14303 # symbols, whereas GNU nm marks them as "W".
14304 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14305 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14306 else
14307 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14310 pw32*)
14311 export_symbols_cmds_CXX="$ltdll_cmds"
14313 cygwin* | mingw* | cegcc*)
14314 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14317 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14319 esac
14320 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14323 $as_echo "$ld_shlibs_CXX" >&6; }
14324 test "$ld_shlibs_CXX" = no && can_build_shared=no
14326 with_gnu_ld_CXX=$with_gnu_ld
14334 # Do we need to explicitly link libc?
14336 case "x$archive_cmds_need_lc_CXX" in
14337 x|xyes)
14338 # Assume -lc should be added
14339 archive_cmds_need_lc_CXX=yes
14341 if test "$enable_shared" = yes && test "$GCC" = yes; then
14342 case $archive_cmds_CXX in
14343 *'~'*)
14344 # FIXME: we may have to deal with multi-command sequences.
14346 '$CC '*)
14347 # Test whether the compiler implicitly links with -lc since on some
14348 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14349 # to ld, don't add -lc before -lgcc.
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14351 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14352 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14353 $as_echo_n "(cached) " >&6
14354 else
14355 $RM conftest*
14356 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14358 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14359 (eval $ac_compile) 2>&5
14360 ac_status=$?
14361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14362 test $ac_status = 0; } 2>conftest.err; then
14363 soname=conftest
14364 lib=conftest
14365 libobjs=conftest.$ac_objext
14366 deplibs=
14367 wl=$lt_prog_compiler_wl_CXX
14368 pic_flag=$lt_prog_compiler_pic_CXX
14369 compiler_flags=-v
14370 linker_flags=-v
14371 verstring=
14372 output_objdir=.
14373 libname=conftest
14374 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14375 allow_undefined_flag_CXX=
14376 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14377 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14378 ac_status=$?
14379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14380 test $ac_status = 0; }
14381 then
14382 lt_cv_archive_cmds_need_lc_CXX=no
14383 else
14384 lt_cv_archive_cmds_need_lc_CXX=yes
14386 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14387 else
14388 cat conftest.err 1>&5
14390 $RM conftest*
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14394 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14395 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14397 esac
14400 esac
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14466 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14468 library_names_spec=
14469 libname_spec='lib$name'
14470 soname_spec=
14471 shrext_cmds=".so"
14472 postinstall_cmds=
14473 postuninstall_cmds=
14474 finish_cmds=
14475 finish_eval=
14476 shlibpath_var=
14477 shlibpath_overrides_runpath=unknown
14478 version_type=none
14479 dynamic_linker="$host_os ld.so"
14480 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14481 need_lib_prefix=unknown
14482 hardcode_into_libs=no
14484 # when you set need_version to no, make sure it does not cause -set_version
14485 # flags to be left without arguments
14486 need_version=unknown
14488 case $host_os in
14489 aix3*)
14490 version_type=linux
14491 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14492 shlibpath_var=LIBPATH
14494 # AIX 3 has no versioning support, so we append a major version to the name.
14495 soname_spec='${libname}${release}${shared_ext}$major'
14498 aix[4-9]*)
14499 version_type=linux
14500 need_lib_prefix=no
14501 need_version=no
14502 hardcode_into_libs=yes
14503 if test "$host_cpu" = ia64; then
14504 # AIX 5 supports IA64
14505 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14506 shlibpath_var=LD_LIBRARY_PATH
14507 else
14508 # With GCC up to 2.95.x, collect2 would create an import file
14509 # for dependence libraries. The import file would start with
14510 # the line `#! .'. This would cause the generated library to
14511 # depend on `.', always an invalid library. This was fixed in
14512 # development snapshots of GCC prior to 3.0.
14513 case $host_os in
14514 aix4 | aix4.[01] | aix4.[01].*)
14515 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14516 echo ' yes '
14517 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14519 else
14520 can_build_shared=no
14523 esac
14524 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14525 # soname into executable. Probably we can add versioning support to
14526 # collect2, so additional links can be useful in future.
14527 if test "$aix_use_runtimelinking" = yes; then
14528 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14529 # instead of lib<name>.a to let people know that these are not
14530 # typical AIX shared libraries.
14531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14532 else
14533 # We preserve .a as extension for shared libraries through AIX4.2
14534 # and later when we are not doing run time linking.
14535 library_names_spec='${libname}${release}.a $libname.a'
14536 soname_spec='${libname}${release}${shared_ext}$major'
14538 shlibpath_var=LIBPATH
14542 amigaos*)
14543 case $host_cpu in
14544 powerpc)
14545 # Since July 2007 AmigaOS4 officially supports .so libraries.
14546 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14549 m68k)
14550 library_names_spec='$libname.ixlibrary $libname.a'
14551 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14552 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14554 esac
14557 beos*)
14558 library_names_spec='${libname}${shared_ext}'
14559 dynamic_linker="$host_os ld.so"
14560 shlibpath_var=LIBRARY_PATH
14563 bsdi[45]*)
14564 version_type=linux
14565 need_version=no
14566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14567 soname_spec='${libname}${release}${shared_ext}$major'
14568 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14569 shlibpath_var=LD_LIBRARY_PATH
14570 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14571 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14572 # the default ld.so.conf also contains /usr/contrib/lib and
14573 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14574 # libtool to hard-code these into programs
14577 cygwin* | mingw* | pw32* | cegcc*)
14578 version_type=windows
14579 shrext_cmds=".dll"
14580 need_version=no
14581 need_lib_prefix=no
14583 case $GCC,$host_os in
14584 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14585 library_names_spec='$libname.dll.a'
14586 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14587 postinstall_cmds='base_file=`basename \${file}`~
14588 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14589 dldir=$destdir/`dirname \$dlpath`~
14590 test -d \$dldir || mkdir -p \$dldir~
14591 $install_prog $dir/$dlname \$dldir/$dlname~
14592 chmod a+x \$dldir/$dlname~
14593 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14594 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14596 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14597 dlpath=$dir/\$dldll~
14598 $RM \$dlpath'
14599 shlibpath_overrides_runpath=yes
14601 case $host_os in
14602 cygwin*)
14603 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14604 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14607 mingw* | cegcc*)
14608 # MinGW DLLs use traditional 'lib' prefix
14609 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14611 pw32*)
14612 # pw32 DLLs use 'pw' prefix rather than 'lib'
14613 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14615 esac
14619 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14621 esac
14622 dynamic_linker='Win32 ld.exe'
14623 # FIXME: first we should search . and the directory the executable is in
14624 shlibpath_var=PATH
14627 darwin* | rhapsody*)
14628 dynamic_linker="$host_os dyld"
14629 version_type=darwin
14630 need_lib_prefix=no
14631 need_version=no
14632 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14633 soname_spec='${libname}${release}${major}$shared_ext'
14634 shlibpath_overrides_runpath=yes
14635 shlibpath_var=DYLD_LIBRARY_PATH
14636 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14638 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14641 dgux*)
14642 version_type=linux
14643 need_lib_prefix=no
14644 need_version=no
14645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14646 soname_spec='${libname}${release}${shared_ext}$major'
14647 shlibpath_var=LD_LIBRARY_PATH
14650 freebsd* | dragonfly*)
14651 # DragonFly does not have aout. When/if they implement a new
14652 # versioning mechanism, adjust this.
14653 if test -x /usr/bin/objformat; then
14654 objformat=`/usr/bin/objformat`
14655 else
14656 case $host_os in
14657 freebsd[23].*) objformat=aout ;;
14658 *) objformat=elf ;;
14659 esac
14661 version_type=freebsd-$objformat
14662 case $version_type in
14663 freebsd-elf*)
14664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14665 need_version=no
14666 need_lib_prefix=no
14668 freebsd-*)
14669 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14670 need_version=yes
14672 esac
14673 shlibpath_var=LD_LIBRARY_PATH
14674 case $host_os in
14675 freebsd2.*)
14676 shlibpath_overrides_runpath=yes
14678 freebsd3.[01]* | freebsdelf3.[01]*)
14679 shlibpath_overrides_runpath=yes
14680 hardcode_into_libs=yes
14682 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14683 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14684 shlibpath_overrides_runpath=no
14685 hardcode_into_libs=yes
14687 *) # from 4.6 on, and DragonFly
14688 shlibpath_overrides_runpath=yes
14689 hardcode_into_libs=yes
14691 esac
14694 gnu*)
14695 version_type=linux
14696 need_lib_prefix=no
14697 need_version=no
14698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14699 soname_spec='${libname}${release}${shared_ext}$major'
14700 shlibpath_var=LD_LIBRARY_PATH
14701 hardcode_into_libs=yes
14704 haiku*)
14705 version_type=linux
14706 need_lib_prefix=no
14707 need_version=no
14708 dynamic_linker="$host_os runtime_loader"
14709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14710 soname_spec='${libname}${release}${shared_ext}$major'
14711 shlibpath_var=LIBRARY_PATH
14712 shlibpath_overrides_runpath=yes
14713 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14714 hardcode_into_libs=yes
14717 hpux9* | hpux10* | hpux11*)
14718 # Give a soname corresponding to the major version so that dld.sl refuses to
14719 # link against other versions.
14720 version_type=sunos
14721 need_lib_prefix=no
14722 need_version=no
14723 case $host_cpu in
14724 ia64*)
14725 shrext_cmds='.so'
14726 hardcode_into_libs=yes
14727 dynamic_linker="$host_os dld.so"
14728 shlibpath_var=LD_LIBRARY_PATH
14729 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14730 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14731 soname_spec='${libname}${release}${shared_ext}$major'
14732 if test "X$HPUX_IA64_MODE" = X32; then
14733 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14734 else
14735 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14737 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14739 hppa*64*)
14740 shrext_cmds='.sl'
14741 hardcode_into_libs=yes
14742 dynamic_linker="$host_os dld.sl"
14743 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14744 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14746 soname_spec='${libname}${release}${shared_ext}$major'
14747 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14748 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14751 shrext_cmds='.sl'
14752 dynamic_linker="$host_os dld.sl"
14753 shlibpath_var=SHLIB_PATH
14754 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14756 soname_spec='${libname}${release}${shared_ext}$major'
14758 esac
14759 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14760 postinstall_cmds='chmod 555 $lib'
14761 # or fails outright, so override atomically:
14762 install_override_mode=555
14765 interix[3-9]*)
14766 version_type=linux
14767 need_lib_prefix=no
14768 need_version=no
14769 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14770 soname_spec='${libname}${release}${shared_ext}$major'
14771 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14772 shlibpath_var=LD_LIBRARY_PATH
14773 shlibpath_overrides_runpath=no
14774 hardcode_into_libs=yes
14777 irix5* | irix6* | nonstopux*)
14778 case $host_os in
14779 nonstopux*) version_type=nonstopux ;;
14781 if test "$lt_cv_prog_gnu_ld" = yes; then
14782 version_type=linux
14783 else
14784 version_type=irix
14785 fi ;;
14786 esac
14787 need_lib_prefix=no
14788 need_version=no
14789 soname_spec='${libname}${release}${shared_ext}$major'
14790 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14791 case $host_os in
14792 irix5* | nonstopux*)
14793 libsuff= shlibsuff=
14796 case $LD in # libtool.m4 will add one of these switches to LD
14797 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14798 libsuff= shlibsuff= libmagic=32-bit;;
14799 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14800 libsuff=32 shlibsuff=N32 libmagic=N32;;
14801 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14802 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14803 *) libsuff= shlibsuff= libmagic=never-match;;
14804 esac
14806 esac
14807 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14808 shlibpath_overrides_runpath=no
14809 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14810 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14811 hardcode_into_libs=yes
14814 # No shared lib support for Linux oldld, aout, or coff.
14815 linux*oldld* | linux*aout* | linux*coff*)
14816 dynamic_linker=no
14819 # This must be Linux ELF.
14820 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14821 version_type=linux
14822 need_lib_prefix=no
14823 need_version=no
14824 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14825 soname_spec='${libname}${release}${shared_ext}$major'
14826 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14827 shlibpath_var=LD_LIBRARY_PATH
14828 shlibpath_overrides_runpath=no
14830 # Some binutils ld are patched to set DT_RUNPATH
14831 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14832 $as_echo_n "(cached) " >&6
14833 else
14834 lt_cv_shlibpath_overrides_runpath=no
14835 save_LDFLAGS=$LDFLAGS
14836 save_libdir=$libdir
14837 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14838 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14839 if test x$gcc_no_link = xyes; then
14840 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14843 /* end confdefs.h. */
14846 main ()
14850 return 0;
14852 _ACEOF
14853 if ac_fn_cxx_try_link "$LINENO"; then :
14854 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14855 lt_cv_shlibpath_overrides_runpath=yes
14858 rm -f core conftest.err conftest.$ac_objext \
14859 conftest$ac_exeext conftest.$ac_ext
14860 LDFLAGS=$save_LDFLAGS
14861 libdir=$save_libdir
14865 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14867 # This implies no fast_install, which is unacceptable.
14868 # Some rework will be needed to allow for fast_install
14869 # before this can be enabled.
14870 hardcode_into_libs=yes
14872 # Append ld.so.conf contents to the search path
14873 if test -f /etc/ld.so.conf; then
14874 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
14875 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14878 # We used to test for /lib/ld.so.1 and disable shared libraries on
14879 # powerpc, because MkLinux only supported shared libraries with the
14880 # GNU dynamic linker. Since this was broken with cross compilers,
14881 # most powerpc-linux boxes support dynamic linking these days and
14882 # people can always --disable-shared, the test was removed, and we
14883 # assume the GNU/Linux dynamic linker is in use.
14884 dynamic_linker='GNU/Linux ld.so'
14887 netbsd*)
14888 version_type=sunos
14889 need_lib_prefix=no
14890 need_version=no
14891 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14893 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14894 dynamic_linker='NetBSD (a.out) ld.so'
14895 else
14896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14897 soname_spec='${libname}${release}${shared_ext}$major'
14898 dynamic_linker='NetBSD ld.elf_so'
14900 shlibpath_var=LD_LIBRARY_PATH
14901 shlibpath_overrides_runpath=yes
14902 hardcode_into_libs=yes
14905 newsos6)
14906 version_type=linux
14907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14908 shlibpath_var=LD_LIBRARY_PATH
14909 shlibpath_overrides_runpath=yes
14912 *nto* | *qnx*)
14913 version_type=qnx
14914 need_lib_prefix=no
14915 need_version=no
14916 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14917 soname_spec='${libname}${release}${shared_ext}$major'
14918 shlibpath_var=LD_LIBRARY_PATH
14919 shlibpath_overrides_runpath=no
14920 hardcode_into_libs=yes
14921 dynamic_linker='ldqnx.so'
14924 openbsd*)
14925 version_type=sunos
14926 sys_lib_dlsearch_path_spec="/usr/lib"
14927 need_lib_prefix=no
14928 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14929 case $host_os in
14930 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14931 *) need_version=no ;;
14932 esac
14933 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14934 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14935 shlibpath_var=LD_LIBRARY_PATH
14936 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14937 case $host_os in
14938 openbsd2.[89] | openbsd2.[89].*)
14939 shlibpath_overrides_runpath=no
14942 shlibpath_overrides_runpath=yes
14944 esac
14945 else
14946 shlibpath_overrides_runpath=yes
14950 os2*)
14951 libname_spec='$name'
14952 shrext_cmds=".dll"
14953 need_lib_prefix=no
14954 library_names_spec='$libname${shared_ext} $libname.a'
14955 dynamic_linker='OS/2 ld.exe'
14956 shlibpath_var=LIBPATH
14959 osf3* | osf4* | osf5*)
14960 version_type=osf
14961 need_lib_prefix=no
14962 need_version=no
14963 soname_spec='${libname}${release}${shared_ext}$major'
14964 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14965 shlibpath_var=LD_LIBRARY_PATH
14966 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14967 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14970 rdos*)
14971 dynamic_linker=no
14974 solaris*)
14975 version_type=linux
14976 need_lib_prefix=no
14977 need_version=no
14978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14979 soname_spec='${libname}${release}${shared_ext}$major'
14980 shlibpath_var=LD_LIBRARY_PATH
14981 shlibpath_overrides_runpath=yes
14982 hardcode_into_libs=yes
14983 # ldd complains unless libraries are executable
14984 postinstall_cmds='chmod +x $lib'
14987 sunos4*)
14988 version_type=sunos
14989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14990 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14991 shlibpath_var=LD_LIBRARY_PATH
14992 shlibpath_overrides_runpath=yes
14993 if test "$with_gnu_ld" = yes; then
14994 need_lib_prefix=no
14996 need_version=yes
14999 sysv4 | sysv4.3*)
15000 version_type=linux
15001 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15002 soname_spec='${libname}${release}${shared_ext}$major'
15003 shlibpath_var=LD_LIBRARY_PATH
15004 case $host_vendor in
15005 sni)
15006 shlibpath_overrides_runpath=no
15007 need_lib_prefix=no
15008 runpath_var=LD_RUN_PATH
15010 siemens)
15011 need_lib_prefix=no
15013 motorola)
15014 need_lib_prefix=no
15015 need_version=no
15016 shlibpath_overrides_runpath=no
15017 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15019 esac
15022 sysv4*MP*)
15023 if test -d /usr/nec ;then
15024 version_type=linux
15025 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15026 soname_spec='$libname${shared_ext}.$major'
15027 shlibpath_var=LD_LIBRARY_PATH
15031 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15032 version_type=freebsd-elf
15033 need_lib_prefix=no
15034 need_version=no
15035 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15036 soname_spec='${libname}${release}${shared_ext}$major'
15037 shlibpath_var=LD_LIBRARY_PATH
15038 shlibpath_overrides_runpath=yes
15039 hardcode_into_libs=yes
15040 if test "$with_gnu_ld" = yes; then
15041 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15042 else
15043 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15044 case $host_os in
15045 sco3.2v5*)
15046 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15048 esac
15050 sys_lib_dlsearch_path_spec='/usr/lib'
15053 tpf*)
15054 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15055 version_type=linux
15056 need_lib_prefix=no
15057 need_version=no
15058 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15059 shlibpath_var=LD_LIBRARY_PATH
15060 shlibpath_overrides_runpath=no
15061 hardcode_into_libs=yes
15064 uts4*)
15065 version_type=linux
15066 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15067 soname_spec='${libname}${release}${shared_ext}$major'
15068 shlibpath_var=LD_LIBRARY_PATH
15072 dynamic_linker=no
15074 esac
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15076 $as_echo "$dynamic_linker" >&6; }
15077 test "$dynamic_linker" = no && can_build_shared=no
15079 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15080 if test "$GCC" = yes; then
15081 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15084 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15085 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15087 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15088 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15129 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15130 hardcode_action_CXX=
15131 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15132 test -n "$runpath_var_CXX" ||
15133 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15135 # We can hardcode non-existent directories.
15136 if test "$hardcode_direct_CXX" != no &&
15137 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15138 # have to relink, otherwise we might link with an installed library
15139 # when we should be linking with a yet-to-be-installed one
15140 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15141 test "$hardcode_minus_L_CXX" != no; then
15142 # Linking always hardcodes the temporary library directory.
15143 hardcode_action_CXX=relink
15144 else
15145 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15146 hardcode_action_CXX=immediate
15148 else
15149 # We cannot hardcode anything, or else we can only hardcode existing
15150 # directories.
15151 hardcode_action_CXX=unsupported
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15154 $as_echo "$hardcode_action_CXX" >&6; }
15156 if test "$hardcode_action_CXX" = relink ||
15157 test "$inherit_rpath_CXX" = yes; then
15158 # Fast installation is not supported
15159 enable_fast_install=no
15160 elif test "$shlibpath_overrides_runpath" = yes ||
15161 test "$enable_shared" = no; then
15162 # Fast installation is not necessary
15163 enable_fast_install=needless
15172 fi # test -n "$compiler"
15174 CC=$lt_save_CC
15175 LDCXX=$LD
15176 LD=$lt_save_LD
15177 GCC=$lt_save_GCC
15178 with_gnu_ld=$lt_save_with_gnu_ld
15179 lt_cv_path_LDCXX=$lt_cv_path_LD
15180 lt_cv_path_LD=$lt_save_path_LD
15181 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15182 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15183 fi # test "$_lt_caught_CXX_error" != yes
15185 ac_ext=c
15186 ac_cpp='$CPP $CPPFLAGS'
15187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15203 ac_config_commands="$ac_config_commands libtool"
15208 # Only expand once:
15214 case $host in
15215 *-cygwin* | *-mingw*)
15216 # 'host' will be top-level target in the case of a target lib,
15217 # we must compare to with_cross_host to decide if this is a native
15218 # or cross-compiler and select where to install dlls appropriately.
15219 if test -n "$with_cross_host" &&
15220 test x"$with_cross_host" != x"no"; then
15221 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15222 else
15223 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15227 lt_host_flags=
15229 esac
15236 if test "$enable_vtable_verify" = yes; then
15237 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15238 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15242 # libtool variables for C++ shared and position-independent compiles.
15244 # Use glibcxx_lt_pic_flag to designate the automake variable
15245 # used to encapsulate the default libtool approach to creating objects
15246 # with position-independent code. Default: -prefer-pic.
15248 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15249 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15251 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15252 # creating position-independent objects. This varies with the target
15253 # hardware and operating system, but is often: -DPIC -fPIC.
15254 if test "$enable_shared" = yes; then
15255 glibcxx_lt_pic_flag="-prefer-pic"
15256 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15257 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15259 else
15260 glibcxx_lt_pic_flag=
15261 glibcxx_compiler_pic_flag=
15262 glibcxx_compiler_shared_flag=
15268 # Override the libtool's pic_flag and pic_mode.
15269 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15270 # NB: this impacts --with-pic and --without-pic.
15271 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15272 pic_mode='default'
15274 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15275 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15277 # Possibly disable most of the library.
15278 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15279 ## than just ignoring the results. Faster /and/ more correct, win win.
15281 # Check whether --enable-hosted-libstdcxx was given.
15282 if test "${enable_hosted_libstdcxx+set}" = set; then :
15283 enableval=$enable_hosted_libstdcxx;
15284 else
15285 case "$host" in
15286 arm*-*-symbianelf*)
15287 enable_hosted_libstdcxx=no
15290 enable_hosted_libstdcxx=yes
15292 esac
15295 if test "$enable_hosted_libstdcxx" = no; then
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15297 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15298 is_hosted=no
15299 hosted_define=0
15300 enable_abi_check=no
15301 enable_libstdcxx_pch=no
15302 else
15303 is_hosted=yes
15304 hosted_define=1
15308 cat >>confdefs.h <<_ACEOF
15309 #define _GLIBCXX_HOSTED $hosted_define
15310 _ACEOF
15314 # Enable descriptive messages to standard output on termination.
15316 # Check whether --enable-libstdcxx-verbose was given.
15317 if test "${enable_libstdcxx_verbose+set}" = set; then :
15318 enableval=$enable_libstdcxx_verbose;
15319 else
15320 enable_libstdcxx_verbose=yes
15323 if test x"$enable_libstdcxx_verbose" = xyes; then
15324 verbose_define=1
15325 else
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15327 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15328 verbose_define=0
15331 cat >>confdefs.h <<_ACEOF
15332 #define _GLIBCXX_VERBOSE $verbose_define
15333 _ACEOF
15337 # Enable compiler support that doesn't require linking.
15339 # Check whether --enable-libstdcxx-pch was given.
15340 if test "${enable_libstdcxx_pch+set}" = set; then :
15341 enableval=$enable_libstdcxx_pch;
15342 case "$enableval" in
15343 yes|no) ;;
15344 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15345 esac
15347 else
15348 enable_libstdcxx_pch=$is_hosted
15352 if test $enable_libstdcxx_pch = yes; then
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15354 $as_echo_n "checking for compiler with PCH support... " >&6; }
15355 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15356 $as_echo_n "(cached) " >&6
15357 else
15358 ac_save_CXXFLAGS="$CXXFLAGS"
15359 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15361 ac_ext=cpp
15362 ac_cpp='$CXXCPP $CPPFLAGS'
15363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15367 echo '#include <math.h>' > conftest.h
15368 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15369 -o conftest.h.gch 1>&5 2>&1 &&
15370 echo '#error "pch failed"' > conftest.h &&
15371 echo '#include "conftest.h"' > conftest.cc &&
15372 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15373 then
15374 glibcxx_cv_prog_CXX_pch=yes
15375 else
15376 glibcxx_cv_prog_CXX_pch=no
15378 rm -f conftest*
15379 CXXFLAGS=$ac_save_CXXFLAGS
15380 ac_ext=c
15381 ac_cpp='$CPP $CPPFLAGS'
15382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15389 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15390 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15394 $as_echo_n "checking for enabled PCH... " >&6; }
15395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15396 $as_echo "$enable_libstdcxx_pch" >&6; }
15399 if test $enable_libstdcxx_pch = yes; then
15400 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15401 else
15402 glibcxx_PCHFLAGS=""
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15408 $as_echo_n "checking for thread model used by GCC... " >&6; }
15409 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15411 $as_echo "$target_thread_file" >&6; }
15413 case $target_thread_file in
15414 aix) thread_header=config/rs6000/gthr-aix.h ;;
15415 dce) thread_header=config/pa/gthr-dce.h ;;
15416 lynx) thread_header=config/gthr-lynx.h ;;
15417 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15418 posix) thread_header=gthr-posix.h ;;
15419 rtems) thread_header=config/gthr-rtems.h ;;
15420 single) thread_header=gthr-single.h ;;
15421 tpf) thread_header=config/s390/gthr-tpf.h ;;
15422 vxworks) thread_header=config/gthr-vxworks.h ;;
15423 win32) thread_header=config/i386/gthr-win32.h ;;
15424 esac
15430 ac_ext=cpp
15431 ac_cpp='$CXXCPP $CPPFLAGS'
15432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15436 old_CXXFLAGS="$CXXFLAGS"
15438 # Do link tests if possible, instead asm tests, limited to some platforms
15439 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15440 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15441 atomic_builtins_link_tests=no
15442 if test x$gcc_no_link != xyes; then
15443 # Can do link tests. Limit to some tested platforms
15444 case "$host" in
15445 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15446 atomic_builtins_link_tests=yes
15448 esac
15451 if test x$atomic_builtins_link_tests = xyes; then
15453 # Do link tests.
15455 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15458 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15459 if ${glibcxx_cv_atomic_bool+:} false; then :
15460 $as_echo_n "(cached) " >&6
15461 else
15463 if test x$gcc_no_link = xyes; then
15464 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15467 /* end confdefs.h. */
15470 main ()
15472 typedef bool atomic_type;
15473 atomic_type c1;
15474 atomic_type c2;
15475 atomic_type c3(0);
15476 // N.B. __atomic_fetch_add is not supported for bool.
15477 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15478 __ATOMIC_RELAXED);
15479 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15480 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15483 return 0;
15485 _ACEOF
15486 if ac_fn_cxx_try_link "$LINENO"; then :
15487 glibcxx_cv_atomic_bool=yes
15488 else
15489 glibcxx_cv_atomic_bool=no
15491 rm -f core conftest.err conftest.$ac_objext \
15492 conftest$ac_exeext conftest.$ac_ext
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15497 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15500 $as_echo_n "checking for atomic builtins for short... " >&6; }
15501 if ${glibcxx_cv_atomic_short+:} false; then :
15502 $as_echo_n "(cached) " >&6
15503 else
15505 if test x$gcc_no_link = xyes; then
15506 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15509 /* end confdefs.h. */
15512 main ()
15514 typedef short atomic_type;
15515 atomic_type c1;
15516 atomic_type c2;
15517 atomic_type c3(0);
15518 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15519 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15520 __ATOMIC_RELAXED);
15521 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15522 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15525 return 0;
15527 _ACEOF
15528 if ac_fn_cxx_try_link "$LINENO"; then :
15529 glibcxx_cv_atomic_short=yes
15530 else
15531 glibcxx_cv_atomic_short=no
15533 rm -f core conftest.err conftest.$ac_objext \
15534 conftest$ac_exeext conftest.$ac_ext
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15539 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15542 $as_echo_n "checking for atomic builtins for int... " >&6; }
15543 if ${glibcxx_cv_atomic_int+:} false; then :
15544 $as_echo_n "(cached) " >&6
15545 else
15547 if test x$gcc_no_link = xyes; then
15548 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15551 /* end confdefs.h. */
15554 main ()
15556 typedef int atomic_type;
15557 atomic_type c1;
15558 atomic_type c2;
15559 atomic_type c3(0);
15560 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15561 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15562 __ATOMIC_RELAXED);
15563 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15564 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15567 return 0;
15569 _ACEOF
15570 if ac_fn_cxx_try_link "$LINENO"; then :
15571 glibcxx_cv_atomic_int=yes
15572 else
15573 glibcxx_cv_atomic_int=no
15575 rm -f core conftest.err conftest.$ac_objext \
15576 conftest$ac_exeext conftest.$ac_ext
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15581 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15584 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15585 if ${glibcxx_cv_atomic_long_long+:} false; then :
15586 $as_echo_n "(cached) " >&6
15587 else
15589 if test x$gcc_no_link = xyes; then
15590 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15593 /* end confdefs.h. */
15596 main ()
15598 typedef long long atomic_type;
15599 atomic_type c1;
15600 atomic_type c2;
15601 atomic_type c3(0);
15602 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15603 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15604 __ATOMIC_RELAXED);
15605 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15606 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15609 return 0;
15611 _ACEOF
15612 if ac_fn_cxx_try_link "$LINENO"; then :
15613 glibcxx_cv_atomic_long_long=yes
15614 else
15615 glibcxx_cv_atomic_long_long=no
15617 rm -f core conftest.err conftest.$ac_objext \
15618 conftest$ac_exeext conftest.$ac_ext
15622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15623 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15625 else
15627 # Do asm tests.
15629 # Compile unoptimized.
15630 CXXFLAGS='-O0 -S'
15632 # Fake what AC_TRY_COMPILE does.
15634 cat > conftest.$ac_ext << EOF
15635 #line 15635 "configure"
15636 int main()
15638 typedef bool atomic_type;
15639 atomic_type c1;
15640 atomic_type c2;
15641 atomic_type c3(0);
15642 // N.B. __atomic_fetch_add is not supported for bool.
15643 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15644 __ATOMIC_RELAXED);
15645 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15646 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15648 return 0;
15652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15653 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15654 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15655 (eval $ac_compile) 2>&5
15656 ac_status=$?
15657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15658 test $ac_status = 0; }; then
15659 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15660 glibcxx_cv_atomic_bool=no
15661 else
15662 glibcxx_cv_atomic_bool=yes
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15666 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15667 rm -f conftest*
15669 cat > conftest.$ac_ext << EOF
15670 #line 15670 "configure"
15671 int main()
15673 typedef short atomic_type;
15674 atomic_type c1;
15675 atomic_type c2;
15676 atomic_type c3(0);
15677 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15678 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15679 __ATOMIC_RELAXED);
15680 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15681 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15683 return 0;
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15688 $as_echo_n "checking for atomic builtins for short... " >&6; }
15689 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15690 (eval $ac_compile) 2>&5
15691 ac_status=$?
15692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15693 test $ac_status = 0; }; then
15694 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15695 glibcxx_cv_atomic_short=no
15696 else
15697 glibcxx_cv_atomic_short=yes
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15701 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15702 rm -f conftest*
15704 cat > conftest.$ac_ext << EOF
15705 #line 15705 "configure"
15706 int main()
15708 // NB: _Atomic_word not necessarily int.
15709 typedef int atomic_type;
15710 atomic_type c1;
15711 atomic_type c2;
15712 atomic_type c3(0);
15713 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15714 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15715 __ATOMIC_RELAXED);
15716 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15717 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15719 return 0;
15723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15724 $as_echo_n "checking for atomic builtins for int... " >&6; }
15725 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15726 (eval $ac_compile) 2>&5
15727 ac_status=$?
15728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15729 test $ac_status = 0; }; then
15730 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15731 glibcxx_cv_atomic_int=no
15732 else
15733 glibcxx_cv_atomic_int=yes
15736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15737 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15738 rm -f conftest*
15740 cat > conftest.$ac_ext << EOF
15741 #line 15741 "configure"
15742 int main()
15744 typedef long long atomic_type;
15745 atomic_type c1;
15746 atomic_type c2;
15747 atomic_type c3(0);
15748 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15749 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15750 __ATOMIC_RELAXED);
15751 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15752 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15754 return 0;
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15759 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15760 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15761 (eval $ac_compile) 2>&5
15762 ac_status=$?
15763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15764 test $ac_status = 0; }; then
15765 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15766 glibcxx_cv_atomic_long_long=no
15767 else
15768 glibcxx_cv_atomic_long_long=yes
15771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15772 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15773 rm -f conftest*
15777 CXXFLAGS="$old_CXXFLAGS"
15778 ac_ext=c
15779 ac_cpp='$CPP $CPPFLAGS'
15780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15785 # Set atomicity_dir to builtins if all but the long long test above passes,
15786 # or if the builtins were already chosen (e.g. by configure.host).
15787 if { test "$glibcxx_cv_atomic_bool" = yes \
15788 && test "$glibcxx_cv_atomic_short" = yes \
15789 && test "$glibcxx_cv_atomic_int" = yes; } \
15790 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
15792 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15794 atomicity_dir=cpu/generic/atomicity_builtins
15797 # If still generic, set to mutex.
15798 if test $atomicity_dir = "cpu/generic" ; then
15799 atomicity_dir=cpu/generic/atomicity_mutex
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15801 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15802 if test "x$target_thread_file" = xsingle; then
15803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15804 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15806 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15807 else
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15809 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15811 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15818 # Fake what AC_TRY_COMPILE does, without linking as this is
15819 # unnecessary for this test.
15821 cat > conftest.$ac_ext << EOF
15822 #line 15822 "configure"
15823 int main()
15825 _Decimal32 d1;
15826 _Decimal64 d2;
15827 _Decimal128 d3;
15828 return 0;
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15833 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15834 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15835 (eval $ac_compile) 2>&5
15836 ac_status=$?
15837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15838 test $ac_status = 0; }; then
15840 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15842 enable_dfp=yes
15843 else
15844 enable_dfp=no
15846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15847 $as_echo "$enable_dfp" >&6; }
15848 rm -f conftest*
15853 ac_ext=cpp
15854 ac_cpp='$CXXCPP $CPPFLAGS'
15855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15860 # Fake what AC_TRY_COMPILE does, without linking as this is
15861 # unnecessary for this test.
15863 cat > conftest.$ac_ext << EOF
15864 #line 15864 "configure"
15865 template<typename T1, typename T2>
15866 struct same
15867 { typedef T2 type; };
15869 template<typename T>
15870 struct same<T, T>;
15872 int main()
15874 typename same<long, __int128>::type i1;
15875 typename same<long long, __int128>::type i2;
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15880 $as_echo_n "checking for __int128... " >&6; }
15881 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15882 (eval $ac_compile) 2>&5
15883 ac_status=$?
15884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15885 test $ac_status = 0; }; then
15887 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15889 enable_int128=yes
15890 else
15891 enable_int128=no
15893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15894 $as_echo "$enable_int128" >&6; }
15895 rm -f conftest*
15897 cat > conftest.$ac_ext << EOF
15898 #line 15898 "configure"
15899 template<typename T1, typename T2>
15900 struct same
15901 { typedef T2 type; };
15903 template<typename T>
15904 struct same<T, T>;
15906 int main()
15908 typename same<double, __float128>::type f1;
15909 typename same<long double, __float128>::type f2;
15913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15914 $as_echo_n "checking for __float128... " >&6; }
15915 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15916 (eval $ac_compile) 2>&5
15917 ac_status=$?
15918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15919 test $ac_status = 0; }; then
15920 enable_float128=yes
15921 else
15922 enable_float128=no
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15925 $as_echo "$enable_float128" >&6; }
15927 rm -f conftest*
15929 ac_ext=c
15930 ac_cpp='$CPP $CPPFLAGS'
15931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15936 if test "$enable_float128" = yes; then
15937 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15940 # Checks for compiler support that doesn't require linking.
15942 # All these tests are for C++; save the language and the compiler flags.
15943 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15944 # found in GLIBCXX_CONFIGURE.
15946 ac_ext=cpp
15947 ac_cpp='$CXXCPP $CPPFLAGS'
15948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15952 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15953 ac_save_CXXFLAGS="$CXXFLAGS"
15955 # Check for -ffunction-sections -fdata-sections
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15957 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15958 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15960 /* end confdefs.h. */
15961 int foo; void bar() { };
15963 main ()
15967 return 0;
15969 _ACEOF
15970 if ac_fn_cxx_try_compile "$LINENO"; then :
15971 ac_fdsections=yes
15972 else
15973 ac_fdsections=no
15975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15976 if test "$ac_test_CXXFLAGS" = set; then
15977 CXXFLAGS="$ac_save_CXXFLAGS"
15978 else
15979 # this is the suspicious part
15980 CXXFLAGS=''
15982 if test x"$ac_fdsections" = x"yes"; then
15983 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15986 $as_echo "$ac_fdsections" >&6; }
15988 ac_ext=c
15989 ac_cpp='$CPP $CPPFLAGS'
15990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15997 # Enable all the variable C++ runtime options that don't require linking.
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16000 $as_echo_n "checking for underlying I/O to use... " >&6; }
16001 # Check whether --enable-cstdio was given.
16002 if test "${enable_cstdio+set}" = set; then :
16003 enableval=$enable_cstdio;
16004 case "$enableval" in
16005 stdio) ;;
16006 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16007 esac
16009 else
16010 enable_cstdio=stdio
16015 # Now that libio has been removed, you can have any color you want as long
16016 # as it's black. This is one big no-op until other packages are added, but
16017 # showing the framework never hurts.
16018 case ${enable_cstdio} in
16019 stdio)
16020 CSTDIO_H=config/io/c_io_stdio.h
16021 BASIC_FILE_H=config/io/basic_file_stdio.h
16022 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
16024 $as_echo "stdio" >&6; }
16026 esac
16033 # Check whether --enable-clocale was given.
16034 if test "${enable_clocale+set}" = set; then :
16035 enableval=$enable_clocale;
16036 case "$enableval" in
16037 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16038 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16039 esac
16041 else
16042 enable_clocale=auto
16047 # Deal with gettext issues. Default to not using it (=no) until we detect
16048 # support for it later. Let the user turn it off via --e/d, but let that
16049 # default to on for easier handling.
16050 USE_NLS=no
16051 # Check whether --enable-nls was given.
16052 if test "${enable_nls+set}" = set; then :
16053 enableval=$enable_nls;
16054 else
16055 enable_nls=yes
16059 # Either a known package, or "auto"
16060 if test $enable_clocale = no || test $enable_clocale = yes; then
16061 enable_clocale=auto
16063 enable_clocale_flag=$enable_clocale
16065 # Probe for locale model to use if none specified.
16066 # Default to "generic".
16067 if test $enable_clocale_flag = auto; then
16068 case ${target_os} in
16069 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16070 enable_clocale_flag=gnu
16072 darwin*)
16073 enable_clocale_flag=darwin
16075 dragonfly* | freebsd*)
16076 enable_clocale_flag=dragonfly
16078 openbsd*)
16079 enable_clocale_flag=newlib
16082 if test x"$with_newlib" = x"yes"; then
16083 enable_clocale_flag=newlib
16084 else
16085 enable_clocale_flag=generic
16088 esac
16091 # Sanity check model, and test for special functionality.
16092 if test $enable_clocale_flag = gnu; then
16093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16094 /* end confdefs.h. */
16096 #include <features.h>
16097 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16098 _GLIBCXX_ok
16099 #endif
16101 _ACEOF
16102 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16103 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16104 enable_clocale_flag=gnu
16105 else
16106 enable_clocale_flag=generic
16108 rm -f conftest*
16111 # Set it to scream when it hurts.
16112 ac_save_CFLAGS="$CFLAGS"
16113 CFLAGS="-Wimplicit-function-declaration -Werror"
16115 # Use strxfrm_l if available.
16116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16117 /* end confdefs.h. */
16118 #define _GNU_SOURCE 1
16119 #include <string.h>
16120 #include <locale.h>
16122 main ()
16124 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16126 return 0;
16128 _ACEOF
16129 if ac_fn_c_try_compile "$LINENO"; then :
16131 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16136 # Use strerror_l if available.
16137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16138 /* end confdefs.h. */
16139 #define _GNU_SOURCE 1
16140 #include <string.h>
16141 #include <locale.h>
16143 main ()
16145 __locale_t loc; strerror_l(5, loc);
16147 return 0;
16149 _ACEOF
16150 if ac_fn_c_try_compile "$LINENO"; then :
16152 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16157 CFLAGS="$ac_save_CFLAGS"
16160 # Perhaps use strerror_r if available, and strerror_l isn't.
16161 ac_save_CFLAGS="$CFLAGS"
16162 CFLAGS="-Wimplicit-function-declaration -Werror"
16163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16164 /* end confdefs.h. */
16165 #define _GNU_SOURCE 1
16166 #include <string.h>
16167 #include <locale.h>
16169 main ()
16171 char s[128]; strerror_r(5, s, 128);
16173 return 0;
16175 _ACEOF
16176 if ac_fn_c_try_compile "$LINENO"; then :
16178 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16182 CFLAGS="$ac_save_CFLAGS"
16184 # Set configure bits for specified locale package
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16186 $as_echo_n "checking for C locale to use... " >&6; }
16187 case ${enable_clocale_flag} in
16188 generic)
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16190 $as_echo "generic" >&6; }
16192 CLOCALE_H=config/locale/generic/c_locale.h
16193 CLOCALE_CC=config/locale/generic/c_locale.cc
16194 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16195 CCOLLATE_CC=config/locale/generic/collate_members.cc
16196 CCTYPE_CC=config/locale/generic/ctype_members.cc
16197 CMESSAGES_H=config/locale/generic/messages_members.h
16198 CMESSAGES_CC=config/locale/generic/messages_members.cc
16199 CMONEY_CC=config/locale/generic/monetary_members.cc
16200 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16201 CTIME_H=config/locale/generic/time_members.h
16202 CTIME_CC=config/locale/generic/time_members.cc
16203 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16205 darwin)
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16207 $as_echo "darwin" >&6; }
16209 CLOCALE_H=config/locale/generic/c_locale.h
16210 CLOCALE_CC=config/locale/generic/c_locale.cc
16211 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16212 CCOLLATE_CC=config/locale/generic/collate_members.cc
16213 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16214 CMESSAGES_H=config/locale/generic/messages_members.h
16215 CMESSAGES_CC=config/locale/generic/messages_members.cc
16216 CMONEY_CC=config/locale/generic/monetary_members.cc
16217 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16218 CTIME_H=config/locale/generic/time_members.h
16219 CTIME_CC=config/locale/generic/time_members.cc
16220 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16223 dragonfly)
16224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16225 $as_echo "dragonfly or freebsd" >&6; }
16227 CLOCALE_H=config/locale/dragonfly/c_locale.h
16228 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16229 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16230 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16231 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16232 CMESSAGES_H=config/locale/generic/messages_members.h
16233 CMESSAGES_CC=config/locale/generic/messages_members.cc
16234 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16235 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16236 CTIME_H=config/locale/dragonfly/time_members.h
16237 CTIME_CC=config/locale/dragonfly/time_members.cc
16238 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16241 gnu)
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16243 $as_echo "gnu" >&6; }
16245 # Declare intention to use gettext, and add support for specific
16246 # languages.
16247 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16248 ALL_LINGUAS="de fr"
16250 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16251 # Extract the first word of "msgfmt", so it can be a program name with args.
16252 set dummy msgfmt; ac_word=$2
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16254 $as_echo_n "checking for $ac_word... " >&6; }
16255 if ${ac_cv_prog_check_msgfmt+:} false; then :
16256 $as_echo_n "(cached) " >&6
16257 else
16258 if test -n "$check_msgfmt"; then
16259 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16260 else
16261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16262 for as_dir in $PATH
16264 IFS=$as_save_IFS
16265 test -z "$as_dir" && as_dir=.
16266 for ac_exec_ext in '' $ac_executable_extensions; do
16267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16268 ac_cv_prog_check_msgfmt="yes"
16269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16270 break 2
16272 done
16273 done
16274 IFS=$as_save_IFS
16276 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16279 check_msgfmt=$ac_cv_prog_check_msgfmt
16280 if test -n "$check_msgfmt"; then
16281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16282 $as_echo "$check_msgfmt" >&6; }
16283 else
16284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16285 $as_echo "no" >&6; }
16289 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16290 USE_NLS=yes
16292 # Export the build objects.
16293 for ling in $ALL_LINGUAS; do \
16294 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16295 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16296 done
16300 CLOCALE_H=config/locale/gnu/c_locale.h
16301 CLOCALE_CC=config/locale/gnu/c_locale.cc
16302 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16303 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16304 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16305 CMESSAGES_H=config/locale/gnu/messages_members.h
16306 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16307 CMONEY_CC=config/locale/gnu/monetary_members.cc
16308 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16309 CTIME_H=config/locale/gnu/time_members.h
16310 CTIME_CC=config/locale/gnu/time_members.cc
16311 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16313 ieee_1003.1-2001)
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16315 $as_echo "IEEE 1003.1" >&6; }
16317 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16318 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16319 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16320 CCOLLATE_CC=config/locale/generic/collate_members.cc
16321 CCTYPE_CC=config/locale/generic/ctype_members.cc
16322 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16323 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16324 CMONEY_CC=config/locale/generic/monetary_members.cc
16325 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16326 CTIME_H=config/locale/generic/time_members.h
16327 CTIME_CC=config/locale/generic/time_members.cc
16328 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16330 newlib)
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16332 $as_echo "newlib" >&6; }
16334 CLOCALE_H=config/locale/generic/c_locale.h
16335 CLOCALE_CC=config/locale/generic/c_locale.cc
16336 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16337 CCOLLATE_CC=config/locale/generic/collate_members.cc
16338 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16339 CMESSAGES_H=config/locale/generic/messages_members.h
16340 CMESSAGES_CC=config/locale/generic/messages_members.cc
16341 CMONEY_CC=config/locale/generic/monetary_members.cc
16342 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16343 CTIME_H=config/locale/generic/time_members.h
16344 CTIME_CC=config/locale/generic/time_members.cc
16345 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16347 esac
16349 # This is where the testsuite looks for locale catalogs, using the
16350 # -DLOCALEDIR define during testsuite compilation.
16351 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16354 # A standalone libintl (e.g., GNU libintl) may be in use.
16355 if test $USE_NLS = yes; then
16356 for ac_header in libintl.h
16357 do :
16358 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16359 if test "x$ac_cv_header_libintl_h" = xyes; then :
16360 cat >>confdefs.h <<_ACEOF
16361 #define HAVE_LIBINTL_H 1
16362 _ACEOF
16364 else
16365 USE_NLS=no
16368 done
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16371 $as_echo_n "checking for library containing gettext... " >&6; }
16372 if ${ac_cv_search_gettext+:} false; then :
16373 $as_echo_n "(cached) " >&6
16374 else
16375 ac_func_search_save_LIBS=$LIBS
16376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16377 /* end confdefs.h. */
16379 /* Override any GCC internal prototype to avoid an error.
16380 Use char because int might match the return type of a GCC
16381 builtin and then its argument prototype would still apply. */
16382 #ifdef __cplusplus
16383 extern "C"
16384 #endif
16385 char gettext ();
16387 main ()
16389 return gettext ();
16391 return 0;
16393 _ACEOF
16394 for ac_lib in '' intl; do
16395 if test -z "$ac_lib"; then
16396 ac_res="none required"
16397 else
16398 ac_res=-l$ac_lib
16399 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16401 if test x$gcc_no_link = xyes; then
16402 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16404 if ac_fn_c_try_link "$LINENO"; then :
16405 ac_cv_search_gettext=$ac_res
16407 rm -f core conftest.err conftest.$ac_objext \
16408 conftest$ac_exeext
16409 if ${ac_cv_search_gettext+:} false; then :
16410 break
16412 done
16413 if ${ac_cv_search_gettext+:} false; then :
16415 else
16416 ac_cv_search_gettext=no
16418 rm conftest.$ac_ext
16419 LIBS=$ac_func_search_save_LIBS
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16422 $as_echo "$ac_cv_search_gettext" >&6; }
16423 ac_res=$ac_cv_search_gettext
16424 if test "$ac_res" != no; then :
16425 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16427 else
16428 USE_NLS=no
16432 if test $USE_NLS = yes; then
16434 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16454 $as_echo_n "checking for std::allocator base class... " >&6; }
16455 # Check whether --enable-libstdcxx-allocator was given.
16456 if test "${enable_libstdcxx_allocator+set}" = set; then :
16457 enableval=$enable_libstdcxx_allocator;
16458 case "$enableval" in
16459 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16460 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16461 esac
16463 else
16464 enable_libstdcxx_allocator=auto
16469 # If they didn't use this option switch, or if they specified --enable
16470 # with no specific model, we'll have to look for one. If they
16471 # specified --disable (???), do likewise.
16472 if test $enable_libstdcxx_allocator = no ||
16473 test $enable_libstdcxx_allocator = yes;
16474 then
16475 enable_libstdcxx_allocator=auto
16478 # Either a known package, or "auto". Auto implies the default choice
16479 # for a particular platform.
16480 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16482 # Probe for host-specific support if no specific model is specified.
16483 # Default to "new".
16484 if test $enable_libstdcxx_allocator_flag = auto; then
16485 case ${target_os} in
16486 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16487 enable_libstdcxx_allocator_flag=new
16490 enable_libstdcxx_allocator_flag=new
16492 esac
16494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16495 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16498 # Set configure bits for specified locale package
16499 case ${enable_libstdcxx_allocator_flag} in
16500 bitmap)
16501 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16502 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16504 malloc)
16505 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16506 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16509 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16510 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16512 new)
16513 ALLOCATOR_H=config/allocator/new_allocator_base.h
16514 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16516 pool)
16517 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16518 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16520 esac
16527 # Check whether --enable-cheaders was given.
16528 if test "${enable_cheaders+set}" = set; then :
16529 enableval=$enable_cheaders;
16530 case "$enableval" in
16531 c|c_std|c_global) ;;
16532 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16533 esac
16535 else
16536 enable_cheaders=$c_model
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16541 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16543 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16545 # Allow overrides to configure.host here.
16546 if test $enable_cheaders = c_global; then
16547 c_compatibility=yes
16556 # Check whether --enable-long-long was given.
16557 if test "${enable_long_long+set}" = set; then :
16558 enableval=$enable_long_long;
16559 case "$enableval" in
16560 yes|no) ;;
16561 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16562 esac
16564 else
16565 enable_long_long=yes
16569 if test $enable_long_long = yes; then
16571 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16575 $as_echo_n "checking for enabled long long specializations... " >&6; }
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16577 $as_echo "$enable_long_long" >&6; }
16580 # Check whether --enable-wchar_t was given.
16581 if test "${enable_wchar_t+set}" = set; then :
16582 enableval=$enable_wchar_t;
16583 case "$enableval" in
16584 yes|no) ;;
16585 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16586 esac
16588 else
16589 enable_wchar_t=yes
16594 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16595 for ac_header in wchar.h
16596 do :
16597 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16598 if test "x$ac_cv_header_wchar_h" = xyes; then :
16599 cat >>confdefs.h <<_ACEOF
16600 #define HAVE_WCHAR_H 1
16601 _ACEOF
16602 ac_has_wchar_h=yes
16603 else
16604 ac_has_wchar_h=no
16607 done
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16610 $as_echo_n "checking for mbstate_t... " >&6; }
16611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16612 /* end confdefs.h. */
16613 #include <wchar.h>
16615 main ()
16617 mbstate_t teststate;
16619 return 0;
16621 _ACEOF
16622 if ac_fn_c_try_compile "$LINENO"; then :
16623 have_mbstate_t=yes
16624 else
16625 have_mbstate_t=no
16627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16629 $as_echo "$have_mbstate_t" >&6; }
16630 if test x"$have_mbstate_t" = xyes; then
16632 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16636 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16637 # ac_has_wchar_h.
16638 for ac_header in wctype.h
16639 do :
16640 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16641 if test "x$ac_cv_header_wctype_h" = xyes; then :
16642 cat >>confdefs.h <<_ACEOF
16643 #define HAVE_WCTYPE_H 1
16644 _ACEOF
16645 ac_has_wctype_h=yes
16646 else
16647 ac_has_wctype_h=no
16650 done
16653 if test x"$enable_wchar_t" = x"yes"; then
16656 ac_ext=cpp
16657 ac_cpp='$CXXCPP $CPPFLAGS'
16658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16663 if test x"$ac_has_wchar_h" = xyes &&
16664 test x"$ac_has_wctype_h" = xyes; then
16665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16666 /* end confdefs.h. */
16667 #include <wchar.h>
16668 #include <stddef.h>
16669 wint_t i;
16670 long l = WEOF;
16671 long j = WCHAR_MIN;
16672 long k = WCHAR_MAX;
16673 namespace test
16675 using ::btowc;
16676 using ::fgetwc;
16677 using ::fgetws;
16678 using ::fputwc;
16679 using ::fputws;
16680 using ::fwide;
16681 using ::fwprintf;
16682 using ::fwscanf;
16683 using ::getwc;
16684 using ::getwchar;
16685 using ::mbrlen;
16686 using ::mbrtowc;
16687 using ::mbsinit;
16688 using ::mbsrtowcs;
16689 using ::putwc;
16690 using ::putwchar;
16691 using ::swprintf;
16692 using ::swscanf;
16693 using ::ungetwc;
16694 using ::vfwprintf;
16695 using ::vswprintf;
16696 using ::vwprintf;
16697 using ::wcrtomb;
16698 using ::wcscat;
16699 using ::wcschr;
16700 using ::wcscmp;
16701 using ::wcscoll;
16702 using ::wcscpy;
16703 using ::wcscspn;
16704 using ::wcsftime;
16705 using ::wcslen;
16706 using ::wcsncat;
16707 using ::wcsncmp;
16708 using ::wcsncpy;
16709 using ::wcspbrk;
16710 using ::wcsrchr;
16711 using ::wcsrtombs;
16712 using ::wcsspn;
16713 using ::wcsstr;
16714 using ::wcstod;
16715 using ::wcstok;
16716 using ::wcstol;
16717 using ::wcstoul;
16718 using ::wcsxfrm;
16719 using ::wctob;
16720 using ::wmemchr;
16721 using ::wmemcmp;
16722 using ::wmemcpy;
16723 using ::wmemmove;
16724 using ::wmemset;
16725 using ::wprintf;
16726 using ::wscanf;
16730 main ()
16734 return 0;
16736 _ACEOF
16737 if ac_fn_cxx_try_compile "$LINENO"; then :
16739 else
16740 enable_wchar_t=no
16742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16743 else
16744 enable_wchar_t=no
16747 ac_ext=c
16748 ac_cpp='$CPP $CPPFLAGS'
16749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16755 if test x"$enable_wchar_t" = x"yes"; then
16757 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16762 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16764 $as_echo "$enable_wchar_t" >&6; }
16768 # Check whether --enable-c99 was given.
16769 if test "${enable_c99+set}" = set; then :
16770 enableval=$enable_c99;
16771 case "$enableval" in
16772 yes|no) ;;
16773 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16774 esac
16776 else
16777 enable_c99=yes
16782 if test x"$enable_c99" = x"yes"; then
16784 ac_ext=cpp
16785 ac_cpp='$CXXCPP $CPPFLAGS'
16786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16791 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16792 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16793 # to be spuriously enabled.
16794 ac_save_CXXFLAGS="$CXXFLAGS"
16795 CXXFLAGS="$CXXFLAGS -std=c++98"
16796 ac_save_LIBS="$LIBS"
16797 ac_save_gcc_no_link="$gcc_no_link"
16799 if test x$gcc_no_link != xyes; then
16800 # Use -fno-exceptions to that the C driver can link these tests without
16801 # hitting undefined references to personality routines.
16802 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16804 $as_echo_n "checking for sin in -lm... " >&6; }
16805 if ${ac_cv_lib_m_sin+:} false; then :
16806 $as_echo_n "(cached) " >&6
16807 else
16808 ac_check_lib_save_LIBS=$LIBS
16809 LIBS="-lm $LIBS"
16810 if test x$gcc_no_link = xyes; then
16811 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16814 /* end confdefs.h. */
16816 /* Override any GCC internal prototype to avoid an error.
16817 Use char because int might match the return type of a GCC
16818 builtin and then its argument prototype would still apply. */
16819 #ifdef __cplusplus
16820 extern "C"
16821 #endif
16822 char sin ();
16824 main ()
16826 return sin ();
16828 return 0;
16830 _ACEOF
16831 if ac_fn_cxx_try_link "$LINENO"; then :
16832 ac_cv_lib_m_sin=yes
16833 else
16834 ac_cv_lib_m_sin=no
16836 rm -f core conftest.err conftest.$ac_objext \
16837 conftest$ac_exeext conftest.$ac_ext
16838 LIBS=$ac_check_lib_save_LIBS
16840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16841 $as_echo "$ac_cv_lib_m_sin" >&6; }
16842 if test "x$ac_cv_lib_m_sin" = xyes; then :
16843 LIBS="$LIBS -lm"
16844 else
16846 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16847 gcc_no_link=yes
16853 # Check for the existence of <math.h> functions used if C99 is enabled.
16854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16855 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16856 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
16857 $as_echo_n "(cached) " >&6
16858 else
16860 if test x$gcc_no_link = xyes; then
16861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16862 /* end confdefs.h. */
16863 #include <math.h>
16864 volatile double d1, d2;
16865 volatile int i;
16867 main ()
16869 i = fpclassify(d1);
16870 i = isfinite(d1);
16871 i = isinf(d1);
16872 i = isnan(d1);
16873 i = isnormal(d1);
16874 i = signbit(d1);
16875 i = isgreater(d1, d2);
16876 i = isgreaterequal(d1, d2);
16877 i = isless(d1, d2);
16878 i = islessequal(d1, d2);
16879 i = islessgreater(d1, d2);
16880 i = islessgreater(d1, d2);
16881 i = isunordered(d1, d2);
16884 return 0;
16886 _ACEOF
16887 if ac_fn_cxx_try_compile "$LINENO"; then :
16888 glibcxx_cv_c99_math_cxx98=yes
16889 else
16890 glibcxx_cv_c99_math_cxx98=no
16892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16893 else
16894 if test x$gcc_no_link = xyes; then
16895 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16898 /* end confdefs.h. */
16899 #include <math.h>
16900 volatile double d1, d2;
16901 volatile int i;
16903 main ()
16905 i = fpclassify(d1);
16906 i = isfinite(d1);
16907 i = isinf(d1);
16908 i = isnan(d1);
16909 i = isnormal(d1);
16910 i = signbit(d1);
16911 i = isgreater(d1, d2);
16912 i = isgreaterequal(d1, d2);
16913 i = isless(d1, d2);
16914 i = islessequal(d1, d2);
16915 i = islessgreater(d1, d2);
16916 i = islessgreater(d1, d2);
16917 i = isunordered(d1, d2);
16920 return 0;
16922 _ACEOF
16923 if ac_fn_cxx_try_link "$LINENO"; then :
16924 glibcxx_cv_c99_math_cxx98=yes
16925 else
16926 glibcxx_cv_c99_math_cxx98=no
16928 rm -f core conftest.err conftest.$ac_objext \
16929 conftest$ac_exeext conftest.$ac_ext
16934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16935 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16936 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16938 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16942 # Check for the existence of <complex.h> complex math functions.
16943 # This is necessary even though libstdc++ uses the builtin versions
16944 # of these functions, because if the builtin cannot be used, a reference
16945 # to the library function is emitted.
16946 for ac_header in tgmath.h
16947 do :
16948 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16949 if test "x$ac_cv_header_tgmath_h" = xyes; then :
16950 cat >>confdefs.h <<_ACEOF
16951 #define HAVE_TGMATH_H 1
16952 _ACEOF
16953 ac_has_tgmath_h=yes
16954 else
16955 ac_has_tgmath_h=no
16958 done
16960 for ac_header in complex.h
16961 do :
16962 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16963 if test "x$ac_cv_header_complex_h" = xyes; then :
16964 cat >>confdefs.h <<_ACEOF
16965 #define HAVE_COMPLEX_H 1
16966 _ACEOF
16967 ac_has_complex_h=yes
16968 else
16969 ac_has_complex_h=no
16972 done
16974 if test x"$ac_has_complex_h" = x"yes"; then
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16976 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16977 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
16978 $as_echo_n "(cached) " >&6
16979 else
16981 if test x$gcc_no_link = xyes; then
16982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16983 /* end confdefs.h. */
16984 #include <complex.h>
16985 typedef __complex__ float float_type;
16986 typedef __complex__ double double_type;
16987 typedef __complex__ long double ld_type;
16988 volatile float_type tmpf;
16989 volatile double_type tmpd;
16990 volatile ld_type tmpld;
16991 volatile float f;
16992 volatile double d;
16993 volatile long double ld;
16995 main ()
16997 f = cabsf(tmpf);
16998 f = cargf(tmpf);
16999 tmpf = ccosf(tmpf);
17000 tmpf = ccoshf(tmpf);
17001 tmpf = cexpf(tmpf);
17002 tmpf = clogf(tmpf);
17003 tmpf = csinf(tmpf);
17004 tmpf = csinhf(tmpf);
17005 tmpf = csqrtf(tmpf);
17006 tmpf = ctanf(tmpf);
17007 tmpf = ctanhf(tmpf);
17008 tmpf = cpowf(tmpf, tmpf);
17009 tmpf = cprojf(tmpf);
17010 d = cabs(tmpd);
17011 d = carg(tmpd);
17012 tmpd = ccos(tmpd);
17013 tmpd = ccosh(tmpd);
17014 tmpd = cexp(tmpd);
17015 tmpd = clog(tmpd);
17016 tmpd = csin(tmpd);
17017 tmpd = csinh(tmpd);
17018 tmpd = csqrt(tmpd);
17019 tmpd = ctan(tmpd);
17020 tmpd = ctanh(tmpd);
17021 tmpd = cpow(tmpd, tmpd);
17022 tmpd = cproj(tmpd);
17023 ld = cabsl(tmpld);
17024 ld = cargl(tmpld);
17025 tmpld = ccosl(tmpld);
17026 tmpld = ccoshl(tmpld);
17027 tmpld = cexpl(tmpld);
17028 tmpld = clogl(tmpld);
17029 tmpld = csinl(tmpld);
17030 tmpld = csinhl(tmpld);
17031 tmpld = csqrtl(tmpld);
17032 tmpld = ctanl(tmpld);
17033 tmpld = ctanhl(tmpld);
17034 tmpld = cpowl(tmpld, tmpld);
17035 tmpld = cprojl(tmpld);
17038 return 0;
17040 _ACEOF
17041 if ac_fn_cxx_try_compile "$LINENO"; then :
17042 glibcxx_cv_c99_complex_cxx98=yes
17043 else
17044 glibcxx_cv_c99_complex_cxx98=no
17046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17047 else
17048 if test x$gcc_no_link = xyes; then
17049 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17052 /* end confdefs.h. */
17053 #include <complex.h>
17054 typedef __complex__ float float_type;
17055 typedef __complex__ double double_type;
17056 typedef __complex__ long double ld_type;
17057 volatile float_type tmpf;
17058 volatile double_type tmpd;
17059 volatile ld_type tmpld;
17060 volatile float f;
17061 volatile double d;
17062 volatile long double ld;
17064 main ()
17066 f = cabsf(tmpf);
17067 f = cargf(tmpf);
17068 tmpf = ccosf(tmpf);
17069 tmpf = ccoshf(tmpf);
17070 tmpf = cexpf(tmpf);
17071 tmpf = clogf(tmpf);
17072 tmpf = csinf(tmpf);
17073 tmpf = csinhf(tmpf);
17074 tmpf = csqrtf(tmpf);
17075 tmpf = ctanf(tmpf);
17076 tmpf = ctanhf(tmpf);
17077 tmpf = cpowf(tmpf, tmpf);
17078 tmpf = cprojf(tmpf);
17079 d = cabs(tmpd);
17080 d = carg(tmpd);
17081 tmpd = ccos(tmpd);
17082 tmpd = ccosh(tmpd);
17083 tmpd = cexp(tmpd);
17084 tmpd = clog(tmpd);
17085 tmpd = csin(tmpd);
17086 tmpd = csinh(tmpd);
17087 tmpd = csqrt(tmpd);
17088 tmpd = ctan(tmpd);
17089 tmpd = ctanh(tmpd);
17090 tmpd = cpow(tmpd, tmpd);
17091 tmpd = cproj(tmpd);
17092 ld = cabsl(tmpld);
17093 ld = cargl(tmpld);
17094 tmpld = ccosl(tmpld);
17095 tmpld = ccoshl(tmpld);
17096 tmpld = cexpl(tmpld);
17097 tmpld = clogl(tmpld);
17098 tmpld = csinl(tmpld);
17099 tmpld = csinhl(tmpld);
17100 tmpld = csqrtl(tmpld);
17101 tmpld = ctanl(tmpld);
17102 tmpld = ctanhl(tmpld);
17103 tmpld = cpowl(tmpld, tmpld);
17104 tmpld = cprojl(tmpld);
17107 return 0;
17109 _ACEOF
17110 if ac_fn_cxx_try_link "$LINENO"; then :
17111 glibcxx_cv_c99_complex_cxx98=yes
17112 else
17113 glibcxx_cv_c99_complex_cxx98=no
17115 rm -f core conftest.err conftest.$ac_objext \
17116 conftest$ac_exeext conftest.$ac_ext
17122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17123 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17124 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17126 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17130 # Check for the existence in <stdio.h> of vscanf, et. al.
17131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17132 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17133 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17134 $as_echo_n "(cached) " >&6
17135 else
17137 if test x$gcc_no_link = xyes; then
17138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17139 /* end confdefs.h. */
17140 #include <stdio.h>
17141 #include <stdarg.h>
17142 void foo(char* fmt, ...)
17144 va_list args; va_start(args, fmt);
17145 vfscanf(stderr, "%i", args);
17146 vscanf("%i", args);
17147 vsnprintf(fmt, 0, "%i", args);
17148 vsscanf(fmt, "%i", args);
17149 snprintf(fmt, 0, "%i");
17152 main ()
17156 return 0;
17158 _ACEOF
17159 if ac_fn_cxx_try_compile "$LINENO"; then :
17160 glibcxx_cv_c99_stdio_cxx98=yes
17161 else
17162 glibcxx_cv_c99_stdio_cxx98=no
17164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17165 else
17166 if test x$gcc_no_link = xyes; then
17167 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17170 /* end confdefs.h. */
17171 #include <stdio.h>
17172 #include <stdarg.h>
17173 void foo(char* fmt, ...)
17175 va_list args; va_start(args, fmt);
17176 vfscanf(stderr, "%i", args);
17177 vscanf("%i", args);
17178 vsnprintf(fmt, 0, "%i", args);
17179 vsscanf(fmt, "%i", args);
17180 snprintf(fmt, 0, "%i");
17183 main ()
17187 return 0;
17189 _ACEOF
17190 if ac_fn_cxx_try_link "$LINENO"; then :
17191 glibcxx_cv_c99_stdio_cxx98=yes
17192 else
17193 glibcxx_cv_c99_stdio_cxx98=no
17195 rm -f core conftest.err conftest.$ac_objext \
17196 conftest$ac_exeext conftest.$ac_ext
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17202 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17203 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17205 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17209 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17211 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17212 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17213 $as_echo_n "(cached) " >&6
17214 else
17216 if test x$gcc_no_link = xyes; then
17217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17218 /* end confdefs.h. */
17219 #include <stdlib.h>
17220 volatile float f;
17221 volatile long double ld;
17222 volatile unsigned long long ll;
17223 lldiv_t mydivt;
17225 main ()
17227 char* tmp;
17228 f = strtof("gnu", &tmp);
17229 ld = strtold("gnu", &tmp);
17230 ll = strtoll("gnu", &tmp, 10);
17231 ll = strtoull("gnu", &tmp, 10);
17232 ll = llabs(10);
17233 mydivt = lldiv(10,1);
17234 ll = mydivt.quot;
17235 ll = mydivt.rem;
17236 ll = atoll("10");
17237 _Exit(0);
17240 return 0;
17242 _ACEOF
17243 if ac_fn_cxx_try_compile "$LINENO"; then :
17244 glibcxx_cv_c99_stdlib_cxx98=yes
17245 else
17246 glibcxx_cv_c99_stdlib_cxx98=no
17248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17249 else
17250 if test x$gcc_no_link = xyes; then
17251 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17254 /* end confdefs.h. */
17255 #include <stdlib.h>
17256 volatile float f;
17257 volatile long double ld;
17258 volatile unsigned long long ll;
17259 lldiv_t mydivt;
17261 main ()
17263 char* tmp;
17264 f = strtof("gnu", &tmp);
17265 ld = strtold("gnu", &tmp);
17266 ll = strtoll("gnu", &tmp, 10);
17267 ll = strtoull("gnu", &tmp, 10);
17268 ll = llabs(10);
17269 mydivt = lldiv(10,1);
17270 ll = mydivt.quot;
17271 ll = mydivt.rem;
17272 ll = atoll("10");
17273 _Exit(0);
17276 return 0;
17278 _ACEOF
17279 if ac_fn_cxx_try_link "$LINENO"; then :
17280 glibcxx_cv_c99_stdlib_cxx98=yes
17281 else
17282 glibcxx_cv_c99_stdlib_cxx98=no
17284 rm -f core conftest.err conftest.$ac_objext \
17285 conftest$ac_exeext conftest.$ac_ext
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17291 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17292 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17294 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17298 # Check for the existence in <wchar.h> of wcstold, etc.
17299 if test x"$ac_has_wchar_h" = xyes &&
17300 test x"$ac_has_wctype_h" = xyes; then
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17302 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17303 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17304 $as_echo_n "(cached) " >&6
17305 else
17307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17308 /* end confdefs.h. */
17309 #include <wchar.h>
17310 namespace test
17312 using ::wcstold;
17313 using ::wcstoll;
17314 using ::wcstoull;
17318 main ()
17322 return 0;
17324 _ACEOF
17325 if ac_fn_cxx_try_compile "$LINENO"; then :
17326 glibcxx_cv_c99_wchar_cxx98=yes
17327 else
17328 glibcxx_cv_c99_wchar_cxx98=no
17330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17335 # Checks for wide character functions that may not be present.
17336 # Injection of these is wrapped with guard macros.
17337 # NB: only put functions here, instead of immediately above, if
17338 # absolutely necessary.
17339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17340 /* end confdefs.h. */
17341 #include <wchar.h>
17342 namespace test { using ::vfwscanf; }
17344 main ()
17348 return 0;
17350 _ACEOF
17351 if ac_fn_cxx_try_compile "$LINENO"; then :
17353 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17359 /* end confdefs.h. */
17360 #include <wchar.h>
17361 namespace test { using ::vswscanf; }
17363 main ()
17367 return 0;
17369 _ACEOF
17370 if ac_fn_cxx_try_compile "$LINENO"; then :
17372 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17378 /* end confdefs.h. */
17379 #include <wchar.h>
17380 namespace test { using ::vwscanf; }
17382 main ()
17386 return 0;
17388 _ACEOF
17389 if ac_fn_cxx_try_compile "$LINENO"; then :
17391 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17397 /* end confdefs.h. */
17398 #include <wchar.h>
17399 namespace test { using ::wcstof; }
17401 main ()
17405 return 0;
17407 _ACEOF
17408 if ac_fn_cxx_try_compile "$LINENO"; then :
17410 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17416 /* end confdefs.h. */
17417 #include <wctype.h>
17419 main ()
17421 wint_t t; int i = iswblank(t);
17423 return 0;
17425 _ACEOF
17426 if ac_fn_cxx_try_compile "$LINENO"; then :
17428 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17434 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17435 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17437 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17442 # Option parsed, now set things appropriately.
17443 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17444 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17445 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17446 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17447 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17448 enable_c99=no;
17449 else
17451 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17455 gcc_no_link="$ac_save_gcc_no_link"
17456 LIBS="$ac_save_LIBS"
17457 CXXFLAGS="$ac_save_CXXFLAGS"
17458 ac_ext=c
17459 ac_cpp='$CPP $CPPFLAGS'
17460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17466 ac_ext=cpp
17467 ac_cpp='$CXXCPP $CPPFLAGS'
17468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17473 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17474 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17475 ac_save_CXXFLAGS="$CXXFLAGS"
17476 CXXFLAGS="$CXXFLAGS -std=c++11"
17477 ac_save_LIBS="$LIBS"
17478 ac_save_gcc_no_link="$gcc_no_link"
17480 if test x$gcc_no_link != xyes; then
17481 # Use -fno-exceptions to that the C driver can link these tests without
17482 # hitting undefined references to personality routines.
17483 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17485 $as_echo_n "checking for sin in -lm... " >&6; }
17486 if ${ac_cv_lib_m_sin+:} false; then :
17487 $as_echo_n "(cached) " >&6
17488 else
17489 ac_check_lib_save_LIBS=$LIBS
17490 LIBS="-lm $LIBS"
17491 if test x$gcc_no_link = xyes; then
17492 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17495 /* end confdefs.h. */
17497 /* Override any GCC internal prototype to avoid an error.
17498 Use char because int might match the return type of a GCC
17499 builtin and then its argument prototype would still apply. */
17500 #ifdef __cplusplus
17501 extern "C"
17502 #endif
17503 char sin ();
17505 main ()
17507 return sin ();
17509 return 0;
17511 _ACEOF
17512 if ac_fn_cxx_try_link "$LINENO"; then :
17513 ac_cv_lib_m_sin=yes
17514 else
17515 ac_cv_lib_m_sin=no
17517 rm -f core conftest.err conftest.$ac_objext \
17518 conftest$ac_exeext conftest.$ac_ext
17519 LIBS=$ac_check_lib_save_LIBS
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17522 $as_echo "$ac_cv_lib_m_sin" >&6; }
17523 if test "x$ac_cv_lib_m_sin" = xyes; then :
17524 LIBS="$LIBS -lm"
17525 else
17527 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17528 gcc_no_link=yes
17534 # Check for the existence of <math.h> functions used if C99 is enabled.
17535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17536 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17537 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
17538 $as_echo_n "(cached) " >&6
17539 else
17541 if test x$gcc_no_link = xyes; then
17542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17543 /* end confdefs.h. */
17544 #include <math.h>
17545 volatile double d1, d2;
17546 volatile int i;
17548 main ()
17550 i = fpclassify(d1);
17551 i = isfinite(d1);
17552 i = isinf(d1);
17553 i = isnan(d1);
17554 i = isnormal(d1);
17555 i = signbit(d1);
17556 i = isgreater(d1, d2);
17557 i = isgreaterequal(d1, d2);
17558 i = isless(d1, d2);
17559 i = islessequal(d1, d2);
17560 i = islessgreater(d1, d2);
17561 i = islessgreater(d1, d2);
17562 i = isunordered(d1, d2);
17565 return 0;
17567 _ACEOF
17568 if ac_fn_cxx_try_compile "$LINENO"; then :
17569 glibcxx_cv_c99_math_cxx11=yes
17570 else
17571 glibcxx_cv_c99_math_cxx11=no
17573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17574 else
17575 if test x$gcc_no_link = xyes; then
17576 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17579 /* end confdefs.h. */
17580 #include <math.h>
17581 volatile double d1, d2;
17582 volatile int i;
17584 main ()
17586 i = fpclassify(d1);
17587 i = isfinite(d1);
17588 i = isinf(d1);
17589 i = isnan(d1);
17590 i = isnormal(d1);
17591 i = signbit(d1);
17592 i = isgreater(d1, d2);
17593 i = isgreaterequal(d1, d2);
17594 i = isless(d1, d2);
17595 i = islessequal(d1, d2);
17596 i = islessgreater(d1, d2);
17597 i = islessgreater(d1, d2);
17598 i = isunordered(d1, d2);
17601 return 0;
17603 _ACEOF
17604 if ac_fn_cxx_try_link "$LINENO"; then :
17605 glibcxx_cv_c99_math_cxx11=yes
17606 else
17607 glibcxx_cv_c99_math_cxx11=no
17609 rm -f core conftest.err conftest.$ac_objext \
17610 conftest$ac_exeext conftest.$ac_ext
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17616 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17617 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17619 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17623 # Check for the existence of <complex.h> complex math functions.
17624 # This is necessary even though libstdc++ uses the builtin versions
17625 # of these functions, because if the builtin cannot be used, a reference
17626 # to the library function is emitted.
17627 for ac_header in tgmath.h
17628 do :
17629 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17630 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17631 cat >>confdefs.h <<_ACEOF
17632 #define HAVE_TGMATH_H 1
17633 _ACEOF
17634 ac_has_tgmath_h=yes
17635 else
17636 ac_has_tgmath_h=no
17639 done
17641 for ac_header in complex.h
17642 do :
17643 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17644 if test "x$ac_cv_header_complex_h" = xyes; then :
17645 cat >>confdefs.h <<_ACEOF
17646 #define HAVE_COMPLEX_H 1
17647 _ACEOF
17648 ac_has_complex_h=yes
17649 else
17650 ac_has_complex_h=no
17653 done
17655 if test x"$ac_has_complex_h" = x"yes"; then
17656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17657 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17658 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
17659 $as_echo_n "(cached) " >&6
17660 else
17662 if test x$gcc_no_link = xyes; then
17663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17664 /* end confdefs.h. */
17665 #include <complex.h>
17666 typedef __complex__ float float_type;
17667 typedef __complex__ double double_type;
17668 typedef __complex__ long double ld_type;
17669 volatile float_type tmpf;
17670 volatile double_type tmpd;
17671 volatile ld_type tmpld;
17672 volatile float f;
17673 volatile double d;
17674 volatile long double ld;
17676 main ()
17678 f = cabsf(tmpf);
17679 f = cargf(tmpf);
17680 tmpf = ccosf(tmpf);
17681 tmpf = ccoshf(tmpf);
17682 tmpf = cexpf(tmpf);
17683 tmpf = clogf(tmpf);
17684 tmpf = csinf(tmpf);
17685 tmpf = csinhf(tmpf);
17686 tmpf = csqrtf(tmpf);
17687 tmpf = ctanf(tmpf);
17688 tmpf = ctanhf(tmpf);
17689 tmpf = cpowf(tmpf, tmpf);
17690 tmpf = cprojf(tmpf);
17691 d = cabs(tmpd);
17692 d = carg(tmpd);
17693 tmpd = ccos(tmpd);
17694 tmpd = ccosh(tmpd);
17695 tmpd = cexp(tmpd);
17696 tmpd = clog(tmpd);
17697 tmpd = csin(tmpd);
17698 tmpd = csinh(tmpd);
17699 tmpd = csqrt(tmpd);
17700 tmpd = ctan(tmpd);
17701 tmpd = ctanh(tmpd);
17702 tmpd = cpow(tmpd, tmpd);
17703 tmpd = cproj(tmpd);
17704 ld = cabsl(tmpld);
17705 ld = cargl(tmpld);
17706 tmpld = ccosl(tmpld);
17707 tmpld = ccoshl(tmpld);
17708 tmpld = cexpl(tmpld);
17709 tmpld = clogl(tmpld);
17710 tmpld = csinl(tmpld);
17711 tmpld = csinhl(tmpld);
17712 tmpld = csqrtl(tmpld);
17713 tmpld = ctanl(tmpld);
17714 tmpld = ctanhl(tmpld);
17715 tmpld = cpowl(tmpld, tmpld);
17716 tmpld = cprojl(tmpld);
17719 return 0;
17721 _ACEOF
17722 if ac_fn_cxx_try_compile "$LINENO"; then :
17723 glibcxx_cv_c99_complex_cxx11=yes
17724 else
17725 glibcxx_cv_c99_complex_cxx11=no
17727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17728 else
17729 if test x$gcc_no_link = xyes; then
17730 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17733 /* end confdefs.h. */
17734 #include <complex.h>
17735 typedef __complex__ float float_type;
17736 typedef __complex__ double double_type;
17737 typedef __complex__ long double ld_type;
17738 volatile float_type tmpf;
17739 volatile double_type tmpd;
17740 volatile ld_type tmpld;
17741 volatile float f;
17742 volatile double d;
17743 volatile long double ld;
17745 main ()
17747 f = cabsf(tmpf);
17748 f = cargf(tmpf);
17749 tmpf = ccosf(tmpf);
17750 tmpf = ccoshf(tmpf);
17751 tmpf = cexpf(tmpf);
17752 tmpf = clogf(tmpf);
17753 tmpf = csinf(tmpf);
17754 tmpf = csinhf(tmpf);
17755 tmpf = csqrtf(tmpf);
17756 tmpf = ctanf(tmpf);
17757 tmpf = ctanhf(tmpf);
17758 tmpf = cpowf(tmpf, tmpf);
17759 tmpf = cprojf(tmpf);
17760 d = cabs(tmpd);
17761 d = carg(tmpd);
17762 tmpd = ccos(tmpd);
17763 tmpd = ccosh(tmpd);
17764 tmpd = cexp(tmpd);
17765 tmpd = clog(tmpd);
17766 tmpd = csin(tmpd);
17767 tmpd = csinh(tmpd);
17768 tmpd = csqrt(tmpd);
17769 tmpd = ctan(tmpd);
17770 tmpd = ctanh(tmpd);
17771 tmpd = cpow(tmpd, tmpd);
17772 tmpd = cproj(tmpd);
17773 ld = cabsl(tmpld);
17774 ld = cargl(tmpld);
17775 tmpld = ccosl(tmpld);
17776 tmpld = ccoshl(tmpld);
17777 tmpld = cexpl(tmpld);
17778 tmpld = clogl(tmpld);
17779 tmpld = csinl(tmpld);
17780 tmpld = csinhl(tmpld);
17781 tmpld = csqrtl(tmpld);
17782 tmpld = ctanl(tmpld);
17783 tmpld = ctanhl(tmpld);
17784 tmpld = cpowl(tmpld, tmpld);
17785 tmpld = cprojl(tmpld);
17788 return 0;
17790 _ACEOF
17791 if ac_fn_cxx_try_link "$LINENO"; then :
17792 glibcxx_cv_c99_complex_cxx11=yes
17793 else
17794 glibcxx_cv_c99_complex_cxx11=no
17796 rm -f core conftest.err conftest.$ac_objext \
17797 conftest$ac_exeext conftest.$ac_ext
17803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17804 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17805 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17807 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17811 # Check for the existence in <stdio.h> of vscanf, et. al.
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17813 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17814 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
17815 $as_echo_n "(cached) " >&6
17816 else
17818 if test x$gcc_no_link = xyes; then
17819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17820 /* end confdefs.h. */
17821 #include <stdio.h>
17822 #include <stdarg.h>
17823 void foo(char* fmt, ...)
17825 va_list args; va_start(args, fmt);
17826 vfscanf(stderr, "%i", args);
17827 vscanf("%i", args);
17828 vsnprintf(fmt, 0, "%i", args);
17829 vsscanf(fmt, "%i", args);
17830 snprintf(fmt, 0, "%i");
17833 main ()
17837 return 0;
17839 _ACEOF
17840 if ac_fn_cxx_try_compile "$LINENO"; then :
17841 glibcxx_cv_c99_stdio_cxx11=yes
17842 else
17843 glibcxx_cv_c99_stdio_cxx11=no
17845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17846 else
17847 if test x$gcc_no_link = xyes; then
17848 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17851 /* end confdefs.h. */
17852 #include <stdio.h>
17853 #include <stdarg.h>
17854 void foo(char* fmt, ...)
17856 va_list args; va_start(args, fmt);
17857 vfscanf(stderr, "%i", args);
17858 vscanf("%i", args);
17859 vsnprintf(fmt, 0, "%i", args);
17860 vsscanf(fmt, "%i", args);
17861 snprintf(fmt, 0, "%i");
17864 main ()
17868 return 0;
17870 _ACEOF
17871 if ac_fn_cxx_try_link "$LINENO"; then :
17872 glibcxx_cv_c99_stdio_cxx11=yes
17873 else
17874 glibcxx_cv_c99_stdio_cxx11=no
17876 rm -f core conftest.err conftest.$ac_objext \
17877 conftest$ac_exeext conftest.$ac_ext
17882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17883 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17884 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17886 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17890 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17892 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17893 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
17894 $as_echo_n "(cached) " >&6
17895 else
17897 if test x$gcc_no_link = xyes; then
17898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17899 /* end confdefs.h. */
17900 #include <stdlib.h>
17901 volatile float f;
17902 volatile long double ld;
17903 volatile unsigned long long ll;
17904 lldiv_t mydivt;
17906 main ()
17908 char* tmp;
17909 f = strtof("gnu", &tmp);
17910 ld = strtold("gnu", &tmp);
17911 ll = strtoll("gnu", &tmp, 10);
17912 ll = strtoull("gnu", &tmp, 10);
17913 ll = llabs(10);
17914 mydivt = lldiv(10,1);
17915 ll = mydivt.quot;
17916 ll = mydivt.rem;
17917 ll = atoll("10");
17918 _Exit(0);
17921 return 0;
17923 _ACEOF
17924 if ac_fn_cxx_try_compile "$LINENO"; then :
17925 glibcxx_cv_c99_stdlib_cxx11=yes
17926 else
17927 glibcxx_cv_c99_stdlib_cxx11=no
17929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17930 else
17931 if test x$gcc_no_link = xyes; then
17932 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17935 /* end confdefs.h. */
17936 #include <stdlib.h>
17937 volatile float f;
17938 volatile long double ld;
17939 volatile unsigned long long ll;
17940 lldiv_t mydivt;
17942 main ()
17944 char* tmp;
17945 f = strtof("gnu", &tmp);
17946 ld = strtold("gnu", &tmp);
17947 ll = strtoll("gnu", &tmp, 10);
17948 ll = strtoull("gnu", &tmp, 10);
17949 ll = llabs(10);
17950 mydivt = lldiv(10,1);
17951 ll = mydivt.quot;
17952 ll = mydivt.rem;
17953 ll = atoll("10");
17954 _Exit(0);
17957 return 0;
17959 _ACEOF
17960 if ac_fn_cxx_try_link "$LINENO"; then :
17961 glibcxx_cv_c99_stdlib_cxx11=yes
17962 else
17963 glibcxx_cv_c99_stdlib_cxx11=no
17965 rm -f core conftest.err conftest.$ac_objext \
17966 conftest$ac_exeext conftest.$ac_ext
17971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17972 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17973 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17975 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17979 # Check for the existence in <wchar.h> of wcstold, etc.
17980 if test x"$ac_has_wchar_h" = xyes &&
17981 test x"$ac_has_wctype_h" = xyes; then
17982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17983 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17984 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
17985 $as_echo_n "(cached) " >&6
17986 else
17988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17989 /* end confdefs.h. */
17990 #include <wchar.h>
17991 namespace test
17993 using ::wcstold;
17994 using ::wcstoll;
17995 using ::wcstoull;
17999 main ()
18003 return 0;
18005 _ACEOF
18006 if ac_fn_cxx_try_compile "$LINENO"; then :
18007 glibcxx_cv_c99_wchar_cxx11=yes
18008 else
18009 glibcxx_cv_c99_wchar_cxx11=no
18011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18016 # Checks for wide character functions that may not be present.
18017 # Injection of these is wrapped with guard macros.
18018 # NB: only put functions here, instead of immediately above, if
18019 # absolutely necessary.
18020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18021 /* end confdefs.h. */
18022 #include <wchar.h>
18023 namespace test { using ::vfwscanf; }
18025 main ()
18029 return 0;
18031 _ACEOF
18032 if ac_fn_cxx_try_compile "$LINENO"; then :
18034 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18040 /* end confdefs.h. */
18041 #include <wchar.h>
18042 namespace test { using ::vswscanf; }
18044 main ()
18048 return 0;
18050 _ACEOF
18051 if ac_fn_cxx_try_compile "$LINENO"; then :
18053 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18059 /* end confdefs.h. */
18060 #include <wchar.h>
18061 namespace test { using ::vwscanf; }
18063 main ()
18067 return 0;
18069 _ACEOF
18070 if ac_fn_cxx_try_compile "$LINENO"; then :
18072 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18078 /* end confdefs.h. */
18079 #include <wchar.h>
18080 namespace test { using ::wcstof; }
18082 main ()
18086 return 0;
18088 _ACEOF
18089 if ac_fn_cxx_try_compile "$LINENO"; then :
18091 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18097 /* end confdefs.h. */
18098 #include <wctype.h>
18100 main ()
18102 wint_t t; int i = iswblank(t);
18104 return 0;
18106 _ACEOF
18107 if ac_fn_cxx_try_compile "$LINENO"; then :
18109 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18115 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18116 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18118 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18123 gcc_no_link="$ac_save_gcc_no_link"
18124 LIBS="$ac_save_LIBS"
18125 CXXFLAGS="$ac_save_CXXFLAGS"
18126 ac_ext=c
18127 ac_cpp='$CPP $CPPFLAGS'
18128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18135 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18137 $as_echo "$enable_c99" >&6; }
18140 # Check whether --enable-concept-checks was given.
18141 if test "${enable_concept_checks+set}" = set; then :
18142 enableval=$enable_concept_checks;
18143 case "$enableval" in
18144 yes|no) ;;
18145 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18146 esac
18148 else
18149 enable_concept_checks=no
18153 if test $enable_concept_checks = yes; then
18155 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18160 # Check whether --enable-libstdcxx-debug-flags was given.
18161 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18162 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18163 xno | x) enable_libstdcxx_debug_flags= ;;
18164 x-*) ;;
18165 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18166 esac
18167 else
18168 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"
18173 # Option parsed, now set things appropriately
18174 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18177 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18178 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18182 $as_echo_n "checking for additional debug build... " >&6; }
18183 # Check whether --enable-libstdcxx-debug was given.
18184 if test "${enable_libstdcxx_debug+set}" = set; then :
18185 enableval=$enable_libstdcxx_debug;
18186 case "$enableval" in
18187 yes|no) ;;
18188 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18189 esac
18191 else
18192 enable_libstdcxx_debug=no
18196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
18197 $as_echo "$enable_libstdcxx_debug" >&6; }
18202 enable_parallel=no;
18204 # See if configured libgomp/omp.h exists. (libgomp may be in
18205 # noconfigdirs but not explicitly disabled.)
18206 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18207 enable_parallel=yes;
18208 else
18209 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18210 $as_echo "$as_me: target-libgomp not built" >&6;}
18213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18214 $as_echo_n "checking for parallel mode support... " >&6; }
18215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18216 $as_echo "$enable_parallel" >&6; }
18218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18219 $as_echo_n "checking for extra compiler flags for building... " >&6; }
18220 # Check whether --enable-cxx-flags was given.
18221 if test "${enable_cxx_flags+set}" = set; then :
18222 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18223 xno | x) enable_cxx_flags= ;;
18224 x-*) ;;
18225 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18226 esac
18227 else
18228 enable_cxx_flags=
18233 # Run through flags (either default or command-line) and set anything
18234 # extra (e.g., #defines) that must accompany particular g++ options.
18235 if test -n "$enable_cxx_flags"; then
18236 for f in $enable_cxx_flags; do
18237 case "$f" in
18238 -fhonor-std) ;;
18239 -*) ;;
18240 *) # and we're trying to pass /what/ exactly?
18241 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18242 esac
18243 done
18246 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18248 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18252 # Check whether --enable-fully-dynamic-string was given.
18253 if test "${enable_fully_dynamic_string+set}" = set; then :
18254 enableval=$enable_fully_dynamic_string;
18255 case "$enableval" in
18256 yes|no) ;;
18257 *) as_fn_error $? "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18258 esac
18260 else
18261 enable_fully_dynamic_string=no
18265 if test $enable_fully_dynamic_string = yes; then
18266 enable_fully_dynamic_string_def=1
18267 else
18268 enable_fully_dynamic_string_def=0
18271 cat >>confdefs.h <<_ACEOF
18272 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18273 _ACEOF
18278 # Check whether --enable-extern-template was given.
18279 if test "${enable_extern_template+set}" = set; then :
18280 enableval=$enable_extern_template;
18281 case "$enableval" in
18282 yes|no) ;;
18283 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18284 esac
18286 else
18287 enable_extern_template=yes
18292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18293 $as_echo_n "checking for extern template support... " >&6; }
18294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18295 $as_echo "$enable_extern_template" >&6; }
18301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18302 $as_echo_n "checking for custom python install directory... " >&6; }
18304 # Check whether --with-python-dir was given.
18305 if test "${with_python_dir+set}" = set; then :
18306 withval=$with_python_dir; with_python_dir=$withval
18307 else
18308 with_python_dir="no"
18311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18312 $as_echo "${with_python_dir}" >&6; }
18314 # Needed for installing Python modules during make install.
18315 python_mod_dir="${with_python_dir}"
18320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18321 $as_echo_n "checking for -Werror... " >&6; }
18322 # Check whether --enable-werror was given.
18323 if test "${enable_werror+set}" = set; then :
18324 enableval=$enable_werror;
18325 case "$enableval" in
18326 yes|no) ;;
18327 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18328 esac
18330 else
18331 enable_werror=no
18335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18336 $as_echo "$enable_werror" >&6; }
18341 # Check whether --enable-vtable-verify was given.
18342 if test "${enable_vtable_verify+set}" = set; then :
18343 enableval=$enable_vtable_verify;
18344 case "$enableval" in
18345 yes|no) ;;
18346 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18347 esac
18349 else
18350 enable_vtable_verify=no
18355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18356 $as_echo_n "checking for vtable verify support... " >&6; }
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18358 $as_echo "$enable_vtable_verify" >&6; }
18360 vtv_cygmin=no
18361 if test $enable_vtable_verify = yes; then
18362 case ${target_os} in
18363 cygwin*|mingw32*)
18364 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18365 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18366 vtv_cygmin=yes
18368 darwin*)
18369 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18370 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18372 solaris2*)
18373 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18374 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18377 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18378 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18380 esac
18381 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18382 else
18383 VTV_CXXFLAGS=
18384 VTV_PCH_CXXFLAGS=
18385 VTV_CXXLINKFLAGS=
18391 if test x$vtv_cygmin = xyes; then
18392 VTV_CYGMIN_TRUE=
18393 VTV_CYGMIN_FALSE='#'
18394 else
18395 VTV_CYGMIN_TRUE='#'
18396 VTV_CYGMIN_FALSE=
18402 # Checks for operating systems support that doesn't require linking.
18406 ac_ext=cpp
18407 ac_cpp='$CXXCPP $CPPFLAGS'
18408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18412 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18413 # and we don't need a declaration for C++14 anyway.
18414 ac_save_CXXFLAGS="$CXXFLAGS"
18415 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18418 $as_echo_n "checking for gets declaration... " >&6; }
18419 if ${glibcxx_cv_gets+:} false; then :
18420 $as_echo_n "(cached) " >&6
18421 else
18423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18424 /* end confdefs.h. */
18425 #include <stdio.h>
18426 namespace test
18428 using ::gets;
18431 _ACEOF
18432 if ac_fn_cxx_try_compile "$LINENO"; then :
18433 glibcxx_cv_gets=yes
18434 else
18435 glibcxx_cv_gets=no
18438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18442 if test $glibcxx_cv_gets = yes; then
18444 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18448 $as_echo "$glibcxx_cv_gets" >&6; }
18450 CXXFLAGS="$ac_save_CXXFLAGS"
18451 ac_ext=c
18452 ac_cpp='$CPP $CPPFLAGS'
18453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18461 ac_ext=cpp
18462 ac_cpp='$CXXCPP $CPPFLAGS'
18463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18467 ac_save_CXXFLAGS="$CXXFLAGS"
18468 CXXFLAGS="$CXXFLAGS -std=c++11"
18470 case "$host" in
18471 *-*-solaris2.*)
18472 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18473 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18475 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18476 if ${glibcxx_cv_math11_fp_overload+:} false; then :
18477 $as_echo_n "(cached) " >&6
18478 else
18480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18481 /* end confdefs.h. */
18482 #include <math.h>
18483 #undef isfinite
18484 namespace std {
18485 inline bool isfinite(float __x)
18486 { return __builtin_isfinite(__x); }
18489 _ACEOF
18490 if ac_fn_cxx_try_compile "$LINENO"; then :
18491 glibcxx_cv_math11_fp_overload=no
18492 else
18493 glibcxx_cv_math11_fp_overload=yes
18496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18500 # autoheader cannot handle indented templates.
18503 if test $glibcxx_cv_math11_fp_overload = yes; then
18504 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18508 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18510 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18511 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18513 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18514 if ${glibcxx_cv_math11_int_overload+:} false; then :
18515 $as_echo_n "(cached) " >&6
18516 else
18518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18519 /* end confdefs.h. */
18520 #include <math.h>
18521 namespace std {
18522 template<typename _Tp>
18523 struct __is_integer;
18524 template<>
18525 struct __is_integer<int>
18527 enum { __value = 1 };
18530 namespace __gnu_cxx {
18531 template<bool, typename>
18532 struct __enable_if;
18533 template<typename _Tp>
18534 struct __enable_if<true, _Tp>
18535 { typedef _Tp __type; };
18537 namespace std {
18538 template<typename _Tp>
18539 constexpr typename __gnu_cxx::__enable_if
18540 <__is_integer<_Tp>::__value, double>::__type
18541 log2(_Tp __x)
18542 { return __builtin_log2(__x); }
18545 main (void)
18547 int i = 1000;
18548 return std::log2(i);
18551 _ACEOF
18552 if ac_fn_cxx_try_compile "$LINENO"; then :
18553 glibcxx_cv_math11_int_overload=no
18554 else
18555 glibcxx_cv_math11_int_overload=yes
18558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18562 # autoheader cannot handle indented templates.
18565 if test $glibcxx_cv_math11_int_overload = yes; then
18566 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18570 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18573 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18574 # functions (instead of or as well as the C99 generic macros) then we
18575 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18576 # and must use the ones from <math.h> instead.
18577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18578 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18579 if ${glibcxx_cv_obsolete_isinf+:} false; then :
18580 $as_echo_n "(cached) " >&6
18581 else
18583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18584 /* end confdefs.h. */
18585 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18586 #include <math.h>
18587 #undef isinf
18588 namespace std {
18589 using ::isinf;
18590 bool isinf(float);
18591 bool isinf(long double);
18593 using std::isinf;
18594 bool b = isinf(0.0);
18596 _ACEOF
18597 if ac_fn_cxx_try_compile "$LINENO"; then :
18598 glibcxx_cv_obsolete_isinf=yes
18599 else
18600 glibcxx_cv_obsolete_isinf=no
18603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18607 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18608 if test $glibcxx_cv_obsolete_isinf = yes; then
18610 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18615 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18616 if ${glibcxx_cv_obsolete_isnan+:} false; then :
18617 $as_echo_n "(cached) " >&6
18618 else
18620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18621 /* end confdefs.h. */
18622 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18623 #include <math.h>
18624 #undef isnan
18625 namespace std {
18626 using ::isnan;
18627 bool isnan(float);
18628 bool isnan(long double);
18630 using std::isnan;
18631 bool b = isnan(0.0);
18633 _ACEOF
18634 if ac_fn_cxx_try_compile "$LINENO"; then :
18635 glibcxx_cv_obsolete_isnan=yes
18636 else
18637 glibcxx_cv_obsolete_isnan=no
18640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18644 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18645 if test $glibcxx_cv_obsolete_isnan = yes; then
18647 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18651 esac
18653 CXXFLAGS="$ac_save_CXXFLAGS"
18654 ac_ext=c
18655 ac_cpp='$CPP $CPPFLAGS'
18656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18664 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18665 if ${glibcxx_cv_system_error1+:} false; then :
18666 $as_echo_n "(cached) " >&6
18667 else
18669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18670 /* end confdefs.h. */
18671 #include <errno.h>
18673 main ()
18675 int i = EOWNERDEAD;
18677 return 0;
18679 _ACEOF
18680 if ac_fn_c_try_compile "$LINENO"; then :
18681 glibcxx_cv_system_error1=yes
18682 else
18683 glibcxx_cv_system_error1=no
18685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18690 $as_echo "$glibcxx_cv_system_error1" >&6; }
18691 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18693 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18697 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18698 if ${glibcxx_cv_system_error2+:} false; then :
18699 $as_echo_n "(cached) " >&6
18700 else
18702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18703 /* end confdefs.h. */
18704 #include <errno.h>
18706 main ()
18708 int i = ENOTRECOVERABLE;
18710 return 0;
18712 _ACEOF
18713 if ac_fn_c_try_compile "$LINENO"; then :
18714 glibcxx_cv_system_error2=yes
18715 else
18716 glibcxx_cv_system_error2=no
18718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18723 $as_echo "$glibcxx_cv_system_error2" >&6; }
18724 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18726 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18730 $as_echo_n "checking for ENOLINK... " >&6; }
18731 if ${glibcxx_cv_system_error3+:} false; then :
18732 $as_echo_n "(cached) " >&6
18733 else
18735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18736 /* end confdefs.h. */
18737 #include <errno.h>
18739 main ()
18741 int i = ENOLINK;
18743 return 0;
18745 _ACEOF
18746 if ac_fn_c_try_compile "$LINENO"; then :
18747 glibcxx_cv_system_error3=yes
18748 else
18749 glibcxx_cv_system_error3=no
18751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18756 $as_echo "$glibcxx_cv_system_error3" >&6; }
18757 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18759 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18763 $as_echo_n "checking for EPROTO... " >&6; }
18764 if ${glibcxx_cv_system_error4+:} false; then :
18765 $as_echo_n "(cached) " >&6
18766 else
18768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18769 /* end confdefs.h. */
18770 #include <errno.h>
18772 main ()
18774 int i = EPROTO;
18776 return 0;
18778 _ACEOF
18779 if ac_fn_c_try_compile "$LINENO"; then :
18780 glibcxx_cv_system_error4=yes
18781 else
18782 glibcxx_cv_system_error4=no
18784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18789 $as_echo "$glibcxx_cv_system_error4" >&6; }
18790 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18792 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18796 $as_echo_n "checking for ENODATA... " >&6; }
18797 if ${glibcxx_cv_system_error5+:} false; then :
18798 $as_echo_n "(cached) " >&6
18799 else
18801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18802 /* end confdefs.h. */
18803 #include <errno.h>
18805 main ()
18807 int i = ENODATA;
18809 return 0;
18811 _ACEOF
18812 if ac_fn_c_try_compile "$LINENO"; then :
18813 glibcxx_cv_system_error5=yes
18814 else
18815 glibcxx_cv_system_error5=no
18817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18822 $as_echo "$glibcxx_cv_system_error5" >&6; }
18823 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18825 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18829 $as_echo_n "checking for ENOSR... " >&6; }
18830 if ${glibcxx_cv_system_error6+:} false; then :
18831 $as_echo_n "(cached) " >&6
18832 else
18834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18835 /* end confdefs.h. */
18836 #include <errno.h>
18838 main ()
18840 int i = ENOSR;
18842 return 0;
18844 _ACEOF
18845 if ac_fn_c_try_compile "$LINENO"; then :
18846 glibcxx_cv_system_error6=yes
18847 else
18848 glibcxx_cv_system_error6=no
18850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18855 $as_echo "$glibcxx_cv_system_error6" >&6; }
18856 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18858 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18862 $as_echo_n "checking for ENOSTR... " >&6; }
18863 if ${glibcxx_cv_system_error7+:} false; then :
18864 $as_echo_n "(cached) " >&6
18865 else
18867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18868 /* end confdefs.h. */
18869 #include <errno.h>
18871 main ()
18873 int i = ENOSTR;
18875 return 0;
18877 _ACEOF
18878 if ac_fn_c_try_compile "$LINENO"; then :
18879 glibcxx_cv_system_error7=yes
18880 else
18881 glibcxx_cv_system_error7=no
18883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18888 $as_echo "$glibcxx_cv_system_error7" >&6; }
18889 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18891 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18895 $as_echo_n "checking for ETIME... " >&6; }
18896 if ${glibcxx_cv_system_error8+:} false; then :
18897 $as_echo_n "(cached) " >&6
18898 else
18900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18901 /* end confdefs.h. */
18902 #include <errno.h>
18904 main ()
18906 int i = ETIME;
18908 return 0;
18910 _ACEOF
18911 if ac_fn_c_try_compile "$LINENO"; then :
18912 glibcxx_cv_system_error8=yes
18913 else
18914 glibcxx_cv_system_error8=no
18916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18921 $as_echo "$glibcxx_cv_system_error8" >&6; }
18922 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18924 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18928 $as_echo_n "checking for EBADMSG... " >&6; }
18929 if ${glibcxx_cv_system_error9+:} false; then :
18930 $as_echo_n "(cached) " >&6
18931 else
18933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18934 /* end confdefs.h. */
18935 #include <errno.h>
18937 main ()
18939 int i = EBADMSG;
18941 return 0;
18943 _ACEOF
18944 if ac_fn_c_try_compile "$LINENO"; then :
18945 glibcxx_cv_system_error9=yes
18946 else
18947 glibcxx_cv_system_error9=no
18949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18954 $as_echo "$glibcxx_cv_system_error9" >&6; }
18955 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18957 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18961 $as_echo_n "checking for ECANCELED... " >&6; }
18962 if ${glibcxx_cv_system_error10+:} false; then :
18963 $as_echo_n "(cached) " >&6
18964 else
18966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18967 /* end confdefs.h. */
18968 #include <errno.h>
18970 main ()
18972 int i = ECANCELED;
18974 return 0;
18976 _ACEOF
18977 if ac_fn_c_try_compile "$LINENO"; then :
18978 glibcxx_cv_system_error10=yes
18979 else
18980 glibcxx_cv_system_error10=no
18982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18987 $as_echo "$glibcxx_cv_system_error10" >&6; }
18988 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18990 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18994 $as_echo_n "checking for EOVERFLOW... " >&6; }
18995 if ${glibcxx_cv_system_error11+:} false; then :
18996 $as_echo_n "(cached) " >&6
18997 else
18999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19000 /* end confdefs.h. */
19001 #include <errno.h>
19003 main ()
19005 int i = EOVERFLOW;
19007 return 0;
19009 _ACEOF
19010 if ac_fn_c_try_compile "$LINENO"; then :
19011 glibcxx_cv_system_error11=yes
19012 else
19013 glibcxx_cv_system_error11=no
19015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
19020 $as_echo "$glibcxx_cv_system_error11" >&6; }
19021 if test x"$glibcxx_cv_system_error11" = x"yes"; then
19023 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
19026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
19027 $as_echo_n "checking for ENOTSUP... " >&6; }
19028 if ${glibcxx_cv_system_error12+:} false; then :
19029 $as_echo_n "(cached) " >&6
19030 else
19032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19033 /* end confdefs.h. */
19034 #include <errno.h>
19036 main ()
19038 int i = ENOTSUP;
19040 return 0;
19042 _ACEOF
19043 if ac_fn_c_try_compile "$LINENO"; then :
19044 glibcxx_cv_system_error12=yes
19045 else
19046 glibcxx_cv_system_error12=no
19048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
19053 $as_echo "$glibcxx_cv_system_error12" >&6; }
19054 if test x"$glibcxx_cv_system_error12" = x"yes"; then
19056 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
19060 $as_echo_n "checking for EIDRM... " >&6; }
19061 if ${glibcxx_cv_system_error13+:} false; then :
19062 $as_echo_n "(cached) " >&6
19063 else
19065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19066 /* end confdefs.h. */
19067 #include <errno.h>
19069 main ()
19071 int i = EIDRM;
19073 return 0;
19075 _ACEOF
19076 if ac_fn_c_try_compile "$LINENO"; then :
19077 glibcxx_cv_system_error13=yes
19078 else
19079 glibcxx_cv_system_error13=no
19081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
19086 $as_echo "$glibcxx_cv_system_error13" >&6; }
19087 if test x"$glibcxx_cv_system_error13" = x"yes"; then
19089 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
19092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
19093 $as_echo_n "checking for ETXTBSY... " >&6; }
19094 if ${glibcxx_cv_system_error14+:} false; then :
19095 $as_echo_n "(cached) " >&6
19096 else
19098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19099 /* end confdefs.h. */
19100 #include <errno.h>
19102 main ()
19104 int i = ETXTBSY;
19106 return 0;
19108 _ACEOF
19109 if ac_fn_c_try_compile "$LINENO"; then :
19110 glibcxx_cv_system_error14=yes
19111 else
19112 glibcxx_cv_system_error14=no
19114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
19119 $as_echo "$glibcxx_cv_system_error14" >&6; }
19120 if test x"$glibcxx_cv_system_error14" = x"yes"; then
19122 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
19125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
19126 $as_echo_n "checking for ECHILD... " >&6; }
19127 if ${glibcxx_cv_system_error15+:} false; then :
19128 $as_echo_n "(cached) " >&6
19129 else
19131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19132 /* end confdefs.h. */
19133 #include <errno.h>
19135 main ()
19137 int i = ECHILD;
19139 return 0;
19141 _ACEOF
19142 if ac_fn_c_try_compile "$LINENO"; then :
19143 glibcxx_cv_system_error15=yes
19144 else
19145 glibcxx_cv_system_error15=no
19147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
19152 $as_echo "$glibcxx_cv_system_error15" >&6; }
19153 if test x"$glibcxx_cv_system_error15" = x"yes"; then
19155 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
19158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
19159 $as_echo_n "checking for ENOSPC... " >&6; }
19160 if ${glibcxx_cv_system_error16+:} false; then :
19161 $as_echo_n "(cached) " >&6
19162 else
19164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19165 /* end confdefs.h. */
19166 #include <errno.h>
19168 main ()
19170 int i = ENOSPC;
19172 return 0;
19174 _ACEOF
19175 if ac_fn_c_try_compile "$LINENO"; then :
19176 glibcxx_cv_system_error16=yes
19177 else
19178 glibcxx_cv_system_error16=no
19180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
19185 $as_echo "$glibcxx_cv_system_error16" >&6; }
19186 if test x"$glibcxx_cv_system_error16" = x"yes"; then
19188 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
19191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
19192 $as_echo_n "checking for EPERM... " >&6; }
19193 if ${glibcxx_cv_system_error17+:} false; then :
19194 $as_echo_n "(cached) " >&6
19195 else
19197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19198 /* end confdefs.h. */
19199 #include <errno.h>
19201 main ()
19203 int i = EPERM;
19205 return 0;
19207 _ACEOF
19208 if ac_fn_c_try_compile "$LINENO"; then :
19209 glibcxx_cv_system_error17=yes
19210 else
19211 glibcxx_cv_system_error17=no
19213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
19218 $as_echo "$glibcxx_cv_system_error17" >&6; }
19219 if test x"$glibcxx_cv_system_error17" = x"yes"; then
19221 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
19224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
19225 $as_echo_n "checking for ETIMEDOUT... " >&6; }
19226 if ${glibcxx_cv_system_error18+:} false; then :
19227 $as_echo_n "(cached) " >&6
19228 else
19230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19231 /* end confdefs.h. */
19232 #include <errno.h>
19234 main ()
19236 int i = ETIMEDOUT;
19238 return 0;
19240 _ACEOF
19241 if ac_fn_c_try_compile "$LINENO"; then :
19242 glibcxx_cv_system_error18=yes
19243 else
19244 glibcxx_cv_system_error18=no
19246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19251 $as_echo "$glibcxx_cv_system_error18" >&6; }
19252 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19254 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19258 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19259 if ${glibcxx_cv_system_error19+:} false; then :
19260 $as_echo_n "(cached) " >&6
19261 else
19263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19264 /* end confdefs.h. */
19265 #include <errno.h>
19267 main ()
19269 int i = EWOULDBLOCK;
19271 return 0;
19273 _ACEOF
19274 if ac_fn_c_try_compile "$LINENO"; then :
19275 glibcxx_cv_system_error19=yes
19276 else
19277 glibcxx_cv_system_error19=no
19279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19284 $as_echo "$glibcxx_cv_system_error19" >&6; }
19285 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19287 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19294 # Test uchar.h.
19295 for ac_header in uchar.h
19296 do :
19297 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19298 if test "x$ac_cv_header_uchar_h" = xyes; then :
19299 cat >>confdefs.h <<_ACEOF
19300 #define HAVE_UCHAR_H 1
19301 _ACEOF
19302 ac_has_uchar_h=yes
19303 else
19304 ac_has_uchar_h=no
19307 done
19311 ac_ext=cpp
19312 ac_cpp='$CXXCPP $CPPFLAGS'
19313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19317 ac_save_CXXFLAGS="$CXXFLAGS"
19318 CXXFLAGS="$CXXFLAGS -std=c++11"
19320 if test x"$ac_has_uchar_h" = x"yes"; then
19321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19322 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19324 /* end confdefs.h. */
19325 #include <uchar.h>
19326 #ifdef __STDC_UTF_16__
19327 long i = __STDC_UTF_16__;
19328 #endif
19329 #ifdef __STDC_UTF_32__
19330 long j = __STDC_UTF_32__;
19331 #endif
19332 namespace test
19334 using ::c16rtomb;
19335 using ::c32rtomb;
19336 using ::mbrtoc16;
19337 using ::mbrtoc32;
19341 main ()
19345 return 0;
19347 _ACEOF
19348 if ac_fn_cxx_try_compile "$LINENO"; then :
19349 ac_c11_uchar_cxx11=yes
19350 else
19351 ac_c11_uchar_cxx11=no
19353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19354 else
19355 ac_c11_uchar_cxx11=no
19357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19358 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19359 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19361 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19365 CXXFLAGS="$ac_save_CXXFLAGS"
19366 ac_ext=c
19367 ac_cpp='$CPP $CPPFLAGS'
19368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19374 # For the streamoff typedef.
19378 ac_ext=cpp
19379 ac_cpp='$CXXCPP $CPPFLAGS'
19380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19386 $as_echo_n "checking for int64_t... " >&6; }
19387 if ${glibcxx_cv_INT64_T+:} false; then :
19388 $as_echo_n "(cached) " >&6
19389 else
19391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19392 /* end confdefs.h. */
19393 #include <stdint.h>
19395 main ()
19397 int64_t var;
19399 return 0;
19401 _ACEOF
19402 if ac_fn_cxx_try_compile "$LINENO"; then :
19403 glibcxx_cv_INT64_T=yes
19404 else
19405 glibcxx_cv_INT64_T=no
19407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19412 if test $glibcxx_cv_INT64_T = yes; then
19414 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19417 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19420 $as_echo_n "checking for int64_t as long... " >&6; }
19421 if ${glibcxx_cv_int64_t_long+:} false; then :
19422 $as_echo_n "(cached) " >&6
19423 else
19425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19426 /* end confdefs.h. */
19427 #include <stdint.h>
19428 template<typename, typename> struct same { enum { value = -1 }; };
19429 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19430 int array[same<int64_t, long>::value];
19432 main ()
19436 return 0;
19438 _ACEOF
19439 if ac_fn_cxx_try_compile "$LINENO"; then :
19440 glibcxx_cv_int64_t_long=yes
19441 else
19442 glibcxx_cv_int64_t_long=no
19444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19449 if test $glibcxx_cv_int64_t_long = yes; then
19451 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19454 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19458 $as_echo_n "checking for int64_t as long long... " >&6; }
19459 if ${glibcxx_cv_int64_t_long_long+:} false; then :
19460 $as_echo_n "(cached) " >&6
19461 else
19463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19464 /* end confdefs.h. */
19465 #include <stdint.h>
19466 template<typename, typename> struct same { enum { value = -1 }; };
19467 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19468 int array[same<int64_t, long long>::value];
19470 main ()
19474 return 0;
19476 _ACEOF
19477 if ac_fn_cxx_try_compile "$LINENO"; then :
19478 glibcxx_cv_int64_t_long_long=yes
19479 else
19480 glibcxx_cv_int64_t_long_long=no
19482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19487 if test $glibcxx_cv_int64_t_long_long = yes; then
19489 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19492 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19496 ac_ext=c
19497 ac_cpp='$CPP $CPPFLAGS'
19498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19504 # For LFS support.
19507 ac_ext=cpp
19508 ac_cpp='$CXXCPP $CPPFLAGS'
19509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19513 ac_save_CXXFLAGS="$CXXFLAGS"
19514 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19516 $as_echo_n "checking for LFS support... " >&6; }
19517 if ${glibcxx_cv_LFS+:} false; then :
19518 $as_echo_n "(cached) " >&6
19519 else
19521 if test x$gcc_no_link = xyes; then
19522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19523 /* end confdefs.h. */
19524 #include <unistd.h>
19525 #include <stdio.h>
19526 #include <sys/stat.h>
19529 main ()
19531 FILE* fp;
19532 fopen64("t", "w");
19533 fseeko64(fp, 0, SEEK_CUR);
19534 ftello64(fp);
19535 lseek64(1, 0, SEEK_CUR);
19536 struct stat64 buf;
19537 fstat64(1, &buf);
19539 return 0;
19541 _ACEOF
19542 if ac_fn_cxx_try_compile "$LINENO"; then :
19543 glibcxx_cv_LFS=yes
19544 else
19545 glibcxx_cv_LFS=no
19547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19548 else
19549 if test x$gcc_no_link = xyes; then
19550 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19553 /* end confdefs.h. */
19554 #include <unistd.h>
19555 #include <stdio.h>
19556 #include <sys/stat.h>
19559 main ()
19561 FILE* fp;
19562 fopen64("t", "w");
19563 fseeko64(fp, 0, SEEK_CUR);
19564 ftello64(fp);
19565 lseek64(1, 0, SEEK_CUR);
19566 struct stat64 buf;
19567 fstat64(1, &buf);
19569 return 0;
19571 _ACEOF
19572 if ac_fn_cxx_try_link "$LINENO"; then :
19573 glibcxx_cv_LFS=yes
19574 else
19575 glibcxx_cv_LFS=no
19577 rm -f core conftest.err conftest.$ac_objext \
19578 conftest$ac_exeext conftest.$ac_ext
19583 if test $glibcxx_cv_LFS = yes; then
19585 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19589 $as_echo "$glibcxx_cv_LFS" >&6; }
19590 CXXFLAGS="$ac_save_CXXFLAGS"
19591 ac_ext=c
19592 ac_cpp='$CPP $CPPFLAGS'
19593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19599 # For showmanyc_helper().
19600 for ac_header in sys/ioctl.h sys/filio.h
19601 do :
19602 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19603 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19604 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19605 cat >>confdefs.h <<_ACEOF
19606 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19607 _ACEOF
19611 done
19616 ac_ext=cpp
19617 ac_cpp='$CXXCPP $CPPFLAGS'
19618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19622 ac_save_CXXFLAGS="$CXXFLAGS"
19623 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19626 $as_echo_n "checking for poll... " >&6; }
19627 if ${glibcxx_cv_POLL+:} false; then :
19628 $as_echo_n "(cached) " >&6
19629 else
19631 if test x$gcc_no_link = xyes; then
19632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19633 /* end confdefs.h. */
19634 #include <poll.h>
19636 main ()
19638 struct pollfd pfd[1];
19639 pfd[0].events = POLLIN;
19640 poll(pfd, 1, 0);
19642 return 0;
19644 _ACEOF
19645 if ac_fn_cxx_try_compile "$LINENO"; then :
19646 glibcxx_cv_POLL=yes
19647 else
19648 glibcxx_cv_POLL=no
19650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19651 else
19652 if test x$gcc_no_link = xyes; then
19653 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19656 /* end confdefs.h. */
19657 #include <poll.h>
19659 main ()
19661 struct pollfd pfd[1];
19662 pfd[0].events = POLLIN;
19663 poll(pfd, 1, 0);
19665 return 0;
19667 _ACEOF
19668 if ac_fn_cxx_try_link "$LINENO"; then :
19669 glibcxx_cv_POLL=yes
19670 else
19671 glibcxx_cv_POLL=no
19673 rm -f core conftest.err conftest.$ac_objext \
19674 conftest$ac_exeext conftest.$ac_ext
19679 if test $glibcxx_cv_POLL = yes; then
19681 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19685 $as_echo "$glibcxx_cv_POLL" >&6; }
19687 CXXFLAGS="$ac_save_CXXFLAGS"
19688 ac_ext=c
19689 ac_cpp='$CPP $CPPFLAGS'
19690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19698 ac_ext=cpp
19699 ac_cpp='$CXXCPP $CPPFLAGS'
19700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19704 ac_save_CXXFLAGS="$CXXFLAGS"
19705 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19708 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19709 if ${glibcxx_cv_S_ISREG+:} false; then :
19710 $as_echo_n "(cached) " >&6
19711 else
19713 if test x$gcc_no_link = xyes; then
19714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19715 /* end confdefs.h. */
19716 #include <sys/stat.h>
19718 main ()
19720 struct stat buffer;
19721 fstat(0, &buffer);
19722 S_ISREG(buffer.st_mode);
19724 return 0;
19726 _ACEOF
19727 if ac_fn_cxx_try_compile "$LINENO"; then :
19728 glibcxx_cv_S_ISREG=yes
19729 else
19730 glibcxx_cv_S_ISREG=no
19732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19733 else
19734 if test x$gcc_no_link = xyes; then
19735 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19738 /* end confdefs.h. */
19739 #include <sys/stat.h>
19741 main ()
19743 struct stat buffer;
19744 fstat(0, &buffer);
19745 S_ISREG(buffer.st_mode);
19747 return 0;
19749 _ACEOF
19750 if ac_fn_cxx_try_link "$LINENO"; then :
19751 glibcxx_cv_S_ISREG=yes
19752 else
19753 glibcxx_cv_S_ISREG=no
19755 rm -f core conftest.err conftest.$ac_objext \
19756 conftest$ac_exeext conftest.$ac_ext
19761 if ${glibcxx_cv_S_IFREG+:} false; then :
19762 $as_echo_n "(cached) " >&6
19763 else
19765 if test x$gcc_no_link = xyes; then
19766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19767 /* end confdefs.h. */
19768 #include <sys/stat.h>
19770 main ()
19772 struct stat buffer;
19773 fstat(0, &buffer);
19774 S_IFREG & buffer.st_mode;
19776 return 0;
19778 _ACEOF
19779 if ac_fn_cxx_try_compile "$LINENO"; then :
19780 glibcxx_cv_S_IFREG=yes
19781 else
19782 glibcxx_cv_S_IFREG=no
19784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19785 else
19786 if test x$gcc_no_link = xyes; then
19787 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19790 /* end confdefs.h. */
19791 #include <sys/stat.h>
19793 main ()
19795 struct stat buffer;
19796 fstat(0, &buffer);
19797 S_IFREG & buffer.st_mode;
19799 return 0;
19801 _ACEOF
19802 if ac_fn_cxx_try_link "$LINENO"; then :
19803 glibcxx_cv_S_IFREG=yes
19804 else
19805 glibcxx_cv_S_IFREG=no
19807 rm -f core conftest.err conftest.$ac_objext \
19808 conftest$ac_exeext conftest.$ac_ext
19813 res=no
19814 if test $glibcxx_cv_S_ISREG = yes; then
19816 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19818 res=S_ISREG
19819 elif test $glibcxx_cv_S_IFREG = yes; then
19821 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19823 res=S_IFREG
19825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19826 $as_echo "$res" >&6; }
19828 CXXFLAGS="$ac_save_CXXFLAGS"
19829 ac_ext=c
19830 ac_cpp='$CPP $CPPFLAGS'
19831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19837 # For xsputn_2().
19838 for ac_header in sys/uio.h
19839 do :
19840 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19841 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
19842 cat >>confdefs.h <<_ACEOF
19843 #define HAVE_SYS_UIO_H 1
19844 _ACEOF
19848 done
19853 ac_ext=cpp
19854 ac_cpp='$CXXCPP $CPPFLAGS'
19855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19859 ac_save_CXXFLAGS="$CXXFLAGS"
19860 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19863 $as_echo_n "checking for writev... " >&6; }
19864 if ${glibcxx_cv_WRITEV+:} false; then :
19865 $as_echo_n "(cached) " >&6
19866 else
19868 if test x$gcc_no_link = xyes; then
19869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19870 /* end confdefs.h. */
19871 #include <sys/uio.h>
19873 main ()
19875 struct iovec iov[2];
19876 writev(0, iov, 0);
19878 return 0;
19880 _ACEOF
19881 if ac_fn_cxx_try_compile "$LINENO"; then :
19882 glibcxx_cv_WRITEV=yes
19883 else
19884 glibcxx_cv_WRITEV=no
19886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19887 else
19888 if test x$gcc_no_link = xyes; then
19889 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19892 /* end confdefs.h. */
19893 #include <sys/uio.h>
19895 main ()
19897 struct iovec iov[2];
19898 writev(0, iov, 0);
19900 return 0;
19902 _ACEOF
19903 if ac_fn_cxx_try_link "$LINENO"; then :
19904 glibcxx_cv_WRITEV=yes
19905 else
19906 glibcxx_cv_WRITEV=no
19908 rm -f core conftest.err conftest.$ac_objext \
19909 conftest$ac_exeext conftest.$ac_ext
19914 if test $glibcxx_cv_WRITEV = yes; then
19916 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19920 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19922 CXXFLAGS="$ac_save_CXXFLAGS"
19923 ac_ext=c
19924 ac_cpp='$CPP $CPPFLAGS'
19925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19931 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19932 # so that the check is done with the C compiler (not C++).
19933 # Checking with C++ can break a canadian cross build if either
19934 # file does not exist in C but does in C++.
19935 for ac_header in fenv.h complex.h
19936 do :
19937 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19938 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19939 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19940 cat >>confdefs.h <<_ACEOF
19941 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19942 _ACEOF
19946 done
19949 # For C99 support to TR1.
19953 ac_ext=cpp
19954 ac_cpp='$CXXCPP $CPPFLAGS'
19955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19960 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19961 # undefined and fake C99 facilities may be spuriously enabled.
19962 ac_save_CXXFLAGS="$CXXFLAGS"
19963 CXXFLAGS="$CXXFLAGS -std=c++98"
19965 # Check for the existence of <complex.h> complex math functions used
19966 # by tr1/complex.
19967 for ac_header in complex.h
19968 do :
19969 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19970 if test "x$ac_cv_header_complex_h" = xyes; then :
19971 cat >>confdefs.h <<_ACEOF
19972 #define HAVE_COMPLEX_H 1
19973 _ACEOF
19974 ac_has_complex_h=yes
19975 else
19976 ac_has_complex_h=no
19979 done
19981 ac_c99_complex_tr1=no;
19982 if test x"$ac_has_complex_h" = x"yes"; then
19983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19984 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19986 /* end confdefs.h. */
19987 #include <complex.h>
19989 main ()
19991 typedef __complex__ float float_type; float_type tmpf;
19992 cacosf(tmpf);
19993 casinf(tmpf);
19994 catanf(tmpf);
19995 cacoshf(tmpf);
19996 casinhf(tmpf);
19997 catanhf(tmpf);
19998 typedef __complex__ double double_type; double_type tmpd;
19999 cacos(tmpd);
20000 casin(tmpd);
20001 catan(tmpd);
20002 cacosh(tmpd);
20003 casinh(tmpd);
20004 catanh(tmpd);
20005 typedef __complex__ long double ld_type; ld_type tmpld;
20006 cacosl(tmpld);
20007 casinl(tmpld);
20008 catanl(tmpld);
20009 cacoshl(tmpld);
20010 casinhl(tmpld);
20011 catanhl(tmpld);
20014 return 0;
20016 _ACEOF
20017 if ac_fn_cxx_try_compile "$LINENO"; then :
20018 ac_c99_complex_tr1=yes
20019 else
20020 ac_c99_complex_tr1=no
20022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
20025 $as_echo "$ac_c99_complex_tr1" >&6; }
20026 if test x"$ac_c99_complex_tr1" = x"yes"; then
20028 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
20032 # Check for the existence of <ctype.h> functions.
20033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20034 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
20035 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
20036 $as_echo_n "(cached) " >&6
20037 else
20039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20040 /* end confdefs.h. */
20041 #include <ctype.h>
20043 main ()
20045 int ch;
20046 int ret;
20047 ret = isblank(ch);
20050 return 0;
20052 _ACEOF
20053 if ac_fn_cxx_try_compile "$LINENO"; then :
20054 glibcxx_cv_c99_ctype_tr1=yes
20055 else
20056 glibcxx_cv_c99_ctype_tr1=no
20058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
20063 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
20064 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
20066 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
20070 # Check for the existence of <fenv.h> functions.
20071 for ac_header in fenv.h
20072 do :
20073 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
20074 if test "x$ac_cv_header_fenv_h" = xyes; then :
20075 cat >>confdefs.h <<_ACEOF
20076 #define HAVE_FENV_H 1
20077 _ACEOF
20078 ac_has_fenv_h=yes
20079 else
20080 ac_has_fenv_h=no
20083 done
20085 ac_c99_fenv_tr1=no;
20086 if test x"$ac_has_fenv_h" = x"yes"; then
20087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20088 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
20089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20090 /* end confdefs.h. */
20091 #include <fenv.h>
20093 main ()
20095 int except, mode;
20096 fexcept_t* pflag;
20097 fenv_t* penv;
20098 int ret;
20099 ret = feclearexcept(except);
20100 ret = fegetexceptflag(pflag, except);
20101 ret = feraiseexcept(except);
20102 ret = fesetexceptflag(pflag, except);
20103 ret = fetestexcept(except);
20104 ret = fegetround();
20105 ret = fesetround(mode);
20106 ret = fegetenv(penv);
20107 ret = feholdexcept(penv);
20108 ret = fesetenv(penv);
20109 ret = feupdateenv(penv);
20112 return 0;
20114 _ACEOF
20115 if ac_fn_cxx_try_compile "$LINENO"; then :
20116 ac_c99_fenv_tr1=yes
20117 else
20118 ac_c99_fenv_tr1=no
20120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
20123 $as_echo "$ac_c99_fenv_tr1" >&6; }
20124 if test x"$ac_c99_fenv_tr1" = x"yes"; then
20126 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
20130 # Check for the existence of <stdint.h> types.
20131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20132 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
20133 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
20134 $as_echo_n "(cached) " >&6
20135 else
20137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20138 /* end confdefs.h. */
20139 #define __STDC_LIMIT_MACROS
20140 #define __STDC_CONSTANT_MACROS
20141 #include <stdint.h>
20143 main ()
20145 typedef int8_t my_int8_t;
20146 my_int8_t i8 = INT8_MIN;
20147 i8 = INT8_MAX;
20148 typedef int16_t my_int16_t;
20149 my_int16_t i16 = INT16_MIN;
20150 i16 = INT16_MAX;
20151 typedef int32_t my_int32_t;
20152 my_int32_t i32 = INT32_MIN;
20153 i32 = INT32_MAX;
20154 typedef int64_t my_int64_t;
20155 my_int64_t i64 = INT64_MIN;
20156 i64 = INT64_MAX;
20157 typedef int_fast8_t my_int_fast8_t;
20158 my_int_fast8_t if8 = INT_FAST8_MIN;
20159 if8 = INT_FAST8_MAX;
20160 typedef int_fast16_t my_int_fast16_t;
20161 my_int_fast16_t if16 = INT_FAST16_MIN;
20162 if16 = INT_FAST16_MAX;
20163 typedef int_fast32_t my_int_fast32_t;
20164 my_int_fast32_t if32 = INT_FAST32_MIN;
20165 if32 = INT_FAST32_MAX;
20166 typedef int_fast64_t my_int_fast64_t;
20167 my_int_fast64_t if64 = INT_FAST64_MIN;
20168 if64 = INT_FAST64_MAX;
20169 typedef int_least8_t my_int_least8_t;
20170 my_int_least8_t il8 = INT_LEAST8_MIN;
20171 il8 = INT_LEAST8_MAX;
20172 typedef int_least16_t my_int_least16_t;
20173 my_int_least16_t il16 = INT_LEAST16_MIN;
20174 il16 = INT_LEAST16_MAX;
20175 typedef int_least32_t my_int_least32_t;
20176 my_int_least32_t il32 = INT_LEAST32_MIN;
20177 il32 = INT_LEAST32_MAX;
20178 typedef int_least64_t my_int_least64_t;
20179 my_int_least64_t il64 = INT_LEAST64_MIN;
20180 il64 = INT_LEAST64_MAX;
20181 typedef intmax_t my_intmax_t;
20182 my_intmax_t im = INTMAX_MAX;
20183 im = INTMAX_MIN;
20184 typedef intptr_t my_intptr_t;
20185 my_intptr_t ip = INTPTR_MAX;
20186 ip = INTPTR_MIN;
20187 typedef uint8_t my_uint8_t;
20188 my_uint8_t ui8 = UINT8_MAX;
20189 ui8 = UINT8_MAX;
20190 typedef uint16_t my_uint16_t;
20191 my_uint16_t ui16 = UINT16_MAX;
20192 ui16 = UINT16_MAX;
20193 typedef uint32_t my_uint32_t;
20194 my_uint32_t ui32 = UINT32_MAX;
20195 ui32 = UINT32_MAX;
20196 typedef uint64_t my_uint64_t;
20197 my_uint64_t ui64 = UINT64_MAX;
20198 ui64 = UINT64_MAX;
20199 typedef uint_fast8_t my_uint_fast8_t;
20200 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
20201 uif8 = UINT_FAST8_MAX;
20202 typedef uint_fast16_t my_uint_fast16_t;
20203 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
20204 uif16 = UINT_FAST16_MAX;
20205 typedef uint_fast32_t my_uint_fast32_t;
20206 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
20207 uif32 = UINT_FAST32_MAX;
20208 typedef uint_fast64_t my_uint_fast64_t;
20209 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
20210 uif64 = UINT_FAST64_MAX;
20211 typedef uint_least8_t my_uint_least8_t;
20212 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
20213 uil8 = UINT_LEAST8_MAX;
20214 typedef uint_least16_t my_uint_least16_t;
20215 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
20216 uil16 = UINT_LEAST16_MAX;
20217 typedef uint_least32_t my_uint_least32_t;
20218 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
20219 uil32 = UINT_LEAST32_MAX;
20220 typedef uint_least64_t my_uint_least64_t;
20221 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20222 uil64 = UINT_LEAST64_MAX;
20223 typedef uintmax_t my_uintmax_t;
20224 my_uintmax_t uim = UINTMAX_MAX;
20225 uim = UINTMAX_MAX;
20226 typedef uintptr_t my_uintptr_t;
20227 my_uintptr_t uip = UINTPTR_MAX;
20228 uip = UINTPTR_MAX;
20231 return 0;
20233 _ACEOF
20234 if ac_fn_cxx_try_compile "$LINENO"; then :
20235 glibcxx_cv_c99_stdint_tr1=yes
20236 else
20237 glibcxx_cv_c99_stdint_tr1=no
20239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20244 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20245 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20247 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20251 # Check for the existence of <math.h> functions.
20252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20253 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20254 if ${glibcxx_cv_c99_math_tr1+:} false; then :
20255 $as_echo_n "(cached) " >&6
20256 else
20258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20259 /* end confdefs.h. */
20260 #include <math.h>
20262 main ()
20264 typedef double_t my_double_t;
20265 typedef float_t my_float_t;
20266 acosh(0.0);
20267 acoshf(0.0f);
20268 acoshl(0.0l);
20269 asinh(0.0);
20270 asinhf(0.0f);
20271 asinhl(0.0l);
20272 atanh(0.0);
20273 atanhf(0.0f);
20274 atanhl(0.0l);
20275 cbrt(0.0);
20276 cbrtf(0.0f);
20277 cbrtl(0.0l);
20278 copysign(0.0, 0.0);
20279 copysignf(0.0f, 0.0f);
20280 copysignl(0.0l, 0.0l);
20281 erf(0.0);
20282 erff(0.0f);
20283 erfl(0.0l);
20284 erfc(0.0);
20285 erfcf(0.0f);
20286 erfcl(0.0l);
20287 exp2(0.0);
20288 exp2f(0.0f);
20289 exp2l(0.0l);
20290 expm1(0.0);
20291 expm1f(0.0f);
20292 expm1l(0.0l);
20293 fdim(0.0, 0.0);
20294 fdimf(0.0f, 0.0f);
20295 fdiml(0.0l, 0.0l);
20296 fma(0.0, 0.0, 0.0);
20297 fmaf(0.0f, 0.0f, 0.0f);
20298 fmal(0.0l, 0.0l, 0.0l);
20299 fmax(0.0, 0.0);
20300 fmaxf(0.0f, 0.0f);
20301 fmaxl(0.0l, 0.0l);
20302 fmin(0.0, 0.0);
20303 fminf(0.0f, 0.0f);
20304 fminl(0.0l, 0.0l);
20305 hypot(0.0, 0.0);
20306 hypotf(0.0f, 0.0f);
20307 hypotl(0.0l, 0.0l);
20308 ilogb(0.0);
20309 ilogbf(0.0f);
20310 ilogbl(0.0l);
20311 lgamma(0.0);
20312 lgammaf(0.0f);
20313 lgammal(0.0l);
20314 #ifndef __APPLE__ /* see below */
20315 llrint(0.0);
20316 llrintf(0.0f);
20317 llrintl(0.0l);
20318 llround(0.0);
20319 llroundf(0.0f);
20320 llroundl(0.0l);
20321 #endif
20322 log1p(0.0);
20323 log1pf(0.0f);
20324 log1pl(0.0l);
20325 log2(0.0);
20326 log2f(0.0f);
20327 log2l(0.0l);
20328 logb(0.0);
20329 logbf(0.0f);
20330 logbl(0.0l);
20331 lrint(0.0);
20332 lrintf(0.0f);
20333 lrintl(0.0l);
20334 lround(0.0);
20335 lroundf(0.0f);
20336 lroundl(0.0l);
20337 nan(0);
20338 nanf(0);
20339 nanl(0);
20340 nearbyint(0.0);
20341 nearbyintf(0.0f);
20342 nearbyintl(0.0l);
20343 nextafter(0.0, 0.0);
20344 nextafterf(0.0f, 0.0f);
20345 nextafterl(0.0l, 0.0l);
20346 nexttoward(0.0, 0.0);
20347 nexttowardf(0.0f, 0.0f);
20348 nexttowardl(0.0l, 0.0l);
20349 remainder(0.0, 0.0);
20350 remainderf(0.0f, 0.0f);
20351 remainderl(0.0l, 0.0l);
20352 remquo(0.0, 0.0, 0);
20353 remquof(0.0f, 0.0f, 0);
20354 remquol(0.0l, 0.0l, 0);
20355 rint(0.0);
20356 rintf(0.0f);
20357 rintl(0.0l);
20358 round(0.0);
20359 roundf(0.0f);
20360 roundl(0.0l);
20361 scalbln(0.0, 0l);
20362 scalblnf(0.0f, 0l);
20363 scalblnl(0.0l, 0l);
20364 scalbn(0.0, 0);
20365 scalbnf(0.0f, 0);
20366 scalbnl(0.0l, 0);
20367 tgamma(0.0);
20368 tgammaf(0.0f);
20369 tgammal(0.0l);
20370 trunc(0.0);
20371 truncf(0.0f);
20372 truncl(0.0l);
20375 return 0;
20377 _ACEOF
20378 if ac_fn_cxx_try_compile "$LINENO"; then :
20379 glibcxx_cv_c99_math_tr1=yes
20380 else
20381 glibcxx_cv_c99_math_tr1=no
20383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20388 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20389 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20391 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20394 case "${target_os}" in
20395 darwin*)
20396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20397 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20398 if ${glibcxx_cv_c99_math_llround+:} false; then :
20399 $as_echo_n "(cached) " >&6
20400 else
20402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20403 /* end confdefs.h. */
20404 #include <math.h>
20406 main ()
20408 llrint(0.0);
20409 llrintf(0.0f);
20410 llrintl(0.0l);
20411 llround(0.0);
20412 llroundf(0.0f);
20413 llroundl(0.0l);
20416 return 0;
20418 _ACEOF
20419 if ac_fn_cxx_try_compile "$LINENO"; then :
20420 glibcxx_cv_c99_math_llround=yes
20421 else
20422 glibcxx_cv_c99_math_llround=no
20424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20429 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20431 esac
20432 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20434 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20439 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20440 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20441 ac_c99_inttypes_tr1=no;
20442 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20444 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20446 /* end confdefs.h. */
20447 #include <inttypes.h>
20449 main ()
20451 intmax_t i, numer, denom, base;
20452 const char* s;
20453 char** endptr;
20454 intmax_t ret = imaxabs(i);
20455 imaxdiv_t dret = imaxdiv(numer, denom);
20456 ret = strtoimax(s, endptr, base);
20457 uintmax_t uret = strtoumax(s, endptr, base);
20460 return 0;
20462 _ACEOF
20463 if ac_fn_cxx_try_compile "$LINENO"; then :
20464 ac_c99_inttypes_tr1=yes
20465 else
20466 ac_c99_inttypes_tr1=no
20468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20471 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20472 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20474 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20478 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20479 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20480 ac_c99_inttypes_wchar_t_tr1=no;
20481 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20483 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20485 /* end confdefs.h. */
20486 #include <inttypes.h>
20488 main ()
20490 intmax_t base;
20491 const wchar_t* s;
20492 wchar_t** endptr;
20493 intmax_t ret = wcstoimax(s, endptr, base);
20494 uintmax_t uret = wcstoumax(s, endptr, base);
20497 return 0;
20499 _ACEOF
20500 if ac_fn_cxx_try_compile "$LINENO"; then :
20501 ac_c99_inttypes_wchar_t_tr1=yes
20502 else
20503 ac_c99_inttypes_wchar_t_tr1=no
20505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20508 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20509 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20511 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20515 # Check for the existence of the <stdbool.h> header.
20516 for ac_header in stdbool.h
20517 do :
20518 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20519 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20520 cat >>confdefs.h <<_ACEOF
20521 #define HAVE_STDBOOL_H 1
20522 _ACEOF
20526 done
20529 # Check for the existence of the <stdalign.h> header.
20530 for ac_header in stdalign.h
20531 do :
20532 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20533 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20534 cat >>confdefs.h <<_ACEOF
20535 #define HAVE_STDALIGN_H 1
20536 _ACEOF
20540 done
20543 CXXFLAGS="$ac_save_CXXFLAGS"
20544 ac_ext=c
20545 ac_cpp='$CPP $CPPFLAGS'
20546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20552 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20556 $as_echo_n "checking for the value of EOF... " >&6; }
20557 if ${glibcxx_cv_stdio_eof+:} false; then :
20558 $as_echo_n "(cached) " >&6
20559 else
20561 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20563 else
20564 as_fn_error $? "computing EOF failed" "$LINENO" 5
20569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20570 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20572 cat >>confdefs.h <<_ACEOF
20573 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20574 _ACEOF
20577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20578 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20579 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20580 $as_echo_n "(cached) " >&6
20581 else
20583 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20585 else
20586 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20592 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20594 cat >>confdefs.h <<_ACEOF
20595 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20596 _ACEOF
20599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20600 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20601 if ${glibcxx_cv_stdio_seek_end+:} false; then :
20602 $as_echo_n "(cached) " >&6
20603 else
20605 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20607 else
20608 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20614 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20616 cat >>confdefs.h <<_ACEOF
20617 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20618 _ACEOF
20622 # For gettimeofday support.
20625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20626 $as_echo_n "checking for gettimeofday... " >&6; }
20629 ac_ext=cpp
20630 ac_cpp='$CXXCPP $CPPFLAGS'
20631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20635 ac_save_CXXFLAGS="$CXXFLAGS"
20636 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20638 ac_has_gettimeofday=no;
20639 for ac_header in sys/time.h
20640 do :
20641 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20642 if test "x$ac_cv_header_sys_time_h" = xyes; then :
20643 cat >>confdefs.h <<_ACEOF
20644 #define HAVE_SYS_TIME_H 1
20645 _ACEOF
20646 ac_has_sys_time_h=yes
20647 else
20648 ac_has_sys_time_h=no
20651 done
20653 if test x"$ac_has_sys_time_h" = x"yes"; then
20654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20655 $as_echo_n "checking for gettimeofday... " >&6; }
20656 if test x$gcc_no_link = xyes; then
20657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20658 /* end confdefs.h. */
20659 #include <sys/time.h>
20661 main ()
20663 timeval tv; gettimeofday(&tv, 0);
20665 return 0;
20667 _ACEOF
20668 if ac_fn_cxx_try_compile "$LINENO"; then :
20669 ac_has_gettimeofday=yes
20670 else
20671 ac_has_gettimeofday=no
20673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20674 else
20675 if test x$gcc_no_link = xyes; then
20676 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20679 /* end confdefs.h. */
20680 #include <sys/time.h>
20682 main ()
20684 timeval tv; gettimeofday(&tv, 0);
20686 return 0;
20688 _ACEOF
20689 if ac_fn_cxx_try_link "$LINENO"; then :
20690 ac_has_gettimeofday=yes
20691 else
20692 ac_has_gettimeofday=no
20694 rm -f core conftest.err conftest.$ac_objext \
20695 conftest$ac_exeext conftest.$ac_ext
20698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20699 $as_echo "$ac_has_gettimeofday" >&6; }
20702 if test x"$ac_has_gettimeofday" = x"yes"; then
20704 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20708 CXXFLAGS="$ac_save_CXXFLAGS"
20709 ac_ext=c
20710 ac_cpp='$CPP $CPPFLAGS'
20711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20717 # For clock_gettime, nanosleep and sched_yield support.
20720 # Check whether --enable-libstdcxx-time was given.
20721 if test "${enable_libstdcxx_time+set}" = set; then :
20722 enableval=$enable_libstdcxx_time;
20723 case "$enableval" in
20724 yes|no|rt) ;;
20725 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20726 esac
20728 else
20729 enable_libstdcxx_time=auto
20735 ac_ext=cpp
20736 ac_cpp='$CXXCPP $CPPFLAGS'
20737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20741 ac_save_CXXFLAGS="$CXXFLAGS"
20742 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20743 ac_save_LIBS="$LIBS"
20745 ac_has_clock_monotonic=no
20746 ac_has_clock_realtime=no
20747 ac_has_nanosleep=no
20748 ac_has_sched_yield=no
20750 if test x"$enable_libstdcxx_time" = x"auto"; then
20752 case "${target_os}" in
20753 cygwin*)
20754 ac_has_nanosleep=yes
20756 darwin*)
20757 ac_has_nanosleep=yes
20758 ac_has_sched_yield=yes
20760 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20762 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20764 /* end confdefs.h. */
20765 #include <features.h>
20767 main ()
20770 #if ! __GLIBC_PREREQ(2, 17)
20771 #error
20772 #endif
20775 return 0;
20777 _ACEOF
20778 if ac_fn_cxx_try_compile "$LINENO"; then :
20779 glibcxx_glibc217=yes
20780 else
20781 glibcxx_glibc217=no
20783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20785 $as_echo "$glibcxx_glibc217" >&6; }
20787 if test x"$glibcxx_glibc217" = x"yes"; then
20788 ac_has_clock_monotonic=yes
20789 ac_has_clock_realtime=yes
20791 ac_has_nanosleep=yes
20792 ac_has_sched_yield=yes
20794 freebsd*|netbsd*|dragonfly*|rtems*)
20795 ac_has_clock_monotonic=yes
20796 ac_has_clock_realtime=yes
20797 ac_has_nanosleep=yes
20798 ac_has_sched_yield=yes
20800 openbsd*)
20801 ac_has_clock_monotonic=yes
20802 ac_has_clock_realtime=yes
20803 ac_has_nanosleep=yes
20805 solaris*)
20806 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20807 ac_has_clock_monotonic=yes
20808 ac_has_clock_realtime=yes
20809 ac_has_nanosleep=yes
20810 ac_has_sched_yield=yes
20812 esac
20814 elif test x"$enable_libstdcxx_time" != x"no"; then
20816 if test x"$enable_libstdcxx_time" = x"rt"; then
20817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20818 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20819 if ${ac_cv_search_clock_gettime+:} false; then :
20820 $as_echo_n "(cached) " >&6
20821 else
20822 ac_func_search_save_LIBS=$LIBS
20823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20824 /* end confdefs.h. */
20826 /* Override any GCC internal prototype to avoid an error.
20827 Use char because int might match the return type of a GCC
20828 builtin and then its argument prototype would still apply. */
20829 #ifdef __cplusplus
20830 extern "C"
20831 #endif
20832 char clock_gettime ();
20834 main ()
20836 return clock_gettime ();
20838 return 0;
20840 _ACEOF
20841 for ac_lib in '' rt posix4; do
20842 if test -z "$ac_lib"; then
20843 ac_res="none required"
20844 else
20845 ac_res=-l$ac_lib
20846 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20848 if test x$gcc_no_link = xyes; then
20849 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20851 if ac_fn_cxx_try_link "$LINENO"; then :
20852 ac_cv_search_clock_gettime=$ac_res
20854 rm -f core conftest.err conftest.$ac_objext \
20855 conftest$ac_exeext
20856 if ${ac_cv_search_clock_gettime+:} false; then :
20857 break
20859 done
20860 if ${ac_cv_search_clock_gettime+:} false; then :
20862 else
20863 ac_cv_search_clock_gettime=no
20865 rm conftest.$ac_ext
20866 LIBS=$ac_func_search_save_LIBS
20868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20869 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20870 ac_res=$ac_cv_search_clock_gettime
20871 if test "$ac_res" != no; then :
20872 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20877 $as_echo_n "checking for library containing nanosleep... " >&6; }
20878 if ${ac_cv_search_nanosleep+:} false; then :
20879 $as_echo_n "(cached) " >&6
20880 else
20881 ac_func_search_save_LIBS=$LIBS
20882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20883 /* end confdefs.h. */
20885 /* Override any GCC internal prototype to avoid an error.
20886 Use char because int might match the return type of a GCC
20887 builtin and then its argument prototype would still apply. */
20888 #ifdef __cplusplus
20889 extern "C"
20890 #endif
20891 char nanosleep ();
20893 main ()
20895 return nanosleep ();
20897 return 0;
20899 _ACEOF
20900 for ac_lib in '' rt posix4; do
20901 if test -z "$ac_lib"; then
20902 ac_res="none required"
20903 else
20904 ac_res=-l$ac_lib
20905 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20907 if test x$gcc_no_link = xyes; then
20908 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20910 if ac_fn_cxx_try_link "$LINENO"; then :
20911 ac_cv_search_nanosleep=$ac_res
20913 rm -f core conftest.err conftest.$ac_objext \
20914 conftest$ac_exeext
20915 if ${ac_cv_search_nanosleep+:} false; then :
20916 break
20918 done
20919 if ${ac_cv_search_nanosleep+:} false; then :
20921 else
20922 ac_cv_search_nanosleep=no
20924 rm conftest.$ac_ext
20925 LIBS=$ac_func_search_save_LIBS
20927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20928 $as_echo "$ac_cv_search_nanosleep" >&6; }
20929 ac_res=$ac_cv_search_nanosleep
20930 if test "$ac_res" != no; then :
20931 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20935 else
20936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20937 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20938 if ${ac_cv_search_clock_gettime+:} false; then :
20939 $as_echo_n "(cached) " >&6
20940 else
20941 ac_func_search_save_LIBS=$LIBS
20942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20943 /* end confdefs.h. */
20945 /* Override any GCC internal prototype to avoid an error.
20946 Use char because int might match the return type of a GCC
20947 builtin and then its argument prototype would still apply. */
20948 #ifdef __cplusplus
20949 extern "C"
20950 #endif
20951 char clock_gettime ();
20953 main ()
20955 return clock_gettime ();
20957 return 0;
20959 _ACEOF
20960 for ac_lib in '' posix4; do
20961 if test -z "$ac_lib"; then
20962 ac_res="none required"
20963 else
20964 ac_res=-l$ac_lib
20965 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20967 if test x$gcc_no_link = xyes; then
20968 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20970 if ac_fn_cxx_try_link "$LINENO"; then :
20971 ac_cv_search_clock_gettime=$ac_res
20973 rm -f core conftest.err conftest.$ac_objext \
20974 conftest$ac_exeext
20975 if ${ac_cv_search_clock_gettime+:} false; then :
20976 break
20978 done
20979 if ${ac_cv_search_clock_gettime+:} false; then :
20981 else
20982 ac_cv_search_clock_gettime=no
20984 rm conftest.$ac_ext
20985 LIBS=$ac_func_search_save_LIBS
20987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20988 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20989 ac_res=$ac_cv_search_clock_gettime
20990 if test "$ac_res" != no; then :
20991 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20996 $as_echo_n "checking for library containing nanosleep... " >&6; }
20997 if ${ac_cv_search_nanosleep+:} false; then :
20998 $as_echo_n "(cached) " >&6
20999 else
21000 ac_func_search_save_LIBS=$LIBS
21001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21002 /* end confdefs.h. */
21004 /* Override any GCC internal prototype to avoid an error.
21005 Use char because int might match the return type of a GCC
21006 builtin and then its argument prototype would still apply. */
21007 #ifdef __cplusplus
21008 extern "C"
21009 #endif
21010 char nanosleep ();
21012 main ()
21014 return nanosleep ();
21016 return 0;
21018 _ACEOF
21019 for ac_lib in '' posix4; do
21020 if test -z "$ac_lib"; then
21021 ac_res="none required"
21022 else
21023 ac_res=-l$ac_lib
21024 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21026 if test x$gcc_no_link = xyes; then
21027 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21029 if ac_fn_cxx_try_link "$LINENO"; then :
21030 ac_cv_search_nanosleep=$ac_res
21032 rm -f core conftest.err conftest.$ac_objext \
21033 conftest$ac_exeext
21034 if ${ac_cv_search_nanosleep+:} false; then :
21035 break
21037 done
21038 if ${ac_cv_search_nanosleep+:} false; then :
21040 else
21041 ac_cv_search_nanosleep=no
21043 rm conftest.$ac_ext
21044 LIBS=$ac_func_search_save_LIBS
21046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21047 $as_echo "$ac_cv_search_nanosleep" >&6; }
21048 ac_res=$ac_cv_search_nanosleep
21049 if test "$ac_res" != no; then :
21050 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21056 case "$ac_cv_search_clock_gettime" in
21057 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
21059 esac
21060 case "$ac_cv_search_nanosleep" in
21061 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
21063 esac
21065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
21066 $as_echo_n "checking for library containing sched_yield... " >&6; }
21067 if ${ac_cv_search_sched_yield+:} false; then :
21068 $as_echo_n "(cached) " >&6
21069 else
21070 ac_func_search_save_LIBS=$LIBS
21071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21072 /* end confdefs.h. */
21074 /* Override any GCC internal prototype to avoid an error.
21075 Use char because int might match the return type of a GCC
21076 builtin and then its argument prototype would still apply. */
21077 #ifdef __cplusplus
21078 extern "C"
21079 #endif
21080 char sched_yield ();
21082 main ()
21084 return sched_yield ();
21086 return 0;
21088 _ACEOF
21089 for ac_lib in '' rt posix4; do
21090 if test -z "$ac_lib"; then
21091 ac_res="none required"
21092 else
21093 ac_res=-l$ac_lib
21094 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21096 if test x$gcc_no_link = xyes; then
21097 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21099 if ac_fn_cxx_try_link "$LINENO"; then :
21100 ac_cv_search_sched_yield=$ac_res
21102 rm -f core conftest.err conftest.$ac_objext \
21103 conftest$ac_exeext
21104 if ${ac_cv_search_sched_yield+:} false; then :
21105 break
21107 done
21108 if ${ac_cv_search_sched_yield+:} false; then :
21110 else
21111 ac_cv_search_sched_yield=no
21113 rm conftest.$ac_ext
21114 LIBS=$ac_func_search_save_LIBS
21116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
21117 $as_echo "$ac_cv_search_sched_yield" >&6; }
21118 ac_res=$ac_cv_search_sched_yield
21119 if test "$ac_res" != no; then :
21120 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21125 case "$ac_cv_search_sched_yield" in
21126 -lposix4*)
21127 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21128 ac_has_sched_yield=yes
21130 -lrt*)
21131 if test x"$enable_libstdcxx_time" = x"rt"; then
21132 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21133 ac_has_sched_yield=yes
21137 ac_has_sched_yield=yes
21139 esac
21141 for ac_header in unistd.h
21142 do :
21143 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21144 if test "x$ac_cv_header_unistd_h" = xyes; then :
21145 cat >>confdefs.h <<_ACEOF
21146 #define HAVE_UNISTD_H 1
21147 _ACEOF
21148 ac_has_unistd_h=yes
21149 else
21150 ac_has_unistd_h=no
21153 done
21156 if test x"$ac_has_unistd_h" = x"yes"; then
21157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
21158 $as_echo_n "checking for monotonic clock... " >&6; }
21159 if test x$gcc_no_link = xyes; then
21160 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21163 /* end confdefs.h. */
21164 #include <unistd.h>
21165 #include <time.h>
21168 main ()
21170 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21171 timespec tp;
21172 #endif
21173 clock_gettime(CLOCK_MONOTONIC, &tp);
21176 return 0;
21178 _ACEOF
21179 if ac_fn_cxx_try_link "$LINENO"; then :
21180 ac_has_clock_monotonic=yes
21181 else
21182 ac_has_clock_monotonic=no
21184 rm -f core conftest.err conftest.$ac_objext \
21185 conftest$ac_exeext conftest.$ac_ext
21187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
21188 $as_echo "$ac_has_clock_monotonic" >&6; }
21190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
21191 $as_echo_n "checking for realtime clock... " >&6; }
21192 if test x$gcc_no_link = xyes; then
21193 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21196 /* end confdefs.h. */
21197 #include <unistd.h>
21198 #include <time.h>
21201 main ()
21203 #if _POSIX_TIMERS > 0
21204 timespec tp;
21205 #endif
21206 clock_gettime(CLOCK_REALTIME, &tp);
21209 return 0;
21211 _ACEOF
21212 if ac_fn_cxx_try_link "$LINENO"; then :
21213 ac_has_clock_realtime=yes
21214 else
21215 ac_has_clock_realtime=no
21217 rm -f core conftest.err conftest.$ac_objext \
21218 conftest$ac_exeext conftest.$ac_ext
21220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
21221 $as_echo "$ac_has_clock_realtime" >&6; }
21223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21224 $as_echo_n "checking for nanosleep... " >&6; }
21225 if test x$gcc_no_link = xyes; then
21226 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21229 /* end confdefs.h. */
21230 #include <unistd.h>
21231 #include <time.h>
21234 main ()
21236 #if _POSIX_TIMERS > 0
21237 timespec tp;
21238 #endif
21239 nanosleep(&tp, 0);
21242 return 0;
21244 _ACEOF
21245 if ac_fn_cxx_try_link "$LINENO"; then :
21246 ac_has_nanosleep=yes
21247 else
21248 ac_has_nanosleep=no
21250 rm -f core conftest.err conftest.$ac_objext \
21251 conftest$ac_exeext conftest.$ac_ext
21253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21254 $as_echo "$ac_has_nanosleep" >&6; }
21258 if test x"$ac_has_clock_monotonic" != x"yes"; then
21259 case ${target_os} in
21260 linux*)
21261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21262 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21264 /* end confdefs.h. */
21265 #include <unistd.h>
21266 #include <time.h>
21267 #include <sys/syscall.h>
21270 main ()
21272 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21273 timespec tp;
21274 #endif
21275 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21276 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21279 return 0;
21281 _ACEOF
21282 if ac_fn_cxx_try_compile "$LINENO"; then :
21283 ac_has_clock_monotonic_syscall=yes
21284 else
21285 ac_has_clock_monotonic_syscall=no
21287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21289 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21290 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21292 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21294 ac_has_clock_monotonic=yes
21295 ac_has_clock_realtime=yes
21296 fi;;
21297 esac
21300 if test x"$ac_has_clock_monotonic" = x"yes"; then
21302 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21306 if test x"$ac_has_clock_realtime" = x"yes"; then
21308 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21312 if test x"$ac_has_sched_yield" = x"yes"; then
21314 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21318 if test x"$ac_has_nanosleep" = x"yes"; then
21320 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21322 else
21323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21324 $as_echo_n "checking for sleep... " >&6; }
21325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21326 /* end confdefs.h. */
21327 #include <unistd.h>
21329 main ()
21331 sleep(1)
21333 return 0;
21335 _ACEOF
21336 if ac_fn_cxx_try_compile "$LINENO"; then :
21337 ac_has_sleep=yes
21338 else
21339 ac_has_sleep=no
21341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21342 if test x"$ac_has_sleep" = x"yes"; then
21344 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21348 $as_echo "$ac_has_sleep" >&6; }
21349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21350 $as_echo_n "checking for usleep... " >&6; }
21351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21352 /* end confdefs.h. */
21353 #include <unistd.h>
21355 main ()
21357 sleep(1);
21358 usleep(100);
21360 return 0;
21362 _ACEOF
21363 if ac_fn_cxx_try_compile "$LINENO"; then :
21364 ac_has_usleep=yes
21365 else
21366 ac_has_usleep=no
21368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21369 if test x"$ac_has_usleep" = x"yes"; then
21371 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21375 $as_echo "$ac_has_usleep" >&6; }
21378 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21380 $as_echo_n "checking for Sleep... " >&6; }
21381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21382 /* end confdefs.h. */
21383 #include <windows.h>
21385 main ()
21387 Sleep(1)
21389 return 0;
21391 _ACEOF
21392 if ac_fn_cxx_try_compile "$LINENO"; then :
21393 ac_has_win32_sleep=yes
21394 else
21395 ac_has_win32_sleep=no
21397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21398 if test x"$ac_has_win32_sleep" = x"yes"; then
21400 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21404 $as_echo "$ac_has_win32_sleep" >&6; }
21409 CXXFLAGS="$ac_save_CXXFLAGS"
21410 LIBS="$ac_save_LIBS"
21411 ac_ext=c
21412 ac_cpp='$CPP $CPPFLAGS'
21413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21419 # Check for tmpnam which is obsolescent in POSIX.1-2008
21421 ac_ext=cpp
21422 ac_cpp='$CXXCPP $CPPFLAGS'
21423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21427 ac_save_CXXFLAGS="$CXXFLAGS"
21428 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21430 $as_echo_n "checking for tmpnam... " >&6; }
21431 if ${glibcxx_cv_TMPNAM+:} false; then :
21432 $as_echo_n "(cached) " >&6
21433 else
21434 if test x$gcc_no_link = xyes; then
21435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21436 /* end confdefs.h. */
21437 #include <stdio.h>
21439 main ()
21441 char *tmp = tmpnam(NULL);
21443 return 0;
21445 _ACEOF
21446 if ac_fn_cxx_try_compile "$LINENO"; then :
21447 glibcxx_cv_TMPNAM=yes
21448 else
21449 glibcxx_cv_TMPNAM=no
21451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21452 else
21453 if test x$gcc_no_link = xyes; then
21454 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21457 /* end confdefs.h. */
21458 #include <stdio.h>
21460 main ()
21462 char *tmp = tmpnam(NULL);
21464 return 0;
21466 _ACEOF
21467 if ac_fn_cxx_try_link "$LINENO"; then :
21468 glibcxx_cv_TMPNAM=yes
21469 else
21470 glibcxx_cv_TMPNAM=no
21472 rm -f core conftest.err conftest.$ac_objext \
21473 conftest$ac_exeext conftest.$ac_ext
21478 if test $glibcxx_cv_TMPNAM = yes; then
21480 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21484 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21485 CXXFLAGS="$ac_save_CXXFLAGS"
21486 ac_ext=c
21487 ac_cpp='$CPP $CPPFLAGS'
21488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21495 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21496 if test "x$ac_cv_header_locale_h" = xyes; then :
21498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21499 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21500 if ${ac_cv_val_LC_MESSAGES+:} false; then :
21501 $as_echo_n "(cached) " >&6
21502 else
21503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21504 /* end confdefs.h. */
21505 #include <locale.h>
21507 main ()
21509 return LC_MESSAGES
21511 return 0;
21513 _ACEOF
21514 if ac_fn_c_try_compile "$LINENO"; then :
21515 ac_cv_val_LC_MESSAGES=yes
21516 else
21517 ac_cv_val_LC_MESSAGES=no
21519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21522 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21523 if test $ac_cv_val_LC_MESSAGES = yes; then
21525 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21534 # For hardware_concurrency
21535 for ac_header in sys/sysinfo.h
21536 do :
21537 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21538 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
21539 cat >>confdefs.h <<_ACEOF
21540 #define HAVE_SYS_SYSINFO_H 1
21541 _ACEOF
21545 done
21550 ac_ext=cpp
21551 ac_cpp='$CXXCPP $CPPFLAGS'
21552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21556 ac_save_CXXFLAGS="$CXXFLAGS"
21557 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21560 $as_echo_n "checking for get_nprocs... " >&6; }
21561 if ${glibcxx_cv_GET_NPROCS+:} false; then :
21562 $as_echo_n "(cached) " >&6
21563 else
21565 if test x$gcc_no_link = xyes; then
21566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21567 /* end confdefs.h. */
21568 #include <sys/sysinfo.h>
21570 main ()
21572 int n = get_nprocs();
21574 return 0;
21576 _ACEOF
21577 if ac_fn_cxx_try_compile "$LINENO"; then :
21578 glibcxx_cv_GET_NPROCS=yes
21579 else
21580 glibcxx_cv_GET_NPROCS=no
21582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21583 else
21584 if test x$gcc_no_link = xyes; then
21585 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21588 /* end confdefs.h. */
21589 #include <sys/sysinfo.h>
21591 main ()
21593 int n = get_nprocs();
21595 return 0;
21597 _ACEOF
21598 if ac_fn_cxx_try_link "$LINENO"; then :
21599 glibcxx_cv_GET_NPROCS=yes
21600 else
21601 glibcxx_cv_GET_NPROCS=no
21603 rm -f core conftest.err conftest.$ac_objext \
21604 conftest$ac_exeext conftest.$ac_ext
21609 if test $glibcxx_cv_GET_NPROCS = yes; then
21611 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21615 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21617 CXXFLAGS="$ac_save_CXXFLAGS"
21618 ac_ext=c
21619 ac_cpp='$CPP $CPPFLAGS'
21620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21625 for ac_header in unistd.h
21626 do :
21627 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21628 if test "x$ac_cv_header_unistd_h" = xyes; then :
21629 cat >>confdefs.h <<_ACEOF
21630 #define HAVE_UNISTD_H 1
21631 _ACEOF
21635 done
21640 ac_ext=cpp
21641 ac_cpp='$CXXCPP $CPPFLAGS'
21642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21646 ac_save_CXXFLAGS="$CXXFLAGS"
21647 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21650 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21651 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
21652 $as_echo_n "(cached) " >&6
21653 else
21655 if test x$gcc_no_link = xyes; then
21656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21657 /* end confdefs.h. */
21658 #include <unistd.h>
21660 main ()
21662 int n = sysconf(_SC_NPROCESSORS_ONLN);
21664 return 0;
21666 _ACEOF
21667 if ac_fn_cxx_try_compile "$LINENO"; then :
21668 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21669 else
21670 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21673 else
21674 if test x$gcc_no_link = xyes; then
21675 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21678 /* end confdefs.h. */
21679 #include <unistd.h>
21681 main ()
21683 int n = sysconf(_SC_NPROCESSORS_ONLN);
21685 return 0;
21687 _ACEOF
21688 if ac_fn_cxx_try_link "$LINENO"; then :
21689 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21690 else
21691 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21693 rm -f core conftest.err conftest.$ac_objext \
21694 conftest$ac_exeext conftest.$ac_ext
21699 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21701 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21705 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21707 CXXFLAGS="$ac_save_CXXFLAGS"
21708 ac_ext=c
21709 ac_cpp='$CPP $CPPFLAGS'
21710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21718 ac_ext=cpp
21719 ac_cpp='$CXXCPP $CPPFLAGS'
21720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21724 ac_save_CXXFLAGS="$CXXFLAGS"
21725 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21728 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21729 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
21730 $as_echo_n "(cached) " >&6
21731 else
21733 if test x$gcc_no_link = xyes; then
21734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21735 /* end confdefs.h. */
21736 #include <unistd.h>
21738 main ()
21740 int n = sysconf(_SC_NPROC_ONLN);
21742 return 0;
21744 _ACEOF
21745 if ac_fn_cxx_try_compile "$LINENO"; then :
21746 glibcxx_cv_SC_NPROC_ONLN=yes
21747 else
21748 glibcxx_cv_SC_NPROC_ONLN=no
21750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21751 else
21752 if test x$gcc_no_link = xyes; then
21753 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21756 /* end confdefs.h. */
21757 #include <unistd.h>
21759 main ()
21761 int n = sysconf(_SC_NPROC_ONLN);
21763 return 0;
21765 _ACEOF
21766 if ac_fn_cxx_try_link "$LINENO"; then :
21767 glibcxx_cv_SC_NPROC_ONLN=yes
21768 else
21769 glibcxx_cv_SC_NPROC_ONLN=no
21771 rm -f core conftest.err conftest.$ac_objext \
21772 conftest$ac_exeext conftest.$ac_ext
21777 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21779 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21783 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21785 CXXFLAGS="$ac_save_CXXFLAGS"
21786 ac_ext=c
21787 ac_cpp='$CPP $CPPFLAGS'
21788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21796 ac_ext=cpp
21797 ac_cpp='$CXXCPP $CPPFLAGS'
21798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21802 ac_save_CXXFLAGS="$CXXFLAGS"
21803 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21806 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21807 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
21808 $as_echo_n "(cached) " >&6
21809 else
21811 if test x$gcc_no_link = xyes; then
21812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21813 /* end confdefs.h. */
21814 #include <pthread.h>
21816 main ()
21818 int n = pthread_num_processors_np();
21820 return 0;
21822 _ACEOF
21823 if ac_fn_cxx_try_compile "$LINENO"; then :
21824 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21825 else
21826 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21829 else
21830 if test x$gcc_no_link = xyes; then
21831 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21834 /* end confdefs.h. */
21835 #include <pthread.h>
21837 main ()
21839 int n = pthread_num_processors_np();
21841 return 0;
21843 _ACEOF
21844 if ac_fn_cxx_try_link "$LINENO"; then :
21845 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21846 else
21847 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21849 rm -f core conftest.err conftest.$ac_objext \
21850 conftest$ac_exeext conftest.$ac_ext
21855 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21857 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21861 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21863 CXXFLAGS="$ac_save_CXXFLAGS"
21864 ac_ext=c
21865 ac_cpp='$CPP $CPPFLAGS'
21866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21874 ac_ext=cpp
21875 ac_cpp='$CXXCPP $CPPFLAGS'
21876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21880 ac_save_CXXFLAGS="$CXXFLAGS"
21881 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21884 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21885 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
21886 $as_echo_n "(cached) " >&6
21887 else
21889 if test x$gcc_no_link = xyes; then
21890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21891 /* end confdefs.h. */
21893 #include <stddef.h>
21894 #include <sys/sysctl.h>
21897 main ()
21900 int count;
21901 size_t size = sizeof(count);
21902 int mib[] = { CTL_HW, HW_NCPU };
21903 sysctl(mib, 2, &count, &size, NULL, 0);
21906 return 0;
21908 _ACEOF
21909 if ac_fn_cxx_try_compile "$LINENO"; then :
21910 glibcxx_cv_SYSCTL_HW_NCPU=yes
21911 else
21912 glibcxx_cv_SYSCTL_HW_NCPU=no
21914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21915 else
21916 if test x$gcc_no_link = xyes; then
21917 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21920 /* end confdefs.h. */
21922 #include <stddef.h>
21923 #include <sys/sysctl.h>
21926 main ()
21929 int count;
21930 size_t size = sizeof(count);
21931 int mib[] = { CTL_HW, HW_NCPU };
21932 sysctl(mib, 2, &count, &size, NULL, 0);
21935 return 0;
21937 _ACEOF
21938 if ac_fn_cxx_try_link "$LINENO"; then :
21939 glibcxx_cv_SYSCTL_HW_NCPU=yes
21940 else
21941 glibcxx_cv_SYSCTL_HW_NCPU=no
21943 rm -f core conftest.err conftest.$ac_objext \
21944 conftest$ac_exeext conftest.$ac_ext
21949 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21951 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21955 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21957 CXXFLAGS="$ac_save_CXXFLAGS"
21958 ac_ext=c
21959 ac_cpp='$CPP $CPPFLAGS'
21960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21967 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21968 # Note that this test has to be run with the C language.
21969 # Otherwise, sdt.h will try to include some headers from
21970 # libstdc++ itself.
21972 ac_ext=c
21973 ac_cpp='$CPP $CPPFLAGS'
21974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21978 if ${glibcxx_cv_sys_sdt_h+:} false; then :
21979 $as_echo_n "(cached) " >&6
21980 else
21982 # Because we have to run the test in C, we use grep rather
21983 # than the compiler to check for the bug. The bug is that
21984 # were strings without trailing whitespace, causing g++
21985 # to look for operator"". The pattern searches for the fixed
21986 # output.
21987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21988 /* end confdefs.h. */
21990 #include <sys/sdt.h>
21991 int f() { STAP_PROBE(hi, bob); }
21993 _ACEOF
21994 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21995 $EGREP " \",\" " >/dev/null 2>&1; then :
21996 glibcxx_cv_sys_sdt_h=yes
21997 else
21998 glibcxx_cv_sys_sdt_h=no
22000 rm -f conftest*
22005 ac_ext=c
22006 ac_cpp='$CPP $CPPFLAGS'
22007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22011 if test $glibcxx_cv_sys_sdt_h = yes; then
22013 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
22016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
22017 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
22020 # Check for available headers.
22021 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
22022 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22023 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22024 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22025 wchar.h wctype.h linux/types.h
22026 do :
22027 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22028 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22029 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22030 cat >>confdefs.h <<_ACEOF
22031 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22032 _ACEOF
22036 done
22039 for ac_header in linux/random.h
22040 do :
22041 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
22042 # include <linux/types.h>
22043 #endif
22046 if test "x$ac_cv_header_linux_random_h" = xyes; then :
22047 cat >>confdefs.h <<_ACEOF
22048 #define HAVE_LINUX_RANDOM_H 1
22049 _ACEOF
22053 done
22056 # Only do link tests if native. Else, hardcode.
22057 if $GLIBCXX_IS_NATIVE; then
22059 # We can do more elaborate tests that assume a working linker.
22060 CANADIAN=no
22064 # Check whether --with-gnu-ld was given.
22065 if test "${with_gnu_ld+set}" = set; then :
22066 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22067 else
22068 with_gnu_ld=no
22071 ac_prog=ld
22072 if test "$GCC" = yes; then
22073 # Check if gcc -print-prog-name=ld gives a path.
22074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22075 $as_echo_n "checking for ld used by $CC... " >&6; }
22076 case $host in
22077 *-*-mingw*)
22078 # gcc leaves a trailing carriage return which upsets mingw
22079 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22081 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22082 esac
22083 case $ac_prog in
22084 # Accept absolute paths.
22085 [\\/]* | ?:[\\/]*)
22086 re_direlt='/[^/][^/]*/\.\./'
22087 # Canonicalize the pathname of ld
22088 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22089 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22090 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22091 done
22092 test -z "$LD" && LD="$ac_prog"
22095 # If it fails, then pretend we aren't using GCC.
22096 ac_prog=ld
22099 # If it is relative, then search for the first ld in PATH.
22100 with_gnu_ld=unknown
22102 esac
22103 elif test "$with_gnu_ld" = yes; then
22104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22105 $as_echo_n "checking for GNU ld... " >&6; }
22106 else
22107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22108 $as_echo_n "checking for non-GNU ld... " >&6; }
22110 if ${lt_cv_path_LD+:} false; then :
22111 $as_echo_n "(cached) " >&6
22112 else
22113 if test -z "$LD"; then
22114 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22115 for ac_dir in $PATH; do
22116 IFS="$lt_save_ifs"
22117 test -z "$ac_dir" && ac_dir=.
22118 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22119 lt_cv_path_LD="$ac_dir/$ac_prog"
22120 # Check to see if the program is GNU ld. I'd rather use --version,
22121 # but apparently some variants of GNU ld only accept -v.
22122 # Break only if it was the GNU/non-GNU ld that we prefer.
22123 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22124 *GNU* | *'with BFD'*)
22125 test "$with_gnu_ld" != no && break
22128 test "$with_gnu_ld" != yes && break
22130 esac
22132 done
22133 IFS="$lt_save_ifs"
22134 else
22135 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22139 LD="$lt_cv_path_LD"
22140 if test -n "$LD"; then
22141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22142 $as_echo "$LD" >&6; }
22143 else
22144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22145 $as_echo "no" >&6; }
22147 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22149 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22150 if ${lt_cv_prog_gnu_ld+:} false; then :
22151 $as_echo_n "(cached) " >&6
22152 else
22153 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22154 case `$LD -v 2>&1 </dev/null` in
22155 *GNU* | *'with BFD'*)
22156 lt_cv_prog_gnu_ld=yes
22159 lt_cv_prog_gnu_ld=no
22161 esac
22163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22164 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22165 with_gnu_ld=$lt_cv_prog_gnu_ld
22173 # If we're not using GNU ld, then there's no point in even trying these
22174 # tests. Check for that first. We should have already tested for gld
22175 # by now (in libtool), but require it now just to be safe...
22176 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22177 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22181 # The name set by libtool depends on the version of libtool. Shame on us
22182 # for depending on an impl detail, but c'est la vie. Older versions used
22183 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22184 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22185 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22186 # set (hence we're using an older libtool), then set it.
22187 if test x${with_gnu_ld+set} != xset; then
22188 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22189 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22190 with_gnu_ld=no
22191 else
22192 with_gnu_ld=$ac_cv_prog_gnu_ld
22196 # Start by getting the version number. I think the libtool test already
22197 # does some of this, but throws away the result.
22198 glibcxx_ld_is_gold=no
22199 if test x"$with_gnu_ld" = x"yes"; then
22200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22201 $as_echo_n "checking for ld version... " >&6; }
22203 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22204 glibcxx_ld_is_gold=yes
22206 ldver=`$LD --version 2>/dev/null |
22207 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
22209 glibcxx_gnu_ld_version=`echo $ldver | \
22210 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22212 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22215 # Set --gc-sections.
22216 glibcxx_have_gc_sections=no
22217 if test "$glibcxx_ld_is_gold" = "yes"; then
22218 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22219 glibcxx_have_gc_sections=yes
22221 else
22222 glibcxx_gcsections_min_ld=21602
22223 if test x"$with_gnu_ld" = x"yes" &&
22224 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22225 glibcxx_have_gc_sections=yes
22228 if test "$glibcxx_have_gc_sections" = "yes"; then
22229 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22230 # NB: This flag only works reliably after 2.16.1. Configure tests
22231 # for this are difficult, so hard wire a value that should work.
22233 ac_test_CFLAGS="${CFLAGS+set}"
22234 ac_save_CFLAGS="$CFLAGS"
22235 CFLAGS='-Wl,--gc-sections'
22237 # Check for -Wl,--gc-sections
22238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22239 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22240 if test x$gcc_no_link = xyes; then
22241 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22244 /* end confdefs.h. */
22245 int one(void) { return 1; }
22246 int two(void) { return 2; }
22249 main ()
22251 two();
22253 return 0;
22255 _ACEOF
22256 if ac_fn_c_try_link "$LINENO"; then :
22257 ac_gcsections=yes
22258 else
22259 ac_gcsections=no
22261 rm -f core conftest.err conftest.$ac_objext \
22262 conftest$ac_exeext conftest.$ac_ext
22263 if test "$ac_gcsections" = "yes"; then
22264 rm -f conftest.c
22265 touch conftest.c
22266 if $CC -c conftest.c; then
22267 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22268 grep "Warning: gc-sections option ignored" > /dev/null; then
22269 ac_gcsections=no
22272 rm -f conftest.c conftest.o conftest
22274 if test "$ac_gcsections" = "yes"; then
22275 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22278 $as_echo "$ac_gcsections" >&6; }
22280 if test "$ac_test_CFLAGS" = set; then
22281 CFLAGS="$ac_save_CFLAGS"
22282 else
22283 # this is the suspicious part
22284 CFLAGS=''
22288 # Set -z,relro.
22289 # Note this is only for shared objects.
22290 ac_ld_relro=no
22291 if test x"$with_gnu_ld" = x"yes"; then
22292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22293 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22294 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22295 if test -n "$cxx_z_relo"; then
22296 OPT_LDFLAGS="-Wl,-z,relro"
22297 ac_ld_relro=yes
22299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22300 $as_echo "$ac_ld_relro" >&6; }
22303 # Set linker optimization flags.
22304 if test x"$with_gnu_ld" = x"yes"; then
22305 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22312 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22313 ac_save_CXXFLAGS="$CXXFLAGS"
22314 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22317 $as_echo_n "checking for sin in -lm... " >&6; }
22318 if ${ac_cv_lib_m_sin+:} false; then :
22319 $as_echo_n "(cached) " >&6
22320 else
22321 ac_check_lib_save_LIBS=$LIBS
22322 LIBS="-lm $LIBS"
22323 if test x$gcc_no_link = xyes; then
22324 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22327 /* end confdefs.h. */
22329 /* Override any GCC internal prototype to avoid an error.
22330 Use char because int might match the return type of a GCC
22331 builtin and then its argument prototype would still apply. */
22332 #ifdef __cplusplus
22333 extern "C"
22334 #endif
22335 char sin ();
22337 main ()
22339 return sin ();
22341 return 0;
22343 _ACEOF
22344 if ac_fn_c_try_link "$LINENO"; then :
22345 ac_cv_lib_m_sin=yes
22346 else
22347 ac_cv_lib_m_sin=no
22349 rm -f core conftest.err conftest.$ac_objext \
22350 conftest$ac_exeext conftest.$ac_ext
22351 LIBS=$ac_check_lib_save_LIBS
22353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22354 $as_echo "$ac_cv_lib_m_sin" >&6; }
22355 if test "x$ac_cv_lib_m_sin" = xyes; then :
22356 libm="-lm"
22359 ac_save_LIBS="$LIBS"
22360 LIBS="$LIBS $libm"
22364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22365 $as_echo_n "checking for isinf declaration... " >&6; }
22366 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22367 if ${glibcxx_cv_func_isinf_use+:} false; then :
22368 $as_echo_n "(cached) " >&6
22369 else
22372 ac_ext=cpp
22373 ac_cpp='$CXXCPP $CPPFLAGS'
22374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22379 /* end confdefs.h. */
22380 #include <math.h>
22381 #ifdef HAVE_IEEEFP_H
22382 #include <ieeefp.h>
22383 #endif
22386 main ()
22388 isinf(0);
22390 return 0;
22392 _ACEOF
22393 if ac_fn_cxx_try_compile "$LINENO"; then :
22394 glibcxx_cv_func_isinf_use=yes
22395 else
22396 glibcxx_cv_func_isinf_use=no
22398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22399 ac_ext=c
22400 ac_cpp='$CPP $CPPFLAGS'
22401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22410 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22412 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22413 for ac_func in isinf
22414 do :
22415 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22416 if test "x$ac_cv_func_isinf" = xyes; then :
22417 cat >>confdefs.h <<_ACEOF
22418 #define HAVE_ISINF 1
22419 _ACEOF
22422 done
22424 else
22426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22427 $as_echo_n "checking for _isinf declaration... " >&6; }
22428 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22429 if ${glibcxx_cv_func__isinf_use+:} false; then :
22430 $as_echo_n "(cached) " >&6
22431 else
22434 ac_ext=cpp
22435 ac_cpp='$CXXCPP $CPPFLAGS'
22436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22441 /* end confdefs.h. */
22442 #include <math.h>
22443 #ifdef HAVE_IEEEFP_H
22444 #include <ieeefp.h>
22445 #endif
22448 main ()
22450 _isinf(0);
22452 return 0;
22454 _ACEOF
22455 if ac_fn_cxx_try_compile "$LINENO"; then :
22456 glibcxx_cv_func__isinf_use=yes
22457 else
22458 glibcxx_cv_func__isinf_use=no
22460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22461 ac_ext=c
22462 ac_cpp='$CPP $CPPFLAGS'
22463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22472 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22474 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22475 for ac_func in _isinf
22476 do :
22477 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22478 if test "x$ac_cv_func__isinf" = xyes; then :
22479 cat >>confdefs.h <<_ACEOF
22480 #define HAVE__ISINF 1
22481 _ACEOF
22484 done
22493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22494 $as_echo_n "checking for isnan declaration... " >&6; }
22495 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22496 if ${glibcxx_cv_func_isnan_use+:} false; then :
22497 $as_echo_n "(cached) " >&6
22498 else
22501 ac_ext=cpp
22502 ac_cpp='$CXXCPP $CPPFLAGS'
22503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22508 /* end confdefs.h. */
22509 #include <math.h>
22510 #ifdef HAVE_IEEEFP_H
22511 #include <ieeefp.h>
22512 #endif
22515 main ()
22517 isnan(0);
22519 return 0;
22521 _ACEOF
22522 if ac_fn_cxx_try_compile "$LINENO"; then :
22523 glibcxx_cv_func_isnan_use=yes
22524 else
22525 glibcxx_cv_func_isnan_use=no
22527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22528 ac_ext=c
22529 ac_cpp='$CPP $CPPFLAGS'
22530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22539 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22541 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22542 for ac_func in isnan
22543 do :
22544 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22545 if test "x$ac_cv_func_isnan" = xyes; then :
22546 cat >>confdefs.h <<_ACEOF
22547 #define HAVE_ISNAN 1
22548 _ACEOF
22551 done
22553 else
22555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22556 $as_echo_n "checking for _isnan declaration... " >&6; }
22557 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22558 if ${glibcxx_cv_func__isnan_use+:} false; then :
22559 $as_echo_n "(cached) " >&6
22560 else
22563 ac_ext=cpp
22564 ac_cpp='$CXXCPP $CPPFLAGS'
22565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22570 /* end confdefs.h. */
22571 #include <math.h>
22572 #ifdef HAVE_IEEEFP_H
22573 #include <ieeefp.h>
22574 #endif
22577 main ()
22579 _isnan(0);
22581 return 0;
22583 _ACEOF
22584 if ac_fn_cxx_try_compile "$LINENO"; then :
22585 glibcxx_cv_func__isnan_use=yes
22586 else
22587 glibcxx_cv_func__isnan_use=no
22589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22590 ac_ext=c
22591 ac_cpp='$CPP $CPPFLAGS'
22592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22601 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22603 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22604 for ac_func in _isnan
22605 do :
22606 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22607 if test "x$ac_cv_func__isnan" = xyes; then :
22608 cat >>confdefs.h <<_ACEOF
22609 #define HAVE__ISNAN 1
22610 _ACEOF
22613 done
22622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22623 $as_echo_n "checking for finite declaration... " >&6; }
22624 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22625 if ${glibcxx_cv_func_finite_use+:} false; then :
22626 $as_echo_n "(cached) " >&6
22627 else
22630 ac_ext=cpp
22631 ac_cpp='$CXXCPP $CPPFLAGS'
22632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22637 /* end confdefs.h. */
22638 #include <math.h>
22639 #ifdef HAVE_IEEEFP_H
22640 #include <ieeefp.h>
22641 #endif
22644 main ()
22646 finite(0);
22648 return 0;
22650 _ACEOF
22651 if ac_fn_cxx_try_compile "$LINENO"; then :
22652 glibcxx_cv_func_finite_use=yes
22653 else
22654 glibcxx_cv_func_finite_use=no
22656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22657 ac_ext=c
22658 ac_cpp='$CPP $CPPFLAGS'
22659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22668 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22670 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22671 for ac_func in finite
22672 do :
22673 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22674 if test "x$ac_cv_func_finite" = xyes; then :
22675 cat >>confdefs.h <<_ACEOF
22676 #define HAVE_FINITE 1
22677 _ACEOF
22680 done
22682 else
22684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22685 $as_echo_n "checking for _finite declaration... " >&6; }
22686 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22687 if ${glibcxx_cv_func__finite_use+:} false; then :
22688 $as_echo_n "(cached) " >&6
22689 else
22692 ac_ext=cpp
22693 ac_cpp='$CXXCPP $CPPFLAGS'
22694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22699 /* end confdefs.h. */
22700 #include <math.h>
22701 #ifdef HAVE_IEEEFP_H
22702 #include <ieeefp.h>
22703 #endif
22706 main ()
22708 _finite(0);
22710 return 0;
22712 _ACEOF
22713 if ac_fn_cxx_try_compile "$LINENO"; then :
22714 glibcxx_cv_func__finite_use=yes
22715 else
22716 glibcxx_cv_func__finite_use=no
22718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22719 ac_ext=c
22720 ac_cpp='$CPP $CPPFLAGS'
22721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22730 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22732 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22733 for ac_func in _finite
22734 do :
22735 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22736 if test "x$ac_cv_func__finite" = xyes; then :
22737 cat >>confdefs.h <<_ACEOF
22738 #define HAVE__FINITE 1
22739 _ACEOF
22742 done
22751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22752 $as_echo_n "checking for sincos declaration... " >&6; }
22753 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22754 if ${glibcxx_cv_func_sincos_use+:} false; then :
22755 $as_echo_n "(cached) " >&6
22756 else
22759 ac_ext=cpp
22760 ac_cpp='$CXXCPP $CPPFLAGS'
22761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22766 /* end confdefs.h. */
22767 #include <math.h>
22769 main ()
22771 sincos(0, 0, 0);
22773 return 0;
22775 _ACEOF
22776 if ac_fn_cxx_try_compile "$LINENO"; then :
22777 glibcxx_cv_func_sincos_use=yes
22778 else
22779 glibcxx_cv_func_sincos_use=no
22781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22782 ac_ext=c
22783 ac_cpp='$CPP $CPPFLAGS'
22784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22793 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22795 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22796 for ac_func in sincos
22797 do :
22798 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22799 if test "x$ac_cv_func_sincos" = xyes; then :
22800 cat >>confdefs.h <<_ACEOF
22801 #define HAVE_SINCOS 1
22802 _ACEOF
22805 done
22807 else
22809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22810 $as_echo_n "checking for _sincos declaration... " >&6; }
22811 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22812 if ${glibcxx_cv_func__sincos_use+:} false; then :
22813 $as_echo_n "(cached) " >&6
22814 else
22817 ac_ext=cpp
22818 ac_cpp='$CXXCPP $CPPFLAGS'
22819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22824 /* end confdefs.h. */
22825 #include <math.h>
22827 main ()
22829 _sincos(0, 0, 0);
22831 return 0;
22833 _ACEOF
22834 if ac_fn_cxx_try_compile "$LINENO"; then :
22835 glibcxx_cv_func__sincos_use=yes
22836 else
22837 glibcxx_cv_func__sincos_use=no
22839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22840 ac_ext=c
22841 ac_cpp='$CPP $CPPFLAGS'
22842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22851 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22853 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22854 for ac_func in _sincos
22855 do :
22856 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22857 if test "x$ac_cv_func__sincos" = xyes; then :
22858 cat >>confdefs.h <<_ACEOF
22859 #define HAVE__SINCOS 1
22860 _ACEOF
22863 done
22872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22873 $as_echo_n "checking for fpclass declaration... " >&6; }
22874 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22875 if ${glibcxx_cv_func_fpclass_use+:} false; then :
22876 $as_echo_n "(cached) " >&6
22877 else
22880 ac_ext=cpp
22881 ac_cpp='$CXXCPP $CPPFLAGS'
22882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22887 /* end confdefs.h. */
22888 #include <math.h>
22889 #ifdef HAVE_IEEEFP_H
22890 #include <ieeefp.h>
22891 #endif
22894 main ()
22896 fpclass(0);
22898 return 0;
22900 _ACEOF
22901 if ac_fn_cxx_try_compile "$LINENO"; then :
22902 glibcxx_cv_func_fpclass_use=yes
22903 else
22904 glibcxx_cv_func_fpclass_use=no
22906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22907 ac_ext=c
22908 ac_cpp='$CPP $CPPFLAGS'
22909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22918 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22920 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22921 for ac_func in fpclass
22922 do :
22923 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22924 if test "x$ac_cv_func_fpclass" = xyes; then :
22925 cat >>confdefs.h <<_ACEOF
22926 #define HAVE_FPCLASS 1
22927 _ACEOF
22930 done
22932 else
22934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22935 $as_echo_n "checking for _fpclass declaration... " >&6; }
22936 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22937 if ${glibcxx_cv_func__fpclass_use+:} false; then :
22938 $as_echo_n "(cached) " >&6
22939 else
22942 ac_ext=cpp
22943 ac_cpp='$CXXCPP $CPPFLAGS'
22944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22949 /* end confdefs.h. */
22950 #include <math.h>
22951 #ifdef HAVE_IEEEFP_H
22952 #include <ieeefp.h>
22953 #endif
22956 main ()
22958 _fpclass(0);
22960 return 0;
22962 _ACEOF
22963 if ac_fn_cxx_try_compile "$LINENO"; then :
22964 glibcxx_cv_func__fpclass_use=yes
22965 else
22966 glibcxx_cv_func__fpclass_use=no
22968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22969 ac_ext=c
22970 ac_cpp='$CPP $CPPFLAGS'
22971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22980 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22982 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22983 for ac_func in _fpclass
22984 do :
22985 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22986 if test "x$ac_cv_func__fpclass" = xyes; then :
22987 cat >>confdefs.h <<_ACEOF
22988 #define HAVE__FPCLASS 1
22989 _ACEOF
22992 done
23001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
23002 $as_echo_n "checking for qfpclass declaration... " >&6; }
23003 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
23004 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
23005 $as_echo_n "(cached) " >&6
23006 else
23009 ac_ext=cpp
23010 ac_cpp='$CXXCPP $CPPFLAGS'
23011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23016 /* end confdefs.h. */
23017 #include <math.h>
23018 #ifdef HAVE_IEEEFP_H
23019 #include <ieeefp.h>
23020 #endif
23023 main ()
23025 qfpclass(0);
23027 return 0;
23029 _ACEOF
23030 if ac_fn_cxx_try_compile "$LINENO"; then :
23031 glibcxx_cv_func_qfpclass_use=yes
23032 else
23033 glibcxx_cv_func_qfpclass_use=no
23035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23036 ac_ext=c
23037 ac_cpp='$CPP $CPPFLAGS'
23038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23047 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23049 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23050 for ac_func in qfpclass
23051 do :
23052 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23053 if test "x$ac_cv_func_qfpclass" = xyes; then :
23054 cat >>confdefs.h <<_ACEOF
23055 #define HAVE_QFPCLASS 1
23056 _ACEOF
23059 done
23061 else
23063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23064 $as_echo_n "checking for _qfpclass declaration... " >&6; }
23065 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23066 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23067 $as_echo_n "(cached) " >&6
23068 else
23071 ac_ext=cpp
23072 ac_cpp='$CXXCPP $CPPFLAGS'
23073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23078 /* end confdefs.h. */
23079 #include <math.h>
23080 #ifdef HAVE_IEEEFP_H
23081 #include <ieeefp.h>
23082 #endif
23085 main ()
23087 _qfpclass(0);
23089 return 0;
23091 _ACEOF
23092 if ac_fn_cxx_try_compile "$LINENO"; then :
23093 glibcxx_cv_func__qfpclass_use=yes
23094 else
23095 glibcxx_cv_func__qfpclass_use=no
23097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23098 ac_ext=c
23099 ac_cpp='$CPP $CPPFLAGS'
23100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23109 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23111 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23112 for ac_func in _qfpclass
23113 do :
23114 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23115 if test "x$ac_cv_func__qfpclass" = xyes; then :
23116 cat >>confdefs.h <<_ACEOF
23117 #define HAVE__QFPCLASS 1
23118 _ACEOF
23121 done
23130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23131 $as_echo_n "checking for hypot declaration... " >&6; }
23132 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23133 if ${glibcxx_cv_func_hypot_use+:} false; then :
23134 $as_echo_n "(cached) " >&6
23135 else
23138 ac_ext=cpp
23139 ac_cpp='$CXXCPP $CPPFLAGS'
23140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23145 /* end confdefs.h. */
23146 #include <math.h>
23148 main ()
23150 hypot(0, 0);
23152 return 0;
23154 _ACEOF
23155 if ac_fn_cxx_try_compile "$LINENO"; then :
23156 glibcxx_cv_func_hypot_use=yes
23157 else
23158 glibcxx_cv_func_hypot_use=no
23160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23161 ac_ext=c
23162 ac_cpp='$CPP $CPPFLAGS'
23163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23172 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23174 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23175 for ac_func in hypot
23176 do :
23177 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23178 if test "x$ac_cv_func_hypot" = xyes; then :
23179 cat >>confdefs.h <<_ACEOF
23180 #define HAVE_HYPOT 1
23181 _ACEOF
23184 done
23186 else
23188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23189 $as_echo_n "checking for _hypot declaration... " >&6; }
23190 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23191 if ${glibcxx_cv_func__hypot_use+:} false; then :
23192 $as_echo_n "(cached) " >&6
23193 else
23196 ac_ext=cpp
23197 ac_cpp='$CXXCPP $CPPFLAGS'
23198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23203 /* end confdefs.h. */
23204 #include <math.h>
23206 main ()
23208 _hypot(0, 0);
23210 return 0;
23212 _ACEOF
23213 if ac_fn_cxx_try_compile "$LINENO"; then :
23214 glibcxx_cv_func__hypot_use=yes
23215 else
23216 glibcxx_cv_func__hypot_use=no
23218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23219 ac_ext=c
23220 ac_cpp='$CPP $CPPFLAGS'
23221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23230 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23232 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23233 for ac_func in _hypot
23234 do :
23235 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23236 if test "x$ac_cv_func__hypot" = xyes; then :
23237 cat >>confdefs.h <<_ACEOF
23238 #define HAVE__HYPOT 1
23239 _ACEOF
23242 done
23251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23252 $as_echo_n "checking for float trig functions... " >&6; }
23253 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23254 $as_echo_n "(cached) " >&6
23255 else
23258 ac_ext=cpp
23259 ac_cpp='$CXXCPP $CPPFLAGS'
23260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23265 /* end confdefs.h. */
23266 #include <math.h>
23268 main ()
23270 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23272 return 0;
23274 _ACEOF
23275 if ac_fn_cxx_try_compile "$LINENO"; then :
23276 glibcxx_cv_func_float_trig_use=yes
23277 else
23278 glibcxx_cv_func_float_trig_use=no
23280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23281 ac_ext=c
23282 ac_cpp='$CPP $CPPFLAGS'
23283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23290 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23291 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23292 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23293 do :
23294 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23295 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23296 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23297 cat >>confdefs.h <<_ACEOF
23298 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23299 _ACEOF
23302 done
23304 else
23305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23306 $as_echo_n "checking for _float trig functions... " >&6; }
23307 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23308 $as_echo_n "(cached) " >&6
23309 else
23312 ac_ext=cpp
23313 ac_cpp='$CXXCPP $CPPFLAGS'
23314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23319 /* end confdefs.h. */
23320 #include <math.h>
23322 main ()
23324 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23326 return 0;
23328 _ACEOF
23329 if ac_fn_cxx_try_compile "$LINENO"; then :
23330 glibcxx_cv_func__float_trig_use=yes
23331 else
23332 glibcxx_cv_func__float_trig_use=no
23334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23335 ac_ext=c
23336 ac_cpp='$CPP $CPPFLAGS'
23337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23344 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23345 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23346 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23347 do :
23348 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23349 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23350 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23351 cat >>confdefs.h <<_ACEOF
23352 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23353 _ACEOF
23356 done
23365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23366 $as_echo_n "checking for float round functions... " >&6; }
23367 if ${glibcxx_cv_func_float_round_use+:} false; then :
23368 $as_echo_n "(cached) " >&6
23369 else
23372 ac_ext=cpp
23373 ac_cpp='$CXXCPP $CPPFLAGS'
23374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23379 /* end confdefs.h. */
23380 #include <math.h>
23382 main ()
23384 ceilf (0); floorf (0);
23386 return 0;
23388 _ACEOF
23389 if ac_fn_cxx_try_compile "$LINENO"; then :
23390 glibcxx_cv_func_float_round_use=yes
23391 else
23392 glibcxx_cv_func_float_round_use=no
23394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23395 ac_ext=c
23396 ac_cpp='$CPP $CPPFLAGS'
23397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23404 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23405 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23406 for ac_func in ceilf floorf
23407 do :
23408 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23409 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23410 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23411 cat >>confdefs.h <<_ACEOF
23412 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23413 _ACEOF
23416 done
23418 else
23419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23420 $as_echo_n "checking for _float round functions... " >&6; }
23421 if ${glibcxx_cv_func__float_round_use+:} false; then :
23422 $as_echo_n "(cached) " >&6
23423 else
23426 ac_ext=cpp
23427 ac_cpp='$CXXCPP $CPPFLAGS'
23428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23433 /* end confdefs.h. */
23434 #include <math.h>
23436 main ()
23438 _ceilf (0); _floorf (0);
23440 return 0;
23442 _ACEOF
23443 if ac_fn_cxx_try_compile "$LINENO"; then :
23444 glibcxx_cv_func__float_round_use=yes
23445 else
23446 glibcxx_cv_func__float_round_use=no
23448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23449 ac_ext=c
23450 ac_cpp='$CPP $CPPFLAGS'
23451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23458 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23459 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23460 for ac_func in _ceilf _floorf
23461 do :
23462 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23463 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23464 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23465 cat >>confdefs.h <<_ACEOF
23466 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23467 _ACEOF
23470 done
23480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23481 $as_echo_n "checking for expf declaration... " >&6; }
23482 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23483 if ${glibcxx_cv_func_expf_use+:} false; then :
23484 $as_echo_n "(cached) " >&6
23485 else
23488 ac_ext=cpp
23489 ac_cpp='$CXXCPP $CPPFLAGS'
23490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23495 /* end confdefs.h. */
23496 #include <math.h>
23497 #ifdef HAVE_IEEEFP_H
23498 #include <ieeefp.h>
23499 #endif
23502 main ()
23504 expf(0);
23506 return 0;
23508 _ACEOF
23509 if ac_fn_cxx_try_compile "$LINENO"; then :
23510 glibcxx_cv_func_expf_use=yes
23511 else
23512 glibcxx_cv_func_expf_use=no
23514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23515 ac_ext=c
23516 ac_cpp='$CPP $CPPFLAGS'
23517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23526 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23528 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23529 for ac_func in expf
23530 do :
23531 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23532 if test "x$ac_cv_func_expf" = xyes; then :
23533 cat >>confdefs.h <<_ACEOF
23534 #define HAVE_EXPF 1
23535 _ACEOF
23538 done
23540 else
23542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23543 $as_echo_n "checking for _expf declaration... " >&6; }
23544 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23545 if ${glibcxx_cv_func__expf_use+:} false; then :
23546 $as_echo_n "(cached) " >&6
23547 else
23550 ac_ext=cpp
23551 ac_cpp='$CXXCPP $CPPFLAGS'
23552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23557 /* end confdefs.h. */
23558 #include <math.h>
23559 #ifdef HAVE_IEEEFP_H
23560 #include <ieeefp.h>
23561 #endif
23564 main ()
23566 _expf(0);
23568 return 0;
23570 _ACEOF
23571 if ac_fn_cxx_try_compile "$LINENO"; then :
23572 glibcxx_cv_func__expf_use=yes
23573 else
23574 glibcxx_cv_func__expf_use=no
23576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23577 ac_ext=c
23578 ac_cpp='$CPP $CPPFLAGS'
23579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23588 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23590 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23591 for ac_func in _expf
23592 do :
23593 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23594 if test "x$ac_cv_func__expf" = xyes; then :
23595 cat >>confdefs.h <<_ACEOF
23596 #define HAVE__EXPF 1
23597 _ACEOF
23600 done
23609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23610 $as_echo_n "checking for isnanf declaration... " >&6; }
23611 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23612 if ${glibcxx_cv_func_isnanf_use+:} false; then :
23613 $as_echo_n "(cached) " >&6
23614 else
23617 ac_ext=cpp
23618 ac_cpp='$CXXCPP $CPPFLAGS'
23619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23624 /* end confdefs.h. */
23625 #include <math.h>
23626 #ifdef HAVE_IEEEFP_H
23627 #include <ieeefp.h>
23628 #endif
23631 main ()
23633 isnanf(0);
23635 return 0;
23637 _ACEOF
23638 if ac_fn_cxx_try_compile "$LINENO"; then :
23639 glibcxx_cv_func_isnanf_use=yes
23640 else
23641 glibcxx_cv_func_isnanf_use=no
23643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23644 ac_ext=c
23645 ac_cpp='$CPP $CPPFLAGS'
23646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23655 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23657 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23658 for ac_func in isnanf
23659 do :
23660 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23661 if test "x$ac_cv_func_isnanf" = xyes; then :
23662 cat >>confdefs.h <<_ACEOF
23663 #define HAVE_ISNANF 1
23664 _ACEOF
23667 done
23669 else
23671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23672 $as_echo_n "checking for _isnanf declaration... " >&6; }
23673 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23674 if ${glibcxx_cv_func__isnanf_use+:} false; then :
23675 $as_echo_n "(cached) " >&6
23676 else
23679 ac_ext=cpp
23680 ac_cpp='$CXXCPP $CPPFLAGS'
23681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23686 /* end confdefs.h. */
23687 #include <math.h>
23688 #ifdef HAVE_IEEEFP_H
23689 #include <ieeefp.h>
23690 #endif
23693 main ()
23695 _isnanf(0);
23697 return 0;
23699 _ACEOF
23700 if ac_fn_cxx_try_compile "$LINENO"; then :
23701 glibcxx_cv_func__isnanf_use=yes
23702 else
23703 glibcxx_cv_func__isnanf_use=no
23705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23706 ac_ext=c
23707 ac_cpp='$CPP $CPPFLAGS'
23708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23717 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23719 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23720 for ac_func in _isnanf
23721 do :
23722 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23723 if test "x$ac_cv_func__isnanf" = xyes; then :
23724 cat >>confdefs.h <<_ACEOF
23725 #define HAVE__ISNANF 1
23726 _ACEOF
23729 done
23738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23739 $as_echo_n "checking for isinff declaration... " >&6; }
23740 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23741 if ${glibcxx_cv_func_isinff_use+:} false; then :
23742 $as_echo_n "(cached) " >&6
23743 else
23746 ac_ext=cpp
23747 ac_cpp='$CXXCPP $CPPFLAGS'
23748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23753 /* end confdefs.h. */
23754 #include <math.h>
23755 #ifdef HAVE_IEEEFP_H
23756 #include <ieeefp.h>
23757 #endif
23760 main ()
23762 isinff(0);
23764 return 0;
23766 _ACEOF
23767 if ac_fn_cxx_try_compile "$LINENO"; then :
23768 glibcxx_cv_func_isinff_use=yes
23769 else
23770 glibcxx_cv_func_isinff_use=no
23772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23773 ac_ext=c
23774 ac_cpp='$CPP $CPPFLAGS'
23775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23784 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23786 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23787 for ac_func in isinff
23788 do :
23789 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23790 if test "x$ac_cv_func_isinff" = xyes; then :
23791 cat >>confdefs.h <<_ACEOF
23792 #define HAVE_ISINFF 1
23793 _ACEOF
23796 done
23798 else
23800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23801 $as_echo_n "checking for _isinff declaration... " >&6; }
23802 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23803 if ${glibcxx_cv_func__isinff_use+:} false; then :
23804 $as_echo_n "(cached) " >&6
23805 else
23808 ac_ext=cpp
23809 ac_cpp='$CXXCPP $CPPFLAGS'
23810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23815 /* end confdefs.h. */
23816 #include <math.h>
23817 #ifdef HAVE_IEEEFP_H
23818 #include <ieeefp.h>
23819 #endif
23822 main ()
23824 _isinff(0);
23826 return 0;
23828 _ACEOF
23829 if ac_fn_cxx_try_compile "$LINENO"; then :
23830 glibcxx_cv_func__isinff_use=yes
23831 else
23832 glibcxx_cv_func__isinff_use=no
23834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23835 ac_ext=c
23836 ac_cpp='$CPP $CPPFLAGS'
23837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23846 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23848 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23849 for ac_func in _isinff
23850 do :
23851 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23852 if test "x$ac_cv_func__isinff" = xyes; then :
23853 cat >>confdefs.h <<_ACEOF
23854 #define HAVE__ISINFF 1
23855 _ACEOF
23858 done
23867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23868 $as_echo_n "checking for atan2f declaration... " >&6; }
23869 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23870 if ${glibcxx_cv_func_atan2f_use+:} false; then :
23871 $as_echo_n "(cached) " >&6
23872 else
23875 ac_ext=cpp
23876 ac_cpp='$CXXCPP $CPPFLAGS'
23877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23882 /* end confdefs.h. */
23883 #include <math.h>
23885 main ()
23887 atan2f(0, 0);
23889 return 0;
23891 _ACEOF
23892 if ac_fn_cxx_try_compile "$LINENO"; then :
23893 glibcxx_cv_func_atan2f_use=yes
23894 else
23895 glibcxx_cv_func_atan2f_use=no
23897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23898 ac_ext=c
23899 ac_cpp='$CPP $CPPFLAGS'
23900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23909 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23911 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23912 for ac_func in atan2f
23913 do :
23914 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23915 if test "x$ac_cv_func_atan2f" = xyes; then :
23916 cat >>confdefs.h <<_ACEOF
23917 #define HAVE_ATAN2F 1
23918 _ACEOF
23921 done
23923 else
23925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23926 $as_echo_n "checking for _atan2f declaration... " >&6; }
23927 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23928 if ${glibcxx_cv_func__atan2f_use+:} false; then :
23929 $as_echo_n "(cached) " >&6
23930 else
23933 ac_ext=cpp
23934 ac_cpp='$CXXCPP $CPPFLAGS'
23935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23940 /* end confdefs.h. */
23941 #include <math.h>
23943 main ()
23945 _atan2f(0, 0);
23947 return 0;
23949 _ACEOF
23950 if ac_fn_cxx_try_compile "$LINENO"; then :
23951 glibcxx_cv_func__atan2f_use=yes
23952 else
23953 glibcxx_cv_func__atan2f_use=no
23955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23956 ac_ext=c
23957 ac_cpp='$CPP $CPPFLAGS'
23958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23967 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23969 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23970 for ac_func in _atan2f
23971 do :
23972 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23973 if test "x$ac_cv_func__atan2f" = xyes; then :
23974 cat >>confdefs.h <<_ACEOF
23975 #define HAVE__ATAN2F 1
23976 _ACEOF
23979 done
23988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23989 $as_echo_n "checking for fabsf declaration... " >&6; }
23990 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23991 if ${glibcxx_cv_func_fabsf_use+:} false; then :
23992 $as_echo_n "(cached) " >&6
23993 else
23996 ac_ext=cpp
23997 ac_cpp='$CXXCPP $CPPFLAGS'
23998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24003 /* end confdefs.h. */
24004 #include <math.h>
24005 #ifdef HAVE_IEEEFP_H
24006 #include <ieeefp.h>
24007 #endif
24010 main ()
24012 fabsf(0);
24014 return 0;
24016 _ACEOF
24017 if ac_fn_cxx_try_compile "$LINENO"; then :
24018 glibcxx_cv_func_fabsf_use=yes
24019 else
24020 glibcxx_cv_func_fabsf_use=no
24022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24023 ac_ext=c
24024 ac_cpp='$CPP $CPPFLAGS'
24025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24034 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24036 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24037 for ac_func in fabsf
24038 do :
24039 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24040 if test "x$ac_cv_func_fabsf" = xyes; then :
24041 cat >>confdefs.h <<_ACEOF
24042 #define HAVE_FABSF 1
24043 _ACEOF
24046 done
24048 else
24050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24051 $as_echo_n "checking for _fabsf declaration... " >&6; }
24052 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24053 if ${glibcxx_cv_func__fabsf_use+:} false; then :
24054 $as_echo_n "(cached) " >&6
24055 else
24058 ac_ext=cpp
24059 ac_cpp='$CXXCPP $CPPFLAGS'
24060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24065 /* end confdefs.h. */
24066 #include <math.h>
24067 #ifdef HAVE_IEEEFP_H
24068 #include <ieeefp.h>
24069 #endif
24072 main ()
24074 _fabsf(0);
24076 return 0;
24078 _ACEOF
24079 if ac_fn_cxx_try_compile "$LINENO"; then :
24080 glibcxx_cv_func__fabsf_use=yes
24081 else
24082 glibcxx_cv_func__fabsf_use=no
24084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24085 ac_ext=c
24086 ac_cpp='$CPP $CPPFLAGS'
24087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24096 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24098 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24099 for ac_func in _fabsf
24100 do :
24101 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24102 if test "x$ac_cv_func__fabsf" = xyes; then :
24103 cat >>confdefs.h <<_ACEOF
24104 #define HAVE__FABSF 1
24105 _ACEOF
24108 done
24117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24118 $as_echo_n "checking for fmodf declaration... " >&6; }
24119 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24120 if ${glibcxx_cv_func_fmodf_use+:} false; then :
24121 $as_echo_n "(cached) " >&6
24122 else
24125 ac_ext=cpp
24126 ac_cpp='$CXXCPP $CPPFLAGS'
24127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24132 /* end confdefs.h. */
24133 #include <math.h>
24135 main ()
24137 fmodf(0, 0);
24139 return 0;
24141 _ACEOF
24142 if ac_fn_cxx_try_compile "$LINENO"; then :
24143 glibcxx_cv_func_fmodf_use=yes
24144 else
24145 glibcxx_cv_func_fmodf_use=no
24147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24148 ac_ext=c
24149 ac_cpp='$CPP $CPPFLAGS'
24150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24159 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24161 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24162 for ac_func in fmodf
24163 do :
24164 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24165 if test "x$ac_cv_func_fmodf" = xyes; then :
24166 cat >>confdefs.h <<_ACEOF
24167 #define HAVE_FMODF 1
24168 _ACEOF
24171 done
24173 else
24175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24176 $as_echo_n "checking for _fmodf declaration... " >&6; }
24177 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24178 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24179 $as_echo_n "(cached) " >&6
24180 else
24183 ac_ext=cpp
24184 ac_cpp='$CXXCPP $CPPFLAGS'
24185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24190 /* end confdefs.h. */
24191 #include <math.h>
24193 main ()
24195 _fmodf(0, 0);
24197 return 0;
24199 _ACEOF
24200 if ac_fn_cxx_try_compile "$LINENO"; then :
24201 glibcxx_cv_func__fmodf_use=yes
24202 else
24203 glibcxx_cv_func__fmodf_use=no
24205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24206 ac_ext=c
24207 ac_cpp='$CPP $CPPFLAGS'
24208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24217 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24219 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24220 for ac_func in _fmodf
24221 do :
24222 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24223 if test "x$ac_cv_func__fmodf" = xyes; then :
24224 cat >>confdefs.h <<_ACEOF
24225 #define HAVE__FMODF 1
24226 _ACEOF
24229 done
24238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24239 $as_echo_n "checking for frexpf declaration... " >&6; }
24240 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24241 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24242 $as_echo_n "(cached) " >&6
24243 else
24246 ac_ext=cpp
24247 ac_cpp='$CXXCPP $CPPFLAGS'
24248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24253 /* end confdefs.h. */
24254 #include <math.h>
24256 main ()
24258 frexpf(0, 0);
24260 return 0;
24262 _ACEOF
24263 if ac_fn_cxx_try_compile "$LINENO"; then :
24264 glibcxx_cv_func_frexpf_use=yes
24265 else
24266 glibcxx_cv_func_frexpf_use=no
24268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24269 ac_ext=c
24270 ac_cpp='$CPP $CPPFLAGS'
24271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24280 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24282 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24283 for ac_func in frexpf
24284 do :
24285 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24286 if test "x$ac_cv_func_frexpf" = xyes; then :
24287 cat >>confdefs.h <<_ACEOF
24288 #define HAVE_FREXPF 1
24289 _ACEOF
24292 done
24294 else
24296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24297 $as_echo_n "checking for _frexpf declaration... " >&6; }
24298 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24299 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24300 $as_echo_n "(cached) " >&6
24301 else
24304 ac_ext=cpp
24305 ac_cpp='$CXXCPP $CPPFLAGS'
24306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24311 /* end confdefs.h. */
24312 #include <math.h>
24314 main ()
24316 _frexpf(0, 0);
24318 return 0;
24320 _ACEOF
24321 if ac_fn_cxx_try_compile "$LINENO"; then :
24322 glibcxx_cv_func__frexpf_use=yes
24323 else
24324 glibcxx_cv_func__frexpf_use=no
24326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24327 ac_ext=c
24328 ac_cpp='$CPP $CPPFLAGS'
24329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24338 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24340 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24341 for ac_func in _frexpf
24342 do :
24343 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24344 if test "x$ac_cv_func__frexpf" = xyes; then :
24345 cat >>confdefs.h <<_ACEOF
24346 #define HAVE__FREXPF 1
24347 _ACEOF
24350 done
24359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24360 $as_echo_n "checking for hypotf declaration... " >&6; }
24361 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24362 if ${glibcxx_cv_func_hypotf_use+:} false; then :
24363 $as_echo_n "(cached) " >&6
24364 else
24367 ac_ext=cpp
24368 ac_cpp='$CXXCPP $CPPFLAGS'
24369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24374 /* end confdefs.h. */
24375 #include <math.h>
24377 main ()
24379 hypotf(0, 0);
24381 return 0;
24383 _ACEOF
24384 if ac_fn_cxx_try_compile "$LINENO"; then :
24385 glibcxx_cv_func_hypotf_use=yes
24386 else
24387 glibcxx_cv_func_hypotf_use=no
24389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24390 ac_ext=c
24391 ac_cpp='$CPP $CPPFLAGS'
24392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24401 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24403 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24404 for ac_func in hypotf
24405 do :
24406 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24407 if test "x$ac_cv_func_hypotf" = xyes; then :
24408 cat >>confdefs.h <<_ACEOF
24409 #define HAVE_HYPOTF 1
24410 _ACEOF
24413 done
24415 else
24417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24418 $as_echo_n "checking for _hypotf declaration... " >&6; }
24419 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24420 if ${glibcxx_cv_func__hypotf_use+:} false; then :
24421 $as_echo_n "(cached) " >&6
24422 else
24425 ac_ext=cpp
24426 ac_cpp='$CXXCPP $CPPFLAGS'
24427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24432 /* end confdefs.h. */
24433 #include <math.h>
24435 main ()
24437 _hypotf(0, 0);
24439 return 0;
24441 _ACEOF
24442 if ac_fn_cxx_try_compile "$LINENO"; then :
24443 glibcxx_cv_func__hypotf_use=yes
24444 else
24445 glibcxx_cv_func__hypotf_use=no
24447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24448 ac_ext=c
24449 ac_cpp='$CPP $CPPFLAGS'
24450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24459 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24461 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24462 for ac_func in _hypotf
24463 do :
24464 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24465 if test "x$ac_cv_func__hypotf" = xyes; then :
24466 cat >>confdefs.h <<_ACEOF
24467 #define HAVE__HYPOTF 1
24468 _ACEOF
24471 done
24480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24481 $as_echo_n "checking for ldexpf declaration... " >&6; }
24482 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24483 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
24484 $as_echo_n "(cached) " >&6
24485 else
24488 ac_ext=cpp
24489 ac_cpp='$CXXCPP $CPPFLAGS'
24490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24495 /* end confdefs.h. */
24496 #include <math.h>
24498 main ()
24500 ldexpf(0, 0);
24502 return 0;
24504 _ACEOF
24505 if ac_fn_cxx_try_compile "$LINENO"; then :
24506 glibcxx_cv_func_ldexpf_use=yes
24507 else
24508 glibcxx_cv_func_ldexpf_use=no
24510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24511 ac_ext=c
24512 ac_cpp='$CPP $CPPFLAGS'
24513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24522 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24524 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24525 for ac_func in ldexpf
24526 do :
24527 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24528 if test "x$ac_cv_func_ldexpf" = xyes; then :
24529 cat >>confdefs.h <<_ACEOF
24530 #define HAVE_LDEXPF 1
24531 _ACEOF
24534 done
24536 else
24538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24539 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24540 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24541 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
24542 $as_echo_n "(cached) " >&6
24543 else
24546 ac_ext=cpp
24547 ac_cpp='$CXXCPP $CPPFLAGS'
24548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24553 /* end confdefs.h. */
24554 #include <math.h>
24556 main ()
24558 _ldexpf(0, 0);
24560 return 0;
24562 _ACEOF
24563 if ac_fn_cxx_try_compile "$LINENO"; then :
24564 glibcxx_cv_func__ldexpf_use=yes
24565 else
24566 glibcxx_cv_func__ldexpf_use=no
24568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24569 ac_ext=c
24570 ac_cpp='$CPP $CPPFLAGS'
24571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24580 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24582 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24583 for ac_func in _ldexpf
24584 do :
24585 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24586 if test "x$ac_cv_func__ldexpf" = xyes; then :
24587 cat >>confdefs.h <<_ACEOF
24588 #define HAVE__LDEXPF 1
24589 _ACEOF
24592 done
24601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24602 $as_echo_n "checking for logf declaration... " >&6; }
24603 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24604 if ${glibcxx_cv_func_logf_use+:} false; then :
24605 $as_echo_n "(cached) " >&6
24606 else
24609 ac_ext=cpp
24610 ac_cpp='$CXXCPP $CPPFLAGS'
24611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24616 /* end confdefs.h. */
24617 #include <math.h>
24618 #ifdef HAVE_IEEEFP_H
24619 #include <ieeefp.h>
24620 #endif
24623 main ()
24625 logf(0);
24627 return 0;
24629 _ACEOF
24630 if ac_fn_cxx_try_compile "$LINENO"; then :
24631 glibcxx_cv_func_logf_use=yes
24632 else
24633 glibcxx_cv_func_logf_use=no
24635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24636 ac_ext=c
24637 ac_cpp='$CPP $CPPFLAGS'
24638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24647 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24649 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24650 for ac_func in logf
24651 do :
24652 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24653 if test "x$ac_cv_func_logf" = xyes; then :
24654 cat >>confdefs.h <<_ACEOF
24655 #define HAVE_LOGF 1
24656 _ACEOF
24659 done
24661 else
24663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24664 $as_echo_n "checking for _logf declaration... " >&6; }
24665 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24666 if ${glibcxx_cv_func__logf_use+:} false; then :
24667 $as_echo_n "(cached) " >&6
24668 else
24671 ac_ext=cpp
24672 ac_cpp='$CXXCPP $CPPFLAGS'
24673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24678 /* end confdefs.h. */
24679 #include <math.h>
24680 #ifdef HAVE_IEEEFP_H
24681 #include <ieeefp.h>
24682 #endif
24685 main ()
24687 _logf(0);
24689 return 0;
24691 _ACEOF
24692 if ac_fn_cxx_try_compile "$LINENO"; then :
24693 glibcxx_cv_func__logf_use=yes
24694 else
24695 glibcxx_cv_func__logf_use=no
24697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24698 ac_ext=c
24699 ac_cpp='$CPP $CPPFLAGS'
24700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24709 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24711 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24712 for ac_func in _logf
24713 do :
24714 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24715 if test "x$ac_cv_func__logf" = xyes; then :
24716 cat >>confdefs.h <<_ACEOF
24717 #define HAVE__LOGF 1
24718 _ACEOF
24721 done
24730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24731 $as_echo_n "checking for log10f declaration... " >&6; }
24732 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24733 if ${glibcxx_cv_func_log10f_use+:} false; then :
24734 $as_echo_n "(cached) " >&6
24735 else
24738 ac_ext=cpp
24739 ac_cpp='$CXXCPP $CPPFLAGS'
24740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24745 /* end confdefs.h. */
24746 #include <math.h>
24747 #ifdef HAVE_IEEEFP_H
24748 #include <ieeefp.h>
24749 #endif
24752 main ()
24754 log10f(0);
24756 return 0;
24758 _ACEOF
24759 if ac_fn_cxx_try_compile "$LINENO"; then :
24760 glibcxx_cv_func_log10f_use=yes
24761 else
24762 glibcxx_cv_func_log10f_use=no
24764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24765 ac_ext=c
24766 ac_cpp='$CPP $CPPFLAGS'
24767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24776 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24778 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24779 for ac_func in log10f
24780 do :
24781 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24782 if test "x$ac_cv_func_log10f" = xyes; then :
24783 cat >>confdefs.h <<_ACEOF
24784 #define HAVE_LOG10F 1
24785 _ACEOF
24788 done
24790 else
24792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24793 $as_echo_n "checking for _log10f declaration... " >&6; }
24794 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24795 if ${glibcxx_cv_func__log10f_use+:} false; then :
24796 $as_echo_n "(cached) " >&6
24797 else
24800 ac_ext=cpp
24801 ac_cpp='$CXXCPP $CPPFLAGS'
24802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24807 /* end confdefs.h. */
24808 #include <math.h>
24809 #ifdef HAVE_IEEEFP_H
24810 #include <ieeefp.h>
24811 #endif
24814 main ()
24816 _log10f(0);
24818 return 0;
24820 _ACEOF
24821 if ac_fn_cxx_try_compile "$LINENO"; then :
24822 glibcxx_cv_func__log10f_use=yes
24823 else
24824 glibcxx_cv_func__log10f_use=no
24826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24827 ac_ext=c
24828 ac_cpp='$CPP $CPPFLAGS'
24829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24838 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24840 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24841 for ac_func in _log10f
24842 do :
24843 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24844 if test "x$ac_cv_func__log10f" = xyes; then :
24845 cat >>confdefs.h <<_ACEOF
24846 #define HAVE__LOG10F 1
24847 _ACEOF
24850 done
24859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24860 $as_echo_n "checking for modff declaration... " >&6; }
24861 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24862 if ${glibcxx_cv_func_modff_use+:} false; then :
24863 $as_echo_n "(cached) " >&6
24864 else
24867 ac_ext=cpp
24868 ac_cpp='$CXXCPP $CPPFLAGS'
24869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24874 /* end confdefs.h. */
24875 #include <math.h>
24877 main ()
24879 modff(0, 0);
24881 return 0;
24883 _ACEOF
24884 if ac_fn_cxx_try_compile "$LINENO"; then :
24885 glibcxx_cv_func_modff_use=yes
24886 else
24887 glibcxx_cv_func_modff_use=no
24889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24890 ac_ext=c
24891 ac_cpp='$CPP $CPPFLAGS'
24892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24901 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24903 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24904 for ac_func in modff
24905 do :
24906 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24907 if test "x$ac_cv_func_modff" = xyes; then :
24908 cat >>confdefs.h <<_ACEOF
24909 #define HAVE_MODFF 1
24910 _ACEOF
24913 done
24915 else
24917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24918 $as_echo_n "checking for _modff declaration... " >&6; }
24919 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24920 if ${glibcxx_cv_func__modff_use+:} false; then :
24921 $as_echo_n "(cached) " >&6
24922 else
24925 ac_ext=cpp
24926 ac_cpp='$CXXCPP $CPPFLAGS'
24927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24932 /* end confdefs.h. */
24933 #include <math.h>
24935 main ()
24937 _modff(0, 0);
24939 return 0;
24941 _ACEOF
24942 if ac_fn_cxx_try_compile "$LINENO"; then :
24943 glibcxx_cv_func__modff_use=yes
24944 else
24945 glibcxx_cv_func__modff_use=no
24947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24948 ac_ext=c
24949 ac_cpp='$CPP $CPPFLAGS'
24950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24959 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24961 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24962 for ac_func in _modff
24963 do :
24964 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24965 if test "x$ac_cv_func__modff" = xyes; then :
24966 cat >>confdefs.h <<_ACEOF
24967 #define HAVE__MODFF 1
24968 _ACEOF
24971 done
24980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24981 $as_echo_n "checking for modf declaration... " >&6; }
24982 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24983 if ${glibcxx_cv_func_modf_use+:} false; then :
24984 $as_echo_n "(cached) " >&6
24985 else
24988 ac_ext=cpp
24989 ac_cpp='$CXXCPP $CPPFLAGS'
24990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24995 /* end confdefs.h. */
24996 #include <math.h>
24998 main ()
25000 modf(0, 0);
25002 return 0;
25004 _ACEOF
25005 if ac_fn_cxx_try_compile "$LINENO"; then :
25006 glibcxx_cv_func_modf_use=yes
25007 else
25008 glibcxx_cv_func_modf_use=no
25010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25011 ac_ext=c
25012 ac_cpp='$CPP $CPPFLAGS'
25013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25022 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
25024 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25025 for ac_func in modf
25026 do :
25027 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25028 if test "x$ac_cv_func_modf" = xyes; then :
25029 cat >>confdefs.h <<_ACEOF
25030 #define HAVE_MODF 1
25031 _ACEOF
25034 done
25036 else
25038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25039 $as_echo_n "checking for _modf declaration... " >&6; }
25040 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25041 if ${glibcxx_cv_func__modf_use+:} false; then :
25042 $as_echo_n "(cached) " >&6
25043 else
25046 ac_ext=cpp
25047 ac_cpp='$CXXCPP $CPPFLAGS'
25048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25053 /* end confdefs.h. */
25054 #include <math.h>
25056 main ()
25058 _modf(0, 0);
25060 return 0;
25062 _ACEOF
25063 if ac_fn_cxx_try_compile "$LINENO"; then :
25064 glibcxx_cv_func__modf_use=yes
25065 else
25066 glibcxx_cv_func__modf_use=no
25068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25069 ac_ext=c
25070 ac_cpp='$CPP $CPPFLAGS'
25071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25080 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
25082 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25083 for ac_func in _modf
25084 do :
25085 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25086 if test "x$ac_cv_func__modf" = xyes; then :
25087 cat >>confdefs.h <<_ACEOF
25088 #define HAVE__MODF 1
25089 _ACEOF
25092 done
25101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25102 $as_echo_n "checking for powf declaration... " >&6; }
25103 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25104 if ${glibcxx_cv_func_powf_use+:} false; then :
25105 $as_echo_n "(cached) " >&6
25106 else
25109 ac_ext=cpp
25110 ac_cpp='$CXXCPP $CPPFLAGS'
25111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25116 /* end confdefs.h. */
25117 #include <math.h>
25119 main ()
25121 powf(0, 0);
25123 return 0;
25125 _ACEOF
25126 if ac_fn_cxx_try_compile "$LINENO"; then :
25127 glibcxx_cv_func_powf_use=yes
25128 else
25129 glibcxx_cv_func_powf_use=no
25131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25132 ac_ext=c
25133 ac_cpp='$CPP $CPPFLAGS'
25134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25143 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25145 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25146 for ac_func in powf
25147 do :
25148 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25149 if test "x$ac_cv_func_powf" = xyes; then :
25150 cat >>confdefs.h <<_ACEOF
25151 #define HAVE_POWF 1
25152 _ACEOF
25155 done
25157 else
25159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25160 $as_echo_n "checking for _powf declaration... " >&6; }
25161 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25162 if ${glibcxx_cv_func__powf_use+:} false; then :
25163 $as_echo_n "(cached) " >&6
25164 else
25167 ac_ext=cpp
25168 ac_cpp='$CXXCPP $CPPFLAGS'
25169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25174 /* end confdefs.h. */
25175 #include <math.h>
25177 main ()
25179 _powf(0, 0);
25181 return 0;
25183 _ACEOF
25184 if ac_fn_cxx_try_compile "$LINENO"; then :
25185 glibcxx_cv_func__powf_use=yes
25186 else
25187 glibcxx_cv_func__powf_use=no
25189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25190 ac_ext=c
25191 ac_cpp='$CPP $CPPFLAGS'
25192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25201 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25203 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25204 for ac_func in _powf
25205 do :
25206 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25207 if test "x$ac_cv_func__powf" = xyes; then :
25208 cat >>confdefs.h <<_ACEOF
25209 #define HAVE__POWF 1
25210 _ACEOF
25213 done
25222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25223 $as_echo_n "checking for sqrtf declaration... " >&6; }
25224 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25225 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25226 $as_echo_n "(cached) " >&6
25227 else
25230 ac_ext=cpp
25231 ac_cpp='$CXXCPP $CPPFLAGS'
25232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25237 /* end confdefs.h. */
25238 #include <math.h>
25239 #ifdef HAVE_IEEEFP_H
25240 #include <ieeefp.h>
25241 #endif
25244 main ()
25246 sqrtf(0);
25248 return 0;
25250 _ACEOF
25251 if ac_fn_cxx_try_compile "$LINENO"; then :
25252 glibcxx_cv_func_sqrtf_use=yes
25253 else
25254 glibcxx_cv_func_sqrtf_use=no
25256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25257 ac_ext=c
25258 ac_cpp='$CPP $CPPFLAGS'
25259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25268 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25270 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25271 for ac_func in sqrtf
25272 do :
25273 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25274 if test "x$ac_cv_func_sqrtf" = xyes; then :
25275 cat >>confdefs.h <<_ACEOF
25276 #define HAVE_SQRTF 1
25277 _ACEOF
25280 done
25282 else
25284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25285 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25286 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25287 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25288 $as_echo_n "(cached) " >&6
25289 else
25292 ac_ext=cpp
25293 ac_cpp='$CXXCPP $CPPFLAGS'
25294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25299 /* end confdefs.h. */
25300 #include <math.h>
25301 #ifdef HAVE_IEEEFP_H
25302 #include <ieeefp.h>
25303 #endif
25306 main ()
25308 _sqrtf(0);
25310 return 0;
25312 _ACEOF
25313 if ac_fn_cxx_try_compile "$LINENO"; then :
25314 glibcxx_cv_func__sqrtf_use=yes
25315 else
25316 glibcxx_cv_func__sqrtf_use=no
25318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25319 ac_ext=c
25320 ac_cpp='$CPP $CPPFLAGS'
25321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25330 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25332 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25333 for ac_func in _sqrtf
25334 do :
25335 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25336 if test "x$ac_cv_func__sqrtf" = xyes; then :
25337 cat >>confdefs.h <<_ACEOF
25338 #define HAVE__SQRTF 1
25339 _ACEOF
25342 done
25351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25352 $as_echo_n "checking for sincosf declaration... " >&6; }
25353 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25354 if ${glibcxx_cv_func_sincosf_use+:} false; then :
25355 $as_echo_n "(cached) " >&6
25356 else
25359 ac_ext=cpp
25360 ac_cpp='$CXXCPP $CPPFLAGS'
25361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25366 /* end confdefs.h. */
25367 #include <math.h>
25369 main ()
25371 sincosf(0, 0, 0);
25373 return 0;
25375 _ACEOF
25376 if ac_fn_cxx_try_compile "$LINENO"; then :
25377 glibcxx_cv_func_sincosf_use=yes
25378 else
25379 glibcxx_cv_func_sincosf_use=no
25381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25382 ac_ext=c
25383 ac_cpp='$CPP $CPPFLAGS'
25384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25393 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25395 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25396 for ac_func in sincosf
25397 do :
25398 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25399 if test "x$ac_cv_func_sincosf" = xyes; then :
25400 cat >>confdefs.h <<_ACEOF
25401 #define HAVE_SINCOSF 1
25402 _ACEOF
25405 done
25407 else
25409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25410 $as_echo_n "checking for _sincosf declaration... " >&6; }
25411 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25412 if ${glibcxx_cv_func__sincosf_use+:} false; then :
25413 $as_echo_n "(cached) " >&6
25414 else
25417 ac_ext=cpp
25418 ac_cpp='$CXXCPP $CPPFLAGS'
25419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25424 /* end confdefs.h. */
25425 #include <math.h>
25427 main ()
25429 _sincosf(0, 0, 0);
25431 return 0;
25433 _ACEOF
25434 if ac_fn_cxx_try_compile "$LINENO"; then :
25435 glibcxx_cv_func__sincosf_use=yes
25436 else
25437 glibcxx_cv_func__sincosf_use=no
25439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25440 ac_ext=c
25441 ac_cpp='$CPP $CPPFLAGS'
25442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25451 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25453 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25454 for ac_func in _sincosf
25455 do :
25456 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25457 if test "x$ac_cv_func__sincosf" = xyes; then :
25458 cat >>confdefs.h <<_ACEOF
25459 #define HAVE__SINCOSF 1
25460 _ACEOF
25463 done
25472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25473 $as_echo_n "checking for finitef declaration... " >&6; }
25474 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25475 if ${glibcxx_cv_func_finitef_use+:} false; then :
25476 $as_echo_n "(cached) " >&6
25477 else
25480 ac_ext=cpp
25481 ac_cpp='$CXXCPP $CPPFLAGS'
25482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25487 /* end confdefs.h. */
25488 #include <math.h>
25489 #ifdef HAVE_IEEEFP_H
25490 #include <ieeefp.h>
25491 #endif
25494 main ()
25496 finitef(0);
25498 return 0;
25500 _ACEOF
25501 if ac_fn_cxx_try_compile "$LINENO"; then :
25502 glibcxx_cv_func_finitef_use=yes
25503 else
25504 glibcxx_cv_func_finitef_use=no
25506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25507 ac_ext=c
25508 ac_cpp='$CPP $CPPFLAGS'
25509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25518 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25520 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25521 for ac_func in finitef
25522 do :
25523 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25524 if test "x$ac_cv_func_finitef" = xyes; then :
25525 cat >>confdefs.h <<_ACEOF
25526 #define HAVE_FINITEF 1
25527 _ACEOF
25530 done
25532 else
25534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25535 $as_echo_n "checking for _finitef declaration... " >&6; }
25536 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25537 if ${glibcxx_cv_func__finitef_use+:} false; then :
25538 $as_echo_n "(cached) " >&6
25539 else
25542 ac_ext=cpp
25543 ac_cpp='$CXXCPP $CPPFLAGS'
25544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25549 /* end confdefs.h. */
25550 #include <math.h>
25551 #ifdef HAVE_IEEEFP_H
25552 #include <ieeefp.h>
25553 #endif
25556 main ()
25558 _finitef(0);
25560 return 0;
25562 _ACEOF
25563 if ac_fn_cxx_try_compile "$LINENO"; then :
25564 glibcxx_cv_func__finitef_use=yes
25565 else
25566 glibcxx_cv_func__finitef_use=no
25568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25569 ac_ext=c
25570 ac_cpp='$CPP $CPPFLAGS'
25571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25580 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25582 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25583 for ac_func in _finitef
25584 do :
25585 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25586 if test "x$ac_cv_func__finitef" = xyes; then :
25587 cat >>confdefs.h <<_ACEOF
25588 #define HAVE__FINITEF 1
25589 _ACEOF
25592 done
25601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25602 $as_echo_n "checking for long double trig functions... " >&6; }
25603 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
25604 $as_echo_n "(cached) " >&6
25605 else
25608 ac_ext=cpp
25609 ac_cpp='$CXXCPP $CPPFLAGS'
25610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25615 /* end confdefs.h. */
25616 #include <math.h>
25618 main ()
25620 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25622 return 0;
25624 _ACEOF
25625 if ac_fn_cxx_try_compile "$LINENO"; then :
25626 glibcxx_cv_func_long_double_trig_use=yes
25627 else
25628 glibcxx_cv_func_long_double_trig_use=no
25630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25631 ac_ext=c
25632 ac_cpp='$CPP $CPPFLAGS'
25633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25640 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25641 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25642 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25643 do :
25644 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25645 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25646 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25647 cat >>confdefs.h <<_ACEOF
25648 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25649 _ACEOF
25652 done
25654 else
25655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25656 $as_echo_n "checking for _long double trig functions... " >&6; }
25657 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
25658 $as_echo_n "(cached) " >&6
25659 else
25662 ac_ext=cpp
25663 ac_cpp='$CXXCPP $CPPFLAGS'
25664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25669 /* end confdefs.h. */
25670 #include <math.h>
25672 main ()
25674 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25676 return 0;
25678 _ACEOF
25679 if ac_fn_cxx_try_compile "$LINENO"; then :
25680 glibcxx_cv_func__long_double_trig_use=yes
25681 else
25682 glibcxx_cv_func__long_double_trig_use=no
25684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25685 ac_ext=c
25686 ac_cpp='$CPP $CPPFLAGS'
25687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25694 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25695 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25696 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25697 do :
25698 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25699 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25700 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25701 cat >>confdefs.h <<_ACEOF
25702 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25703 _ACEOF
25706 done
25715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25716 $as_echo_n "checking for long double round functions... " >&6; }
25717 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
25718 $as_echo_n "(cached) " >&6
25719 else
25722 ac_ext=cpp
25723 ac_cpp='$CXXCPP $CPPFLAGS'
25724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25729 /* end confdefs.h. */
25730 #include <math.h>
25732 main ()
25734 ceill (0); floorl (0);
25736 return 0;
25738 _ACEOF
25739 if ac_fn_cxx_try_compile "$LINENO"; then :
25740 glibcxx_cv_func_long_double_round_use=yes
25741 else
25742 glibcxx_cv_func_long_double_round_use=no
25744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25745 ac_ext=c
25746 ac_cpp='$CPP $CPPFLAGS'
25747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25754 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25755 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25756 for ac_func in ceill floorl
25757 do :
25758 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25759 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25760 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25761 cat >>confdefs.h <<_ACEOF
25762 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25763 _ACEOF
25766 done
25768 else
25769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25770 $as_echo_n "checking for _long double round functions... " >&6; }
25771 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
25772 $as_echo_n "(cached) " >&6
25773 else
25776 ac_ext=cpp
25777 ac_cpp='$CXXCPP $CPPFLAGS'
25778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25783 /* end confdefs.h. */
25784 #include <math.h>
25786 main ()
25788 _ceill (0); _floorl (0);
25790 return 0;
25792 _ACEOF
25793 if ac_fn_cxx_try_compile "$LINENO"; then :
25794 glibcxx_cv_func__long_double_round_use=yes
25795 else
25796 glibcxx_cv_func__long_double_round_use=no
25798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25799 ac_ext=c
25800 ac_cpp='$CPP $CPPFLAGS'
25801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25808 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25809 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25810 for ac_func in _ceill _floorl
25811 do :
25812 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25813 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25814 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25815 cat >>confdefs.h <<_ACEOF
25816 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25817 _ACEOF
25820 done
25830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25831 $as_echo_n "checking for isnanl declaration... " >&6; }
25832 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25833 if ${glibcxx_cv_func_isnanl_use+:} false; then :
25834 $as_echo_n "(cached) " >&6
25835 else
25838 ac_ext=cpp
25839 ac_cpp='$CXXCPP $CPPFLAGS'
25840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25845 /* end confdefs.h. */
25846 #include <math.h>
25847 #ifdef HAVE_IEEEFP_H
25848 #include <ieeefp.h>
25849 #endif
25852 main ()
25854 isnanl(0);
25856 return 0;
25858 _ACEOF
25859 if ac_fn_cxx_try_compile "$LINENO"; then :
25860 glibcxx_cv_func_isnanl_use=yes
25861 else
25862 glibcxx_cv_func_isnanl_use=no
25864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25865 ac_ext=c
25866 ac_cpp='$CPP $CPPFLAGS'
25867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25876 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25878 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25879 for ac_func in isnanl
25880 do :
25881 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25882 if test "x$ac_cv_func_isnanl" = xyes; then :
25883 cat >>confdefs.h <<_ACEOF
25884 #define HAVE_ISNANL 1
25885 _ACEOF
25888 done
25890 else
25892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25893 $as_echo_n "checking for _isnanl declaration... " >&6; }
25894 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25895 if ${glibcxx_cv_func__isnanl_use+:} false; then :
25896 $as_echo_n "(cached) " >&6
25897 else
25900 ac_ext=cpp
25901 ac_cpp='$CXXCPP $CPPFLAGS'
25902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25907 /* end confdefs.h. */
25908 #include <math.h>
25909 #ifdef HAVE_IEEEFP_H
25910 #include <ieeefp.h>
25911 #endif
25914 main ()
25916 _isnanl(0);
25918 return 0;
25920 _ACEOF
25921 if ac_fn_cxx_try_compile "$LINENO"; then :
25922 glibcxx_cv_func__isnanl_use=yes
25923 else
25924 glibcxx_cv_func__isnanl_use=no
25926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25927 ac_ext=c
25928 ac_cpp='$CPP $CPPFLAGS'
25929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25938 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25940 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25941 for ac_func in _isnanl
25942 do :
25943 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25944 if test "x$ac_cv_func__isnanl" = xyes; then :
25945 cat >>confdefs.h <<_ACEOF
25946 #define HAVE__ISNANL 1
25947 _ACEOF
25950 done
25959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25960 $as_echo_n "checking for isinfl declaration... " >&6; }
25961 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25962 if ${glibcxx_cv_func_isinfl_use+:} false; then :
25963 $as_echo_n "(cached) " >&6
25964 else
25967 ac_ext=cpp
25968 ac_cpp='$CXXCPP $CPPFLAGS'
25969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25974 /* end confdefs.h. */
25975 #include <math.h>
25976 #ifdef HAVE_IEEEFP_H
25977 #include <ieeefp.h>
25978 #endif
25981 main ()
25983 isinfl(0);
25985 return 0;
25987 _ACEOF
25988 if ac_fn_cxx_try_compile "$LINENO"; then :
25989 glibcxx_cv_func_isinfl_use=yes
25990 else
25991 glibcxx_cv_func_isinfl_use=no
25993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25994 ac_ext=c
25995 ac_cpp='$CPP $CPPFLAGS'
25996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
26005 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
26007 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
26008 for ac_func in isinfl
26009 do :
26010 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
26011 if test "x$ac_cv_func_isinfl" = xyes; then :
26012 cat >>confdefs.h <<_ACEOF
26013 #define HAVE_ISINFL 1
26014 _ACEOF
26017 done
26019 else
26021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26022 $as_echo_n "checking for _isinfl declaration... " >&6; }
26023 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26024 if ${glibcxx_cv_func__isinfl_use+:} false; then :
26025 $as_echo_n "(cached) " >&6
26026 else
26029 ac_ext=cpp
26030 ac_cpp='$CXXCPP $CPPFLAGS'
26031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26036 /* end confdefs.h. */
26037 #include <math.h>
26038 #ifdef HAVE_IEEEFP_H
26039 #include <ieeefp.h>
26040 #endif
26043 main ()
26045 _isinfl(0);
26047 return 0;
26049 _ACEOF
26050 if ac_fn_cxx_try_compile "$LINENO"; then :
26051 glibcxx_cv_func__isinfl_use=yes
26052 else
26053 glibcxx_cv_func__isinfl_use=no
26055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26056 ac_ext=c
26057 ac_cpp='$CPP $CPPFLAGS'
26058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26067 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26069 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26070 for ac_func in _isinfl
26071 do :
26072 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26073 if test "x$ac_cv_func__isinfl" = xyes; then :
26074 cat >>confdefs.h <<_ACEOF
26075 #define HAVE__ISINFL 1
26076 _ACEOF
26079 done
26088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26089 $as_echo_n "checking for atan2l declaration... " >&6; }
26090 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26091 if ${glibcxx_cv_func_atan2l_use+:} false; then :
26092 $as_echo_n "(cached) " >&6
26093 else
26096 ac_ext=cpp
26097 ac_cpp='$CXXCPP $CPPFLAGS'
26098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26103 /* end confdefs.h. */
26104 #include <math.h>
26106 main ()
26108 atan2l(0, 0);
26110 return 0;
26112 _ACEOF
26113 if ac_fn_cxx_try_compile "$LINENO"; then :
26114 glibcxx_cv_func_atan2l_use=yes
26115 else
26116 glibcxx_cv_func_atan2l_use=no
26118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26119 ac_ext=c
26120 ac_cpp='$CPP $CPPFLAGS'
26121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26130 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26132 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26133 for ac_func in atan2l
26134 do :
26135 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26136 if test "x$ac_cv_func_atan2l" = xyes; then :
26137 cat >>confdefs.h <<_ACEOF
26138 #define HAVE_ATAN2L 1
26139 _ACEOF
26142 done
26144 else
26146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26147 $as_echo_n "checking for _atan2l declaration... " >&6; }
26148 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26149 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26150 $as_echo_n "(cached) " >&6
26151 else
26154 ac_ext=cpp
26155 ac_cpp='$CXXCPP $CPPFLAGS'
26156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26161 /* end confdefs.h. */
26162 #include <math.h>
26164 main ()
26166 _atan2l(0, 0);
26168 return 0;
26170 _ACEOF
26171 if ac_fn_cxx_try_compile "$LINENO"; then :
26172 glibcxx_cv_func__atan2l_use=yes
26173 else
26174 glibcxx_cv_func__atan2l_use=no
26176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26177 ac_ext=c
26178 ac_cpp='$CPP $CPPFLAGS'
26179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26188 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26190 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26191 for ac_func in _atan2l
26192 do :
26193 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26194 if test "x$ac_cv_func__atan2l" = xyes; then :
26195 cat >>confdefs.h <<_ACEOF
26196 #define HAVE__ATAN2L 1
26197 _ACEOF
26200 done
26209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26210 $as_echo_n "checking for expl declaration... " >&6; }
26211 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26212 if ${glibcxx_cv_func_expl_use+:} false; then :
26213 $as_echo_n "(cached) " >&6
26214 else
26217 ac_ext=cpp
26218 ac_cpp='$CXXCPP $CPPFLAGS'
26219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26224 /* end confdefs.h. */
26225 #include <math.h>
26226 #ifdef HAVE_IEEEFP_H
26227 #include <ieeefp.h>
26228 #endif
26231 main ()
26233 expl(0);
26235 return 0;
26237 _ACEOF
26238 if ac_fn_cxx_try_compile "$LINENO"; then :
26239 glibcxx_cv_func_expl_use=yes
26240 else
26241 glibcxx_cv_func_expl_use=no
26243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26244 ac_ext=c
26245 ac_cpp='$CPP $CPPFLAGS'
26246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26255 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26257 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26258 for ac_func in expl
26259 do :
26260 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26261 if test "x$ac_cv_func_expl" = xyes; then :
26262 cat >>confdefs.h <<_ACEOF
26263 #define HAVE_EXPL 1
26264 _ACEOF
26267 done
26269 else
26271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26272 $as_echo_n "checking for _expl declaration... " >&6; }
26273 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26274 if ${glibcxx_cv_func__expl_use+:} false; then :
26275 $as_echo_n "(cached) " >&6
26276 else
26279 ac_ext=cpp
26280 ac_cpp='$CXXCPP $CPPFLAGS'
26281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26286 /* end confdefs.h. */
26287 #include <math.h>
26288 #ifdef HAVE_IEEEFP_H
26289 #include <ieeefp.h>
26290 #endif
26293 main ()
26295 _expl(0);
26297 return 0;
26299 _ACEOF
26300 if ac_fn_cxx_try_compile "$LINENO"; then :
26301 glibcxx_cv_func__expl_use=yes
26302 else
26303 glibcxx_cv_func__expl_use=no
26305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26306 ac_ext=c
26307 ac_cpp='$CPP $CPPFLAGS'
26308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26317 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26319 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26320 for ac_func in _expl
26321 do :
26322 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26323 if test "x$ac_cv_func__expl" = xyes; then :
26324 cat >>confdefs.h <<_ACEOF
26325 #define HAVE__EXPL 1
26326 _ACEOF
26329 done
26338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26339 $as_echo_n "checking for fabsl declaration... " >&6; }
26340 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26341 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26342 $as_echo_n "(cached) " >&6
26343 else
26346 ac_ext=cpp
26347 ac_cpp='$CXXCPP $CPPFLAGS'
26348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26353 /* end confdefs.h. */
26354 #include <math.h>
26355 #ifdef HAVE_IEEEFP_H
26356 #include <ieeefp.h>
26357 #endif
26360 main ()
26362 fabsl(0);
26364 return 0;
26366 _ACEOF
26367 if ac_fn_cxx_try_compile "$LINENO"; then :
26368 glibcxx_cv_func_fabsl_use=yes
26369 else
26370 glibcxx_cv_func_fabsl_use=no
26372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26373 ac_ext=c
26374 ac_cpp='$CPP $CPPFLAGS'
26375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26384 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26386 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26387 for ac_func in fabsl
26388 do :
26389 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26390 if test "x$ac_cv_func_fabsl" = xyes; then :
26391 cat >>confdefs.h <<_ACEOF
26392 #define HAVE_FABSL 1
26393 _ACEOF
26396 done
26398 else
26400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26401 $as_echo_n "checking for _fabsl declaration... " >&6; }
26402 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26403 if ${glibcxx_cv_func__fabsl_use+:} false; then :
26404 $as_echo_n "(cached) " >&6
26405 else
26408 ac_ext=cpp
26409 ac_cpp='$CXXCPP $CPPFLAGS'
26410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26415 /* end confdefs.h. */
26416 #include <math.h>
26417 #ifdef HAVE_IEEEFP_H
26418 #include <ieeefp.h>
26419 #endif
26422 main ()
26424 _fabsl(0);
26426 return 0;
26428 _ACEOF
26429 if ac_fn_cxx_try_compile "$LINENO"; then :
26430 glibcxx_cv_func__fabsl_use=yes
26431 else
26432 glibcxx_cv_func__fabsl_use=no
26434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26435 ac_ext=c
26436 ac_cpp='$CPP $CPPFLAGS'
26437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26446 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26448 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26449 for ac_func in _fabsl
26450 do :
26451 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26452 if test "x$ac_cv_func__fabsl" = xyes; then :
26453 cat >>confdefs.h <<_ACEOF
26454 #define HAVE__FABSL 1
26455 _ACEOF
26458 done
26467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26468 $as_echo_n "checking for fmodl declaration... " >&6; }
26469 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26470 if ${glibcxx_cv_func_fmodl_use+:} false; then :
26471 $as_echo_n "(cached) " >&6
26472 else
26475 ac_ext=cpp
26476 ac_cpp='$CXXCPP $CPPFLAGS'
26477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26482 /* end confdefs.h. */
26483 #include <math.h>
26485 main ()
26487 fmodl(0, 0);
26489 return 0;
26491 _ACEOF
26492 if ac_fn_cxx_try_compile "$LINENO"; then :
26493 glibcxx_cv_func_fmodl_use=yes
26494 else
26495 glibcxx_cv_func_fmodl_use=no
26497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26498 ac_ext=c
26499 ac_cpp='$CPP $CPPFLAGS'
26500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26509 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26511 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26512 for ac_func in fmodl
26513 do :
26514 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26515 if test "x$ac_cv_func_fmodl" = xyes; then :
26516 cat >>confdefs.h <<_ACEOF
26517 #define HAVE_FMODL 1
26518 _ACEOF
26521 done
26523 else
26525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26526 $as_echo_n "checking for _fmodl declaration... " >&6; }
26527 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26528 if ${glibcxx_cv_func__fmodl_use+:} false; then :
26529 $as_echo_n "(cached) " >&6
26530 else
26533 ac_ext=cpp
26534 ac_cpp='$CXXCPP $CPPFLAGS'
26535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26540 /* end confdefs.h. */
26541 #include <math.h>
26543 main ()
26545 _fmodl(0, 0);
26547 return 0;
26549 _ACEOF
26550 if ac_fn_cxx_try_compile "$LINENO"; then :
26551 glibcxx_cv_func__fmodl_use=yes
26552 else
26553 glibcxx_cv_func__fmodl_use=no
26555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26556 ac_ext=c
26557 ac_cpp='$CPP $CPPFLAGS'
26558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26567 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26569 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26570 for ac_func in _fmodl
26571 do :
26572 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26573 if test "x$ac_cv_func__fmodl" = xyes; then :
26574 cat >>confdefs.h <<_ACEOF
26575 #define HAVE__FMODL 1
26576 _ACEOF
26579 done
26588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26589 $as_echo_n "checking for frexpl declaration... " >&6; }
26590 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26591 if ${glibcxx_cv_func_frexpl_use+:} false; then :
26592 $as_echo_n "(cached) " >&6
26593 else
26596 ac_ext=cpp
26597 ac_cpp='$CXXCPP $CPPFLAGS'
26598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26603 /* end confdefs.h. */
26604 #include <math.h>
26606 main ()
26608 frexpl(0, 0);
26610 return 0;
26612 _ACEOF
26613 if ac_fn_cxx_try_compile "$LINENO"; then :
26614 glibcxx_cv_func_frexpl_use=yes
26615 else
26616 glibcxx_cv_func_frexpl_use=no
26618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26619 ac_ext=c
26620 ac_cpp='$CPP $CPPFLAGS'
26621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26630 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26632 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26633 for ac_func in frexpl
26634 do :
26635 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26636 if test "x$ac_cv_func_frexpl" = xyes; then :
26637 cat >>confdefs.h <<_ACEOF
26638 #define HAVE_FREXPL 1
26639 _ACEOF
26642 done
26644 else
26646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26647 $as_echo_n "checking for _frexpl declaration... " >&6; }
26648 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26649 if ${glibcxx_cv_func__frexpl_use+:} false; then :
26650 $as_echo_n "(cached) " >&6
26651 else
26654 ac_ext=cpp
26655 ac_cpp='$CXXCPP $CPPFLAGS'
26656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26661 /* end confdefs.h. */
26662 #include <math.h>
26664 main ()
26666 _frexpl(0, 0);
26668 return 0;
26670 _ACEOF
26671 if ac_fn_cxx_try_compile "$LINENO"; then :
26672 glibcxx_cv_func__frexpl_use=yes
26673 else
26674 glibcxx_cv_func__frexpl_use=no
26676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26677 ac_ext=c
26678 ac_cpp='$CPP $CPPFLAGS'
26679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26688 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26690 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26691 for ac_func in _frexpl
26692 do :
26693 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26694 if test "x$ac_cv_func__frexpl" = xyes; then :
26695 cat >>confdefs.h <<_ACEOF
26696 #define HAVE__FREXPL 1
26697 _ACEOF
26700 done
26709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26710 $as_echo_n "checking for hypotl declaration... " >&6; }
26711 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26712 if ${glibcxx_cv_func_hypotl_use+:} false; then :
26713 $as_echo_n "(cached) " >&6
26714 else
26717 ac_ext=cpp
26718 ac_cpp='$CXXCPP $CPPFLAGS'
26719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26724 /* end confdefs.h. */
26725 #include <math.h>
26727 main ()
26729 hypotl(0, 0);
26731 return 0;
26733 _ACEOF
26734 if ac_fn_cxx_try_compile "$LINENO"; then :
26735 glibcxx_cv_func_hypotl_use=yes
26736 else
26737 glibcxx_cv_func_hypotl_use=no
26739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26740 ac_ext=c
26741 ac_cpp='$CPP $CPPFLAGS'
26742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26751 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26753 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26754 for ac_func in hypotl
26755 do :
26756 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26757 if test "x$ac_cv_func_hypotl" = xyes; then :
26758 cat >>confdefs.h <<_ACEOF
26759 #define HAVE_HYPOTL 1
26760 _ACEOF
26763 done
26765 else
26767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26768 $as_echo_n "checking for _hypotl declaration... " >&6; }
26769 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26770 if ${glibcxx_cv_func__hypotl_use+:} false; then :
26771 $as_echo_n "(cached) " >&6
26772 else
26775 ac_ext=cpp
26776 ac_cpp='$CXXCPP $CPPFLAGS'
26777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26782 /* end confdefs.h. */
26783 #include <math.h>
26785 main ()
26787 _hypotl(0, 0);
26789 return 0;
26791 _ACEOF
26792 if ac_fn_cxx_try_compile "$LINENO"; then :
26793 glibcxx_cv_func__hypotl_use=yes
26794 else
26795 glibcxx_cv_func__hypotl_use=no
26797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26798 ac_ext=c
26799 ac_cpp='$CPP $CPPFLAGS'
26800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26809 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26811 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26812 for ac_func in _hypotl
26813 do :
26814 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26815 if test "x$ac_cv_func__hypotl" = xyes; then :
26816 cat >>confdefs.h <<_ACEOF
26817 #define HAVE__HYPOTL 1
26818 _ACEOF
26821 done
26830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26831 $as_echo_n "checking for ldexpl declaration... " >&6; }
26832 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26833 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
26834 $as_echo_n "(cached) " >&6
26835 else
26838 ac_ext=cpp
26839 ac_cpp='$CXXCPP $CPPFLAGS'
26840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26845 /* end confdefs.h. */
26846 #include <math.h>
26848 main ()
26850 ldexpl(0, 0);
26852 return 0;
26854 _ACEOF
26855 if ac_fn_cxx_try_compile "$LINENO"; then :
26856 glibcxx_cv_func_ldexpl_use=yes
26857 else
26858 glibcxx_cv_func_ldexpl_use=no
26860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26861 ac_ext=c
26862 ac_cpp='$CPP $CPPFLAGS'
26863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26872 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26874 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26875 for ac_func in ldexpl
26876 do :
26877 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26878 if test "x$ac_cv_func_ldexpl" = xyes; then :
26879 cat >>confdefs.h <<_ACEOF
26880 #define HAVE_LDEXPL 1
26881 _ACEOF
26884 done
26886 else
26888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26889 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26890 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26891 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
26892 $as_echo_n "(cached) " >&6
26893 else
26896 ac_ext=cpp
26897 ac_cpp='$CXXCPP $CPPFLAGS'
26898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26903 /* end confdefs.h. */
26904 #include <math.h>
26906 main ()
26908 _ldexpl(0, 0);
26910 return 0;
26912 _ACEOF
26913 if ac_fn_cxx_try_compile "$LINENO"; then :
26914 glibcxx_cv_func__ldexpl_use=yes
26915 else
26916 glibcxx_cv_func__ldexpl_use=no
26918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26919 ac_ext=c
26920 ac_cpp='$CPP $CPPFLAGS'
26921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26930 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26932 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26933 for ac_func in _ldexpl
26934 do :
26935 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26936 if test "x$ac_cv_func__ldexpl" = xyes; then :
26937 cat >>confdefs.h <<_ACEOF
26938 #define HAVE__LDEXPL 1
26939 _ACEOF
26942 done
26951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26952 $as_echo_n "checking for logl declaration... " >&6; }
26953 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26954 if ${glibcxx_cv_func_logl_use+:} false; then :
26955 $as_echo_n "(cached) " >&6
26956 else
26959 ac_ext=cpp
26960 ac_cpp='$CXXCPP $CPPFLAGS'
26961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26966 /* end confdefs.h. */
26967 #include <math.h>
26968 #ifdef HAVE_IEEEFP_H
26969 #include <ieeefp.h>
26970 #endif
26973 main ()
26975 logl(0);
26977 return 0;
26979 _ACEOF
26980 if ac_fn_cxx_try_compile "$LINENO"; then :
26981 glibcxx_cv_func_logl_use=yes
26982 else
26983 glibcxx_cv_func_logl_use=no
26985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26986 ac_ext=c
26987 ac_cpp='$CPP $CPPFLAGS'
26988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26997 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26999 if test x$glibcxx_cv_func_logl_use = x"yes"; then
27000 for ac_func in logl
27001 do :
27002 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
27003 if test "x$ac_cv_func_logl" = xyes; then :
27004 cat >>confdefs.h <<_ACEOF
27005 #define HAVE_LOGL 1
27006 _ACEOF
27009 done
27011 else
27013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
27014 $as_echo_n "checking for _logl declaration... " >&6; }
27015 if test x${glibcxx_cv_func__logl_use+set} != xset; then
27016 if ${glibcxx_cv_func__logl_use+:} false; then :
27017 $as_echo_n "(cached) " >&6
27018 else
27021 ac_ext=cpp
27022 ac_cpp='$CXXCPP $CPPFLAGS'
27023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27028 /* end confdefs.h. */
27029 #include <math.h>
27030 #ifdef HAVE_IEEEFP_H
27031 #include <ieeefp.h>
27032 #endif
27035 main ()
27037 _logl(0);
27039 return 0;
27041 _ACEOF
27042 if ac_fn_cxx_try_compile "$LINENO"; then :
27043 glibcxx_cv_func__logl_use=yes
27044 else
27045 glibcxx_cv_func__logl_use=no
27047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27048 ac_ext=c
27049 ac_cpp='$CPP $CPPFLAGS'
27050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27059 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
27061 if test x$glibcxx_cv_func__logl_use = x"yes"; then
27062 for ac_func in _logl
27063 do :
27064 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27065 if test "x$ac_cv_func__logl" = xyes; then :
27066 cat >>confdefs.h <<_ACEOF
27067 #define HAVE__LOGL 1
27068 _ACEOF
27071 done
27080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27081 $as_echo_n "checking for log10l declaration... " >&6; }
27082 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27083 if ${glibcxx_cv_func_log10l_use+:} false; then :
27084 $as_echo_n "(cached) " >&6
27085 else
27088 ac_ext=cpp
27089 ac_cpp='$CXXCPP $CPPFLAGS'
27090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27095 /* end confdefs.h. */
27096 #include <math.h>
27097 #ifdef HAVE_IEEEFP_H
27098 #include <ieeefp.h>
27099 #endif
27102 main ()
27104 log10l(0);
27106 return 0;
27108 _ACEOF
27109 if ac_fn_cxx_try_compile "$LINENO"; then :
27110 glibcxx_cv_func_log10l_use=yes
27111 else
27112 glibcxx_cv_func_log10l_use=no
27114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27115 ac_ext=c
27116 ac_cpp='$CPP $CPPFLAGS'
27117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27126 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27128 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27129 for ac_func in log10l
27130 do :
27131 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27132 if test "x$ac_cv_func_log10l" = xyes; then :
27133 cat >>confdefs.h <<_ACEOF
27134 #define HAVE_LOG10L 1
27135 _ACEOF
27138 done
27140 else
27142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27143 $as_echo_n "checking for _log10l declaration... " >&6; }
27144 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27145 if ${glibcxx_cv_func__log10l_use+:} false; then :
27146 $as_echo_n "(cached) " >&6
27147 else
27150 ac_ext=cpp
27151 ac_cpp='$CXXCPP $CPPFLAGS'
27152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27157 /* end confdefs.h. */
27158 #include <math.h>
27159 #ifdef HAVE_IEEEFP_H
27160 #include <ieeefp.h>
27161 #endif
27164 main ()
27166 _log10l(0);
27168 return 0;
27170 _ACEOF
27171 if ac_fn_cxx_try_compile "$LINENO"; then :
27172 glibcxx_cv_func__log10l_use=yes
27173 else
27174 glibcxx_cv_func__log10l_use=no
27176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27177 ac_ext=c
27178 ac_cpp='$CPP $CPPFLAGS'
27179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27188 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27190 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27191 for ac_func in _log10l
27192 do :
27193 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27194 if test "x$ac_cv_func__log10l" = xyes; then :
27195 cat >>confdefs.h <<_ACEOF
27196 #define HAVE__LOG10L 1
27197 _ACEOF
27200 done
27209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27210 $as_echo_n "checking for modfl declaration... " >&6; }
27211 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27212 if ${glibcxx_cv_func_modfl_use+:} false; then :
27213 $as_echo_n "(cached) " >&6
27214 else
27217 ac_ext=cpp
27218 ac_cpp='$CXXCPP $CPPFLAGS'
27219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27224 /* end confdefs.h. */
27225 #include <math.h>
27227 main ()
27229 modfl(0, 0);
27231 return 0;
27233 _ACEOF
27234 if ac_fn_cxx_try_compile "$LINENO"; then :
27235 glibcxx_cv_func_modfl_use=yes
27236 else
27237 glibcxx_cv_func_modfl_use=no
27239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27240 ac_ext=c
27241 ac_cpp='$CPP $CPPFLAGS'
27242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27251 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27253 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27254 for ac_func in modfl
27255 do :
27256 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27257 if test "x$ac_cv_func_modfl" = xyes; then :
27258 cat >>confdefs.h <<_ACEOF
27259 #define HAVE_MODFL 1
27260 _ACEOF
27263 done
27265 else
27267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27268 $as_echo_n "checking for _modfl declaration... " >&6; }
27269 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27270 if ${glibcxx_cv_func__modfl_use+:} false; then :
27271 $as_echo_n "(cached) " >&6
27272 else
27275 ac_ext=cpp
27276 ac_cpp='$CXXCPP $CPPFLAGS'
27277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27282 /* end confdefs.h. */
27283 #include <math.h>
27285 main ()
27287 _modfl(0, 0);
27289 return 0;
27291 _ACEOF
27292 if ac_fn_cxx_try_compile "$LINENO"; then :
27293 glibcxx_cv_func__modfl_use=yes
27294 else
27295 glibcxx_cv_func__modfl_use=no
27297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27298 ac_ext=c
27299 ac_cpp='$CPP $CPPFLAGS'
27300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27309 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27311 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27312 for ac_func in _modfl
27313 do :
27314 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27315 if test "x$ac_cv_func__modfl" = xyes; then :
27316 cat >>confdefs.h <<_ACEOF
27317 #define HAVE__MODFL 1
27318 _ACEOF
27321 done
27330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27331 $as_echo_n "checking for powl declaration... " >&6; }
27332 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27333 if ${glibcxx_cv_func_powl_use+:} false; then :
27334 $as_echo_n "(cached) " >&6
27335 else
27338 ac_ext=cpp
27339 ac_cpp='$CXXCPP $CPPFLAGS'
27340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27345 /* end confdefs.h. */
27346 #include <math.h>
27348 main ()
27350 powl(0, 0);
27352 return 0;
27354 _ACEOF
27355 if ac_fn_cxx_try_compile "$LINENO"; then :
27356 glibcxx_cv_func_powl_use=yes
27357 else
27358 glibcxx_cv_func_powl_use=no
27360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27361 ac_ext=c
27362 ac_cpp='$CPP $CPPFLAGS'
27363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27372 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27374 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27375 for ac_func in powl
27376 do :
27377 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27378 if test "x$ac_cv_func_powl" = xyes; then :
27379 cat >>confdefs.h <<_ACEOF
27380 #define HAVE_POWL 1
27381 _ACEOF
27384 done
27386 else
27388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27389 $as_echo_n "checking for _powl declaration... " >&6; }
27390 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27391 if ${glibcxx_cv_func__powl_use+:} false; then :
27392 $as_echo_n "(cached) " >&6
27393 else
27396 ac_ext=cpp
27397 ac_cpp='$CXXCPP $CPPFLAGS'
27398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27403 /* end confdefs.h. */
27404 #include <math.h>
27406 main ()
27408 _powl(0, 0);
27410 return 0;
27412 _ACEOF
27413 if ac_fn_cxx_try_compile "$LINENO"; then :
27414 glibcxx_cv_func__powl_use=yes
27415 else
27416 glibcxx_cv_func__powl_use=no
27418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27419 ac_ext=c
27420 ac_cpp='$CPP $CPPFLAGS'
27421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27430 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27432 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27433 for ac_func in _powl
27434 do :
27435 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27436 if test "x$ac_cv_func__powl" = xyes; then :
27437 cat >>confdefs.h <<_ACEOF
27438 #define HAVE__POWL 1
27439 _ACEOF
27442 done
27451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27452 $as_echo_n "checking for sqrtl declaration... " >&6; }
27453 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27454 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
27455 $as_echo_n "(cached) " >&6
27456 else
27459 ac_ext=cpp
27460 ac_cpp='$CXXCPP $CPPFLAGS'
27461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27466 /* end confdefs.h. */
27467 #include <math.h>
27468 #ifdef HAVE_IEEEFP_H
27469 #include <ieeefp.h>
27470 #endif
27473 main ()
27475 sqrtl(0);
27477 return 0;
27479 _ACEOF
27480 if ac_fn_cxx_try_compile "$LINENO"; then :
27481 glibcxx_cv_func_sqrtl_use=yes
27482 else
27483 glibcxx_cv_func_sqrtl_use=no
27485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27486 ac_ext=c
27487 ac_cpp='$CPP $CPPFLAGS'
27488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27497 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27499 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27500 for ac_func in sqrtl
27501 do :
27502 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27503 if test "x$ac_cv_func_sqrtl" = xyes; then :
27504 cat >>confdefs.h <<_ACEOF
27505 #define HAVE_SQRTL 1
27506 _ACEOF
27509 done
27511 else
27513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27514 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27515 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27516 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
27517 $as_echo_n "(cached) " >&6
27518 else
27521 ac_ext=cpp
27522 ac_cpp='$CXXCPP $CPPFLAGS'
27523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27528 /* end confdefs.h. */
27529 #include <math.h>
27530 #ifdef HAVE_IEEEFP_H
27531 #include <ieeefp.h>
27532 #endif
27535 main ()
27537 _sqrtl(0);
27539 return 0;
27541 _ACEOF
27542 if ac_fn_cxx_try_compile "$LINENO"; then :
27543 glibcxx_cv_func__sqrtl_use=yes
27544 else
27545 glibcxx_cv_func__sqrtl_use=no
27547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27548 ac_ext=c
27549 ac_cpp='$CPP $CPPFLAGS'
27550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27559 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27561 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27562 for ac_func in _sqrtl
27563 do :
27564 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27565 if test "x$ac_cv_func__sqrtl" = xyes; then :
27566 cat >>confdefs.h <<_ACEOF
27567 #define HAVE__SQRTL 1
27568 _ACEOF
27571 done
27580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27581 $as_echo_n "checking for sincosl declaration... " >&6; }
27582 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27583 if ${glibcxx_cv_func_sincosl_use+:} false; then :
27584 $as_echo_n "(cached) " >&6
27585 else
27588 ac_ext=cpp
27589 ac_cpp='$CXXCPP $CPPFLAGS'
27590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27595 /* end confdefs.h. */
27596 #include <math.h>
27598 main ()
27600 sincosl(0, 0, 0);
27602 return 0;
27604 _ACEOF
27605 if ac_fn_cxx_try_compile "$LINENO"; then :
27606 glibcxx_cv_func_sincosl_use=yes
27607 else
27608 glibcxx_cv_func_sincosl_use=no
27610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27611 ac_ext=c
27612 ac_cpp='$CPP $CPPFLAGS'
27613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27622 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27624 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27625 for ac_func in sincosl
27626 do :
27627 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27628 if test "x$ac_cv_func_sincosl" = xyes; then :
27629 cat >>confdefs.h <<_ACEOF
27630 #define HAVE_SINCOSL 1
27631 _ACEOF
27634 done
27636 else
27638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27639 $as_echo_n "checking for _sincosl declaration... " >&6; }
27640 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27641 if ${glibcxx_cv_func__sincosl_use+:} false; then :
27642 $as_echo_n "(cached) " >&6
27643 else
27646 ac_ext=cpp
27647 ac_cpp='$CXXCPP $CPPFLAGS'
27648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27653 /* end confdefs.h. */
27654 #include <math.h>
27656 main ()
27658 _sincosl(0, 0, 0);
27660 return 0;
27662 _ACEOF
27663 if ac_fn_cxx_try_compile "$LINENO"; then :
27664 glibcxx_cv_func__sincosl_use=yes
27665 else
27666 glibcxx_cv_func__sincosl_use=no
27668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27669 ac_ext=c
27670 ac_cpp='$CPP $CPPFLAGS'
27671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27680 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27682 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27683 for ac_func in _sincosl
27684 do :
27685 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27686 if test "x$ac_cv_func__sincosl" = xyes; then :
27687 cat >>confdefs.h <<_ACEOF
27688 #define HAVE__SINCOSL 1
27689 _ACEOF
27692 done
27701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27702 $as_echo_n "checking for finitel declaration... " >&6; }
27703 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27704 if ${glibcxx_cv_func_finitel_use+:} false; then :
27705 $as_echo_n "(cached) " >&6
27706 else
27709 ac_ext=cpp
27710 ac_cpp='$CXXCPP $CPPFLAGS'
27711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27716 /* end confdefs.h. */
27717 #include <math.h>
27718 #ifdef HAVE_IEEEFP_H
27719 #include <ieeefp.h>
27720 #endif
27723 main ()
27725 finitel(0);
27727 return 0;
27729 _ACEOF
27730 if ac_fn_cxx_try_compile "$LINENO"; then :
27731 glibcxx_cv_func_finitel_use=yes
27732 else
27733 glibcxx_cv_func_finitel_use=no
27735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27736 ac_ext=c
27737 ac_cpp='$CPP $CPPFLAGS'
27738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27747 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27749 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27750 for ac_func in finitel
27751 do :
27752 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27753 if test "x$ac_cv_func_finitel" = xyes; then :
27754 cat >>confdefs.h <<_ACEOF
27755 #define HAVE_FINITEL 1
27756 _ACEOF
27759 done
27761 else
27763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27764 $as_echo_n "checking for _finitel declaration... " >&6; }
27765 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27766 if ${glibcxx_cv_func__finitel_use+:} false; then :
27767 $as_echo_n "(cached) " >&6
27768 else
27771 ac_ext=cpp
27772 ac_cpp='$CXXCPP $CPPFLAGS'
27773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27778 /* end confdefs.h. */
27779 #include <math.h>
27780 #ifdef HAVE_IEEEFP_H
27781 #include <ieeefp.h>
27782 #endif
27785 main ()
27787 _finitel(0);
27789 return 0;
27791 _ACEOF
27792 if ac_fn_cxx_try_compile "$LINENO"; then :
27793 glibcxx_cv_func__finitel_use=yes
27794 else
27795 glibcxx_cv_func__finitel_use=no
27797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27798 ac_ext=c
27799 ac_cpp='$CPP $CPPFLAGS'
27800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27809 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27811 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27812 for ac_func in _finitel
27813 do :
27814 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27815 if test "x$ac_cv_func__finitel" = xyes; then :
27816 cat >>confdefs.h <<_ACEOF
27817 #define HAVE__FINITEL 1
27818 _ACEOF
27821 done
27829 LIBS="$ac_save_LIBS"
27830 CXXFLAGS="$ac_save_CXXFLAGS"
27833 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27834 ac_save_CXXFLAGS="$CXXFLAGS"
27835 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27839 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27840 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27841 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
27842 $as_echo_n "(cached) " >&6
27843 else
27846 ac_ext=cpp
27847 ac_cpp='$CXXCPP $CPPFLAGS'
27848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27853 /* end confdefs.h. */
27854 #include <stdlib.h>
27856 main ()
27858 at_quick_exit(0);
27860 return 0;
27862 _ACEOF
27863 if ac_fn_cxx_try_compile "$LINENO"; then :
27864 glibcxx_cv_func_at_quick_exit_use=yes
27865 else
27866 glibcxx_cv_func_at_quick_exit_use=no
27868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27869 ac_ext=c
27870 ac_cpp='$CPP $CPPFLAGS'
27871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27880 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27881 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27882 for ac_func in at_quick_exit
27883 do :
27884 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27885 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
27886 cat >>confdefs.h <<_ACEOF
27887 #define HAVE_AT_QUICK_EXIT 1
27888 _ACEOF
27891 done
27896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27897 $as_echo_n "checking for quick_exit declaration... " >&6; }
27898 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27899 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
27900 $as_echo_n "(cached) " >&6
27901 else
27904 ac_ext=cpp
27905 ac_cpp='$CXXCPP $CPPFLAGS'
27906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27911 /* end confdefs.h. */
27912 #include <stdlib.h>
27914 main ()
27916 quick_exit(0);
27918 return 0;
27920 _ACEOF
27921 if ac_fn_cxx_try_compile "$LINENO"; then :
27922 glibcxx_cv_func_quick_exit_use=yes
27923 else
27924 glibcxx_cv_func_quick_exit_use=no
27926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27927 ac_ext=c
27928 ac_cpp='$CPP $CPPFLAGS'
27929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27938 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27939 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27940 for ac_func in quick_exit
27941 do :
27942 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27943 if test "x$ac_cv_func_quick_exit" = xyes; then :
27944 cat >>confdefs.h <<_ACEOF
27945 #define HAVE_QUICK_EXIT 1
27946 _ACEOF
27949 done
27954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27955 $as_echo_n "checking for strtold declaration... " >&6; }
27956 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27957 if ${glibcxx_cv_func_strtold_use+:} false; then :
27958 $as_echo_n "(cached) " >&6
27959 else
27962 ac_ext=cpp
27963 ac_cpp='$CXXCPP $CPPFLAGS'
27964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27969 /* end confdefs.h. */
27970 #include <stdlib.h>
27972 main ()
27974 strtold(0, 0);
27976 return 0;
27978 _ACEOF
27979 if ac_fn_cxx_try_compile "$LINENO"; then :
27980 glibcxx_cv_func_strtold_use=yes
27981 else
27982 glibcxx_cv_func_strtold_use=no
27984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27985 ac_ext=c
27986 ac_cpp='$CPP $CPPFLAGS'
27987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27996 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27997 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27998 for ac_func in strtold
27999 do :
28000 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
28001 if test "x$ac_cv_func_strtold" = xyes; then :
28002 cat >>confdefs.h <<_ACEOF
28003 #define HAVE_STRTOLD 1
28004 _ACEOF
28007 done
28014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
28015 $as_echo_n "checking for strtof declaration... " >&6; }
28016 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28017 if ${glibcxx_cv_func_strtof_use+:} false; then :
28018 $as_echo_n "(cached) " >&6
28019 else
28022 ac_ext=cpp
28023 ac_cpp='$CXXCPP $CPPFLAGS'
28024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28029 /* end confdefs.h. */
28030 #include <stdlib.h>
28032 main ()
28034 strtof(0, 0);
28036 return 0;
28038 _ACEOF
28039 if ac_fn_cxx_try_compile "$LINENO"; then :
28040 glibcxx_cv_func_strtof_use=yes
28041 else
28042 glibcxx_cv_func_strtof_use=no
28044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28045 ac_ext=c
28046 ac_cpp='$CPP $CPPFLAGS'
28047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28056 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28057 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28058 for ac_func in strtof
28059 do :
28060 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28061 if test "x$ac_cv_func_strtof" = xyes; then :
28062 cat >>confdefs.h <<_ACEOF
28063 #define HAVE_STRTOF 1
28064 _ACEOF
28067 done
28074 CXXFLAGS="$ac_save_CXXFLAGS"
28077 # For /dev/random and /dev/urandom for std::random_device.
28080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28081 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28082 if ${glibcxx_cv_dev_random+:} false; then :
28083 $as_echo_n "(cached) " >&6
28084 else
28086 if test -r /dev/random && test -r /dev/urandom; then
28087 ## For MSys environment the test above is detected as false-positive
28088 ## on mingw-targets. So disable it explicitly for them.
28089 case ${target_os} in
28090 *mingw*) glibcxx_cv_dev_random=no ;;
28091 *) glibcxx_cv_dev_random=yes ;;
28092 esac
28093 else
28094 glibcxx_cv_dev_random=no;
28099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28100 $as_echo "$glibcxx_cv_dev_random" >&6; }
28102 if test x"$glibcxx_cv_dev_random" = x"yes"; then
28104 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28107 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28113 # For TLS support.
28116 # Check whether --enable-tls was given.
28117 if test "${enable_tls+set}" = set; then :
28118 enableval=$enable_tls;
28119 case "$enableval" in
28120 yes|no) ;;
28121 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28122 esac
28124 else
28125 enable_tls=yes
28129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28130 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28131 if ${gcc_cv_have_tls+:} false; then :
28132 $as_echo_n "(cached) " >&6
28133 else
28135 if test "$cross_compiling" = yes; then :
28136 if test x$gcc_no_link = xyes; then
28137 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28140 /* end confdefs.h. */
28141 __thread int a; int b; int main() { return a = b; }
28142 _ACEOF
28143 if ac_fn_c_try_link "$LINENO"; then :
28144 chktls_save_LDFLAGS="$LDFLAGS"
28145 case $host in
28146 *-*-linux*)
28147 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28149 esac
28150 chktls_save_CFLAGS="$CFLAGS"
28151 CFLAGS="-fPIC $CFLAGS"
28152 if test x$gcc_no_link = xyes; then
28153 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28156 /* end confdefs.h. */
28157 int f() { return 0; }
28158 _ACEOF
28159 if ac_fn_c_try_link "$LINENO"; then :
28160 if test x$gcc_no_link = xyes; then
28161 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28164 /* end confdefs.h. */
28165 __thread int a; int b; int f() { return a = b; }
28166 _ACEOF
28167 if ac_fn_c_try_link "$LINENO"; then :
28168 gcc_cv_have_tls=yes
28169 else
28170 gcc_cv_have_tls=no
28172 rm -f core conftest.err conftest.$ac_objext \
28173 conftest$ac_exeext conftest.$ac_ext
28174 else
28175 gcc_cv_have_tls=yes
28177 rm -f core conftest.err conftest.$ac_objext \
28178 conftest$ac_exeext conftest.$ac_ext
28179 CFLAGS="$chktls_save_CFLAGS"
28180 LDFLAGS="$chktls_save_LDFLAGS"
28181 else
28182 gcc_cv_have_tls=no
28184 rm -f core conftest.err conftest.$ac_objext \
28185 conftest$ac_exeext conftest.$ac_ext
28188 else
28189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28190 /* end confdefs.h. */
28191 __thread int a; int b; int main() { return a = b; }
28192 _ACEOF
28193 if ac_fn_c_try_run "$LINENO"; then :
28194 chktls_save_LDFLAGS="$LDFLAGS"
28195 LDFLAGS="-static $LDFLAGS"
28196 if test x$gcc_no_link = xyes; then
28197 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28200 /* end confdefs.h. */
28201 int main() { return 0; }
28202 _ACEOF
28203 if ac_fn_c_try_link "$LINENO"; then :
28204 if test "$cross_compiling" = yes; then :
28205 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28207 as_fn_error $? "cannot run test program while cross compiling
28208 See \`config.log' for more details" "$LINENO" 5; }
28209 else
28210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28211 /* end confdefs.h. */
28212 __thread int a; int b; int main() { return a = b; }
28213 _ACEOF
28214 if ac_fn_c_try_run "$LINENO"; then :
28215 gcc_cv_have_tls=yes
28216 else
28217 gcc_cv_have_tls=no
28219 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28220 conftest.$ac_objext conftest.beam conftest.$ac_ext
28223 else
28224 gcc_cv_have_tls=yes
28226 rm -f core conftest.err conftest.$ac_objext \
28227 conftest$ac_exeext conftest.$ac_ext
28228 LDFLAGS="$chktls_save_LDFLAGS"
28229 if test $gcc_cv_have_tls = yes; then
28230 chktls_save_CFLAGS="$CFLAGS"
28231 thread_CFLAGS=failed
28232 for flag in '' '-pthread' '-lpthread'; do
28233 CFLAGS="$flag $chktls_save_CFLAGS"
28234 if test x$gcc_no_link = xyes; then
28235 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28238 /* end confdefs.h. */
28239 #include <pthread.h>
28240 void *g(void *d) { return NULL; }
28242 main ()
28244 pthread_t t; pthread_create(&t,NULL,g,NULL);
28246 return 0;
28248 _ACEOF
28249 if ac_fn_c_try_link "$LINENO"; then :
28250 thread_CFLAGS="$flag"
28252 rm -f core conftest.err conftest.$ac_objext \
28253 conftest$ac_exeext conftest.$ac_ext
28254 if test "X$thread_CFLAGS" != Xfailed; then
28255 break
28257 done
28258 CFLAGS="$chktls_save_CFLAGS"
28259 if test "X$thread_CFLAGS" != Xfailed; then
28260 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28261 if test "$cross_compiling" = yes; then :
28262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28264 as_fn_error $? "cannot run test program while cross compiling
28265 See \`config.log' for more details" "$LINENO" 5; }
28266 else
28267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28268 /* end confdefs.h. */
28269 #include <pthread.h>
28270 __thread int a;
28271 static int *volatile a_in_other_thread;
28272 static void *
28273 thread_func (void *arg)
28275 a_in_other_thread = &a;
28276 return (void *)0;
28279 main ()
28281 pthread_t thread;
28282 void *thread_retval;
28283 int *volatile a_in_main_thread;
28284 a_in_main_thread = &a;
28285 if (pthread_create (&thread, (pthread_attr_t *)0,
28286 thread_func, (void *)0))
28287 return 0;
28288 if (pthread_join (thread, &thread_retval))
28289 return 0;
28290 return (a_in_other_thread == a_in_main_thread);
28292 return 0;
28294 _ACEOF
28295 if ac_fn_c_try_run "$LINENO"; then :
28296 gcc_cv_have_tls=yes
28297 else
28298 gcc_cv_have_tls=no
28300 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28301 conftest.$ac_objext conftest.beam conftest.$ac_ext
28304 CFLAGS="$chktls_save_CFLAGS"
28307 else
28308 gcc_cv_have_tls=no
28310 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28311 conftest.$ac_objext conftest.beam conftest.$ac_ext
28315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28316 $as_echo "$gcc_cv_have_tls" >&6; }
28317 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28319 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28323 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28324 do :
28325 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28326 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28327 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28328 cat >>confdefs.h <<_ACEOF
28329 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28330 _ACEOF
28333 done
28335 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28336 do :
28337 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28338 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28339 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28340 cat >>confdefs.h <<_ACEOF
28341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28342 _ACEOF
28345 done
28347 for ac_func in _wfopen
28348 do :
28349 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28350 if test "x$ac_cv_func__wfopen" = xyes; then :
28351 cat >>confdefs.h <<_ACEOF
28352 #define HAVE__WFOPEN 1
28353 _ACEOF
28356 done
28359 # For iconv support.
28361 if test "X$prefix" = "XNONE"; then
28362 acl_final_prefix="$ac_default_prefix"
28363 else
28364 acl_final_prefix="$prefix"
28366 if test "X$exec_prefix" = "XNONE"; then
28367 acl_final_exec_prefix='${prefix}'
28368 else
28369 acl_final_exec_prefix="$exec_prefix"
28371 acl_save_prefix="$prefix"
28372 prefix="$acl_final_prefix"
28373 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28374 prefix="$acl_save_prefix"
28377 # Check whether --with-gnu-ld was given.
28378 if test "${with_gnu_ld+set}" = set; then :
28379 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28380 else
28381 with_gnu_ld=no
28384 # Prepare PATH_SEPARATOR.
28385 # The user is always right.
28386 if test "${PATH_SEPARATOR+set}" != set; then
28387 echo "#! /bin/sh" >conf$$.sh
28388 echo "exit 0" >>conf$$.sh
28389 chmod +x conf$$.sh
28390 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28391 PATH_SEPARATOR=';'
28392 else
28393 PATH_SEPARATOR=:
28395 rm -f conf$$.sh
28397 ac_prog=ld
28398 if test "$GCC" = yes; then
28399 # Check if gcc -print-prog-name=ld gives a path.
28400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28401 $as_echo_n "checking for ld used by GCC... " >&6; }
28402 case $host in
28403 *-*-mingw*)
28404 # gcc leaves a trailing carriage return which upsets mingw
28405 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28407 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28408 esac
28409 case $ac_prog in
28410 # Accept absolute paths.
28411 [\\/]* | [A-Za-z]:[\\/]*)
28412 re_direlt='/[^/][^/]*/\.\./'
28413 # Canonicalize the path of ld
28414 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28415 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28416 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28417 done
28418 test -z "$LD" && LD="$ac_prog"
28421 # If it fails, then pretend we aren't using GCC.
28422 ac_prog=ld
28425 # If it is relative, then search for the first ld in PATH.
28426 with_gnu_ld=unknown
28428 esac
28429 elif test "$with_gnu_ld" = yes; then
28430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28431 $as_echo_n "checking for GNU ld... " >&6; }
28432 else
28433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28434 $as_echo_n "checking for non-GNU ld... " >&6; }
28436 if ${acl_cv_path_LD+:} false; then :
28437 $as_echo_n "(cached) " >&6
28438 else
28439 if test -z "$LD"; then
28440 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28441 for ac_dir in $PATH; do
28442 test -z "$ac_dir" && ac_dir=.
28443 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28444 acl_cv_path_LD="$ac_dir/$ac_prog"
28445 # Check to see if the program is GNU ld. I'd rather use --version,
28446 # but apparently some GNU ld's only accept -v.
28447 # Break only if it was the GNU/non-GNU ld that we prefer.
28448 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28449 test "$with_gnu_ld" != no && break
28450 else
28451 test "$with_gnu_ld" != yes && break
28454 done
28455 IFS="$ac_save_ifs"
28456 else
28457 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28461 LD="$acl_cv_path_LD"
28462 if test -n "$LD"; then
28463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28464 $as_echo "$LD" >&6; }
28465 else
28466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28467 $as_echo "no" >&6; }
28469 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
28470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28471 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28472 if ${acl_cv_prog_gnu_ld+:} false; then :
28473 $as_echo_n "(cached) " >&6
28474 else
28475 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28476 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28477 acl_cv_prog_gnu_ld=yes
28478 else
28479 acl_cv_prog_gnu_ld=no
28482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28483 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28484 with_gnu_ld=$acl_cv_prog_gnu_ld
28488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28489 $as_echo_n "checking for shared library run path origin... " >&6; }
28490 if ${acl_cv_rpath+:} false; then :
28491 $as_echo_n "(cached) " >&6
28492 else
28494 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28495 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28496 . ./conftest.sh
28497 rm -f ./conftest.sh
28498 acl_cv_rpath=done
28501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28502 $as_echo "$acl_cv_rpath" >&6; }
28503 wl="$acl_cv_wl"
28504 libext="$acl_cv_libext"
28505 shlibext="$acl_cv_shlibext"
28506 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28507 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28508 hardcode_direct="$acl_cv_hardcode_direct"
28509 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28510 # Check whether --enable-rpath was given.
28511 if test "${enable_rpath+set}" = set; then :
28512 enableval=$enable_rpath; :
28513 else
28514 enable_rpath=yes
28524 use_additional=yes
28526 acl_save_prefix="$prefix"
28527 prefix="$acl_final_prefix"
28528 acl_save_exec_prefix="$exec_prefix"
28529 exec_prefix="$acl_final_exec_prefix"
28531 eval additional_includedir=\"$includedir\"
28532 eval additional_libdir=\"$libdir\"
28534 exec_prefix="$acl_save_exec_prefix"
28535 prefix="$acl_save_prefix"
28538 # Check whether --with-libiconv-prefix was given.
28539 if test "${with_libiconv_prefix+set}" = set; then :
28540 withval=$with_libiconv_prefix;
28541 if test "X$withval" = "Xno"; then
28542 use_additional=no
28543 else
28544 if test "X$withval" = "X"; then
28546 acl_save_prefix="$prefix"
28547 prefix="$acl_final_prefix"
28548 acl_save_exec_prefix="$exec_prefix"
28549 exec_prefix="$acl_final_exec_prefix"
28551 eval additional_includedir=\"$includedir\"
28552 eval additional_libdir=\"$libdir\"
28554 exec_prefix="$acl_save_exec_prefix"
28555 prefix="$acl_save_prefix"
28557 else
28558 additional_includedir="$withval/include"
28559 additional_libdir="$withval/lib"
28565 LIBICONV=
28566 LTLIBICONV=
28567 INCICONV=
28568 rpathdirs=
28569 ltrpathdirs=
28570 names_already_handled=
28571 names_next_round='iconv '
28572 while test -n "$names_next_round"; do
28573 names_this_round="$names_next_round"
28574 names_next_round=
28575 for name in $names_this_round; do
28576 already_handled=
28577 for n in $names_already_handled; do
28578 if test "$n" = "$name"; then
28579 already_handled=yes
28580 break
28582 done
28583 if test -z "$already_handled"; then
28584 names_already_handled="$names_already_handled $name"
28585 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28586 eval value=\"\$HAVE_LIB$uppername\"
28587 if test -n "$value"; then
28588 if test "$value" = yes; then
28589 eval value=\"\$LIB$uppername\"
28590 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28591 eval value=\"\$LTLIB$uppername\"
28592 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28593 else
28596 else
28597 found_dir=
28598 found_la=
28599 found_so=
28600 found_a=
28601 if test $use_additional = yes; then
28602 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28603 found_dir="$additional_libdir"
28604 found_so="$additional_libdir/lib$name.$shlibext"
28605 if test -f "$additional_libdir/lib$name.la"; then
28606 found_la="$additional_libdir/lib$name.la"
28608 else
28609 if test -f "$additional_libdir/lib$name.$libext"; then
28610 found_dir="$additional_libdir"
28611 found_a="$additional_libdir/lib$name.$libext"
28612 if test -f "$additional_libdir/lib$name.la"; then
28613 found_la="$additional_libdir/lib$name.la"
28618 if test "X$found_dir" = "X"; then
28619 for x in $LDFLAGS $LTLIBICONV; do
28621 acl_save_prefix="$prefix"
28622 prefix="$acl_final_prefix"
28623 acl_save_exec_prefix="$exec_prefix"
28624 exec_prefix="$acl_final_exec_prefix"
28625 eval x=\"$x\"
28626 exec_prefix="$acl_save_exec_prefix"
28627 prefix="$acl_save_prefix"
28629 case "$x" in
28630 -L*)
28631 dir=`echo "X$x" | sed -e 's/^X-L//'`
28632 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28633 found_dir="$dir"
28634 found_so="$dir/lib$name.$shlibext"
28635 if test -f "$dir/lib$name.la"; then
28636 found_la="$dir/lib$name.la"
28638 else
28639 if test -f "$dir/lib$name.$libext"; then
28640 found_dir="$dir"
28641 found_a="$dir/lib$name.$libext"
28642 if test -f "$dir/lib$name.la"; then
28643 found_la="$dir/lib$name.la"
28648 esac
28649 if test "X$found_dir" != "X"; then
28650 break
28652 done
28654 if test "X$found_dir" != "X"; then
28655 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28656 if test "X$found_so" != "X"; then
28657 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28658 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28659 else
28660 haveit=
28661 for x in $ltrpathdirs; do
28662 if test "X$x" = "X$found_dir"; then
28663 haveit=yes
28664 break
28666 done
28667 if test -z "$haveit"; then
28668 ltrpathdirs="$ltrpathdirs $found_dir"
28670 if test "$hardcode_direct" = yes; then
28671 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28672 else
28673 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28674 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28675 haveit=
28676 for x in $rpathdirs; do
28677 if test "X$x" = "X$found_dir"; then
28678 haveit=yes
28679 break
28681 done
28682 if test -z "$haveit"; then
28683 rpathdirs="$rpathdirs $found_dir"
28685 else
28686 haveit=
28687 for x in $LDFLAGS $LIBICONV; do
28689 acl_save_prefix="$prefix"
28690 prefix="$acl_final_prefix"
28691 acl_save_exec_prefix="$exec_prefix"
28692 exec_prefix="$acl_final_exec_prefix"
28693 eval x=\"$x\"
28694 exec_prefix="$acl_save_exec_prefix"
28695 prefix="$acl_save_prefix"
28697 if test "X$x" = "X-L$found_dir"; then
28698 haveit=yes
28699 break
28701 done
28702 if test -z "$haveit"; then
28703 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28705 if test "$hardcode_minus_L" != no; then
28706 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28707 else
28708 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28713 else
28714 if test "X$found_a" != "X"; then
28715 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28716 else
28717 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28720 additional_includedir=
28721 case "$found_dir" in
28722 */lib | */lib/)
28723 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28724 additional_includedir="$basedir/include"
28726 esac
28727 if test "X$additional_includedir" != "X"; then
28728 if test "X$additional_includedir" != "X/usr/include"; then
28729 haveit=
28730 if test "X$additional_includedir" = "X/usr/local/include"; then
28731 if test -n "$GCC"; then
28732 case $host_os in
28733 linux*) haveit=yes;;
28734 esac
28737 if test -z "$haveit"; then
28738 for x in $CPPFLAGS $INCICONV; do
28740 acl_save_prefix="$prefix"
28741 prefix="$acl_final_prefix"
28742 acl_save_exec_prefix="$exec_prefix"
28743 exec_prefix="$acl_final_exec_prefix"
28744 eval x=\"$x\"
28745 exec_prefix="$acl_save_exec_prefix"
28746 prefix="$acl_save_prefix"
28748 if test "X$x" = "X-I$additional_includedir"; then
28749 haveit=yes
28750 break
28752 done
28753 if test -z "$haveit"; then
28754 if test -d "$additional_includedir"; then
28755 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28761 if test -n "$found_la"; then
28762 save_libdir="$libdir"
28763 case "$found_la" in
28764 */* | *\\*) . "$found_la" ;;
28765 *) . "./$found_la" ;;
28766 esac
28767 libdir="$save_libdir"
28768 for dep in $dependency_libs; do
28769 case "$dep" in
28770 -L*)
28771 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28772 if test "X$additional_libdir" != "X/usr/lib"; then
28773 haveit=
28774 if test "X$additional_libdir" = "X/usr/local/lib"; then
28775 if test -n "$GCC"; then
28776 case $host_os in
28777 linux*) haveit=yes;;
28778 esac
28781 if test -z "$haveit"; then
28782 haveit=
28783 for x in $LDFLAGS $LIBICONV; do
28785 acl_save_prefix="$prefix"
28786 prefix="$acl_final_prefix"
28787 acl_save_exec_prefix="$exec_prefix"
28788 exec_prefix="$acl_final_exec_prefix"
28789 eval x=\"$x\"
28790 exec_prefix="$acl_save_exec_prefix"
28791 prefix="$acl_save_prefix"
28793 if test "X$x" = "X-L$additional_libdir"; then
28794 haveit=yes
28795 break
28797 done
28798 if test -z "$haveit"; then
28799 if test -d "$additional_libdir"; then
28800 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28803 haveit=
28804 for x in $LDFLAGS $LTLIBICONV; do
28806 acl_save_prefix="$prefix"
28807 prefix="$acl_final_prefix"
28808 acl_save_exec_prefix="$exec_prefix"
28809 exec_prefix="$acl_final_exec_prefix"
28810 eval x=\"$x\"
28811 exec_prefix="$acl_save_exec_prefix"
28812 prefix="$acl_save_prefix"
28814 if test "X$x" = "X-L$additional_libdir"; then
28815 haveit=yes
28816 break
28818 done
28819 if test -z "$haveit"; then
28820 if test -d "$additional_libdir"; then
28821 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28827 -R*)
28828 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28829 if test "$enable_rpath" != no; then
28830 haveit=
28831 for x in $rpathdirs; do
28832 if test "X$x" = "X$dir"; then
28833 haveit=yes
28834 break
28836 done
28837 if test -z "$haveit"; then
28838 rpathdirs="$rpathdirs $dir"
28840 haveit=
28841 for x in $ltrpathdirs; do
28842 if test "X$x" = "X$dir"; then
28843 haveit=yes
28844 break
28846 done
28847 if test -z "$haveit"; then
28848 ltrpathdirs="$ltrpathdirs $dir"
28852 -l*)
28853 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28855 *.la)
28856 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28859 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28860 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28862 esac
28863 done
28865 else
28866 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28867 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28871 done
28872 done
28873 if test "X$rpathdirs" != "X"; then
28874 if test -n "$hardcode_libdir_separator"; then
28875 alldirs=
28876 for found_dir in $rpathdirs; do
28877 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28878 done
28879 acl_save_libdir="$libdir"
28880 libdir="$alldirs"
28881 eval flag=\"$hardcode_libdir_flag_spec\"
28882 libdir="$acl_save_libdir"
28883 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28884 else
28885 for found_dir in $rpathdirs; do
28886 acl_save_libdir="$libdir"
28887 libdir="$found_dir"
28888 eval flag=\"$hardcode_libdir_flag_spec\"
28889 libdir="$acl_save_libdir"
28890 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28891 done
28894 if test "X$ltrpathdirs" != "X"; then
28895 for found_dir in $ltrpathdirs; do
28896 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28897 done
28906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28907 $as_echo_n "checking for iconv... " >&6; }
28908 if ${am_cv_func_iconv+:} false; then :
28909 $as_echo_n "(cached) " >&6
28910 else
28912 am_cv_func_iconv="no, consider installing GNU libiconv"
28913 am_cv_lib_iconv=no
28914 am_save_CPPFLAGS="$CPPFLAGS"
28915 CPPFLAGS="$CPPFLAGS $INCICONV"
28916 if test x$gcc_no_link = xyes; then
28917 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28920 /* end confdefs.h. */
28921 #include <stdlib.h>
28922 #include <iconv.h>
28924 main ()
28926 iconv_t cd = iconv_open("","");
28927 iconv(cd,NULL,NULL,NULL,NULL);
28928 iconv_close(cd);
28930 return 0;
28932 _ACEOF
28933 if ac_fn_c_try_link "$LINENO"; then :
28934 am_cv_func_iconv=yes
28936 rm -f core conftest.err conftest.$ac_objext \
28937 conftest$ac_exeext conftest.$ac_ext
28938 CPPFLAGS="$am_save_CPPFLAGS"
28940 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28941 for _libs in .libs _libs; do
28942 am_save_CPPFLAGS="$CPPFLAGS"
28943 am_save_LIBS="$LIBS"
28944 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28945 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28946 if test x$gcc_no_link = xyes; then
28947 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28950 /* end confdefs.h. */
28951 #include <stdlib.h>
28952 #include <iconv.h>
28954 main ()
28956 iconv_t cd = iconv_open("","");
28957 iconv(cd,NULL,NULL,NULL,NULL);
28958 iconv_close(cd);
28960 return 0;
28962 _ACEOF
28963 if ac_fn_c_try_link "$LINENO"; then :
28964 INCICONV="-I../libiconv/include"
28965 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28966 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28967 am_cv_lib_iconv=yes
28968 am_cv_func_iconv=yes
28970 rm -f core conftest.err conftest.$ac_objext \
28971 conftest$ac_exeext conftest.$ac_ext
28972 CPPFLAGS="$am_save_CPPFLAGS"
28973 LIBS="$am_save_LIBS"
28974 if test "$am_cv_func_iconv" = "yes"; then
28975 break
28977 done
28980 if test "$am_cv_func_iconv" != yes; then
28981 am_save_CPPFLAGS="$CPPFLAGS"
28982 am_save_LIBS="$LIBS"
28983 CPPFLAGS="$CPPFLAGS $INCICONV"
28984 LIBS="$LIBS $LIBICONV"
28985 if test x$gcc_no_link = xyes; then
28986 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28989 /* end confdefs.h. */
28990 #include <stdlib.h>
28991 #include <iconv.h>
28993 main ()
28995 iconv_t cd = iconv_open("","");
28996 iconv(cd,NULL,NULL,NULL,NULL);
28997 iconv_close(cd);
28999 return 0;
29001 _ACEOF
29002 if ac_fn_c_try_link "$LINENO"; then :
29003 am_cv_lib_iconv=yes
29004 am_cv_func_iconv=yes
29006 rm -f core conftest.err conftest.$ac_objext \
29007 conftest$ac_exeext conftest.$ac_ext
29008 CPPFLAGS="$am_save_CPPFLAGS"
29009 LIBS="$am_save_LIBS"
29013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29014 $as_echo "$am_cv_func_iconv" >&6; }
29015 if test "$am_cv_func_iconv" = yes; then
29017 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29020 if test "$am_cv_lib_iconv" = yes; then
29022 for element in $INCICONV; do
29023 haveit=
29024 for x in $CPPFLAGS; do
29026 acl_save_prefix="$prefix"
29027 prefix="$acl_final_prefix"
29028 acl_save_exec_prefix="$exec_prefix"
29029 exec_prefix="$acl_final_exec_prefix"
29030 eval x=\"$x\"
29031 exec_prefix="$acl_save_exec_prefix"
29032 prefix="$acl_save_prefix"
29034 if test "X$x" = "X$element"; then
29035 haveit=yes
29036 break
29038 done
29039 if test -z "$haveit"; then
29040 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29042 done
29044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29045 $as_echo_n "checking how to link with libiconv... " >&6; }
29046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29047 $as_echo "$LIBICONV" >&6; }
29048 else
29049 LIBICONV=
29050 LTLIBICONV=
29055 if test "$am_cv_func_iconv" = yes; then
29056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29057 $as_echo_n "checking for iconv declaration... " >&6; }
29058 if ${am_cv_proto_iconv+:} false; then :
29059 $as_echo_n "(cached) " >&6
29060 else
29062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29063 /* end confdefs.h. */
29065 #include <stdlib.h>
29066 #include <iconv.h>
29067 extern
29068 #ifdef __cplusplus
29070 #endif
29071 #if defined(__STDC__) || defined(__cplusplus)
29072 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29073 #else
29074 size_t iconv();
29075 #endif
29078 main ()
29082 return 0;
29084 _ACEOF
29085 if ac_fn_c_try_compile "$LINENO"; then :
29086 am_cv_proto_iconv_arg1=""
29087 else
29088 am_cv_proto_iconv_arg1="const"
29090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29091 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
29094 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29096 }$am_cv_proto_iconv" >&5
29097 $as_echo "${ac_t:-
29098 }$am_cv_proto_iconv" >&6; }
29100 cat >>confdefs.h <<_ACEOF
29101 #define ICONV_CONST $am_cv_proto_iconv_arg1
29102 _ACEOF
29107 else
29109 # This lets us hard-code the functionality we know we'll have in the cross
29110 # target environment. "Let" is a sugar-coated word placed on an especially
29111 # dull and tedious hack, actually.
29113 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29114 # that involve linking, can't be used:
29115 # "cannot open sim-crt0.o"
29116 # "cannot open crt0.o"
29117 # etc. All this is because there currently exists no unified, consistent
29118 # way for top level CC information to be passed down to target directories:
29119 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29120 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29121 # crosses can be removed.
29123 # If Canadian cross, then don't pick up tools from the build directory.
29124 # Used only in GLIBCXX_EXPORT_INCLUDES.
29125 if test -n "$with_cross_host" &&
29126 test x"$build_alias" != x"$with_cross_host" &&
29127 test x"$build" != x"$target";
29128 then
29129 CANADIAN=yes
29130 else
29131 CANADIAN=no
29134 # Construct crosses by hand, eliminating bits that need ld...
29135 # GLIBCXX_CHECK_MATH_SUPPORT
29137 # First, test for "known" system libraries. We may be using newlib even
29138 # on a hosted environment.
29139 if test "x${with_newlib}" = "xyes"; then
29140 os_include_dir="os/newlib"
29141 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29144 # GLIBCXX_CHECK_STDLIB_SUPPORT
29145 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29148 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29150 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29152 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29154 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29156 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29158 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29160 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29162 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29164 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29166 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29168 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29170 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29172 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29174 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29176 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29178 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29180 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29182 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29184 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29186 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29188 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29190 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29193 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29195 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29197 else
29199 # Base decisions on target environment.
29200 case "${host}" in
29201 arm*-*-symbianelf*)
29202 # This is a freestanding configuration; there is nothing to do here.
29205 avr*-*-*)
29206 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29208 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29210 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29212 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29214 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29216 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29218 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29220 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29222 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29224 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29226 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29228 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29230 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29232 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29234 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29236 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29238 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29240 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29242 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29244 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29246 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29248 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29250 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29254 mips*-sde-elf*)
29255 # These definitions are for the SDE C library rather than newlib.
29256 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29259 # All these tests are for C++; save the language and the compiler flags.
29260 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29261 # found in GLIBCXX_CONFIGURE.
29263 ac_ext=cpp
29264 ac_cpp='$CXXCPP $CPPFLAGS'
29265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29269 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29270 ac_save_CXXFLAGS="$CXXFLAGS"
29272 # Check for -ffunction-sections -fdata-sections
29273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29274 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29275 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29277 /* end confdefs.h. */
29278 int foo; void bar() { };
29280 main ()
29284 return 0;
29286 _ACEOF
29287 if ac_fn_cxx_try_compile "$LINENO"; then :
29288 ac_fdsections=yes
29289 else
29290 ac_fdsections=no
29292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29293 if test "$ac_test_CXXFLAGS" = set; then
29294 CXXFLAGS="$ac_save_CXXFLAGS"
29295 else
29296 # this is the suspicious part
29297 CXXFLAGS=''
29299 if test x"$ac_fdsections" = x"yes"; then
29300 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29303 $as_echo "$ac_fdsections" >&6; }
29305 ac_ext=c
29306 ac_cpp='$CPP $CPPFLAGS'
29307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29314 # If we're not using GNU ld, then there's no point in even trying these
29315 # tests. Check for that first. We should have already tested for gld
29316 # by now (in libtool), but require it now just to be safe...
29317 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29318 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29322 # The name set by libtool depends on the version of libtool. Shame on us
29323 # for depending on an impl detail, but c'est la vie. Older versions used
29324 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29325 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29326 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29327 # set (hence we're using an older libtool), then set it.
29328 if test x${with_gnu_ld+set} != xset; then
29329 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29330 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29331 with_gnu_ld=no
29332 else
29333 with_gnu_ld=$ac_cv_prog_gnu_ld
29337 # Start by getting the version number. I think the libtool test already
29338 # does some of this, but throws away the result.
29339 glibcxx_ld_is_gold=no
29340 if test x"$with_gnu_ld" = x"yes"; then
29341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29342 $as_echo_n "checking for ld version... " >&6; }
29344 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29345 glibcxx_ld_is_gold=yes
29347 ldver=`$LD --version 2>/dev/null |
29348 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
29350 glibcxx_gnu_ld_version=`echo $ldver | \
29351 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29353 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29356 # Set --gc-sections.
29357 glibcxx_have_gc_sections=no
29358 if test "$glibcxx_ld_is_gold" = "yes"; then
29359 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29360 glibcxx_have_gc_sections=yes
29362 else
29363 glibcxx_gcsections_min_ld=21602
29364 if test x"$with_gnu_ld" = x"yes" &&
29365 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29366 glibcxx_have_gc_sections=yes
29369 if test "$glibcxx_have_gc_sections" = "yes"; then
29370 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29371 # NB: This flag only works reliably after 2.16.1. Configure tests
29372 # for this are difficult, so hard wire a value that should work.
29374 ac_test_CFLAGS="${CFLAGS+set}"
29375 ac_save_CFLAGS="$CFLAGS"
29376 CFLAGS='-Wl,--gc-sections'
29378 # Check for -Wl,--gc-sections
29379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29380 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29381 if test x$gcc_no_link = xyes; then
29382 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29385 /* end confdefs.h. */
29386 int one(void) { return 1; }
29387 int two(void) { return 2; }
29390 main ()
29392 two();
29394 return 0;
29396 _ACEOF
29397 if ac_fn_c_try_link "$LINENO"; then :
29398 ac_gcsections=yes
29399 else
29400 ac_gcsections=no
29402 rm -f core conftest.err conftest.$ac_objext \
29403 conftest$ac_exeext conftest.$ac_ext
29404 if test "$ac_gcsections" = "yes"; then
29405 rm -f conftest.c
29406 touch conftest.c
29407 if $CC -c conftest.c; then
29408 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29409 grep "Warning: gc-sections option ignored" > /dev/null; then
29410 ac_gcsections=no
29413 rm -f conftest.c conftest.o conftest
29415 if test "$ac_gcsections" = "yes"; then
29416 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29419 $as_echo "$ac_gcsections" >&6; }
29421 if test "$ac_test_CFLAGS" = set; then
29422 CFLAGS="$ac_save_CFLAGS"
29423 else
29424 # this is the suspicious part
29425 CFLAGS=''
29429 # Set -z,relro.
29430 # Note this is only for shared objects.
29431 ac_ld_relro=no
29432 if test x"$with_gnu_ld" = x"yes"; then
29433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29434 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29435 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29436 if test -n "$cxx_z_relo"; then
29437 OPT_LDFLAGS="-Wl,-z,relro"
29438 ac_ld_relro=yes
29440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29441 $as_echo "$ac_ld_relro" >&6; }
29444 # Set linker optimization flags.
29445 if test x"$with_gnu_ld" = x"yes"; then
29446 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29453 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29454 ac_save_CXXFLAGS="$CXXFLAGS"
29455 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29458 $as_echo_n "checking for sin in -lm... " >&6; }
29459 if ${ac_cv_lib_m_sin+:} false; then :
29460 $as_echo_n "(cached) " >&6
29461 else
29462 ac_check_lib_save_LIBS=$LIBS
29463 LIBS="-lm $LIBS"
29464 if test x$gcc_no_link = xyes; then
29465 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29468 /* end confdefs.h. */
29470 /* Override any GCC internal prototype to avoid an error.
29471 Use char because int might match the return type of a GCC
29472 builtin and then its argument prototype would still apply. */
29473 #ifdef __cplusplus
29474 extern "C"
29475 #endif
29476 char sin ();
29478 main ()
29480 return sin ();
29482 return 0;
29484 _ACEOF
29485 if ac_fn_c_try_link "$LINENO"; then :
29486 ac_cv_lib_m_sin=yes
29487 else
29488 ac_cv_lib_m_sin=no
29490 rm -f core conftest.err conftest.$ac_objext \
29491 conftest$ac_exeext conftest.$ac_ext
29492 LIBS=$ac_check_lib_save_LIBS
29494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29495 $as_echo "$ac_cv_lib_m_sin" >&6; }
29496 if test "x$ac_cv_lib_m_sin" = xyes; then :
29497 libm="-lm"
29500 ac_save_LIBS="$LIBS"
29501 LIBS="$LIBS $libm"
29505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29506 $as_echo_n "checking for isinf declaration... " >&6; }
29507 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29508 if ${glibcxx_cv_func_isinf_use+:} false; then :
29509 $as_echo_n "(cached) " >&6
29510 else
29513 ac_ext=cpp
29514 ac_cpp='$CXXCPP $CPPFLAGS'
29515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29520 /* end confdefs.h. */
29521 #include <math.h>
29522 #ifdef HAVE_IEEEFP_H
29523 #include <ieeefp.h>
29524 #endif
29527 main ()
29529 isinf(0);
29531 return 0;
29533 _ACEOF
29534 if ac_fn_cxx_try_compile "$LINENO"; then :
29535 glibcxx_cv_func_isinf_use=yes
29536 else
29537 glibcxx_cv_func_isinf_use=no
29539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29540 ac_ext=c
29541 ac_cpp='$CPP $CPPFLAGS'
29542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29551 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29553 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29554 for ac_func in isinf
29555 do :
29556 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29557 if test "x$ac_cv_func_isinf" = xyes; then :
29558 cat >>confdefs.h <<_ACEOF
29559 #define HAVE_ISINF 1
29560 _ACEOF
29563 done
29565 else
29567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29568 $as_echo_n "checking for _isinf declaration... " >&6; }
29569 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29570 if ${glibcxx_cv_func__isinf_use+:} false; then :
29571 $as_echo_n "(cached) " >&6
29572 else
29575 ac_ext=cpp
29576 ac_cpp='$CXXCPP $CPPFLAGS'
29577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29582 /* end confdefs.h. */
29583 #include <math.h>
29584 #ifdef HAVE_IEEEFP_H
29585 #include <ieeefp.h>
29586 #endif
29589 main ()
29591 _isinf(0);
29593 return 0;
29595 _ACEOF
29596 if ac_fn_cxx_try_compile "$LINENO"; then :
29597 glibcxx_cv_func__isinf_use=yes
29598 else
29599 glibcxx_cv_func__isinf_use=no
29601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29602 ac_ext=c
29603 ac_cpp='$CPP $CPPFLAGS'
29604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29613 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29615 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29616 for ac_func in _isinf
29617 do :
29618 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29619 if test "x$ac_cv_func__isinf" = xyes; then :
29620 cat >>confdefs.h <<_ACEOF
29621 #define HAVE__ISINF 1
29622 _ACEOF
29625 done
29634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29635 $as_echo_n "checking for isnan declaration... " >&6; }
29636 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29637 if ${glibcxx_cv_func_isnan_use+:} false; then :
29638 $as_echo_n "(cached) " >&6
29639 else
29642 ac_ext=cpp
29643 ac_cpp='$CXXCPP $CPPFLAGS'
29644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29649 /* end confdefs.h. */
29650 #include <math.h>
29651 #ifdef HAVE_IEEEFP_H
29652 #include <ieeefp.h>
29653 #endif
29656 main ()
29658 isnan(0);
29660 return 0;
29662 _ACEOF
29663 if ac_fn_cxx_try_compile "$LINENO"; then :
29664 glibcxx_cv_func_isnan_use=yes
29665 else
29666 glibcxx_cv_func_isnan_use=no
29668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29669 ac_ext=c
29670 ac_cpp='$CPP $CPPFLAGS'
29671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29680 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29682 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29683 for ac_func in isnan
29684 do :
29685 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29686 if test "x$ac_cv_func_isnan" = xyes; then :
29687 cat >>confdefs.h <<_ACEOF
29688 #define HAVE_ISNAN 1
29689 _ACEOF
29692 done
29694 else
29696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29697 $as_echo_n "checking for _isnan declaration... " >&6; }
29698 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29699 if ${glibcxx_cv_func__isnan_use+:} false; then :
29700 $as_echo_n "(cached) " >&6
29701 else
29704 ac_ext=cpp
29705 ac_cpp='$CXXCPP $CPPFLAGS'
29706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29711 /* end confdefs.h. */
29712 #include <math.h>
29713 #ifdef HAVE_IEEEFP_H
29714 #include <ieeefp.h>
29715 #endif
29718 main ()
29720 _isnan(0);
29722 return 0;
29724 _ACEOF
29725 if ac_fn_cxx_try_compile "$LINENO"; then :
29726 glibcxx_cv_func__isnan_use=yes
29727 else
29728 glibcxx_cv_func__isnan_use=no
29730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29731 ac_ext=c
29732 ac_cpp='$CPP $CPPFLAGS'
29733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29742 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29744 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29745 for ac_func in _isnan
29746 do :
29747 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29748 if test "x$ac_cv_func__isnan" = xyes; then :
29749 cat >>confdefs.h <<_ACEOF
29750 #define HAVE__ISNAN 1
29751 _ACEOF
29754 done
29763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29764 $as_echo_n "checking for finite declaration... " >&6; }
29765 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29766 if ${glibcxx_cv_func_finite_use+:} false; then :
29767 $as_echo_n "(cached) " >&6
29768 else
29771 ac_ext=cpp
29772 ac_cpp='$CXXCPP $CPPFLAGS'
29773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29778 /* end confdefs.h. */
29779 #include <math.h>
29780 #ifdef HAVE_IEEEFP_H
29781 #include <ieeefp.h>
29782 #endif
29785 main ()
29787 finite(0);
29789 return 0;
29791 _ACEOF
29792 if ac_fn_cxx_try_compile "$LINENO"; then :
29793 glibcxx_cv_func_finite_use=yes
29794 else
29795 glibcxx_cv_func_finite_use=no
29797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29798 ac_ext=c
29799 ac_cpp='$CPP $CPPFLAGS'
29800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29809 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29811 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29812 for ac_func in finite
29813 do :
29814 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29815 if test "x$ac_cv_func_finite" = xyes; then :
29816 cat >>confdefs.h <<_ACEOF
29817 #define HAVE_FINITE 1
29818 _ACEOF
29821 done
29823 else
29825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29826 $as_echo_n "checking for _finite declaration... " >&6; }
29827 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29828 if ${glibcxx_cv_func__finite_use+:} false; then :
29829 $as_echo_n "(cached) " >&6
29830 else
29833 ac_ext=cpp
29834 ac_cpp='$CXXCPP $CPPFLAGS'
29835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29840 /* end confdefs.h. */
29841 #include <math.h>
29842 #ifdef HAVE_IEEEFP_H
29843 #include <ieeefp.h>
29844 #endif
29847 main ()
29849 _finite(0);
29851 return 0;
29853 _ACEOF
29854 if ac_fn_cxx_try_compile "$LINENO"; then :
29855 glibcxx_cv_func__finite_use=yes
29856 else
29857 glibcxx_cv_func__finite_use=no
29859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29860 ac_ext=c
29861 ac_cpp='$CPP $CPPFLAGS'
29862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29871 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29873 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29874 for ac_func in _finite
29875 do :
29876 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29877 if test "x$ac_cv_func__finite" = xyes; then :
29878 cat >>confdefs.h <<_ACEOF
29879 #define HAVE__FINITE 1
29880 _ACEOF
29883 done
29892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29893 $as_echo_n "checking for sincos declaration... " >&6; }
29894 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29895 if ${glibcxx_cv_func_sincos_use+:} false; then :
29896 $as_echo_n "(cached) " >&6
29897 else
29900 ac_ext=cpp
29901 ac_cpp='$CXXCPP $CPPFLAGS'
29902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29907 /* end confdefs.h. */
29908 #include <math.h>
29910 main ()
29912 sincos(0, 0, 0);
29914 return 0;
29916 _ACEOF
29917 if ac_fn_cxx_try_compile "$LINENO"; then :
29918 glibcxx_cv_func_sincos_use=yes
29919 else
29920 glibcxx_cv_func_sincos_use=no
29922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29923 ac_ext=c
29924 ac_cpp='$CPP $CPPFLAGS'
29925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29934 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29936 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29937 for ac_func in sincos
29938 do :
29939 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29940 if test "x$ac_cv_func_sincos" = xyes; then :
29941 cat >>confdefs.h <<_ACEOF
29942 #define HAVE_SINCOS 1
29943 _ACEOF
29946 done
29948 else
29950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29951 $as_echo_n "checking for _sincos declaration... " >&6; }
29952 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29953 if ${glibcxx_cv_func__sincos_use+:} false; then :
29954 $as_echo_n "(cached) " >&6
29955 else
29958 ac_ext=cpp
29959 ac_cpp='$CXXCPP $CPPFLAGS'
29960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29965 /* end confdefs.h. */
29966 #include <math.h>
29968 main ()
29970 _sincos(0, 0, 0);
29972 return 0;
29974 _ACEOF
29975 if ac_fn_cxx_try_compile "$LINENO"; then :
29976 glibcxx_cv_func__sincos_use=yes
29977 else
29978 glibcxx_cv_func__sincos_use=no
29980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29981 ac_ext=c
29982 ac_cpp='$CPP $CPPFLAGS'
29983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29992 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29994 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29995 for ac_func in _sincos
29996 do :
29997 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29998 if test "x$ac_cv_func__sincos" = xyes; then :
29999 cat >>confdefs.h <<_ACEOF
30000 #define HAVE__SINCOS 1
30001 _ACEOF
30004 done
30013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30014 $as_echo_n "checking for fpclass declaration... " >&6; }
30015 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30016 if ${glibcxx_cv_func_fpclass_use+:} false; then :
30017 $as_echo_n "(cached) " >&6
30018 else
30021 ac_ext=cpp
30022 ac_cpp='$CXXCPP $CPPFLAGS'
30023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30028 /* end confdefs.h. */
30029 #include <math.h>
30030 #ifdef HAVE_IEEEFP_H
30031 #include <ieeefp.h>
30032 #endif
30035 main ()
30037 fpclass(0);
30039 return 0;
30041 _ACEOF
30042 if ac_fn_cxx_try_compile "$LINENO"; then :
30043 glibcxx_cv_func_fpclass_use=yes
30044 else
30045 glibcxx_cv_func_fpclass_use=no
30047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30048 ac_ext=c
30049 ac_cpp='$CPP $CPPFLAGS'
30050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30059 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30061 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30062 for ac_func in fpclass
30063 do :
30064 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30065 if test "x$ac_cv_func_fpclass" = xyes; then :
30066 cat >>confdefs.h <<_ACEOF
30067 #define HAVE_FPCLASS 1
30068 _ACEOF
30071 done
30073 else
30075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30076 $as_echo_n "checking for _fpclass declaration... " >&6; }
30077 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30078 if ${glibcxx_cv_func__fpclass_use+:} false; then :
30079 $as_echo_n "(cached) " >&6
30080 else
30083 ac_ext=cpp
30084 ac_cpp='$CXXCPP $CPPFLAGS'
30085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30090 /* end confdefs.h. */
30091 #include <math.h>
30092 #ifdef HAVE_IEEEFP_H
30093 #include <ieeefp.h>
30094 #endif
30097 main ()
30099 _fpclass(0);
30101 return 0;
30103 _ACEOF
30104 if ac_fn_cxx_try_compile "$LINENO"; then :
30105 glibcxx_cv_func__fpclass_use=yes
30106 else
30107 glibcxx_cv_func__fpclass_use=no
30109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30110 ac_ext=c
30111 ac_cpp='$CPP $CPPFLAGS'
30112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30121 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30123 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30124 for ac_func in _fpclass
30125 do :
30126 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30127 if test "x$ac_cv_func__fpclass" = xyes; then :
30128 cat >>confdefs.h <<_ACEOF
30129 #define HAVE__FPCLASS 1
30130 _ACEOF
30133 done
30142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30143 $as_echo_n "checking for qfpclass declaration... " >&6; }
30144 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30145 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30146 $as_echo_n "(cached) " >&6
30147 else
30150 ac_ext=cpp
30151 ac_cpp='$CXXCPP $CPPFLAGS'
30152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30157 /* end confdefs.h. */
30158 #include <math.h>
30159 #ifdef HAVE_IEEEFP_H
30160 #include <ieeefp.h>
30161 #endif
30164 main ()
30166 qfpclass(0);
30168 return 0;
30170 _ACEOF
30171 if ac_fn_cxx_try_compile "$LINENO"; then :
30172 glibcxx_cv_func_qfpclass_use=yes
30173 else
30174 glibcxx_cv_func_qfpclass_use=no
30176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30177 ac_ext=c
30178 ac_cpp='$CPP $CPPFLAGS'
30179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30188 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30190 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30191 for ac_func in qfpclass
30192 do :
30193 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30194 if test "x$ac_cv_func_qfpclass" = xyes; then :
30195 cat >>confdefs.h <<_ACEOF
30196 #define HAVE_QFPCLASS 1
30197 _ACEOF
30200 done
30202 else
30204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30205 $as_echo_n "checking for _qfpclass declaration... " >&6; }
30206 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30207 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30208 $as_echo_n "(cached) " >&6
30209 else
30212 ac_ext=cpp
30213 ac_cpp='$CXXCPP $CPPFLAGS'
30214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30219 /* end confdefs.h. */
30220 #include <math.h>
30221 #ifdef HAVE_IEEEFP_H
30222 #include <ieeefp.h>
30223 #endif
30226 main ()
30228 _qfpclass(0);
30230 return 0;
30232 _ACEOF
30233 if ac_fn_cxx_try_compile "$LINENO"; then :
30234 glibcxx_cv_func__qfpclass_use=yes
30235 else
30236 glibcxx_cv_func__qfpclass_use=no
30238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30239 ac_ext=c
30240 ac_cpp='$CPP $CPPFLAGS'
30241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30250 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30252 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30253 for ac_func in _qfpclass
30254 do :
30255 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30256 if test "x$ac_cv_func__qfpclass" = xyes; then :
30257 cat >>confdefs.h <<_ACEOF
30258 #define HAVE__QFPCLASS 1
30259 _ACEOF
30262 done
30271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30272 $as_echo_n "checking for hypot declaration... " >&6; }
30273 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30274 if ${glibcxx_cv_func_hypot_use+:} false; then :
30275 $as_echo_n "(cached) " >&6
30276 else
30279 ac_ext=cpp
30280 ac_cpp='$CXXCPP $CPPFLAGS'
30281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30286 /* end confdefs.h. */
30287 #include <math.h>
30289 main ()
30291 hypot(0, 0);
30293 return 0;
30295 _ACEOF
30296 if ac_fn_cxx_try_compile "$LINENO"; then :
30297 glibcxx_cv_func_hypot_use=yes
30298 else
30299 glibcxx_cv_func_hypot_use=no
30301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30302 ac_ext=c
30303 ac_cpp='$CPP $CPPFLAGS'
30304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30313 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30315 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30316 for ac_func in hypot
30317 do :
30318 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30319 if test "x$ac_cv_func_hypot" = xyes; then :
30320 cat >>confdefs.h <<_ACEOF
30321 #define HAVE_HYPOT 1
30322 _ACEOF
30325 done
30327 else
30329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30330 $as_echo_n "checking for _hypot declaration... " >&6; }
30331 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30332 if ${glibcxx_cv_func__hypot_use+:} false; then :
30333 $as_echo_n "(cached) " >&6
30334 else
30337 ac_ext=cpp
30338 ac_cpp='$CXXCPP $CPPFLAGS'
30339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30344 /* end confdefs.h. */
30345 #include <math.h>
30347 main ()
30349 _hypot(0, 0);
30351 return 0;
30353 _ACEOF
30354 if ac_fn_cxx_try_compile "$LINENO"; then :
30355 glibcxx_cv_func__hypot_use=yes
30356 else
30357 glibcxx_cv_func__hypot_use=no
30359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30360 ac_ext=c
30361 ac_cpp='$CPP $CPPFLAGS'
30362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30371 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30373 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30374 for ac_func in _hypot
30375 do :
30376 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30377 if test "x$ac_cv_func__hypot" = xyes; then :
30378 cat >>confdefs.h <<_ACEOF
30379 #define HAVE__HYPOT 1
30380 _ACEOF
30383 done
30392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30393 $as_echo_n "checking for float trig functions... " >&6; }
30394 if ${glibcxx_cv_func_float_trig_use+:} false; then :
30395 $as_echo_n "(cached) " >&6
30396 else
30399 ac_ext=cpp
30400 ac_cpp='$CXXCPP $CPPFLAGS'
30401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30406 /* end confdefs.h. */
30407 #include <math.h>
30409 main ()
30411 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30413 return 0;
30415 _ACEOF
30416 if ac_fn_cxx_try_compile "$LINENO"; then :
30417 glibcxx_cv_func_float_trig_use=yes
30418 else
30419 glibcxx_cv_func_float_trig_use=no
30421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30422 ac_ext=c
30423 ac_cpp='$CPP $CPPFLAGS'
30424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30431 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30432 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30433 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30434 do :
30435 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30436 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30437 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30438 cat >>confdefs.h <<_ACEOF
30439 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30440 _ACEOF
30443 done
30445 else
30446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30447 $as_echo_n "checking for _float trig functions... " >&6; }
30448 if ${glibcxx_cv_func__float_trig_use+:} false; then :
30449 $as_echo_n "(cached) " >&6
30450 else
30453 ac_ext=cpp
30454 ac_cpp='$CXXCPP $CPPFLAGS'
30455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30460 /* end confdefs.h. */
30461 #include <math.h>
30463 main ()
30465 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30467 return 0;
30469 _ACEOF
30470 if ac_fn_cxx_try_compile "$LINENO"; then :
30471 glibcxx_cv_func__float_trig_use=yes
30472 else
30473 glibcxx_cv_func__float_trig_use=no
30475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30476 ac_ext=c
30477 ac_cpp='$CPP $CPPFLAGS'
30478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30485 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30486 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30487 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30488 do :
30489 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30490 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30491 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30492 cat >>confdefs.h <<_ACEOF
30493 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30494 _ACEOF
30497 done
30506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30507 $as_echo_n "checking for float round functions... " >&6; }
30508 if ${glibcxx_cv_func_float_round_use+:} false; then :
30509 $as_echo_n "(cached) " >&6
30510 else
30513 ac_ext=cpp
30514 ac_cpp='$CXXCPP $CPPFLAGS'
30515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30520 /* end confdefs.h. */
30521 #include <math.h>
30523 main ()
30525 ceilf (0); floorf (0);
30527 return 0;
30529 _ACEOF
30530 if ac_fn_cxx_try_compile "$LINENO"; then :
30531 glibcxx_cv_func_float_round_use=yes
30532 else
30533 glibcxx_cv_func_float_round_use=no
30535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30536 ac_ext=c
30537 ac_cpp='$CPP $CPPFLAGS'
30538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30545 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30546 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30547 for ac_func in ceilf floorf
30548 do :
30549 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30550 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30551 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30552 cat >>confdefs.h <<_ACEOF
30553 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30554 _ACEOF
30557 done
30559 else
30560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30561 $as_echo_n "checking for _float round functions... " >&6; }
30562 if ${glibcxx_cv_func__float_round_use+:} false; then :
30563 $as_echo_n "(cached) " >&6
30564 else
30567 ac_ext=cpp
30568 ac_cpp='$CXXCPP $CPPFLAGS'
30569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30574 /* end confdefs.h. */
30575 #include <math.h>
30577 main ()
30579 _ceilf (0); _floorf (0);
30581 return 0;
30583 _ACEOF
30584 if ac_fn_cxx_try_compile "$LINENO"; then :
30585 glibcxx_cv_func__float_round_use=yes
30586 else
30587 glibcxx_cv_func__float_round_use=no
30589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30590 ac_ext=c
30591 ac_cpp='$CPP $CPPFLAGS'
30592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30599 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30600 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30601 for ac_func in _ceilf _floorf
30602 do :
30603 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30604 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30605 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30606 cat >>confdefs.h <<_ACEOF
30607 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30608 _ACEOF
30611 done
30621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30622 $as_echo_n "checking for expf declaration... " >&6; }
30623 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30624 if ${glibcxx_cv_func_expf_use+:} false; then :
30625 $as_echo_n "(cached) " >&6
30626 else
30629 ac_ext=cpp
30630 ac_cpp='$CXXCPP $CPPFLAGS'
30631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30636 /* end confdefs.h. */
30637 #include <math.h>
30638 #ifdef HAVE_IEEEFP_H
30639 #include <ieeefp.h>
30640 #endif
30643 main ()
30645 expf(0);
30647 return 0;
30649 _ACEOF
30650 if ac_fn_cxx_try_compile "$LINENO"; then :
30651 glibcxx_cv_func_expf_use=yes
30652 else
30653 glibcxx_cv_func_expf_use=no
30655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30656 ac_ext=c
30657 ac_cpp='$CPP $CPPFLAGS'
30658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30667 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30669 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30670 for ac_func in expf
30671 do :
30672 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30673 if test "x$ac_cv_func_expf" = xyes; then :
30674 cat >>confdefs.h <<_ACEOF
30675 #define HAVE_EXPF 1
30676 _ACEOF
30679 done
30681 else
30683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30684 $as_echo_n "checking for _expf declaration... " >&6; }
30685 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30686 if ${glibcxx_cv_func__expf_use+:} false; then :
30687 $as_echo_n "(cached) " >&6
30688 else
30691 ac_ext=cpp
30692 ac_cpp='$CXXCPP $CPPFLAGS'
30693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30698 /* end confdefs.h. */
30699 #include <math.h>
30700 #ifdef HAVE_IEEEFP_H
30701 #include <ieeefp.h>
30702 #endif
30705 main ()
30707 _expf(0);
30709 return 0;
30711 _ACEOF
30712 if ac_fn_cxx_try_compile "$LINENO"; then :
30713 glibcxx_cv_func__expf_use=yes
30714 else
30715 glibcxx_cv_func__expf_use=no
30717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30718 ac_ext=c
30719 ac_cpp='$CPP $CPPFLAGS'
30720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30729 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30731 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30732 for ac_func in _expf
30733 do :
30734 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30735 if test "x$ac_cv_func__expf" = xyes; then :
30736 cat >>confdefs.h <<_ACEOF
30737 #define HAVE__EXPF 1
30738 _ACEOF
30741 done
30750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30751 $as_echo_n "checking for isnanf declaration... " >&6; }
30752 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30753 if ${glibcxx_cv_func_isnanf_use+:} false; then :
30754 $as_echo_n "(cached) " >&6
30755 else
30758 ac_ext=cpp
30759 ac_cpp='$CXXCPP $CPPFLAGS'
30760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30765 /* end confdefs.h. */
30766 #include <math.h>
30767 #ifdef HAVE_IEEEFP_H
30768 #include <ieeefp.h>
30769 #endif
30772 main ()
30774 isnanf(0);
30776 return 0;
30778 _ACEOF
30779 if ac_fn_cxx_try_compile "$LINENO"; then :
30780 glibcxx_cv_func_isnanf_use=yes
30781 else
30782 glibcxx_cv_func_isnanf_use=no
30784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30785 ac_ext=c
30786 ac_cpp='$CPP $CPPFLAGS'
30787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30796 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30798 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30799 for ac_func in isnanf
30800 do :
30801 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30802 if test "x$ac_cv_func_isnanf" = xyes; then :
30803 cat >>confdefs.h <<_ACEOF
30804 #define HAVE_ISNANF 1
30805 _ACEOF
30808 done
30810 else
30812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30813 $as_echo_n "checking for _isnanf declaration... " >&6; }
30814 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30815 if ${glibcxx_cv_func__isnanf_use+:} false; then :
30816 $as_echo_n "(cached) " >&6
30817 else
30820 ac_ext=cpp
30821 ac_cpp='$CXXCPP $CPPFLAGS'
30822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30827 /* end confdefs.h. */
30828 #include <math.h>
30829 #ifdef HAVE_IEEEFP_H
30830 #include <ieeefp.h>
30831 #endif
30834 main ()
30836 _isnanf(0);
30838 return 0;
30840 _ACEOF
30841 if ac_fn_cxx_try_compile "$LINENO"; then :
30842 glibcxx_cv_func__isnanf_use=yes
30843 else
30844 glibcxx_cv_func__isnanf_use=no
30846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30847 ac_ext=c
30848 ac_cpp='$CPP $CPPFLAGS'
30849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30858 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30860 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30861 for ac_func in _isnanf
30862 do :
30863 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30864 if test "x$ac_cv_func__isnanf" = xyes; then :
30865 cat >>confdefs.h <<_ACEOF
30866 #define HAVE__ISNANF 1
30867 _ACEOF
30870 done
30879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30880 $as_echo_n "checking for isinff declaration... " >&6; }
30881 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30882 if ${glibcxx_cv_func_isinff_use+:} false; then :
30883 $as_echo_n "(cached) " >&6
30884 else
30887 ac_ext=cpp
30888 ac_cpp='$CXXCPP $CPPFLAGS'
30889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30894 /* end confdefs.h. */
30895 #include <math.h>
30896 #ifdef HAVE_IEEEFP_H
30897 #include <ieeefp.h>
30898 #endif
30901 main ()
30903 isinff(0);
30905 return 0;
30907 _ACEOF
30908 if ac_fn_cxx_try_compile "$LINENO"; then :
30909 glibcxx_cv_func_isinff_use=yes
30910 else
30911 glibcxx_cv_func_isinff_use=no
30913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30914 ac_ext=c
30915 ac_cpp='$CPP $CPPFLAGS'
30916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30925 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30927 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30928 for ac_func in isinff
30929 do :
30930 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30931 if test "x$ac_cv_func_isinff" = xyes; then :
30932 cat >>confdefs.h <<_ACEOF
30933 #define HAVE_ISINFF 1
30934 _ACEOF
30937 done
30939 else
30941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30942 $as_echo_n "checking for _isinff declaration... " >&6; }
30943 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30944 if ${glibcxx_cv_func__isinff_use+:} false; then :
30945 $as_echo_n "(cached) " >&6
30946 else
30949 ac_ext=cpp
30950 ac_cpp='$CXXCPP $CPPFLAGS'
30951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30956 /* end confdefs.h. */
30957 #include <math.h>
30958 #ifdef HAVE_IEEEFP_H
30959 #include <ieeefp.h>
30960 #endif
30963 main ()
30965 _isinff(0);
30967 return 0;
30969 _ACEOF
30970 if ac_fn_cxx_try_compile "$LINENO"; then :
30971 glibcxx_cv_func__isinff_use=yes
30972 else
30973 glibcxx_cv_func__isinff_use=no
30975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30976 ac_ext=c
30977 ac_cpp='$CPP $CPPFLAGS'
30978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30987 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30989 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30990 for ac_func in _isinff
30991 do :
30992 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30993 if test "x$ac_cv_func__isinff" = xyes; then :
30994 cat >>confdefs.h <<_ACEOF
30995 #define HAVE__ISINFF 1
30996 _ACEOF
30999 done
31008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31009 $as_echo_n "checking for atan2f declaration... " >&6; }
31010 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31011 if ${glibcxx_cv_func_atan2f_use+:} false; then :
31012 $as_echo_n "(cached) " >&6
31013 else
31016 ac_ext=cpp
31017 ac_cpp='$CXXCPP $CPPFLAGS'
31018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31023 /* end confdefs.h. */
31024 #include <math.h>
31026 main ()
31028 atan2f(0, 0);
31030 return 0;
31032 _ACEOF
31033 if ac_fn_cxx_try_compile "$LINENO"; then :
31034 glibcxx_cv_func_atan2f_use=yes
31035 else
31036 glibcxx_cv_func_atan2f_use=no
31038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31039 ac_ext=c
31040 ac_cpp='$CPP $CPPFLAGS'
31041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31050 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31052 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31053 for ac_func in atan2f
31054 do :
31055 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31056 if test "x$ac_cv_func_atan2f" = xyes; then :
31057 cat >>confdefs.h <<_ACEOF
31058 #define HAVE_ATAN2F 1
31059 _ACEOF
31062 done
31064 else
31066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31067 $as_echo_n "checking for _atan2f declaration... " >&6; }
31068 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31069 if ${glibcxx_cv_func__atan2f_use+:} false; then :
31070 $as_echo_n "(cached) " >&6
31071 else
31074 ac_ext=cpp
31075 ac_cpp='$CXXCPP $CPPFLAGS'
31076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31081 /* end confdefs.h. */
31082 #include <math.h>
31084 main ()
31086 _atan2f(0, 0);
31088 return 0;
31090 _ACEOF
31091 if ac_fn_cxx_try_compile "$LINENO"; then :
31092 glibcxx_cv_func__atan2f_use=yes
31093 else
31094 glibcxx_cv_func__atan2f_use=no
31096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31097 ac_ext=c
31098 ac_cpp='$CPP $CPPFLAGS'
31099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31108 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31110 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31111 for ac_func in _atan2f
31112 do :
31113 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31114 if test "x$ac_cv_func__atan2f" = xyes; then :
31115 cat >>confdefs.h <<_ACEOF
31116 #define HAVE__ATAN2F 1
31117 _ACEOF
31120 done
31129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31130 $as_echo_n "checking for fabsf declaration... " >&6; }
31131 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31132 if ${glibcxx_cv_func_fabsf_use+:} false; then :
31133 $as_echo_n "(cached) " >&6
31134 else
31137 ac_ext=cpp
31138 ac_cpp='$CXXCPP $CPPFLAGS'
31139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31144 /* end confdefs.h. */
31145 #include <math.h>
31146 #ifdef HAVE_IEEEFP_H
31147 #include <ieeefp.h>
31148 #endif
31151 main ()
31153 fabsf(0);
31155 return 0;
31157 _ACEOF
31158 if ac_fn_cxx_try_compile "$LINENO"; then :
31159 glibcxx_cv_func_fabsf_use=yes
31160 else
31161 glibcxx_cv_func_fabsf_use=no
31163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31164 ac_ext=c
31165 ac_cpp='$CPP $CPPFLAGS'
31166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31175 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31177 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31178 for ac_func in fabsf
31179 do :
31180 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31181 if test "x$ac_cv_func_fabsf" = xyes; then :
31182 cat >>confdefs.h <<_ACEOF
31183 #define HAVE_FABSF 1
31184 _ACEOF
31187 done
31189 else
31191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31192 $as_echo_n "checking for _fabsf declaration... " >&6; }
31193 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31194 if ${glibcxx_cv_func__fabsf_use+:} false; then :
31195 $as_echo_n "(cached) " >&6
31196 else
31199 ac_ext=cpp
31200 ac_cpp='$CXXCPP $CPPFLAGS'
31201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31206 /* end confdefs.h. */
31207 #include <math.h>
31208 #ifdef HAVE_IEEEFP_H
31209 #include <ieeefp.h>
31210 #endif
31213 main ()
31215 _fabsf(0);
31217 return 0;
31219 _ACEOF
31220 if ac_fn_cxx_try_compile "$LINENO"; then :
31221 glibcxx_cv_func__fabsf_use=yes
31222 else
31223 glibcxx_cv_func__fabsf_use=no
31225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31226 ac_ext=c
31227 ac_cpp='$CPP $CPPFLAGS'
31228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31237 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31239 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31240 for ac_func in _fabsf
31241 do :
31242 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31243 if test "x$ac_cv_func__fabsf" = xyes; then :
31244 cat >>confdefs.h <<_ACEOF
31245 #define HAVE__FABSF 1
31246 _ACEOF
31249 done
31258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31259 $as_echo_n "checking for fmodf declaration... " >&6; }
31260 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31261 if ${glibcxx_cv_func_fmodf_use+:} false; then :
31262 $as_echo_n "(cached) " >&6
31263 else
31266 ac_ext=cpp
31267 ac_cpp='$CXXCPP $CPPFLAGS'
31268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31273 /* end confdefs.h. */
31274 #include <math.h>
31276 main ()
31278 fmodf(0, 0);
31280 return 0;
31282 _ACEOF
31283 if ac_fn_cxx_try_compile "$LINENO"; then :
31284 glibcxx_cv_func_fmodf_use=yes
31285 else
31286 glibcxx_cv_func_fmodf_use=no
31288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31289 ac_ext=c
31290 ac_cpp='$CPP $CPPFLAGS'
31291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31300 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31302 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31303 for ac_func in fmodf
31304 do :
31305 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31306 if test "x$ac_cv_func_fmodf" = xyes; then :
31307 cat >>confdefs.h <<_ACEOF
31308 #define HAVE_FMODF 1
31309 _ACEOF
31312 done
31314 else
31316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31317 $as_echo_n "checking for _fmodf declaration... " >&6; }
31318 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31319 if ${glibcxx_cv_func__fmodf_use+:} false; then :
31320 $as_echo_n "(cached) " >&6
31321 else
31324 ac_ext=cpp
31325 ac_cpp='$CXXCPP $CPPFLAGS'
31326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31331 /* end confdefs.h. */
31332 #include <math.h>
31334 main ()
31336 _fmodf(0, 0);
31338 return 0;
31340 _ACEOF
31341 if ac_fn_cxx_try_compile "$LINENO"; then :
31342 glibcxx_cv_func__fmodf_use=yes
31343 else
31344 glibcxx_cv_func__fmodf_use=no
31346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31347 ac_ext=c
31348 ac_cpp='$CPP $CPPFLAGS'
31349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31358 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31360 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31361 for ac_func in _fmodf
31362 do :
31363 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31364 if test "x$ac_cv_func__fmodf" = xyes; then :
31365 cat >>confdefs.h <<_ACEOF
31366 #define HAVE__FMODF 1
31367 _ACEOF
31370 done
31379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31380 $as_echo_n "checking for frexpf declaration... " >&6; }
31381 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31382 if ${glibcxx_cv_func_frexpf_use+:} false; then :
31383 $as_echo_n "(cached) " >&6
31384 else
31387 ac_ext=cpp
31388 ac_cpp='$CXXCPP $CPPFLAGS'
31389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31394 /* end confdefs.h. */
31395 #include <math.h>
31397 main ()
31399 frexpf(0, 0);
31401 return 0;
31403 _ACEOF
31404 if ac_fn_cxx_try_compile "$LINENO"; then :
31405 glibcxx_cv_func_frexpf_use=yes
31406 else
31407 glibcxx_cv_func_frexpf_use=no
31409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31410 ac_ext=c
31411 ac_cpp='$CPP $CPPFLAGS'
31412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31421 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31423 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31424 for ac_func in frexpf
31425 do :
31426 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31427 if test "x$ac_cv_func_frexpf" = xyes; then :
31428 cat >>confdefs.h <<_ACEOF
31429 #define HAVE_FREXPF 1
31430 _ACEOF
31433 done
31435 else
31437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31438 $as_echo_n "checking for _frexpf declaration... " >&6; }
31439 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31440 if ${glibcxx_cv_func__frexpf_use+:} false; then :
31441 $as_echo_n "(cached) " >&6
31442 else
31445 ac_ext=cpp
31446 ac_cpp='$CXXCPP $CPPFLAGS'
31447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31452 /* end confdefs.h. */
31453 #include <math.h>
31455 main ()
31457 _frexpf(0, 0);
31459 return 0;
31461 _ACEOF
31462 if ac_fn_cxx_try_compile "$LINENO"; then :
31463 glibcxx_cv_func__frexpf_use=yes
31464 else
31465 glibcxx_cv_func__frexpf_use=no
31467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31468 ac_ext=c
31469 ac_cpp='$CPP $CPPFLAGS'
31470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31479 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31481 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31482 for ac_func in _frexpf
31483 do :
31484 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31485 if test "x$ac_cv_func__frexpf" = xyes; then :
31486 cat >>confdefs.h <<_ACEOF
31487 #define HAVE__FREXPF 1
31488 _ACEOF
31491 done
31500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31501 $as_echo_n "checking for hypotf declaration... " >&6; }
31502 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31503 if ${glibcxx_cv_func_hypotf_use+:} false; then :
31504 $as_echo_n "(cached) " >&6
31505 else
31508 ac_ext=cpp
31509 ac_cpp='$CXXCPP $CPPFLAGS'
31510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31515 /* end confdefs.h. */
31516 #include <math.h>
31518 main ()
31520 hypotf(0, 0);
31522 return 0;
31524 _ACEOF
31525 if ac_fn_cxx_try_compile "$LINENO"; then :
31526 glibcxx_cv_func_hypotf_use=yes
31527 else
31528 glibcxx_cv_func_hypotf_use=no
31530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31531 ac_ext=c
31532 ac_cpp='$CPP $CPPFLAGS'
31533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31542 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31544 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31545 for ac_func in hypotf
31546 do :
31547 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31548 if test "x$ac_cv_func_hypotf" = xyes; then :
31549 cat >>confdefs.h <<_ACEOF
31550 #define HAVE_HYPOTF 1
31551 _ACEOF
31554 done
31556 else
31558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31559 $as_echo_n "checking for _hypotf declaration... " >&6; }
31560 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31561 if ${glibcxx_cv_func__hypotf_use+:} false; then :
31562 $as_echo_n "(cached) " >&6
31563 else
31566 ac_ext=cpp
31567 ac_cpp='$CXXCPP $CPPFLAGS'
31568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31573 /* end confdefs.h. */
31574 #include <math.h>
31576 main ()
31578 _hypotf(0, 0);
31580 return 0;
31582 _ACEOF
31583 if ac_fn_cxx_try_compile "$LINENO"; then :
31584 glibcxx_cv_func__hypotf_use=yes
31585 else
31586 glibcxx_cv_func__hypotf_use=no
31588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31589 ac_ext=c
31590 ac_cpp='$CPP $CPPFLAGS'
31591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31600 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31602 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31603 for ac_func in _hypotf
31604 do :
31605 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31606 if test "x$ac_cv_func__hypotf" = xyes; then :
31607 cat >>confdefs.h <<_ACEOF
31608 #define HAVE__HYPOTF 1
31609 _ACEOF
31612 done
31621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31622 $as_echo_n "checking for ldexpf declaration... " >&6; }
31623 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31624 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
31625 $as_echo_n "(cached) " >&6
31626 else
31629 ac_ext=cpp
31630 ac_cpp='$CXXCPP $CPPFLAGS'
31631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31636 /* end confdefs.h. */
31637 #include <math.h>
31639 main ()
31641 ldexpf(0, 0);
31643 return 0;
31645 _ACEOF
31646 if ac_fn_cxx_try_compile "$LINENO"; then :
31647 glibcxx_cv_func_ldexpf_use=yes
31648 else
31649 glibcxx_cv_func_ldexpf_use=no
31651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31652 ac_ext=c
31653 ac_cpp='$CPP $CPPFLAGS'
31654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31663 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31665 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31666 for ac_func in ldexpf
31667 do :
31668 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31669 if test "x$ac_cv_func_ldexpf" = xyes; then :
31670 cat >>confdefs.h <<_ACEOF
31671 #define HAVE_LDEXPF 1
31672 _ACEOF
31675 done
31677 else
31679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31680 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31681 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31682 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
31683 $as_echo_n "(cached) " >&6
31684 else
31687 ac_ext=cpp
31688 ac_cpp='$CXXCPP $CPPFLAGS'
31689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31694 /* end confdefs.h. */
31695 #include <math.h>
31697 main ()
31699 _ldexpf(0, 0);
31701 return 0;
31703 _ACEOF
31704 if ac_fn_cxx_try_compile "$LINENO"; then :
31705 glibcxx_cv_func__ldexpf_use=yes
31706 else
31707 glibcxx_cv_func__ldexpf_use=no
31709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31710 ac_ext=c
31711 ac_cpp='$CPP $CPPFLAGS'
31712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31721 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31723 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31724 for ac_func in _ldexpf
31725 do :
31726 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31727 if test "x$ac_cv_func__ldexpf" = xyes; then :
31728 cat >>confdefs.h <<_ACEOF
31729 #define HAVE__LDEXPF 1
31730 _ACEOF
31733 done
31742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31743 $as_echo_n "checking for logf declaration... " >&6; }
31744 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31745 if ${glibcxx_cv_func_logf_use+:} false; then :
31746 $as_echo_n "(cached) " >&6
31747 else
31750 ac_ext=cpp
31751 ac_cpp='$CXXCPP $CPPFLAGS'
31752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31757 /* end confdefs.h. */
31758 #include <math.h>
31759 #ifdef HAVE_IEEEFP_H
31760 #include <ieeefp.h>
31761 #endif
31764 main ()
31766 logf(0);
31768 return 0;
31770 _ACEOF
31771 if ac_fn_cxx_try_compile "$LINENO"; then :
31772 glibcxx_cv_func_logf_use=yes
31773 else
31774 glibcxx_cv_func_logf_use=no
31776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31777 ac_ext=c
31778 ac_cpp='$CPP $CPPFLAGS'
31779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31788 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31790 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31791 for ac_func in logf
31792 do :
31793 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31794 if test "x$ac_cv_func_logf" = xyes; then :
31795 cat >>confdefs.h <<_ACEOF
31796 #define HAVE_LOGF 1
31797 _ACEOF
31800 done
31802 else
31804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31805 $as_echo_n "checking for _logf declaration... " >&6; }
31806 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31807 if ${glibcxx_cv_func__logf_use+:} false; then :
31808 $as_echo_n "(cached) " >&6
31809 else
31812 ac_ext=cpp
31813 ac_cpp='$CXXCPP $CPPFLAGS'
31814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31819 /* end confdefs.h. */
31820 #include <math.h>
31821 #ifdef HAVE_IEEEFP_H
31822 #include <ieeefp.h>
31823 #endif
31826 main ()
31828 _logf(0);
31830 return 0;
31832 _ACEOF
31833 if ac_fn_cxx_try_compile "$LINENO"; then :
31834 glibcxx_cv_func__logf_use=yes
31835 else
31836 glibcxx_cv_func__logf_use=no
31838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31839 ac_ext=c
31840 ac_cpp='$CPP $CPPFLAGS'
31841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31850 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31852 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31853 for ac_func in _logf
31854 do :
31855 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31856 if test "x$ac_cv_func__logf" = xyes; then :
31857 cat >>confdefs.h <<_ACEOF
31858 #define HAVE__LOGF 1
31859 _ACEOF
31862 done
31871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31872 $as_echo_n "checking for log10f declaration... " >&6; }
31873 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31874 if ${glibcxx_cv_func_log10f_use+:} false; then :
31875 $as_echo_n "(cached) " >&6
31876 else
31879 ac_ext=cpp
31880 ac_cpp='$CXXCPP $CPPFLAGS'
31881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31886 /* end confdefs.h. */
31887 #include <math.h>
31888 #ifdef HAVE_IEEEFP_H
31889 #include <ieeefp.h>
31890 #endif
31893 main ()
31895 log10f(0);
31897 return 0;
31899 _ACEOF
31900 if ac_fn_cxx_try_compile "$LINENO"; then :
31901 glibcxx_cv_func_log10f_use=yes
31902 else
31903 glibcxx_cv_func_log10f_use=no
31905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31906 ac_ext=c
31907 ac_cpp='$CPP $CPPFLAGS'
31908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31917 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31919 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31920 for ac_func in log10f
31921 do :
31922 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31923 if test "x$ac_cv_func_log10f" = xyes; then :
31924 cat >>confdefs.h <<_ACEOF
31925 #define HAVE_LOG10F 1
31926 _ACEOF
31929 done
31931 else
31933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31934 $as_echo_n "checking for _log10f declaration... " >&6; }
31935 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31936 if ${glibcxx_cv_func__log10f_use+:} false; then :
31937 $as_echo_n "(cached) " >&6
31938 else
31941 ac_ext=cpp
31942 ac_cpp='$CXXCPP $CPPFLAGS'
31943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31948 /* end confdefs.h. */
31949 #include <math.h>
31950 #ifdef HAVE_IEEEFP_H
31951 #include <ieeefp.h>
31952 #endif
31955 main ()
31957 _log10f(0);
31959 return 0;
31961 _ACEOF
31962 if ac_fn_cxx_try_compile "$LINENO"; then :
31963 glibcxx_cv_func__log10f_use=yes
31964 else
31965 glibcxx_cv_func__log10f_use=no
31967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31968 ac_ext=c
31969 ac_cpp='$CPP $CPPFLAGS'
31970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31979 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31981 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31982 for ac_func in _log10f
31983 do :
31984 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31985 if test "x$ac_cv_func__log10f" = xyes; then :
31986 cat >>confdefs.h <<_ACEOF
31987 #define HAVE__LOG10F 1
31988 _ACEOF
31991 done
32000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
32001 $as_echo_n "checking for modff declaration... " >&6; }
32002 if test x${glibcxx_cv_func_modff_use+set} != xset; then
32003 if ${glibcxx_cv_func_modff_use+:} false; then :
32004 $as_echo_n "(cached) " >&6
32005 else
32008 ac_ext=cpp
32009 ac_cpp='$CXXCPP $CPPFLAGS'
32010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32015 /* end confdefs.h. */
32016 #include <math.h>
32018 main ()
32020 modff(0, 0);
32022 return 0;
32024 _ACEOF
32025 if ac_fn_cxx_try_compile "$LINENO"; then :
32026 glibcxx_cv_func_modff_use=yes
32027 else
32028 glibcxx_cv_func_modff_use=no
32030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32031 ac_ext=c
32032 ac_cpp='$CPP $CPPFLAGS'
32033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32042 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
32044 if test x$glibcxx_cv_func_modff_use = x"yes"; then
32045 for ac_func in modff
32046 do :
32047 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32048 if test "x$ac_cv_func_modff" = xyes; then :
32049 cat >>confdefs.h <<_ACEOF
32050 #define HAVE_MODFF 1
32051 _ACEOF
32054 done
32056 else
32058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32059 $as_echo_n "checking for _modff declaration... " >&6; }
32060 if test x${glibcxx_cv_func__modff_use+set} != xset; then
32061 if ${glibcxx_cv_func__modff_use+:} false; then :
32062 $as_echo_n "(cached) " >&6
32063 else
32066 ac_ext=cpp
32067 ac_cpp='$CXXCPP $CPPFLAGS'
32068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32073 /* end confdefs.h. */
32074 #include <math.h>
32076 main ()
32078 _modff(0, 0);
32080 return 0;
32082 _ACEOF
32083 if ac_fn_cxx_try_compile "$LINENO"; then :
32084 glibcxx_cv_func__modff_use=yes
32085 else
32086 glibcxx_cv_func__modff_use=no
32088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32089 ac_ext=c
32090 ac_cpp='$CPP $CPPFLAGS'
32091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32100 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
32102 if test x$glibcxx_cv_func__modff_use = x"yes"; then
32103 for ac_func in _modff
32104 do :
32105 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32106 if test "x$ac_cv_func__modff" = xyes; then :
32107 cat >>confdefs.h <<_ACEOF
32108 #define HAVE__MODFF 1
32109 _ACEOF
32112 done
32121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32122 $as_echo_n "checking for modf declaration... " >&6; }
32123 if test x${glibcxx_cv_func_modf_use+set} != xset; then
32124 if ${glibcxx_cv_func_modf_use+:} false; then :
32125 $as_echo_n "(cached) " >&6
32126 else
32129 ac_ext=cpp
32130 ac_cpp='$CXXCPP $CPPFLAGS'
32131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32136 /* end confdefs.h. */
32137 #include <math.h>
32139 main ()
32141 modf(0, 0);
32143 return 0;
32145 _ACEOF
32146 if ac_fn_cxx_try_compile "$LINENO"; then :
32147 glibcxx_cv_func_modf_use=yes
32148 else
32149 glibcxx_cv_func_modf_use=no
32151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32152 ac_ext=c
32153 ac_cpp='$CPP $CPPFLAGS'
32154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32163 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
32165 if test x$glibcxx_cv_func_modf_use = x"yes"; then
32166 for ac_func in modf
32167 do :
32168 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32169 if test "x$ac_cv_func_modf" = xyes; then :
32170 cat >>confdefs.h <<_ACEOF
32171 #define HAVE_MODF 1
32172 _ACEOF
32175 done
32177 else
32179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32180 $as_echo_n "checking for _modf declaration... " >&6; }
32181 if test x${glibcxx_cv_func__modf_use+set} != xset; then
32182 if ${glibcxx_cv_func__modf_use+:} false; then :
32183 $as_echo_n "(cached) " >&6
32184 else
32187 ac_ext=cpp
32188 ac_cpp='$CXXCPP $CPPFLAGS'
32189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32194 /* end confdefs.h. */
32195 #include <math.h>
32197 main ()
32199 _modf(0, 0);
32201 return 0;
32203 _ACEOF
32204 if ac_fn_cxx_try_compile "$LINENO"; then :
32205 glibcxx_cv_func__modf_use=yes
32206 else
32207 glibcxx_cv_func__modf_use=no
32209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32210 ac_ext=c
32211 ac_cpp='$CPP $CPPFLAGS'
32212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32221 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32223 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32224 for ac_func in _modf
32225 do :
32226 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32227 if test "x$ac_cv_func__modf" = xyes; then :
32228 cat >>confdefs.h <<_ACEOF
32229 #define HAVE__MODF 1
32230 _ACEOF
32233 done
32242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32243 $as_echo_n "checking for powf declaration... " >&6; }
32244 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32245 if ${glibcxx_cv_func_powf_use+:} false; then :
32246 $as_echo_n "(cached) " >&6
32247 else
32250 ac_ext=cpp
32251 ac_cpp='$CXXCPP $CPPFLAGS'
32252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32257 /* end confdefs.h. */
32258 #include <math.h>
32260 main ()
32262 powf(0, 0);
32264 return 0;
32266 _ACEOF
32267 if ac_fn_cxx_try_compile "$LINENO"; then :
32268 glibcxx_cv_func_powf_use=yes
32269 else
32270 glibcxx_cv_func_powf_use=no
32272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32273 ac_ext=c
32274 ac_cpp='$CPP $CPPFLAGS'
32275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32284 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32286 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32287 for ac_func in powf
32288 do :
32289 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32290 if test "x$ac_cv_func_powf" = xyes; then :
32291 cat >>confdefs.h <<_ACEOF
32292 #define HAVE_POWF 1
32293 _ACEOF
32296 done
32298 else
32300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32301 $as_echo_n "checking for _powf declaration... " >&6; }
32302 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32303 if ${glibcxx_cv_func__powf_use+:} false; then :
32304 $as_echo_n "(cached) " >&6
32305 else
32308 ac_ext=cpp
32309 ac_cpp='$CXXCPP $CPPFLAGS'
32310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32315 /* end confdefs.h. */
32316 #include <math.h>
32318 main ()
32320 _powf(0, 0);
32322 return 0;
32324 _ACEOF
32325 if ac_fn_cxx_try_compile "$LINENO"; then :
32326 glibcxx_cv_func__powf_use=yes
32327 else
32328 glibcxx_cv_func__powf_use=no
32330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32331 ac_ext=c
32332 ac_cpp='$CPP $CPPFLAGS'
32333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32342 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32344 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32345 for ac_func in _powf
32346 do :
32347 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32348 if test "x$ac_cv_func__powf" = xyes; then :
32349 cat >>confdefs.h <<_ACEOF
32350 #define HAVE__POWF 1
32351 _ACEOF
32354 done
32363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32364 $as_echo_n "checking for sqrtf declaration... " >&6; }
32365 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32366 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
32367 $as_echo_n "(cached) " >&6
32368 else
32371 ac_ext=cpp
32372 ac_cpp='$CXXCPP $CPPFLAGS'
32373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32378 /* end confdefs.h. */
32379 #include <math.h>
32380 #ifdef HAVE_IEEEFP_H
32381 #include <ieeefp.h>
32382 #endif
32385 main ()
32387 sqrtf(0);
32389 return 0;
32391 _ACEOF
32392 if ac_fn_cxx_try_compile "$LINENO"; then :
32393 glibcxx_cv_func_sqrtf_use=yes
32394 else
32395 glibcxx_cv_func_sqrtf_use=no
32397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32398 ac_ext=c
32399 ac_cpp='$CPP $CPPFLAGS'
32400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32409 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32411 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32412 for ac_func in sqrtf
32413 do :
32414 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32415 if test "x$ac_cv_func_sqrtf" = xyes; then :
32416 cat >>confdefs.h <<_ACEOF
32417 #define HAVE_SQRTF 1
32418 _ACEOF
32421 done
32423 else
32425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32426 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32427 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32428 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
32429 $as_echo_n "(cached) " >&6
32430 else
32433 ac_ext=cpp
32434 ac_cpp='$CXXCPP $CPPFLAGS'
32435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32440 /* end confdefs.h. */
32441 #include <math.h>
32442 #ifdef HAVE_IEEEFP_H
32443 #include <ieeefp.h>
32444 #endif
32447 main ()
32449 _sqrtf(0);
32451 return 0;
32453 _ACEOF
32454 if ac_fn_cxx_try_compile "$LINENO"; then :
32455 glibcxx_cv_func__sqrtf_use=yes
32456 else
32457 glibcxx_cv_func__sqrtf_use=no
32459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32460 ac_ext=c
32461 ac_cpp='$CPP $CPPFLAGS'
32462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32471 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32473 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32474 for ac_func in _sqrtf
32475 do :
32476 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32477 if test "x$ac_cv_func__sqrtf" = xyes; then :
32478 cat >>confdefs.h <<_ACEOF
32479 #define HAVE__SQRTF 1
32480 _ACEOF
32483 done
32492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32493 $as_echo_n "checking for sincosf declaration... " >&6; }
32494 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32495 if ${glibcxx_cv_func_sincosf_use+:} false; then :
32496 $as_echo_n "(cached) " >&6
32497 else
32500 ac_ext=cpp
32501 ac_cpp='$CXXCPP $CPPFLAGS'
32502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32507 /* end confdefs.h. */
32508 #include <math.h>
32510 main ()
32512 sincosf(0, 0, 0);
32514 return 0;
32516 _ACEOF
32517 if ac_fn_cxx_try_compile "$LINENO"; then :
32518 glibcxx_cv_func_sincosf_use=yes
32519 else
32520 glibcxx_cv_func_sincosf_use=no
32522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32523 ac_ext=c
32524 ac_cpp='$CPP $CPPFLAGS'
32525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32534 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32536 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32537 for ac_func in sincosf
32538 do :
32539 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32540 if test "x$ac_cv_func_sincosf" = xyes; then :
32541 cat >>confdefs.h <<_ACEOF
32542 #define HAVE_SINCOSF 1
32543 _ACEOF
32546 done
32548 else
32550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32551 $as_echo_n "checking for _sincosf declaration... " >&6; }
32552 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32553 if ${glibcxx_cv_func__sincosf_use+:} false; then :
32554 $as_echo_n "(cached) " >&6
32555 else
32558 ac_ext=cpp
32559 ac_cpp='$CXXCPP $CPPFLAGS'
32560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32565 /* end confdefs.h. */
32566 #include <math.h>
32568 main ()
32570 _sincosf(0, 0, 0);
32572 return 0;
32574 _ACEOF
32575 if ac_fn_cxx_try_compile "$LINENO"; then :
32576 glibcxx_cv_func__sincosf_use=yes
32577 else
32578 glibcxx_cv_func__sincosf_use=no
32580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32581 ac_ext=c
32582 ac_cpp='$CPP $CPPFLAGS'
32583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32592 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32594 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32595 for ac_func in _sincosf
32596 do :
32597 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32598 if test "x$ac_cv_func__sincosf" = xyes; then :
32599 cat >>confdefs.h <<_ACEOF
32600 #define HAVE__SINCOSF 1
32601 _ACEOF
32604 done
32613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32614 $as_echo_n "checking for finitef declaration... " >&6; }
32615 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32616 if ${glibcxx_cv_func_finitef_use+:} false; then :
32617 $as_echo_n "(cached) " >&6
32618 else
32621 ac_ext=cpp
32622 ac_cpp='$CXXCPP $CPPFLAGS'
32623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32628 /* end confdefs.h. */
32629 #include <math.h>
32630 #ifdef HAVE_IEEEFP_H
32631 #include <ieeefp.h>
32632 #endif
32635 main ()
32637 finitef(0);
32639 return 0;
32641 _ACEOF
32642 if ac_fn_cxx_try_compile "$LINENO"; then :
32643 glibcxx_cv_func_finitef_use=yes
32644 else
32645 glibcxx_cv_func_finitef_use=no
32647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32648 ac_ext=c
32649 ac_cpp='$CPP $CPPFLAGS'
32650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32659 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32661 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32662 for ac_func in finitef
32663 do :
32664 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32665 if test "x$ac_cv_func_finitef" = xyes; then :
32666 cat >>confdefs.h <<_ACEOF
32667 #define HAVE_FINITEF 1
32668 _ACEOF
32671 done
32673 else
32675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32676 $as_echo_n "checking for _finitef declaration... " >&6; }
32677 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32678 if ${glibcxx_cv_func__finitef_use+:} false; then :
32679 $as_echo_n "(cached) " >&6
32680 else
32683 ac_ext=cpp
32684 ac_cpp='$CXXCPP $CPPFLAGS'
32685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32690 /* end confdefs.h. */
32691 #include <math.h>
32692 #ifdef HAVE_IEEEFP_H
32693 #include <ieeefp.h>
32694 #endif
32697 main ()
32699 _finitef(0);
32701 return 0;
32703 _ACEOF
32704 if ac_fn_cxx_try_compile "$LINENO"; then :
32705 glibcxx_cv_func__finitef_use=yes
32706 else
32707 glibcxx_cv_func__finitef_use=no
32709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32710 ac_ext=c
32711 ac_cpp='$CPP $CPPFLAGS'
32712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32721 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32723 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32724 for ac_func in _finitef
32725 do :
32726 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32727 if test "x$ac_cv_func__finitef" = xyes; then :
32728 cat >>confdefs.h <<_ACEOF
32729 #define HAVE__FINITEF 1
32730 _ACEOF
32733 done
32742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32743 $as_echo_n "checking for long double trig functions... " >&6; }
32744 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
32745 $as_echo_n "(cached) " >&6
32746 else
32749 ac_ext=cpp
32750 ac_cpp='$CXXCPP $CPPFLAGS'
32751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32756 /* end confdefs.h. */
32757 #include <math.h>
32759 main ()
32761 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32763 return 0;
32765 _ACEOF
32766 if ac_fn_cxx_try_compile "$LINENO"; then :
32767 glibcxx_cv_func_long_double_trig_use=yes
32768 else
32769 glibcxx_cv_func_long_double_trig_use=no
32771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32772 ac_ext=c
32773 ac_cpp='$CPP $CPPFLAGS'
32774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32781 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32782 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32783 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32784 do :
32785 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32786 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32787 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32788 cat >>confdefs.h <<_ACEOF
32789 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32790 _ACEOF
32793 done
32795 else
32796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32797 $as_echo_n "checking for _long double trig functions... " >&6; }
32798 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
32799 $as_echo_n "(cached) " >&6
32800 else
32803 ac_ext=cpp
32804 ac_cpp='$CXXCPP $CPPFLAGS'
32805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32810 /* end confdefs.h. */
32811 #include <math.h>
32813 main ()
32815 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32817 return 0;
32819 _ACEOF
32820 if ac_fn_cxx_try_compile "$LINENO"; then :
32821 glibcxx_cv_func__long_double_trig_use=yes
32822 else
32823 glibcxx_cv_func__long_double_trig_use=no
32825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32826 ac_ext=c
32827 ac_cpp='$CPP $CPPFLAGS'
32828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32835 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32836 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32837 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32838 do :
32839 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32840 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32841 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32842 cat >>confdefs.h <<_ACEOF
32843 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32844 _ACEOF
32847 done
32856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32857 $as_echo_n "checking for long double round functions... " >&6; }
32858 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
32859 $as_echo_n "(cached) " >&6
32860 else
32863 ac_ext=cpp
32864 ac_cpp='$CXXCPP $CPPFLAGS'
32865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32870 /* end confdefs.h. */
32871 #include <math.h>
32873 main ()
32875 ceill (0); floorl (0);
32877 return 0;
32879 _ACEOF
32880 if ac_fn_cxx_try_compile "$LINENO"; then :
32881 glibcxx_cv_func_long_double_round_use=yes
32882 else
32883 glibcxx_cv_func_long_double_round_use=no
32885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32886 ac_ext=c
32887 ac_cpp='$CPP $CPPFLAGS'
32888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32895 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32896 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32897 for ac_func in ceill floorl
32898 do :
32899 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32900 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32901 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32902 cat >>confdefs.h <<_ACEOF
32903 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32904 _ACEOF
32907 done
32909 else
32910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32911 $as_echo_n "checking for _long double round functions... " >&6; }
32912 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
32913 $as_echo_n "(cached) " >&6
32914 else
32917 ac_ext=cpp
32918 ac_cpp='$CXXCPP $CPPFLAGS'
32919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32924 /* end confdefs.h. */
32925 #include <math.h>
32927 main ()
32929 _ceill (0); _floorl (0);
32931 return 0;
32933 _ACEOF
32934 if ac_fn_cxx_try_compile "$LINENO"; then :
32935 glibcxx_cv_func__long_double_round_use=yes
32936 else
32937 glibcxx_cv_func__long_double_round_use=no
32939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32940 ac_ext=c
32941 ac_cpp='$CPP $CPPFLAGS'
32942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32949 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32950 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32951 for ac_func in _ceill _floorl
32952 do :
32953 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32954 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32955 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32956 cat >>confdefs.h <<_ACEOF
32957 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32958 _ACEOF
32961 done
32971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32972 $as_echo_n "checking for isnanl declaration... " >&6; }
32973 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32974 if ${glibcxx_cv_func_isnanl_use+:} false; then :
32975 $as_echo_n "(cached) " >&6
32976 else
32979 ac_ext=cpp
32980 ac_cpp='$CXXCPP $CPPFLAGS'
32981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32986 /* end confdefs.h. */
32987 #include <math.h>
32988 #ifdef HAVE_IEEEFP_H
32989 #include <ieeefp.h>
32990 #endif
32993 main ()
32995 isnanl(0);
32997 return 0;
32999 _ACEOF
33000 if ac_fn_cxx_try_compile "$LINENO"; then :
33001 glibcxx_cv_func_isnanl_use=yes
33002 else
33003 glibcxx_cv_func_isnanl_use=no
33005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33006 ac_ext=c
33007 ac_cpp='$CPP $CPPFLAGS'
33008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33017 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33019 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33020 for ac_func in isnanl
33021 do :
33022 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33023 if test "x$ac_cv_func_isnanl" = xyes; then :
33024 cat >>confdefs.h <<_ACEOF
33025 #define HAVE_ISNANL 1
33026 _ACEOF
33029 done
33031 else
33033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
33034 $as_echo_n "checking for _isnanl declaration... " >&6; }
33035 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33036 if ${glibcxx_cv_func__isnanl_use+:} false; then :
33037 $as_echo_n "(cached) " >&6
33038 else
33041 ac_ext=cpp
33042 ac_cpp='$CXXCPP $CPPFLAGS'
33043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33048 /* end confdefs.h. */
33049 #include <math.h>
33050 #ifdef HAVE_IEEEFP_H
33051 #include <ieeefp.h>
33052 #endif
33055 main ()
33057 _isnanl(0);
33059 return 0;
33061 _ACEOF
33062 if ac_fn_cxx_try_compile "$LINENO"; then :
33063 glibcxx_cv_func__isnanl_use=yes
33064 else
33065 glibcxx_cv_func__isnanl_use=no
33067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33068 ac_ext=c
33069 ac_cpp='$CPP $CPPFLAGS'
33070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33079 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33081 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33082 for ac_func in _isnanl
33083 do :
33084 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33085 if test "x$ac_cv_func__isnanl" = xyes; then :
33086 cat >>confdefs.h <<_ACEOF
33087 #define HAVE__ISNANL 1
33088 _ACEOF
33091 done
33100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33101 $as_echo_n "checking for isinfl declaration... " >&6; }
33102 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33103 if ${glibcxx_cv_func_isinfl_use+:} false; then :
33104 $as_echo_n "(cached) " >&6
33105 else
33108 ac_ext=cpp
33109 ac_cpp='$CXXCPP $CPPFLAGS'
33110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33115 /* end confdefs.h. */
33116 #include <math.h>
33117 #ifdef HAVE_IEEEFP_H
33118 #include <ieeefp.h>
33119 #endif
33122 main ()
33124 isinfl(0);
33126 return 0;
33128 _ACEOF
33129 if ac_fn_cxx_try_compile "$LINENO"; then :
33130 glibcxx_cv_func_isinfl_use=yes
33131 else
33132 glibcxx_cv_func_isinfl_use=no
33134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33135 ac_ext=c
33136 ac_cpp='$CPP $CPPFLAGS'
33137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33146 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33148 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33149 for ac_func in isinfl
33150 do :
33151 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33152 if test "x$ac_cv_func_isinfl" = xyes; then :
33153 cat >>confdefs.h <<_ACEOF
33154 #define HAVE_ISINFL 1
33155 _ACEOF
33158 done
33160 else
33162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33163 $as_echo_n "checking for _isinfl declaration... " >&6; }
33164 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33165 if ${glibcxx_cv_func__isinfl_use+:} false; then :
33166 $as_echo_n "(cached) " >&6
33167 else
33170 ac_ext=cpp
33171 ac_cpp='$CXXCPP $CPPFLAGS'
33172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33177 /* end confdefs.h. */
33178 #include <math.h>
33179 #ifdef HAVE_IEEEFP_H
33180 #include <ieeefp.h>
33181 #endif
33184 main ()
33186 _isinfl(0);
33188 return 0;
33190 _ACEOF
33191 if ac_fn_cxx_try_compile "$LINENO"; then :
33192 glibcxx_cv_func__isinfl_use=yes
33193 else
33194 glibcxx_cv_func__isinfl_use=no
33196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33197 ac_ext=c
33198 ac_cpp='$CPP $CPPFLAGS'
33199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33208 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33210 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33211 for ac_func in _isinfl
33212 do :
33213 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33214 if test "x$ac_cv_func__isinfl" = xyes; then :
33215 cat >>confdefs.h <<_ACEOF
33216 #define HAVE__ISINFL 1
33217 _ACEOF
33220 done
33229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33230 $as_echo_n "checking for atan2l declaration... " >&6; }
33231 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33232 if ${glibcxx_cv_func_atan2l_use+:} false; then :
33233 $as_echo_n "(cached) " >&6
33234 else
33237 ac_ext=cpp
33238 ac_cpp='$CXXCPP $CPPFLAGS'
33239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33244 /* end confdefs.h. */
33245 #include <math.h>
33247 main ()
33249 atan2l(0, 0);
33251 return 0;
33253 _ACEOF
33254 if ac_fn_cxx_try_compile "$LINENO"; then :
33255 glibcxx_cv_func_atan2l_use=yes
33256 else
33257 glibcxx_cv_func_atan2l_use=no
33259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33260 ac_ext=c
33261 ac_cpp='$CPP $CPPFLAGS'
33262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33271 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33273 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33274 for ac_func in atan2l
33275 do :
33276 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33277 if test "x$ac_cv_func_atan2l" = xyes; then :
33278 cat >>confdefs.h <<_ACEOF
33279 #define HAVE_ATAN2L 1
33280 _ACEOF
33283 done
33285 else
33287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33288 $as_echo_n "checking for _atan2l declaration... " >&6; }
33289 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33290 if ${glibcxx_cv_func__atan2l_use+:} false; then :
33291 $as_echo_n "(cached) " >&6
33292 else
33295 ac_ext=cpp
33296 ac_cpp='$CXXCPP $CPPFLAGS'
33297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33302 /* end confdefs.h. */
33303 #include <math.h>
33305 main ()
33307 _atan2l(0, 0);
33309 return 0;
33311 _ACEOF
33312 if ac_fn_cxx_try_compile "$LINENO"; then :
33313 glibcxx_cv_func__atan2l_use=yes
33314 else
33315 glibcxx_cv_func__atan2l_use=no
33317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33318 ac_ext=c
33319 ac_cpp='$CPP $CPPFLAGS'
33320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33329 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33331 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33332 for ac_func in _atan2l
33333 do :
33334 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33335 if test "x$ac_cv_func__atan2l" = xyes; then :
33336 cat >>confdefs.h <<_ACEOF
33337 #define HAVE__ATAN2L 1
33338 _ACEOF
33341 done
33350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33351 $as_echo_n "checking for expl declaration... " >&6; }
33352 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33353 if ${glibcxx_cv_func_expl_use+:} false; then :
33354 $as_echo_n "(cached) " >&6
33355 else
33358 ac_ext=cpp
33359 ac_cpp='$CXXCPP $CPPFLAGS'
33360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33365 /* end confdefs.h. */
33366 #include <math.h>
33367 #ifdef HAVE_IEEEFP_H
33368 #include <ieeefp.h>
33369 #endif
33372 main ()
33374 expl(0);
33376 return 0;
33378 _ACEOF
33379 if ac_fn_cxx_try_compile "$LINENO"; then :
33380 glibcxx_cv_func_expl_use=yes
33381 else
33382 glibcxx_cv_func_expl_use=no
33384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33385 ac_ext=c
33386 ac_cpp='$CPP $CPPFLAGS'
33387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33396 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33398 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33399 for ac_func in expl
33400 do :
33401 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33402 if test "x$ac_cv_func_expl" = xyes; then :
33403 cat >>confdefs.h <<_ACEOF
33404 #define HAVE_EXPL 1
33405 _ACEOF
33408 done
33410 else
33412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33413 $as_echo_n "checking for _expl declaration... " >&6; }
33414 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33415 if ${glibcxx_cv_func__expl_use+:} false; then :
33416 $as_echo_n "(cached) " >&6
33417 else
33420 ac_ext=cpp
33421 ac_cpp='$CXXCPP $CPPFLAGS'
33422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33427 /* end confdefs.h. */
33428 #include <math.h>
33429 #ifdef HAVE_IEEEFP_H
33430 #include <ieeefp.h>
33431 #endif
33434 main ()
33436 _expl(0);
33438 return 0;
33440 _ACEOF
33441 if ac_fn_cxx_try_compile "$LINENO"; then :
33442 glibcxx_cv_func__expl_use=yes
33443 else
33444 glibcxx_cv_func__expl_use=no
33446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33447 ac_ext=c
33448 ac_cpp='$CPP $CPPFLAGS'
33449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33458 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33460 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33461 for ac_func in _expl
33462 do :
33463 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33464 if test "x$ac_cv_func__expl" = xyes; then :
33465 cat >>confdefs.h <<_ACEOF
33466 #define HAVE__EXPL 1
33467 _ACEOF
33470 done
33479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33480 $as_echo_n "checking for fabsl declaration... " >&6; }
33481 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33482 if ${glibcxx_cv_func_fabsl_use+:} false; then :
33483 $as_echo_n "(cached) " >&6
33484 else
33487 ac_ext=cpp
33488 ac_cpp='$CXXCPP $CPPFLAGS'
33489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33494 /* end confdefs.h. */
33495 #include <math.h>
33496 #ifdef HAVE_IEEEFP_H
33497 #include <ieeefp.h>
33498 #endif
33501 main ()
33503 fabsl(0);
33505 return 0;
33507 _ACEOF
33508 if ac_fn_cxx_try_compile "$LINENO"; then :
33509 glibcxx_cv_func_fabsl_use=yes
33510 else
33511 glibcxx_cv_func_fabsl_use=no
33513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33514 ac_ext=c
33515 ac_cpp='$CPP $CPPFLAGS'
33516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33525 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33527 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33528 for ac_func in fabsl
33529 do :
33530 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33531 if test "x$ac_cv_func_fabsl" = xyes; then :
33532 cat >>confdefs.h <<_ACEOF
33533 #define HAVE_FABSL 1
33534 _ACEOF
33537 done
33539 else
33541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33542 $as_echo_n "checking for _fabsl declaration... " >&6; }
33543 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33544 if ${glibcxx_cv_func__fabsl_use+:} false; then :
33545 $as_echo_n "(cached) " >&6
33546 else
33549 ac_ext=cpp
33550 ac_cpp='$CXXCPP $CPPFLAGS'
33551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33556 /* end confdefs.h. */
33557 #include <math.h>
33558 #ifdef HAVE_IEEEFP_H
33559 #include <ieeefp.h>
33560 #endif
33563 main ()
33565 _fabsl(0);
33567 return 0;
33569 _ACEOF
33570 if ac_fn_cxx_try_compile "$LINENO"; then :
33571 glibcxx_cv_func__fabsl_use=yes
33572 else
33573 glibcxx_cv_func__fabsl_use=no
33575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33576 ac_ext=c
33577 ac_cpp='$CPP $CPPFLAGS'
33578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33587 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33589 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33590 for ac_func in _fabsl
33591 do :
33592 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33593 if test "x$ac_cv_func__fabsl" = xyes; then :
33594 cat >>confdefs.h <<_ACEOF
33595 #define HAVE__FABSL 1
33596 _ACEOF
33599 done
33608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33609 $as_echo_n "checking for fmodl declaration... " >&6; }
33610 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33611 if ${glibcxx_cv_func_fmodl_use+:} false; then :
33612 $as_echo_n "(cached) " >&6
33613 else
33616 ac_ext=cpp
33617 ac_cpp='$CXXCPP $CPPFLAGS'
33618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33623 /* end confdefs.h. */
33624 #include <math.h>
33626 main ()
33628 fmodl(0, 0);
33630 return 0;
33632 _ACEOF
33633 if ac_fn_cxx_try_compile "$LINENO"; then :
33634 glibcxx_cv_func_fmodl_use=yes
33635 else
33636 glibcxx_cv_func_fmodl_use=no
33638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33639 ac_ext=c
33640 ac_cpp='$CPP $CPPFLAGS'
33641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33650 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33652 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33653 for ac_func in fmodl
33654 do :
33655 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33656 if test "x$ac_cv_func_fmodl" = xyes; then :
33657 cat >>confdefs.h <<_ACEOF
33658 #define HAVE_FMODL 1
33659 _ACEOF
33662 done
33664 else
33666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33667 $as_echo_n "checking for _fmodl declaration... " >&6; }
33668 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33669 if ${glibcxx_cv_func__fmodl_use+:} false; then :
33670 $as_echo_n "(cached) " >&6
33671 else
33674 ac_ext=cpp
33675 ac_cpp='$CXXCPP $CPPFLAGS'
33676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33681 /* end confdefs.h. */
33682 #include <math.h>
33684 main ()
33686 _fmodl(0, 0);
33688 return 0;
33690 _ACEOF
33691 if ac_fn_cxx_try_compile "$LINENO"; then :
33692 glibcxx_cv_func__fmodl_use=yes
33693 else
33694 glibcxx_cv_func__fmodl_use=no
33696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33697 ac_ext=c
33698 ac_cpp='$CPP $CPPFLAGS'
33699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33708 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33710 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33711 for ac_func in _fmodl
33712 do :
33713 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33714 if test "x$ac_cv_func__fmodl" = xyes; then :
33715 cat >>confdefs.h <<_ACEOF
33716 #define HAVE__FMODL 1
33717 _ACEOF
33720 done
33729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33730 $as_echo_n "checking for frexpl declaration... " >&6; }
33731 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33732 if ${glibcxx_cv_func_frexpl_use+:} false; then :
33733 $as_echo_n "(cached) " >&6
33734 else
33737 ac_ext=cpp
33738 ac_cpp='$CXXCPP $CPPFLAGS'
33739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33744 /* end confdefs.h. */
33745 #include <math.h>
33747 main ()
33749 frexpl(0, 0);
33751 return 0;
33753 _ACEOF
33754 if ac_fn_cxx_try_compile "$LINENO"; then :
33755 glibcxx_cv_func_frexpl_use=yes
33756 else
33757 glibcxx_cv_func_frexpl_use=no
33759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33760 ac_ext=c
33761 ac_cpp='$CPP $CPPFLAGS'
33762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33771 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33773 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33774 for ac_func in frexpl
33775 do :
33776 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33777 if test "x$ac_cv_func_frexpl" = xyes; then :
33778 cat >>confdefs.h <<_ACEOF
33779 #define HAVE_FREXPL 1
33780 _ACEOF
33783 done
33785 else
33787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33788 $as_echo_n "checking for _frexpl declaration... " >&6; }
33789 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33790 if ${glibcxx_cv_func__frexpl_use+:} false; then :
33791 $as_echo_n "(cached) " >&6
33792 else
33795 ac_ext=cpp
33796 ac_cpp='$CXXCPP $CPPFLAGS'
33797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33802 /* end confdefs.h. */
33803 #include <math.h>
33805 main ()
33807 _frexpl(0, 0);
33809 return 0;
33811 _ACEOF
33812 if ac_fn_cxx_try_compile "$LINENO"; then :
33813 glibcxx_cv_func__frexpl_use=yes
33814 else
33815 glibcxx_cv_func__frexpl_use=no
33817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33818 ac_ext=c
33819 ac_cpp='$CPP $CPPFLAGS'
33820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33829 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33831 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33832 for ac_func in _frexpl
33833 do :
33834 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33835 if test "x$ac_cv_func__frexpl" = xyes; then :
33836 cat >>confdefs.h <<_ACEOF
33837 #define HAVE__FREXPL 1
33838 _ACEOF
33841 done
33850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33851 $as_echo_n "checking for hypotl declaration... " >&6; }
33852 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33853 if ${glibcxx_cv_func_hypotl_use+:} false; then :
33854 $as_echo_n "(cached) " >&6
33855 else
33858 ac_ext=cpp
33859 ac_cpp='$CXXCPP $CPPFLAGS'
33860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33865 /* end confdefs.h. */
33866 #include <math.h>
33868 main ()
33870 hypotl(0, 0);
33872 return 0;
33874 _ACEOF
33875 if ac_fn_cxx_try_compile "$LINENO"; then :
33876 glibcxx_cv_func_hypotl_use=yes
33877 else
33878 glibcxx_cv_func_hypotl_use=no
33880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33881 ac_ext=c
33882 ac_cpp='$CPP $CPPFLAGS'
33883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33892 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33894 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33895 for ac_func in hypotl
33896 do :
33897 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33898 if test "x$ac_cv_func_hypotl" = xyes; then :
33899 cat >>confdefs.h <<_ACEOF
33900 #define HAVE_HYPOTL 1
33901 _ACEOF
33904 done
33906 else
33908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33909 $as_echo_n "checking for _hypotl declaration... " >&6; }
33910 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33911 if ${glibcxx_cv_func__hypotl_use+:} false; then :
33912 $as_echo_n "(cached) " >&6
33913 else
33916 ac_ext=cpp
33917 ac_cpp='$CXXCPP $CPPFLAGS'
33918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33923 /* end confdefs.h. */
33924 #include <math.h>
33926 main ()
33928 _hypotl(0, 0);
33930 return 0;
33932 _ACEOF
33933 if ac_fn_cxx_try_compile "$LINENO"; then :
33934 glibcxx_cv_func__hypotl_use=yes
33935 else
33936 glibcxx_cv_func__hypotl_use=no
33938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33939 ac_ext=c
33940 ac_cpp='$CPP $CPPFLAGS'
33941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33950 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33952 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33953 for ac_func in _hypotl
33954 do :
33955 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33956 if test "x$ac_cv_func__hypotl" = xyes; then :
33957 cat >>confdefs.h <<_ACEOF
33958 #define HAVE__HYPOTL 1
33959 _ACEOF
33962 done
33971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33972 $as_echo_n "checking for ldexpl declaration... " >&6; }
33973 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33974 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
33975 $as_echo_n "(cached) " >&6
33976 else
33979 ac_ext=cpp
33980 ac_cpp='$CXXCPP $CPPFLAGS'
33981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33986 /* end confdefs.h. */
33987 #include <math.h>
33989 main ()
33991 ldexpl(0, 0);
33993 return 0;
33995 _ACEOF
33996 if ac_fn_cxx_try_compile "$LINENO"; then :
33997 glibcxx_cv_func_ldexpl_use=yes
33998 else
33999 glibcxx_cv_func_ldexpl_use=no
34001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34002 ac_ext=c
34003 ac_cpp='$CPP $CPPFLAGS'
34004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34013 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34015 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34016 for ac_func in ldexpl
34017 do :
34018 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34019 if test "x$ac_cv_func_ldexpl" = xyes; then :
34020 cat >>confdefs.h <<_ACEOF
34021 #define HAVE_LDEXPL 1
34022 _ACEOF
34025 done
34027 else
34029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34030 $as_echo_n "checking for _ldexpl declaration... " >&6; }
34031 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34032 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
34033 $as_echo_n "(cached) " >&6
34034 else
34037 ac_ext=cpp
34038 ac_cpp='$CXXCPP $CPPFLAGS'
34039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34044 /* end confdefs.h. */
34045 #include <math.h>
34047 main ()
34049 _ldexpl(0, 0);
34051 return 0;
34053 _ACEOF
34054 if ac_fn_cxx_try_compile "$LINENO"; then :
34055 glibcxx_cv_func__ldexpl_use=yes
34056 else
34057 glibcxx_cv_func__ldexpl_use=no
34059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34060 ac_ext=c
34061 ac_cpp='$CPP $CPPFLAGS'
34062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34071 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34073 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34074 for ac_func in _ldexpl
34075 do :
34076 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34077 if test "x$ac_cv_func__ldexpl" = xyes; then :
34078 cat >>confdefs.h <<_ACEOF
34079 #define HAVE__LDEXPL 1
34080 _ACEOF
34083 done
34092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34093 $as_echo_n "checking for logl declaration... " >&6; }
34094 if test x${glibcxx_cv_func_logl_use+set} != xset; then
34095 if ${glibcxx_cv_func_logl_use+:} false; then :
34096 $as_echo_n "(cached) " >&6
34097 else
34100 ac_ext=cpp
34101 ac_cpp='$CXXCPP $CPPFLAGS'
34102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34107 /* end confdefs.h. */
34108 #include <math.h>
34109 #ifdef HAVE_IEEEFP_H
34110 #include <ieeefp.h>
34111 #endif
34114 main ()
34116 logl(0);
34118 return 0;
34120 _ACEOF
34121 if ac_fn_cxx_try_compile "$LINENO"; then :
34122 glibcxx_cv_func_logl_use=yes
34123 else
34124 glibcxx_cv_func_logl_use=no
34126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34127 ac_ext=c
34128 ac_cpp='$CPP $CPPFLAGS'
34129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34138 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34140 if test x$glibcxx_cv_func_logl_use = x"yes"; then
34141 for ac_func in logl
34142 do :
34143 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34144 if test "x$ac_cv_func_logl" = xyes; then :
34145 cat >>confdefs.h <<_ACEOF
34146 #define HAVE_LOGL 1
34147 _ACEOF
34150 done
34152 else
34154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34155 $as_echo_n "checking for _logl declaration... " >&6; }
34156 if test x${glibcxx_cv_func__logl_use+set} != xset; then
34157 if ${glibcxx_cv_func__logl_use+:} false; then :
34158 $as_echo_n "(cached) " >&6
34159 else
34162 ac_ext=cpp
34163 ac_cpp='$CXXCPP $CPPFLAGS'
34164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34169 /* end confdefs.h. */
34170 #include <math.h>
34171 #ifdef HAVE_IEEEFP_H
34172 #include <ieeefp.h>
34173 #endif
34176 main ()
34178 _logl(0);
34180 return 0;
34182 _ACEOF
34183 if ac_fn_cxx_try_compile "$LINENO"; then :
34184 glibcxx_cv_func__logl_use=yes
34185 else
34186 glibcxx_cv_func__logl_use=no
34188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34189 ac_ext=c
34190 ac_cpp='$CPP $CPPFLAGS'
34191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34200 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
34202 if test x$glibcxx_cv_func__logl_use = x"yes"; then
34203 for ac_func in _logl
34204 do :
34205 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34206 if test "x$ac_cv_func__logl" = xyes; then :
34207 cat >>confdefs.h <<_ACEOF
34208 #define HAVE__LOGL 1
34209 _ACEOF
34212 done
34221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34222 $as_echo_n "checking for log10l declaration... " >&6; }
34223 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34224 if ${glibcxx_cv_func_log10l_use+:} false; then :
34225 $as_echo_n "(cached) " >&6
34226 else
34229 ac_ext=cpp
34230 ac_cpp='$CXXCPP $CPPFLAGS'
34231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34236 /* end confdefs.h. */
34237 #include <math.h>
34238 #ifdef HAVE_IEEEFP_H
34239 #include <ieeefp.h>
34240 #endif
34243 main ()
34245 log10l(0);
34247 return 0;
34249 _ACEOF
34250 if ac_fn_cxx_try_compile "$LINENO"; then :
34251 glibcxx_cv_func_log10l_use=yes
34252 else
34253 glibcxx_cv_func_log10l_use=no
34255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34256 ac_ext=c
34257 ac_cpp='$CPP $CPPFLAGS'
34258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34267 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34269 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34270 for ac_func in log10l
34271 do :
34272 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34273 if test "x$ac_cv_func_log10l" = xyes; then :
34274 cat >>confdefs.h <<_ACEOF
34275 #define HAVE_LOG10L 1
34276 _ACEOF
34279 done
34281 else
34283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34284 $as_echo_n "checking for _log10l declaration... " >&6; }
34285 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34286 if ${glibcxx_cv_func__log10l_use+:} false; then :
34287 $as_echo_n "(cached) " >&6
34288 else
34291 ac_ext=cpp
34292 ac_cpp='$CXXCPP $CPPFLAGS'
34293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34298 /* end confdefs.h. */
34299 #include <math.h>
34300 #ifdef HAVE_IEEEFP_H
34301 #include <ieeefp.h>
34302 #endif
34305 main ()
34307 _log10l(0);
34309 return 0;
34311 _ACEOF
34312 if ac_fn_cxx_try_compile "$LINENO"; then :
34313 glibcxx_cv_func__log10l_use=yes
34314 else
34315 glibcxx_cv_func__log10l_use=no
34317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34318 ac_ext=c
34319 ac_cpp='$CPP $CPPFLAGS'
34320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34329 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34331 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34332 for ac_func in _log10l
34333 do :
34334 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34335 if test "x$ac_cv_func__log10l" = xyes; then :
34336 cat >>confdefs.h <<_ACEOF
34337 #define HAVE__LOG10L 1
34338 _ACEOF
34341 done
34350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34351 $as_echo_n "checking for modfl declaration... " >&6; }
34352 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34353 if ${glibcxx_cv_func_modfl_use+:} false; then :
34354 $as_echo_n "(cached) " >&6
34355 else
34358 ac_ext=cpp
34359 ac_cpp='$CXXCPP $CPPFLAGS'
34360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34365 /* end confdefs.h. */
34366 #include <math.h>
34368 main ()
34370 modfl(0, 0);
34372 return 0;
34374 _ACEOF
34375 if ac_fn_cxx_try_compile "$LINENO"; then :
34376 glibcxx_cv_func_modfl_use=yes
34377 else
34378 glibcxx_cv_func_modfl_use=no
34380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34381 ac_ext=c
34382 ac_cpp='$CPP $CPPFLAGS'
34383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34392 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34394 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34395 for ac_func in modfl
34396 do :
34397 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34398 if test "x$ac_cv_func_modfl" = xyes; then :
34399 cat >>confdefs.h <<_ACEOF
34400 #define HAVE_MODFL 1
34401 _ACEOF
34404 done
34406 else
34408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34409 $as_echo_n "checking for _modfl declaration... " >&6; }
34410 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34411 if ${glibcxx_cv_func__modfl_use+:} false; then :
34412 $as_echo_n "(cached) " >&6
34413 else
34416 ac_ext=cpp
34417 ac_cpp='$CXXCPP $CPPFLAGS'
34418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34423 /* end confdefs.h. */
34424 #include <math.h>
34426 main ()
34428 _modfl(0, 0);
34430 return 0;
34432 _ACEOF
34433 if ac_fn_cxx_try_compile "$LINENO"; then :
34434 glibcxx_cv_func__modfl_use=yes
34435 else
34436 glibcxx_cv_func__modfl_use=no
34438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34439 ac_ext=c
34440 ac_cpp='$CPP $CPPFLAGS'
34441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34450 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34452 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34453 for ac_func in _modfl
34454 do :
34455 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34456 if test "x$ac_cv_func__modfl" = xyes; then :
34457 cat >>confdefs.h <<_ACEOF
34458 #define HAVE__MODFL 1
34459 _ACEOF
34462 done
34471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34472 $as_echo_n "checking for powl declaration... " >&6; }
34473 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34474 if ${glibcxx_cv_func_powl_use+:} false; then :
34475 $as_echo_n "(cached) " >&6
34476 else
34479 ac_ext=cpp
34480 ac_cpp='$CXXCPP $CPPFLAGS'
34481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34486 /* end confdefs.h. */
34487 #include <math.h>
34489 main ()
34491 powl(0, 0);
34493 return 0;
34495 _ACEOF
34496 if ac_fn_cxx_try_compile "$LINENO"; then :
34497 glibcxx_cv_func_powl_use=yes
34498 else
34499 glibcxx_cv_func_powl_use=no
34501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34502 ac_ext=c
34503 ac_cpp='$CPP $CPPFLAGS'
34504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34513 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34515 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34516 for ac_func in powl
34517 do :
34518 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34519 if test "x$ac_cv_func_powl" = xyes; then :
34520 cat >>confdefs.h <<_ACEOF
34521 #define HAVE_POWL 1
34522 _ACEOF
34525 done
34527 else
34529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34530 $as_echo_n "checking for _powl declaration... " >&6; }
34531 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34532 if ${glibcxx_cv_func__powl_use+:} false; then :
34533 $as_echo_n "(cached) " >&6
34534 else
34537 ac_ext=cpp
34538 ac_cpp='$CXXCPP $CPPFLAGS'
34539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34544 /* end confdefs.h. */
34545 #include <math.h>
34547 main ()
34549 _powl(0, 0);
34551 return 0;
34553 _ACEOF
34554 if ac_fn_cxx_try_compile "$LINENO"; then :
34555 glibcxx_cv_func__powl_use=yes
34556 else
34557 glibcxx_cv_func__powl_use=no
34559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34560 ac_ext=c
34561 ac_cpp='$CPP $CPPFLAGS'
34562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34571 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34573 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34574 for ac_func in _powl
34575 do :
34576 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34577 if test "x$ac_cv_func__powl" = xyes; then :
34578 cat >>confdefs.h <<_ACEOF
34579 #define HAVE__POWL 1
34580 _ACEOF
34583 done
34592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34593 $as_echo_n "checking for sqrtl declaration... " >&6; }
34594 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34595 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
34596 $as_echo_n "(cached) " >&6
34597 else
34600 ac_ext=cpp
34601 ac_cpp='$CXXCPP $CPPFLAGS'
34602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34607 /* end confdefs.h. */
34608 #include <math.h>
34609 #ifdef HAVE_IEEEFP_H
34610 #include <ieeefp.h>
34611 #endif
34614 main ()
34616 sqrtl(0);
34618 return 0;
34620 _ACEOF
34621 if ac_fn_cxx_try_compile "$LINENO"; then :
34622 glibcxx_cv_func_sqrtl_use=yes
34623 else
34624 glibcxx_cv_func_sqrtl_use=no
34626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34627 ac_ext=c
34628 ac_cpp='$CPP $CPPFLAGS'
34629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34638 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34640 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34641 for ac_func in sqrtl
34642 do :
34643 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34644 if test "x$ac_cv_func_sqrtl" = xyes; then :
34645 cat >>confdefs.h <<_ACEOF
34646 #define HAVE_SQRTL 1
34647 _ACEOF
34650 done
34652 else
34654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34655 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34656 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34657 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
34658 $as_echo_n "(cached) " >&6
34659 else
34662 ac_ext=cpp
34663 ac_cpp='$CXXCPP $CPPFLAGS'
34664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34669 /* end confdefs.h. */
34670 #include <math.h>
34671 #ifdef HAVE_IEEEFP_H
34672 #include <ieeefp.h>
34673 #endif
34676 main ()
34678 _sqrtl(0);
34680 return 0;
34682 _ACEOF
34683 if ac_fn_cxx_try_compile "$LINENO"; then :
34684 glibcxx_cv_func__sqrtl_use=yes
34685 else
34686 glibcxx_cv_func__sqrtl_use=no
34688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34689 ac_ext=c
34690 ac_cpp='$CPP $CPPFLAGS'
34691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34700 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34702 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34703 for ac_func in _sqrtl
34704 do :
34705 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34706 if test "x$ac_cv_func__sqrtl" = xyes; then :
34707 cat >>confdefs.h <<_ACEOF
34708 #define HAVE__SQRTL 1
34709 _ACEOF
34712 done
34721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34722 $as_echo_n "checking for sincosl declaration... " >&6; }
34723 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34724 if ${glibcxx_cv_func_sincosl_use+:} false; then :
34725 $as_echo_n "(cached) " >&6
34726 else
34729 ac_ext=cpp
34730 ac_cpp='$CXXCPP $CPPFLAGS'
34731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34736 /* end confdefs.h. */
34737 #include <math.h>
34739 main ()
34741 sincosl(0, 0, 0);
34743 return 0;
34745 _ACEOF
34746 if ac_fn_cxx_try_compile "$LINENO"; then :
34747 glibcxx_cv_func_sincosl_use=yes
34748 else
34749 glibcxx_cv_func_sincosl_use=no
34751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34752 ac_ext=c
34753 ac_cpp='$CPP $CPPFLAGS'
34754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34763 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34765 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34766 for ac_func in sincosl
34767 do :
34768 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34769 if test "x$ac_cv_func_sincosl" = xyes; then :
34770 cat >>confdefs.h <<_ACEOF
34771 #define HAVE_SINCOSL 1
34772 _ACEOF
34775 done
34777 else
34779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34780 $as_echo_n "checking for _sincosl declaration... " >&6; }
34781 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34782 if ${glibcxx_cv_func__sincosl_use+:} false; then :
34783 $as_echo_n "(cached) " >&6
34784 else
34787 ac_ext=cpp
34788 ac_cpp='$CXXCPP $CPPFLAGS'
34789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34794 /* end confdefs.h. */
34795 #include <math.h>
34797 main ()
34799 _sincosl(0, 0, 0);
34801 return 0;
34803 _ACEOF
34804 if ac_fn_cxx_try_compile "$LINENO"; then :
34805 glibcxx_cv_func__sincosl_use=yes
34806 else
34807 glibcxx_cv_func__sincosl_use=no
34809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34810 ac_ext=c
34811 ac_cpp='$CPP $CPPFLAGS'
34812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34821 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34823 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34824 for ac_func in _sincosl
34825 do :
34826 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34827 if test "x$ac_cv_func__sincosl" = xyes; then :
34828 cat >>confdefs.h <<_ACEOF
34829 #define HAVE__SINCOSL 1
34830 _ACEOF
34833 done
34842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34843 $as_echo_n "checking for finitel declaration... " >&6; }
34844 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34845 if ${glibcxx_cv_func_finitel_use+:} false; then :
34846 $as_echo_n "(cached) " >&6
34847 else
34850 ac_ext=cpp
34851 ac_cpp='$CXXCPP $CPPFLAGS'
34852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34857 /* end confdefs.h. */
34858 #include <math.h>
34859 #ifdef HAVE_IEEEFP_H
34860 #include <ieeefp.h>
34861 #endif
34864 main ()
34866 finitel(0);
34868 return 0;
34870 _ACEOF
34871 if ac_fn_cxx_try_compile "$LINENO"; then :
34872 glibcxx_cv_func_finitel_use=yes
34873 else
34874 glibcxx_cv_func_finitel_use=no
34876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34877 ac_ext=c
34878 ac_cpp='$CPP $CPPFLAGS'
34879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34888 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34890 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34891 for ac_func in finitel
34892 do :
34893 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34894 if test "x$ac_cv_func_finitel" = xyes; then :
34895 cat >>confdefs.h <<_ACEOF
34896 #define HAVE_FINITEL 1
34897 _ACEOF
34900 done
34902 else
34904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34905 $as_echo_n "checking for _finitel declaration... " >&6; }
34906 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34907 if ${glibcxx_cv_func__finitel_use+:} false; then :
34908 $as_echo_n "(cached) " >&6
34909 else
34912 ac_ext=cpp
34913 ac_cpp='$CXXCPP $CPPFLAGS'
34914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34919 /* end confdefs.h. */
34920 #include <math.h>
34921 #ifdef HAVE_IEEEFP_H
34922 #include <ieeefp.h>
34923 #endif
34926 main ()
34928 _finitel(0);
34930 return 0;
34932 _ACEOF
34933 if ac_fn_cxx_try_compile "$LINENO"; then :
34934 glibcxx_cv_func__finitel_use=yes
34935 else
34936 glibcxx_cv_func__finitel_use=no
34938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34939 ac_ext=c
34940 ac_cpp='$CPP $CPPFLAGS'
34941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34950 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34952 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34953 for ac_func in _finitel
34954 do :
34955 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34956 if test "x$ac_cv_func__finitel" = xyes; then :
34957 cat >>confdefs.h <<_ACEOF
34958 #define HAVE__FINITEL 1
34959 _ACEOF
34962 done
34970 LIBS="$ac_save_LIBS"
34971 CXXFLAGS="$ac_save_CXXFLAGS"
34974 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34975 ac_save_CXXFLAGS="$CXXFLAGS"
34976 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34980 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34981 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34982 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
34983 $as_echo_n "(cached) " >&6
34984 else
34987 ac_ext=cpp
34988 ac_cpp='$CXXCPP $CPPFLAGS'
34989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34994 /* end confdefs.h. */
34995 #include <stdlib.h>
34997 main ()
34999 at_quick_exit(0);
35001 return 0;
35003 _ACEOF
35004 if ac_fn_cxx_try_compile "$LINENO"; then :
35005 glibcxx_cv_func_at_quick_exit_use=yes
35006 else
35007 glibcxx_cv_func_at_quick_exit_use=no
35009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35010 ac_ext=c
35011 ac_cpp='$CPP $CPPFLAGS'
35012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35021 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35022 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35023 for ac_func in at_quick_exit
35024 do :
35025 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35026 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
35027 cat >>confdefs.h <<_ACEOF
35028 #define HAVE_AT_QUICK_EXIT 1
35029 _ACEOF
35032 done
35037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35038 $as_echo_n "checking for quick_exit declaration... " >&6; }
35039 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35040 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
35041 $as_echo_n "(cached) " >&6
35042 else
35045 ac_ext=cpp
35046 ac_cpp='$CXXCPP $CPPFLAGS'
35047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35052 /* end confdefs.h. */
35053 #include <stdlib.h>
35055 main ()
35057 quick_exit(0);
35059 return 0;
35061 _ACEOF
35062 if ac_fn_cxx_try_compile "$LINENO"; then :
35063 glibcxx_cv_func_quick_exit_use=yes
35064 else
35065 glibcxx_cv_func_quick_exit_use=no
35067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35068 ac_ext=c
35069 ac_cpp='$CPP $CPPFLAGS'
35070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35079 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35080 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35081 for ac_func in quick_exit
35082 do :
35083 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35084 if test "x$ac_cv_func_quick_exit" = xyes; then :
35085 cat >>confdefs.h <<_ACEOF
35086 #define HAVE_QUICK_EXIT 1
35087 _ACEOF
35090 done
35095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35096 $as_echo_n "checking for strtold declaration... " >&6; }
35097 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35098 if ${glibcxx_cv_func_strtold_use+:} false; then :
35099 $as_echo_n "(cached) " >&6
35100 else
35103 ac_ext=cpp
35104 ac_cpp='$CXXCPP $CPPFLAGS'
35105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35110 /* end confdefs.h. */
35111 #include <stdlib.h>
35113 main ()
35115 strtold(0, 0);
35117 return 0;
35119 _ACEOF
35120 if ac_fn_cxx_try_compile "$LINENO"; then :
35121 glibcxx_cv_func_strtold_use=yes
35122 else
35123 glibcxx_cv_func_strtold_use=no
35125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35126 ac_ext=c
35127 ac_cpp='$CPP $CPPFLAGS'
35128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35137 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35138 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35139 for ac_func in strtold
35140 do :
35141 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35142 if test "x$ac_cv_func_strtold" = xyes; then :
35143 cat >>confdefs.h <<_ACEOF
35144 #define HAVE_STRTOLD 1
35145 _ACEOF
35148 done
35155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35156 $as_echo_n "checking for strtof declaration... " >&6; }
35157 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35158 if ${glibcxx_cv_func_strtof_use+:} false; then :
35159 $as_echo_n "(cached) " >&6
35160 else
35163 ac_ext=cpp
35164 ac_cpp='$CXXCPP $CPPFLAGS'
35165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35170 /* end confdefs.h. */
35171 #include <stdlib.h>
35173 main ()
35175 strtof(0, 0);
35177 return 0;
35179 _ACEOF
35180 if ac_fn_cxx_try_compile "$LINENO"; then :
35181 glibcxx_cv_func_strtof_use=yes
35182 else
35183 glibcxx_cv_func_strtof_use=no
35185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35186 ac_ext=c
35187 ac_cpp='$CPP $CPPFLAGS'
35188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35197 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35198 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35199 for ac_func in strtof
35200 do :
35201 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35202 if test "x$ac_cv_func_strtof" = xyes; then :
35203 cat >>confdefs.h <<_ACEOF
35204 #define HAVE_STRTOF 1
35205 _ACEOF
35208 done
35215 CXXFLAGS="$ac_save_CXXFLAGS"
35218 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35220 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35222 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35224 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35227 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35229 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35231 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35235 spu-*-elf*)
35237 # All these tests are for C++; save the language and the compiler flags.
35238 # The CXXFLAGS thing is suspicious, but based on similar bits previously
35239 # found in GLIBCXX_CONFIGURE.
35241 ac_ext=cpp
35242 ac_cpp='$CXXCPP $CPPFLAGS'
35243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35247 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35248 ac_save_CXXFLAGS="$CXXFLAGS"
35250 # Check for -ffunction-sections -fdata-sections
35251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
35252 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
35253 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
35254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35255 /* end confdefs.h. */
35256 int foo; void bar() { };
35258 main ()
35262 return 0;
35264 _ACEOF
35265 if ac_fn_cxx_try_compile "$LINENO"; then :
35266 ac_fdsections=yes
35267 else
35268 ac_fdsections=no
35270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35271 if test "$ac_test_CXXFLAGS" = set; then
35272 CXXFLAGS="$ac_save_CXXFLAGS"
35273 else
35274 # this is the suspicious part
35275 CXXFLAGS=''
35277 if test x"$ac_fdsections" = x"yes"; then
35278 SECTION_FLAGS='-ffunction-sections -fdata-sections'
35280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
35281 $as_echo "$ac_fdsections" >&6; }
35283 ac_ext=c
35284 ac_cpp='$CPP $CPPFLAGS'
35285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35292 # If we're not using GNU ld, then there's no point in even trying these
35293 # tests. Check for that first. We should have already tested for gld
35294 # by now (in libtool), but require it now just to be safe...
35295 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35296 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35300 # The name set by libtool depends on the version of libtool. Shame on us
35301 # for depending on an impl detail, but c'est la vie. Older versions used
35302 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35303 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35304 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35305 # set (hence we're using an older libtool), then set it.
35306 if test x${with_gnu_ld+set} != xset; then
35307 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35308 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35309 with_gnu_ld=no
35310 else
35311 with_gnu_ld=$ac_cv_prog_gnu_ld
35315 # Start by getting the version number. I think the libtool test already
35316 # does some of this, but throws away the result.
35317 glibcxx_ld_is_gold=no
35318 if test x"$with_gnu_ld" = x"yes"; then
35319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35320 $as_echo_n "checking for ld version... " >&6; }
35322 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35323 glibcxx_ld_is_gold=yes
35325 ldver=`$LD --version 2>/dev/null |
35326 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
35328 glibcxx_gnu_ld_version=`echo $ldver | \
35329 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35331 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35334 # Set --gc-sections.
35335 glibcxx_have_gc_sections=no
35336 if test "$glibcxx_ld_is_gold" = "yes"; then
35337 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35338 glibcxx_have_gc_sections=yes
35340 else
35341 glibcxx_gcsections_min_ld=21602
35342 if test x"$with_gnu_ld" = x"yes" &&
35343 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35344 glibcxx_have_gc_sections=yes
35347 if test "$glibcxx_have_gc_sections" = "yes"; then
35348 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35349 # NB: This flag only works reliably after 2.16.1. Configure tests
35350 # for this are difficult, so hard wire a value that should work.
35352 ac_test_CFLAGS="${CFLAGS+set}"
35353 ac_save_CFLAGS="$CFLAGS"
35354 CFLAGS='-Wl,--gc-sections'
35356 # Check for -Wl,--gc-sections
35357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35358 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35359 if test x$gcc_no_link = xyes; then
35360 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35363 /* end confdefs.h. */
35364 int one(void) { return 1; }
35365 int two(void) { return 2; }
35368 main ()
35370 two();
35372 return 0;
35374 _ACEOF
35375 if ac_fn_c_try_link "$LINENO"; then :
35376 ac_gcsections=yes
35377 else
35378 ac_gcsections=no
35380 rm -f core conftest.err conftest.$ac_objext \
35381 conftest$ac_exeext conftest.$ac_ext
35382 if test "$ac_gcsections" = "yes"; then
35383 rm -f conftest.c
35384 touch conftest.c
35385 if $CC -c conftest.c; then
35386 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35387 grep "Warning: gc-sections option ignored" > /dev/null; then
35388 ac_gcsections=no
35391 rm -f conftest.c conftest.o conftest
35393 if test "$ac_gcsections" = "yes"; then
35394 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35397 $as_echo "$ac_gcsections" >&6; }
35399 if test "$ac_test_CFLAGS" = set; then
35400 CFLAGS="$ac_save_CFLAGS"
35401 else
35402 # this is the suspicious part
35403 CFLAGS=''
35407 # Set -z,relro.
35408 # Note this is only for shared objects.
35409 ac_ld_relro=no
35410 if test x"$with_gnu_ld" = x"yes"; then
35411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35412 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35413 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35414 if test -n "$cxx_z_relo"; then
35415 OPT_LDFLAGS="-Wl,-z,relro"
35416 ac_ld_relro=yes
35418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35419 $as_echo "$ac_ld_relro" >&6; }
35422 # Set linker optimization flags.
35423 if test x"$with_gnu_ld" = x"yes"; then
35424 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35431 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35432 ac_save_CXXFLAGS="$CXXFLAGS"
35433 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35436 $as_echo_n "checking for sin in -lm... " >&6; }
35437 if ${ac_cv_lib_m_sin+:} false; then :
35438 $as_echo_n "(cached) " >&6
35439 else
35440 ac_check_lib_save_LIBS=$LIBS
35441 LIBS="-lm $LIBS"
35442 if test x$gcc_no_link = xyes; then
35443 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35446 /* end confdefs.h. */
35448 /* Override any GCC internal prototype to avoid an error.
35449 Use char because int might match the return type of a GCC
35450 builtin and then its argument prototype would still apply. */
35451 #ifdef __cplusplus
35452 extern "C"
35453 #endif
35454 char sin ();
35456 main ()
35458 return sin ();
35460 return 0;
35462 _ACEOF
35463 if ac_fn_c_try_link "$LINENO"; then :
35464 ac_cv_lib_m_sin=yes
35465 else
35466 ac_cv_lib_m_sin=no
35468 rm -f core conftest.err conftest.$ac_objext \
35469 conftest$ac_exeext conftest.$ac_ext
35470 LIBS=$ac_check_lib_save_LIBS
35472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35473 $as_echo "$ac_cv_lib_m_sin" >&6; }
35474 if test "x$ac_cv_lib_m_sin" = xyes; then :
35475 libm="-lm"
35478 ac_save_LIBS="$LIBS"
35479 LIBS="$LIBS $libm"
35483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35484 $as_echo_n "checking for isinf declaration... " >&6; }
35485 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35486 if ${glibcxx_cv_func_isinf_use+:} false; then :
35487 $as_echo_n "(cached) " >&6
35488 else
35491 ac_ext=cpp
35492 ac_cpp='$CXXCPP $CPPFLAGS'
35493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35498 /* end confdefs.h. */
35499 #include <math.h>
35500 #ifdef HAVE_IEEEFP_H
35501 #include <ieeefp.h>
35502 #endif
35505 main ()
35507 isinf(0);
35509 return 0;
35511 _ACEOF
35512 if ac_fn_cxx_try_compile "$LINENO"; then :
35513 glibcxx_cv_func_isinf_use=yes
35514 else
35515 glibcxx_cv_func_isinf_use=no
35517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35518 ac_ext=c
35519 ac_cpp='$CPP $CPPFLAGS'
35520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35529 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35531 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35532 for ac_func in isinf
35533 do :
35534 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35535 if test "x$ac_cv_func_isinf" = xyes; then :
35536 cat >>confdefs.h <<_ACEOF
35537 #define HAVE_ISINF 1
35538 _ACEOF
35541 done
35543 else
35545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35546 $as_echo_n "checking for _isinf declaration... " >&6; }
35547 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35548 if ${glibcxx_cv_func__isinf_use+:} false; then :
35549 $as_echo_n "(cached) " >&6
35550 else
35553 ac_ext=cpp
35554 ac_cpp='$CXXCPP $CPPFLAGS'
35555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35560 /* end confdefs.h. */
35561 #include <math.h>
35562 #ifdef HAVE_IEEEFP_H
35563 #include <ieeefp.h>
35564 #endif
35567 main ()
35569 _isinf(0);
35571 return 0;
35573 _ACEOF
35574 if ac_fn_cxx_try_compile "$LINENO"; then :
35575 glibcxx_cv_func__isinf_use=yes
35576 else
35577 glibcxx_cv_func__isinf_use=no
35579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35580 ac_ext=c
35581 ac_cpp='$CPP $CPPFLAGS'
35582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35591 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35593 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35594 for ac_func in _isinf
35595 do :
35596 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35597 if test "x$ac_cv_func__isinf" = xyes; then :
35598 cat >>confdefs.h <<_ACEOF
35599 #define HAVE__ISINF 1
35600 _ACEOF
35603 done
35612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35613 $as_echo_n "checking for isnan declaration... " >&6; }
35614 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35615 if ${glibcxx_cv_func_isnan_use+:} false; then :
35616 $as_echo_n "(cached) " >&6
35617 else
35620 ac_ext=cpp
35621 ac_cpp='$CXXCPP $CPPFLAGS'
35622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35627 /* end confdefs.h. */
35628 #include <math.h>
35629 #ifdef HAVE_IEEEFP_H
35630 #include <ieeefp.h>
35631 #endif
35634 main ()
35636 isnan(0);
35638 return 0;
35640 _ACEOF
35641 if ac_fn_cxx_try_compile "$LINENO"; then :
35642 glibcxx_cv_func_isnan_use=yes
35643 else
35644 glibcxx_cv_func_isnan_use=no
35646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35647 ac_ext=c
35648 ac_cpp='$CPP $CPPFLAGS'
35649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35658 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35660 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35661 for ac_func in isnan
35662 do :
35663 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35664 if test "x$ac_cv_func_isnan" = xyes; then :
35665 cat >>confdefs.h <<_ACEOF
35666 #define HAVE_ISNAN 1
35667 _ACEOF
35670 done
35672 else
35674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35675 $as_echo_n "checking for _isnan declaration... " >&6; }
35676 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35677 if ${glibcxx_cv_func__isnan_use+:} false; then :
35678 $as_echo_n "(cached) " >&6
35679 else
35682 ac_ext=cpp
35683 ac_cpp='$CXXCPP $CPPFLAGS'
35684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35689 /* end confdefs.h. */
35690 #include <math.h>
35691 #ifdef HAVE_IEEEFP_H
35692 #include <ieeefp.h>
35693 #endif
35696 main ()
35698 _isnan(0);
35700 return 0;
35702 _ACEOF
35703 if ac_fn_cxx_try_compile "$LINENO"; then :
35704 glibcxx_cv_func__isnan_use=yes
35705 else
35706 glibcxx_cv_func__isnan_use=no
35708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35709 ac_ext=c
35710 ac_cpp='$CPP $CPPFLAGS'
35711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35720 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35722 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35723 for ac_func in _isnan
35724 do :
35725 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35726 if test "x$ac_cv_func__isnan" = xyes; then :
35727 cat >>confdefs.h <<_ACEOF
35728 #define HAVE__ISNAN 1
35729 _ACEOF
35732 done
35741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35742 $as_echo_n "checking for finite declaration... " >&6; }
35743 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35744 if ${glibcxx_cv_func_finite_use+:} false; then :
35745 $as_echo_n "(cached) " >&6
35746 else
35749 ac_ext=cpp
35750 ac_cpp='$CXXCPP $CPPFLAGS'
35751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35756 /* end confdefs.h. */
35757 #include <math.h>
35758 #ifdef HAVE_IEEEFP_H
35759 #include <ieeefp.h>
35760 #endif
35763 main ()
35765 finite(0);
35767 return 0;
35769 _ACEOF
35770 if ac_fn_cxx_try_compile "$LINENO"; then :
35771 glibcxx_cv_func_finite_use=yes
35772 else
35773 glibcxx_cv_func_finite_use=no
35775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35776 ac_ext=c
35777 ac_cpp='$CPP $CPPFLAGS'
35778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35787 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35789 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35790 for ac_func in finite
35791 do :
35792 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35793 if test "x$ac_cv_func_finite" = xyes; then :
35794 cat >>confdefs.h <<_ACEOF
35795 #define HAVE_FINITE 1
35796 _ACEOF
35799 done
35801 else
35803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35804 $as_echo_n "checking for _finite declaration... " >&6; }
35805 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35806 if ${glibcxx_cv_func__finite_use+:} false; then :
35807 $as_echo_n "(cached) " >&6
35808 else
35811 ac_ext=cpp
35812 ac_cpp='$CXXCPP $CPPFLAGS'
35813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35818 /* end confdefs.h. */
35819 #include <math.h>
35820 #ifdef HAVE_IEEEFP_H
35821 #include <ieeefp.h>
35822 #endif
35825 main ()
35827 _finite(0);
35829 return 0;
35831 _ACEOF
35832 if ac_fn_cxx_try_compile "$LINENO"; then :
35833 glibcxx_cv_func__finite_use=yes
35834 else
35835 glibcxx_cv_func__finite_use=no
35837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35838 ac_ext=c
35839 ac_cpp='$CPP $CPPFLAGS'
35840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35849 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35851 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35852 for ac_func in _finite
35853 do :
35854 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35855 if test "x$ac_cv_func__finite" = xyes; then :
35856 cat >>confdefs.h <<_ACEOF
35857 #define HAVE__FINITE 1
35858 _ACEOF
35861 done
35870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35871 $as_echo_n "checking for sincos declaration... " >&6; }
35872 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35873 if ${glibcxx_cv_func_sincos_use+:} false; then :
35874 $as_echo_n "(cached) " >&6
35875 else
35878 ac_ext=cpp
35879 ac_cpp='$CXXCPP $CPPFLAGS'
35880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35885 /* end confdefs.h. */
35886 #include <math.h>
35888 main ()
35890 sincos(0, 0, 0);
35892 return 0;
35894 _ACEOF
35895 if ac_fn_cxx_try_compile "$LINENO"; then :
35896 glibcxx_cv_func_sincos_use=yes
35897 else
35898 glibcxx_cv_func_sincos_use=no
35900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35901 ac_ext=c
35902 ac_cpp='$CPP $CPPFLAGS'
35903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35912 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35914 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35915 for ac_func in sincos
35916 do :
35917 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35918 if test "x$ac_cv_func_sincos" = xyes; then :
35919 cat >>confdefs.h <<_ACEOF
35920 #define HAVE_SINCOS 1
35921 _ACEOF
35924 done
35926 else
35928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35929 $as_echo_n "checking for _sincos declaration... " >&6; }
35930 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35931 if ${glibcxx_cv_func__sincos_use+:} false; then :
35932 $as_echo_n "(cached) " >&6
35933 else
35936 ac_ext=cpp
35937 ac_cpp='$CXXCPP $CPPFLAGS'
35938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35943 /* end confdefs.h. */
35944 #include <math.h>
35946 main ()
35948 _sincos(0, 0, 0);
35950 return 0;
35952 _ACEOF
35953 if ac_fn_cxx_try_compile "$LINENO"; then :
35954 glibcxx_cv_func__sincos_use=yes
35955 else
35956 glibcxx_cv_func__sincos_use=no
35958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35959 ac_ext=c
35960 ac_cpp='$CPP $CPPFLAGS'
35961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35970 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35972 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35973 for ac_func in _sincos
35974 do :
35975 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35976 if test "x$ac_cv_func__sincos" = xyes; then :
35977 cat >>confdefs.h <<_ACEOF
35978 #define HAVE__SINCOS 1
35979 _ACEOF
35982 done
35991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35992 $as_echo_n "checking for fpclass declaration... " >&6; }
35993 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35994 if ${glibcxx_cv_func_fpclass_use+:} false; then :
35995 $as_echo_n "(cached) " >&6
35996 else
35999 ac_ext=cpp
36000 ac_cpp='$CXXCPP $CPPFLAGS'
36001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36006 /* end confdefs.h. */
36007 #include <math.h>
36008 #ifdef HAVE_IEEEFP_H
36009 #include <ieeefp.h>
36010 #endif
36013 main ()
36015 fpclass(0);
36017 return 0;
36019 _ACEOF
36020 if ac_fn_cxx_try_compile "$LINENO"; then :
36021 glibcxx_cv_func_fpclass_use=yes
36022 else
36023 glibcxx_cv_func_fpclass_use=no
36025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36026 ac_ext=c
36027 ac_cpp='$CPP $CPPFLAGS'
36028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
36037 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
36039 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
36040 for ac_func in fpclass
36041 do :
36042 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
36043 if test "x$ac_cv_func_fpclass" = xyes; then :
36044 cat >>confdefs.h <<_ACEOF
36045 #define HAVE_FPCLASS 1
36046 _ACEOF
36049 done
36051 else
36053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36054 $as_echo_n "checking for _fpclass declaration... " >&6; }
36055 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36056 if ${glibcxx_cv_func__fpclass_use+:} false; then :
36057 $as_echo_n "(cached) " >&6
36058 else
36061 ac_ext=cpp
36062 ac_cpp='$CXXCPP $CPPFLAGS'
36063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36068 /* end confdefs.h. */
36069 #include <math.h>
36070 #ifdef HAVE_IEEEFP_H
36071 #include <ieeefp.h>
36072 #endif
36075 main ()
36077 _fpclass(0);
36079 return 0;
36081 _ACEOF
36082 if ac_fn_cxx_try_compile "$LINENO"; then :
36083 glibcxx_cv_func__fpclass_use=yes
36084 else
36085 glibcxx_cv_func__fpclass_use=no
36087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36088 ac_ext=c
36089 ac_cpp='$CPP $CPPFLAGS'
36090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36099 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36101 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36102 for ac_func in _fpclass
36103 do :
36104 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36105 if test "x$ac_cv_func__fpclass" = xyes; then :
36106 cat >>confdefs.h <<_ACEOF
36107 #define HAVE__FPCLASS 1
36108 _ACEOF
36111 done
36120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36121 $as_echo_n "checking for qfpclass declaration... " >&6; }
36122 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36123 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36124 $as_echo_n "(cached) " >&6
36125 else
36128 ac_ext=cpp
36129 ac_cpp='$CXXCPP $CPPFLAGS'
36130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36135 /* end confdefs.h. */
36136 #include <math.h>
36137 #ifdef HAVE_IEEEFP_H
36138 #include <ieeefp.h>
36139 #endif
36142 main ()
36144 qfpclass(0);
36146 return 0;
36148 _ACEOF
36149 if ac_fn_cxx_try_compile "$LINENO"; then :
36150 glibcxx_cv_func_qfpclass_use=yes
36151 else
36152 glibcxx_cv_func_qfpclass_use=no
36154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36155 ac_ext=c
36156 ac_cpp='$CPP $CPPFLAGS'
36157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36166 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36168 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36169 for ac_func in qfpclass
36170 do :
36171 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36172 if test "x$ac_cv_func_qfpclass" = xyes; then :
36173 cat >>confdefs.h <<_ACEOF
36174 #define HAVE_QFPCLASS 1
36175 _ACEOF
36178 done
36180 else
36182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36183 $as_echo_n "checking for _qfpclass declaration... " >&6; }
36184 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36185 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36186 $as_echo_n "(cached) " >&6
36187 else
36190 ac_ext=cpp
36191 ac_cpp='$CXXCPP $CPPFLAGS'
36192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36197 /* end confdefs.h. */
36198 #include <math.h>
36199 #ifdef HAVE_IEEEFP_H
36200 #include <ieeefp.h>
36201 #endif
36204 main ()
36206 _qfpclass(0);
36208 return 0;
36210 _ACEOF
36211 if ac_fn_cxx_try_compile "$LINENO"; then :
36212 glibcxx_cv_func__qfpclass_use=yes
36213 else
36214 glibcxx_cv_func__qfpclass_use=no
36216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36217 ac_ext=c
36218 ac_cpp='$CPP $CPPFLAGS'
36219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36228 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36230 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36231 for ac_func in _qfpclass
36232 do :
36233 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36234 if test "x$ac_cv_func__qfpclass" = xyes; then :
36235 cat >>confdefs.h <<_ACEOF
36236 #define HAVE__QFPCLASS 1
36237 _ACEOF
36240 done
36249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36250 $as_echo_n "checking for hypot declaration... " >&6; }
36251 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36252 if ${glibcxx_cv_func_hypot_use+:} false; then :
36253 $as_echo_n "(cached) " >&6
36254 else
36257 ac_ext=cpp
36258 ac_cpp='$CXXCPP $CPPFLAGS'
36259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36264 /* end confdefs.h. */
36265 #include <math.h>
36267 main ()
36269 hypot(0, 0);
36271 return 0;
36273 _ACEOF
36274 if ac_fn_cxx_try_compile "$LINENO"; then :
36275 glibcxx_cv_func_hypot_use=yes
36276 else
36277 glibcxx_cv_func_hypot_use=no
36279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36280 ac_ext=c
36281 ac_cpp='$CPP $CPPFLAGS'
36282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36291 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36293 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36294 for ac_func in hypot
36295 do :
36296 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36297 if test "x$ac_cv_func_hypot" = xyes; then :
36298 cat >>confdefs.h <<_ACEOF
36299 #define HAVE_HYPOT 1
36300 _ACEOF
36303 done
36305 else
36307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36308 $as_echo_n "checking for _hypot declaration... " >&6; }
36309 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36310 if ${glibcxx_cv_func__hypot_use+:} false; then :
36311 $as_echo_n "(cached) " >&6
36312 else
36315 ac_ext=cpp
36316 ac_cpp='$CXXCPP $CPPFLAGS'
36317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36322 /* end confdefs.h. */
36323 #include <math.h>
36325 main ()
36327 _hypot(0, 0);
36329 return 0;
36331 _ACEOF
36332 if ac_fn_cxx_try_compile "$LINENO"; then :
36333 glibcxx_cv_func__hypot_use=yes
36334 else
36335 glibcxx_cv_func__hypot_use=no
36337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36338 ac_ext=c
36339 ac_cpp='$CPP $CPPFLAGS'
36340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36349 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36351 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36352 for ac_func in _hypot
36353 do :
36354 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36355 if test "x$ac_cv_func__hypot" = xyes; then :
36356 cat >>confdefs.h <<_ACEOF
36357 #define HAVE__HYPOT 1
36358 _ACEOF
36361 done
36370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36371 $as_echo_n "checking for float trig functions... " >&6; }
36372 if ${glibcxx_cv_func_float_trig_use+:} false; then :
36373 $as_echo_n "(cached) " >&6
36374 else
36377 ac_ext=cpp
36378 ac_cpp='$CXXCPP $CPPFLAGS'
36379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36384 /* end confdefs.h. */
36385 #include <math.h>
36387 main ()
36389 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36391 return 0;
36393 _ACEOF
36394 if ac_fn_cxx_try_compile "$LINENO"; then :
36395 glibcxx_cv_func_float_trig_use=yes
36396 else
36397 glibcxx_cv_func_float_trig_use=no
36399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36400 ac_ext=c
36401 ac_cpp='$CPP $CPPFLAGS'
36402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36409 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36410 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36411 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36412 do :
36413 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36414 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36415 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36416 cat >>confdefs.h <<_ACEOF
36417 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36418 _ACEOF
36421 done
36423 else
36424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36425 $as_echo_n "checking for _float trig functions... " >&6; }
36426 if ${glibcxx_cv_func__float_trig_use+:} false; then :
36427 $as_echo_n "(cached) " >&6
36428 else
36431 ac_ext=cpp
36432 ac_cpp='$CXXCPP $CPPFLAGS'
36433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36438 /* end confdefs.h. */
36439 #include <math.h>
36441 main ()
36443 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36445 return 0;
36447 _ACEOF
36448 if ac_fn_cxx_try_compile "$LINENO"; then :
36449 glibcxx_cv_func__float_trig_use=yes
36450 else
36451 glibcxx_cv_func__float_trig_use=no
36453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36454 ac_ext=c
36455 ac_cpp='$CPP $CPPFLAGS'
36456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36463 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36464 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36465 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36466 do :
36467 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36468 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36469 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36470 cat >>confdefs.h <<_ACEOF
36471 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36472 _ACEOF
36475 done
36484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36485 $as_echo_n "checking for float round functions... " >&6; }
36486 if ${glibcxx_cv_func_float_round_use+:} false; then :
36487 $as_echo_n "(cached) " >&6
36488 else
36491 ac_ext=cpp
36492 ac_cpp='$CXXCPP $CPPFLAGS'
36493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36498 /* end confdefs.h. */
36499 #include <math.h>
36501 main ()
36503 ceilf (0); floorf (0);
36505 return 0;
36507 _ACEOF
36508 if ac_fn_cxx_try_compile "$LINENO"; then :
36509 glibcxx_cv_func_float_round_use=yes
36510 else
36511 glibcxx_cv_func_float_round_use=no
36513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36514 ac_ext=c
36515 ac_cpp='$CPP $CPPFLAGS'
36516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36523 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36524 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36525 for ac_func in ceilf floorf
36526 do :
36527 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36528 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36529 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36530 cat >>confdefs.h <<_ACEOF
36531 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36532 _ACEOF
36535 done
36537 else
36538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36539 $as_echo_n "checking for _float round functions... " >&6; }
36540 if ${glibcxx_cv_func__float_round_use+:} false; then :
36541 $as_echo_n "(cached) " >&6
36542 else
36545 ac_ext=cpp
36546 ac_cpp='$CXXCPP $CPPFLAGS'
36547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36552 /* end confdefs.h. */
36553 #include <math.h>
36555 main ()
36557 _ceilf (0); _floorf (0);
36559 return 0;
36561 _ACEOF
36562 if ac_fn_cxx_try_compile "$LINENO"; then :
36563 glibcxx_cv_func__float_round_use=yes
36564 else
36565 glibcxx_cv_func__float_round_use=no
36567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36568 ac_ext=c
36569 ac_cpp='$CPP $CPPFLAGS'
36570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36577 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36578 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36579 for ac_func in _ceilf _floorf
36580 do :
36581 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36582 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36583 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36584 cat >>confdefs.h <<_ACEOF
36585 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36586 _ACEOF
36589 done
36599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36600 $as_echo_n "checking for expf declaration... " >&6; }
36601 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36602 if ${glibcxx_cv_func_expf_use+:} false; then :
36603 $as_echo_n "(cached) " >&6
36604 else
36607 ac_ext=cpp
36608 ac_cpp='$CXXCPP $CPPFLAGS'
36609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36614 /* end confdefs.h. */
36615 #include <math.h>
36616 #ifdef HAVE_IEEEFP_H
36617 #include <ieeefp.h>
36618 #endif
36621 main ()
36623 expf(0);
36625 return 0;
36627 _ACEOF
36628 if ac_fn_cxx_try_compile "$LINENO"; then :
36629 glibcxx_cv_func_expf_use=yes
36630 else
36631 glibcxx_cv_func_expf_use=no
36633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36634 ac_ext=c
36635 ac_cpp='$CPP $CPPFLAGS'
36636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36645 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36647 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36648 for ac_func in expf
36649 do :
36650 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36651 if test "x$ac_cv_func_expf" = xyes; then :
36652 cat >>confdefs.h <<_ACEOF
36653 #define HAVE_EXPF 1
36654 _ACEOF
36657 done
36659 else
36661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36662 $as_echo_n "checking for _expf declaration... " >&6; }
36663 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36664 if ${glibcxx_cv_func__expf_use+:} false; then :
36665 $as_echo_n "(cached) " >&6
36666 else
36669 ac_ext=cpp
36670 ac_cpp='$CXXCPP $CPPFLAGS'
36671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36676 /* end confdefs.h. */
36677 #include <math.h>
36678 #ifdef HAVE_IEEEFP_H
36679 #include <ieeefp.h>
36680 #endif
36683 main ()
36685 _expf(0);
36687 return 0;
36689 _ACEOF
36690 if ac_fn_cxx_try_compile "$LINENO"; then :
36691 glibcxx_cv_func__expf_use=yes
36692 else
36693 glibcxx_cv_func__expf_use=no
36695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36696 ac_ext=c
36697 ac_cpp='$CPP $CPPFLAGS'
36698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36707 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36709 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36710 for ac_func in _expf
36711 do :
36712 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36713 if test "x$ac_cv_func__expf" = xyes; then :
36714 cat >>confdefs.h <<_ACEOF
36715 #define HAVE__EXPF 1
36716 _ACEOF
36719 done
36728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36729 $as_echo_n "checking for isnanf declaration... " >&6; }
36730 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36731 if ${glibcxx_cv_func_isnanf_use+:} false; then :
36732 $as_echo_n "(cached) " >&6
36733 else
36736 ac_ext=cpp
36737 ac_cpp='$CXXCPP $CPPFLAGS'
36738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36743 /* end confdefs.h. */
36744 #include <math.h>
36745 #ifdef HAVE_IEEEFP_H
36746 #include <ieeefp.h>
36747 #endif
36750 main ()
36752 isnanf(0);
36754 return 0;
36756 _ACEOF
36757 if ac_fn_cxx_try_compile "$LINENO"; then :
36758 glibcxx_cv_func_isnanf_use=yes
36759 else
36760 glibcxx_cv_func_isnanf_use=no
36762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36763 ac_ext=c
36764 ac_cpp='$CPP $CPPFLAGS'
36765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36774 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36776 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36777 for ac_func in isnanf
36778 do :
36779 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36780 if test "x$ac_cv_func_isnanf" = xyes; then :
36781 cat >>confdefs.h <<_ACEOF
36782 #define HAVE_ISNANF 1
36783 _ACEOF
36786 done
36788 else
36790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36791 $as_echo_n "checking for _isnanf declaration... " >&6; }
36792 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36793 if ${glibcxx_cv_func__isnanf_use+:} false; then :
36794 $as_echo_n "(cached) " >&6
36795 else
36798 ac_ext=cpp
36799 ac_cpp='$CXXCPP $CPPFLAGS'
36800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36805 /* end confdefs.h. */
36806 #include <math.h>
36807 #ifdef HAVE_IEEEFP_H
36808 #include <ieeefp.h>
36809 #endif
36812 main ()
36814 _isnanf(0);
36816 return 0;
36818 _ACEOF
36819 if ac_fn_cxx_try_compile "$LINENO"; then :
36820 glibcxx_cv_func__isnanf_use=yes
36821 else
36822 glibcxx_cv_func__isnanf_use=no
36824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36825 ac_ext=c
36826 ac_cpp='$CPP $CPPFLAGS'
36827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36836 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36838 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36839 for ac_func in _isnanf
36840 do :
36841 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36842 if test "x$ac_cv_func__isnanf" = xyes; then :
36843 cat >>confdefs.h <<_ACEOF
36844 #define HAVE__ISNANF 1
36845 _ACEOF
36848 done
36857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36858 $as_echo_n "checking for isinff declaration... " >&6; }
36859 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36860 if ${glibcxx_cv_func_isinff_use+:} false; then :
36861 $as_echo_n "(cached) " >&6
36862 else
36865 ac_ext=cpp
36866 ac_cpp='$CXXCPP $CPPFLAGS'
36867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36872 /* end confdefs.h. */
36873 #include <math.h>
36874 #ifdef HAVE_IEEEFP_H
36875 #include <ieeefp.h>
36876 #endif
36879 main ()
36881 isinff(0);
36883 return 0;
36885 _ACEOF
36886 if ac_fn_cxx_try_compile "$LINENO"; then :
36887 glibcxx_cv_func_isinff_use=yes
36888 else
36889 glibcxx_cv_func_isinff_use=no
36891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36892 ac_ext=c
36893 ac_cpp='$CPP $CPPFLAGS'
36894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36903 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36905 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36906 for ac_func in isinff
36907 do :
36908 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36909 if test "x$ac_cv_func_isinff" = xyes; then :
36910 cat >>confdefs.h <<_ACEOF
36911 #define HAVE_ISINFF 1
36912 _ACEOF
36915 done
36917 else
36919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36920 $as_echo_n "checking for _isinff declaration... " >&6; }
36921 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36922 if ${glibcxx_cv_func__isinff_use+:} false; then :
36923 $as_echo_n "(cached) " >&6
36924 else
36927 ac_ext=cpp
36928 ac_cpp='$CXXCPP $CPPFLAGS'
36929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36934 /* end confdefs.h. */
36935 #include <math.h>
36936 #ifdef HAVE_IEEEFP_H
36937 #include <ieeefp.h>
36938 #endif
36941 main ()
36943 _isinff(0);
36945 return 0;
36947 _ACEOF
36948 if ac_fn_cxx_try_compile "$LINENO"; then :
36949 glibcxx_cv_func__isinff_use=yes
36950 else
36951 glibcxx_cv_func__isinff_use=no
36953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36954 ac_ext=c
36955 ac_cpp='$CPP $CPPFLAGS'
36956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36965 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36967 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36968 for ac_func in _isinff
36969 do :
36970 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36971 if test "x$ac_cv_func__isinff" = xyes; then :
36972 cat >>confdefs.h <<_ACEOF
36973 #define HAVE__ISINFF 1
36974 _ACEOF
36977 done
36986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36987 $as_echo_n "checking for atan2f declaration... " >&6; }
36988 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36989 if ${glibcxx_cv_func_atan2f_use+:} false; then :
36990 $as_echo_n "(cached) " >&6
36991 else
36994 ac_ext=cpp
36995 ac_cpp='$CXXCPP $CPPFLAGS'
36996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37001 /* end confdefs.h. */
37002 #include <math.h>
37004 main ()
37006 atan2f(0, 0);
37008 return 0;
37010 _ACEOF
37011 if ac_fn_cxx_try_compile "$LINENO"; then :
37012 glibcxx_cv_func_atan2f_use=yes
37013 else
37014 glibcxx_cv_func_atan2f_use=no
37016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37017 ac_ext=c
37018 ac_cpp='$CPP $CPPFLAGS'
37019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
37028 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
37030 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37031 for ac_func in atan2f
37032 do :
37033 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
37034 if test "x$ac_cv_func_atan2f" = xyes; then :
37035 cat >>confdefs.h <<_ACEOF
37036 #define HAVE_ATAN2F 1
37037 _ACEOF
37040 done
37042 else
37044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
37045 $as_echo_n "checking for _atan2f declaration... " >&6; }
37046 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37047 if ${glibcxx_cv_func__atan2f_use+:} false; then :
37048 $as_echo_n "(cached) " >&6
37049 else
37052 ac_ext=cpp
37053 ac_cpp='$CXXCPP $CPPFLAGS'
37054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37059 /* end confdefs.h. */
37060 #include <math.h>
37062 main ()
37064 _atan2f(0, 0);
37066 return 0;
37068 _ACEOF
37069 if ac_fn_cxx_try_compile "$LINENO"; then :
37070 glibcxx_cv_func__atan2f_use=yes
37071 else
37072 glibcxx_cv_func__atan2f_use=no
37074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37075 ac_ext=c
37076 ac_cpp='$CPP $CPPFLAGS'
37077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
37086 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37088 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37089 for ac_func in _atan2f
37090 do :
37091 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37092 if test "x$ac_cv_func__atan2f" = xyes; then :
37093 cat >>confdefs.h <<_ACEOF
37094 #define HAVE__ATAN2F 1
37095 _ACEOF
37098 done
37107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37108 $as_echo_n "checking for fabsf declaration... " >&6; }
37109 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37110 if ${glibcxx_cv_func_fabsf_use+:} false; then :
37111 $as_echo_n "(cached) " >&6
37112 else
37115 ac_ext=cpp
37116 ac_cpp='$CXXCPP $CPPFLAGS'
37117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37122 /* end confdefs.h. */
37123 #include <math.h>
37124 #ifdef HAVE_IEEEFP_H
37125 #include <ieeefp.h>
37126 #endif
37129 main ()
37131 fabsf(0);
37133 return 0;
37135 _ACEOF
37136 if ac_fn_cxx_try_compile "$LINENO"; then :
37137 glibcxx_cv_func_fabsf_use=yes
37138 else
37139 glibcxx_cv_func_fabsf_use=no
37141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37142 ac_ext=c
37143 ac_cpp='$CPP $CPPFLAGS'
37144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37153 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37155 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37156 for ac_func in fabsf
37157 do :
37158 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37159 if test "x$ac_cv_func_fabsf" = xyes; then :
37160 cat >>confdefs.h <<_ACEOF
37161 #define HAVE_FABSF 1
37162 _ACEOF
37165 done
37167 else
37169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37170 $as_echo_n "checking for _fabsf declaration... " >&6; }
37171 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37172 if ${glibcxx_cv_func__fabsf_use+:} false; then :
37173 $as_echo_n "(cached) " >&6
37174 else
37177 ac_ext=cpp
37178 ac_cpp='$CXXCPP $CPPFLAGS'
37179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37184 /* end confdefs.h. */
37185 #include <math.h>
37186 #ifdef HAVE_IEEEFP_H
37187 #include <ieeefp.h>
37188 #endif
37191 main ()
37193 _fabsf(0);
37195 return 0;
37197 _ACEOF
37198 if ac_fn_cxx_try_compile "$LINENO"; then :
37199 glibcxx_cv_func__fabsf_use=yes
37200 else
37201 glibcxx_cv_func__fabsf_use=no
37203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37204 ac_ext=c
37205 ac_cpp='$CPP $CPPFLAGS'
37206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37215 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37217 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37218 for ac_func in _fabsf
37219 do :
37220 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37221 if test "x$ac_cv_func__fabsf" = xyes; then :
37222 cat >>confdefs.h <<_ACEOF
37223 #define HAVE__FABSF 1
37224 _ACEOF
37227 done
37236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37237 $as_echo_n "checking for fmodf declaration... " >&6; }
37238 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37239 if ${glibcxx_cv_func_fmodf_use+:} false; then :
37240 $as_echo_n "(cached) " >&6
37241 else
37244 ac_ext=cpp
37245 ac_cpp='$CXXCPP $CPPFLAGS'
37246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37251 /* end confdefs.h. */
37252 #include <math.h>
37254 main ()
37256 fmodf(0, 0);
37258 return 0;
37260 _ACEOF
37261 if ac_fn_cxx_try_compile "$LINENO"; then :
37262 glibcxx_cv_func_fmodf_use=yes
37263 else
37264 glibcxx_cv_func_fmodf_use=no
37266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37267 ac_ext=c
37268 ac_cpp='$CPP $CPPFLAGS'
37269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37278 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37280 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37281 for ac_func in fmodf
37282 do :
37283 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37284 if test "x$ac_cv_func_fmodf" = xyes; then :
37285 cat >>confdefs.h <<_ACEOF
37286 #define HAVE_FMODF 1
37287 _ACEOF
37290 done
37292 else
37294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37295 $as_echo_n "checking for _fmodf declaration... " >&6; }
37296 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37297 if ${glibcxx_cv_func__fmodf_use+:} false; then :
37298 $as_echo_n "(cached) " >&6
37299 else
37302 ac_ext=cpp
37303 ac_cpp='$CXXCPP $CPPFLAGS'
37304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37309 /* end confdefs.h. */
37310 #include <math.h>
37312 main ()
37314 _fmodf(0, 0);
37316 return 0;
37318 _ACEOF
37319 if ac_fn_cxx_try_compile "$LINENO"; then :
37320 glibcxx_cv_func__fmodf_use=yes
37321 else
37322 glibcxx_cv_func__fmodf_use=no
37324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37325 ac_ext=c
37326 ac_cpp='$CPP $CPPFLAGS'
37327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37336 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37338 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37339 for ac_func in _fmodf
37340 do :
37341 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37342 if test "x$ac_cv_func__fmodf" = xyes; then :
37343 cat >>confdefs.h <<_ACEOF
37344 #define HAVE__FMODF 1
37345 _ACEOF
37348 done
37357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37358 $as_echo_n "checking for frexpf declaration... " >&6; }
37359 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37360 if ${glibcxx_cv_func_frexpf_use+:} false; then :
37361 $as_echo_n "(cached) " >&6
37362 else
37365 ac_ext=cpp
37366 ac_cpp='$CXXCPP $CPPFLAGS'
37367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37372 /* end confdefs.h. */
37373 #include <math.h>
37375 main ()
37377 frexpf(0, 0);
37379 return 0;
37381 _ACEOF
37382 if ac_fn_cxx_try_compile "$LINENO"; then :
37383 glibcxx_cv_func_frexpf_use=yes
37384 else
37385 glibcxx_cv_func_frexpf_use=no
37387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37388 ac_ext=c
37389 ac_cpp='$CPP $CPPFLAGS'
37390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37399 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37401 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37402 for ac_func in frexpf
37403 do :
37404 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37405 if test "x$ac_cv_func_frexpf" = xyes; then :
37406 cat >>confdefs.h <<_ACEOF
37407 #define HAVE_FREXPF 1
37408 _ACEOF
37411 done
37413 else
37415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37416 $as_echo_n "checking for _frexpf declaration... " >&6; }
37417 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37418 if ${glibcxx_cv_func__frexpf_use+:} false; then :
37419 $as_echo_n "(cached) " >&6
37420 else
37423 ac_ext=cpp
37424 ac_cpp='$CXXCPP $CPPFLAGS'
37425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37430 /* end confdefs.h. */
37431 #include <math.h>
37433 main ()
37435 _frexpf(0, 0);
37437 return 0;
37439 _ACEOF
37440 if ac_fn_cxx_try_compile "$LINENO"; then :
37441 glibcxx_cv_func__frexpf_use=yes
37442 else
37443 glibcxx_cv_func__frexpf_use=no
37445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37446 ac_ext=c
37447 ac_cpp='$CPP $CPPFLAGS'
37448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37457 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37459 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37460 for ac_func in _frexpf
37461 do :
37462 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37463 if test "x$ac_cv_func__frexpf" = xyes; then :
37464 cat >>confdefs.h <<_ACEOF
37465 #define HAVE__FREXPF 1
37466 _ACEOF
37469 done
37478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37479 $as_echo_n "checking for hypotf declaration... " >&6; }
37480 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37481 if ${glibcxx_cv_func_hypotf_use+:} false; then :
37482 $as_echo_n "(cached) " >&6
37483 else
37486 ac_ext=cpp
37487 ac_cpp='$CXXCPP $CPPFLAGS'
37488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37493 /* end confdefs.h. */
37494 #include <math.h>
37496 main ()
37498 hypotf(0, 0);
37500 return 0;
37502 _ACEOF
37503 if ac_fn_cxx_try_compile "$LINENO"; then :
37504 glibcxx_cv_func_hypotf_use=yes
37505 else
37506 glibcxx_cv_func_hypotf_use=no
37508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37509 ac_ext=c
37510 ac_cpp='$CPP $CPPFLAGS'
37511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37520 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37522 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37523 for ac_func in hypotf
37524 do :
37525 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37526 if test "x$ac_cv_func_hypotf" = xyes; then :
37527 cat >>confdefs.h <<_ACEOF
37528 #define HAVE_HYPOTF 1
37529 _ACEOF
37532 done
37534 else
37536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37537 $as_echo_n "checking for _hypotf declaration... " >&6; }
37538 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37539 if ${glibcxx_cv_func__hypotf_use+:} false; then :
37540 $as_echo_n "(cached) " >&6
37541 else
37544 ac_ext=cpp
37545 ac_cpp='$CXXCPP $CPPFLAGS'
37546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37551 /* end confdefs.h. */
37552 #include <math.h>
37554 main ()
37556 _hypotf(0, 0);
37558 return 0;
37560 _ACEOF
37561 if ac_fn_cxx_try_compile "$LINENO"; then :
37562 glibcxx_cv_func__hypotf_use=yes
37563 else
37564 glibcxx_cv_func__hypotf_use=no
37566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37567 ac_ext=c
37568 ac_cpp='$CPP $CPPFLAGS'
37569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37578 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37580 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37581 for ac_func in _hypotf
37582 do :
37583 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37584 if test "x$ac_cv_func__hypotf" = xyes; then :
37585 cat >>confdefs.h <<_ACEOF
37586 #define HAVE__HYPOTF 1
37587 _ACEOF
37590 done
37599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37600 $as_echo_n "checking for ldexpf declaration... " >&6; }
37601 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37602 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
37603 $as_echo_n "(cached) " >&6
37604 else
37607 ac_ext=cpp
37608 ac_cpp='$CXXCPP $CPPFLAGS'
37609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37614 /* end confdefs.h. */
37615 #include <math.h>
37617 main ()
37619 ldexpf(0, 0);
37621 return 0;
37623 _ACEOF
37624 if ac_fn_cxx_try_compile "$LINENO"; then :
37625 glibcxx_cv_func_ldexpf_use=yes
37626 else
37627 glibcxx_cv_func_ldexpf_use=no
37629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37630 ac_ext=c
37631 ac_cpp='$CPP $CPPFLAGS'
37632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37641 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37643 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37644 for ac_func in ldexpf
37645 do :
37646 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37647 if test "x$ac_cv_func_ldexpf" = xyes; then :
37648 cat >>confdefs.h <<_ACEOF
37649 #define HAVE_LDEXPF 1
37650 _ACEOF
37653 done
37655 else
37657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37658 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37659 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37660 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
37661 $as_echo_n "(cached) " >&6
37662 else
37665 ac_ext=cpp
37666 ac_cpp='$CXXCPP $CPPFLAGS'
37667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37672 /* end confdefs.h. */
37673 #include <math.h>
37675 main ()
37677 _ldexpf(0, 0);
37679 return 0;
37681 _ACEOF
37682 if ac_fn_cxx_try_compile "$LINENO"; then :
37683 glibcxx_cv_func__ldexpf_use=yes
37684 else
37685 glibcxx_cv_func__ldexpf_use=no
37687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37688 ac_ext=c
37689 ac_cpp='$CPP $CPPFLAGS'
37690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37699 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37701 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37702 for ac_func in _ldexpf
37703 do :
37704 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37705 if test "x$ac_cv_func__ldexpf" = xyes; then :
37706 cat >>confdefs.h <<_ACEOF
37707 #define HAVE__LDEXPF 1
37708 _ACEOF
37711 done
37720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37721 $as_echo_n "checking for logf declaration... " >&6; }
37722 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37723 if ${glibcxx_cv_func_logf_use+:} false; then :
37724 $as_echo_n "(cached) " >&6
37725 else
37728 ac_ext=cpp
37729 ac_cpp='$CXXCPP $CPPFLAGS'
37730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37735 /* end confdefs.h. */
37736 #include <math.h>
37737 #ifdef HAVE_IEEEFP_H
37738 #include <ieeefp.h>
37739 #endif
37742 main ()
37744 logf(0);
37746 return 0;
37748 _ACEOF
37749 if ac_fn_cxx_try_compile "$LINENO"; then :
37750 glibcxx_cv_func_logf_use=yes
37751 else
37752 glibcxx_cv_func_logf_use=no
37754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37755 ac_ext=c
37756 ac_cpp='$CPP $CPPFLAGS'
37757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37766 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37768 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37769 for ac_func in logf
37770 do :
37771 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37772 if test "x$ac_cv_func_logf" = xyes; then :
37773 cat >>confdefs.h <<_ACEOF
37774 #define HAVE_LOGF 1
37775 _ACEOF
37778 done
37780 else
37782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37783 $as_echo_n "checking for _logf declaration... " >&6; }
37784 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37785 if ${glibcxx_cv_func__logf_use+:} false; then :
37786 $as_echo_n "(cached) " >&6
37787 else
37790 ac_ext=cpp
37791 ac_cpp='$CXXCPP $CPPFLAGS'
37792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37797 /* end confdefs.h. */
37798 #include <math.h>
37799 #ifdef HAVE_IEEEFP_H
37800 #include <ieeefp.h>
37801 #endif
37804 main ()
37806 _logf(0);
37808 return 0;
37810 _ACEOF
37811 if ac_fn_cxx_try_compile "$LINENO"; then :
37812 glibcxx_cv_func__logf_use=yes
37813 else
37814 glibcxx_cv_func__logf_use=no
37816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37817 ac_ext=c
37818 ac_cpp='$CPP $CPPFLAGS'
37819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37828 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37830 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37831 for ac_func in _logf
37832 do :
37833 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37834 if test "x$ac_cv_func__logf" = xyes; then :
37835 cat >>confdefs.h <<_ACEOF
37836 #define HAVE__LOGF 1
37837 _ACEOF
37840 done
37849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37850 $as_echo_n "checking for log10f declaration... " >&6; }
37851 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37852 if ${glibcxx_cv_func_log10f_use+:} false; then :
37853 $as_echo_n "(cached) " >&6
37854 else
37857 ac_ext=cpp
37858 ac_cpp='$CXXCPP $CPPFLAGS'
37859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37864 /* end confdefs.h. */
37865 #include <math.h>
37866 #ifdef HAVE_IEEEFP_H
37867 #include <ieeefp.h>
37868 #endif
37871 main ()
37873 log10f(0);
37875 return 0;
37877 _ACEOF
37878 if ac_fn_cxx_try_compile "$LINENO"; then :
37879 glibcxx_cv_func_log10f_use=yes
37880 else
37881 glibcxx_cv_func_log10f_use=no
37883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37884 ac_ext=c
37885 ac_cpp='$CPP $CPPFLAGS'
37886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37895 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37897 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37898 for ac_func in log10f
37899 do :
37900 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37901 if test "x$ac_cv_func_log10f" = xyes; then :
37902 cat >>confdefs.h <<_ACEOF
37903 #define HAVE_LOG10F 1
37904 _ACEOF
37907 done
37909 else
37911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37912 $as_echo_n "checking for _log10f declaration... " >&6; }
37913 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37914 if ${glibcxx_cv_func__log10f_use+:} false; then :
37915 $as_echo_n "(cached) " >&6
37916 else
37919 ac_ext=cpp
37920 ac_cpp='$CXXCPP $CPPFLAGS'
37921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37926 /* end confdefs.h. */
37927 #include <math.h>
37928 #ifdef HAVE_IEEEFP_H
37929 #include <ieeefp.h>
37930 #endif
37933 main ()
37935 _log10f(0);
37937 return 0;
37939 _ACEOF
37940 if ac_fn_cxx_try_compile "$LINENO"; then :
37941 glibcxx_cv_func__log10f_use=yes
37942 else
37943 glibcxx_cv_func__log10f_use=no
37945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37946 ac_ext=c
37947 ac_cpp='$CPP $CPPFLAGS'
37948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37957 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37959 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37960 for ac_func in _log10f
37961 do :
37962 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37963 if test "x$ac_cv_func__log10f" = xyes; then :
37964 cat >>confdefs.h <<_ACEOF
37965 #define HAVE__LOG10F 1
37966 _ACEOF
37969 done
37978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37979 $as_echo_n "checking for modff declaration... " >&6; }
37980 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37981 if ${glibcxx_cv_func_modff_use+:} false; then :
37982 $as_echo_n "(cached) " >&6
37983 else
37986 ac_ext=cpp
37987 ac_cpp='$CXXCPP $CPPFLAGS'
37988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37993 /* end confdefs.h. */
37994 #include <math.h>
37996 main ()
37998 modff(0, 0);
38000 return 0;
38002 _ACEOF
38003 if ac_fn_cxx_try_compile "$LINENO"; then :
38004 glibcxx_cv_func_modff_use=yes
38005 else
38006 glibcxx_cv_func_modff_use=no
38008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38009 ac_ext=c
38010 ac_cpp='$CPP $CPPFLAGS'
38011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
38020 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
38022 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38023 for ac_func in modff
38024 do :
38025 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
38026 if test "x$ac_cv_func_modff" = xyes; then :
38027 cat >>confdefs.h <<_ACEOF
38028 #define HAVE_MODFF 1
38029 _ACEOF
38032 done
38034 else
38036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
38037 $as_echo_n "checking for _modff declaration... " >&6; }
38038 if test x${glibcxx_cv_func__modff_use+set} != xset; then
38039 if ${glibcxx_cv_func__modff_use+:} false; then :
38040 $as_echo_n "(cached) " >&6
38041 else
38044 ac_ext=cpp
38045 ac_cpp='$CXXCPP $CPPFLAGS'
38046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38051 /* end confdefs.h. */
38052 #include <math.h>
38054 main ()
38056 _modff(0, 0);
38058 return 0;
38060 _ACEOF
38061 if ac_fn_cxx_try_compile "$LINENO"; then :
38062 glibcxx_cv_func__modff_use=yes
38063 else
38064 glibcxx_cv_func__modff_use=no
38066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38067 ac_ext=c
38068 ac_cpp='$CPP $CPPFLAGS'
38069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
38078 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
38080 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38081 for ac_func in _modff
38082 do :
38083 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38084 if test "x$ac_cv_func__modff" = xyes; then :
38085 cat >>confdefs.h <<_ACEOF
38086 #define HAVE__MODFF 1
38087 _ACEOF
38090 done
38099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38100 $as_echo_n "checking for modf declaration... " >&6; }
38101 if test x${glibcxx_cv_func_modf_use+set} != xset; then
38102 if ${glibcxx_cv_func_modf_use+:} false; then :
38103 $as_echo_n "(cached) " >&6
38104 else
38107 ac_ext=cpp
38108 ac_cpp='$CXXCPP $CPPFLAGS'
38109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38114 /* end confdefs.h. */
38115 #include <math.h>
38117 main ()
38119 modf(0, 0);
38121 return 0;
38123 _ACEOF
38124 if ac_fn_cxx_try_compile "$LINENO"; then :
38125 glibcxx_cv_func_modf_use=yes
38126 else
38127 glibcxx_cv_func_modf_use=no
38129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38130 ac_ext=c
38131 ac_cpp='$CPP $CPPFLAGS'
38132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38141 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
38143 if test x$glibcxx_cv_func_modf_use = x"yes"; then
38144 for ac_func in modf
38145 do :
38146 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38147 if test "x$ac_cv_func_modf" = xyes; then :
38148 cat >>confdefs.h <<_ACEOF
38149 #define HAVE_MODF 1
38150 _ACEOF
38153 done
38155 else
38157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38158 $as_echo_n "checking for _modf declaration... " >&6; }
38159 if test x${glibcxx_cv_func__modf_use+set} != xset; then
38160 if ${glibcxx_cv_func__modf_use+:} false; then :
38161 $as_echo_n "(cached) " >&6
38162 else
38165 ac_ext=cpp
38166 ac_cpp='$CXXCPP $CPPFLAGS'
38167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38172 /* end confdefs.h. */
38173 #include <math.h>
38175 main ()
38177 _modf(0, 0);
38179 return 0;
38181 _ACEOF
38182 if ac_fn_cxx_try_compile "$LINENO"; then :
38183 glibcxx_cv_func__modf_use=yes
38184 else
38185 glibcxx_cv_func__modf_use=no
38187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38188 ac_ext=c
38189 ac_cpp='$CPP $CPPFLAGS'
38190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38199 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38201 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38202 for ac_func in _modf
38203 do :
38204 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38205 if test "x$ac_cv_func__modf" = xyes; then :
38206 cat >>confdefs.h <<_ACEOF
38207 #define HAVE__MODF 1
38208 _ACEOF
38211 done
38220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38221 $as_echo_n "checking for powf declaration... " >&6; }
38222 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38223 if ${glibcxx_cv_func_powf_use+:} false; then :
38224 $as_echo_n "(cached) " >&6
38225 else
38228 ac_ext=cpp
38229 ac_cpp='$CXXCPP $CPPFLAGS'
38230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38235 /* end confdefs.h. */
38236 #include <math.h>
38238 main ()
38240 powf(0, 0);
38242 return 0;
38244 _ACEOF
38245 if ac_fn_cxx_try_compile "$LINENO"; then :
38246 glibcxx_cv_func_powf_use=yes
38247 else
38248 glibcxx_cv_func_powf_use=no
38250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38251 ac_ext=c
38252 ac_cpp='$CPP $CPPFLAGS'
38253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38262 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38264 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38265 for ac_func in powf
38266 do :
38267 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38268 if test "x$ac_cv_func_powf" = xyes; then :
38269 cat >>confdefs.h <<_ACEOF
38270 #define HAVE_POWF 1
38271 _ACEOF
38274 done
38276 else
38278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38279 $as_echo_n "checking for _powf declaration... " >&6; }
38280 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38281 if ${glibcxx_cv_func__powf_use+:} false; then :
38282 $as_echo_n "(cached) " >&6
38283 else
38286 ac_ext=cpp
38287 ac_cpp='$CXXCPP $CPPFLAGS'
38288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38293 /* end confdefs.h. */
38294 #include <math.h>
38296 main ()
38298 _powf(0, 0);
38300 return 0;
38302 _ACEOF
38303 if ac_fn_cxx_try_compile "$LINENO"; then :
38304 glibcxx_cv_func__powf_use=yes
38305 else
38306 glibcxx_cv_func__powf_use=no
38308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38309 ac_ext=c
38310 ac_cpp='$CPP $CPPFLAGS'
38311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38320 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38322 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38323 for ac_func in _powf
38324 do :
38325 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38326 if test "x$ac_cv_func__powf" = xyes; then :
38327 cat >>confdefs.h <<_ACEOF
38328 #define HAVE__POWF 1
38329 _ACEOF
38332 done
38341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38342 $as_echo_n "checking for sqrtf declaration... " >&6; }
38343 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38344 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38345 $as_echo_n "(cached) " >&6
38346 else
38349 ac_ext=cpp
38350 ac_cpp='$CXXCPP $CPPFLAGS'
38351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38356 /* end confdefs.h. */
38357 #include <math.h>
38358 #ifdef HAVE_IEEEFP_H
38359 #include <ieeefp.h>
38360 #endif
38363 main ()
38365 sqrtf(0);
38367 return 0;
38369 _ACEOF
38370 if ac_fn_cxx_try_compile "$LINENO"; then :
38371 glibcxx_cv_func_sqrtf_use=yes
38372 else
38373 glibcxx_cv_func_sqrtf_use=no
38375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38376 ac_ext=c
38377 ac_cpp='$CPP $CPPFLAGS'
38378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38387 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38389 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38390 for ac_func in sqrtf
38391 do :
38392 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38393 if test "x$ac_cv_func_sqrtf" = xyes; then :
38394 cat >>confdefs.h <<_ACEOF
38395 #define HAVE_SQRTF 1
38396 _ACEOF
38399 done
38401 else
38403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38404 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38405 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38406 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
38407 $as_echo_n "(cached) " >&6
38408 else
38411 ac_ext=cpp
38412 ac_cpp='$CXXCPP $CPPFLAGS'
38413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38418 /* end confdefs.h. */
38419 #include <math.h>
38420 #ifdef HAVE_IEEEFP_H
38421 #include <ieeefp.h>
38422 #endif
38425 main ()
38427 _sqrtf(0);
38429 return 0;
38431 _ACEOF
38432 if ac_fn_cxx_try_compile "$LINENO"; then :
38433 glibcxx_cv_func__sqrtf_use=yes
38434 else
38435 glibcxx_cv_func__sqrtf_use=no
38437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38438 ac_ext=c
38439 ac_cpp='$CPP $CPPFLAGS'
38440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38449 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38451 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38452 for ac_func in _sqrtf
38453 do :
38454 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38455 if test "x$ac_cv_func__sqrtf" = xyes; then :
38456 cat >>confdefs.h <<_ACEOF
38457 #define HAVE__SQRTF 1
38458 _ACEOF
38461 done
38470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38471 $as_echo_n "checking for sincosf declaration... " >&6; }
38472 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38473 if ${glibcxx_cv_func_sincosf_use+:} false; then :
38474 $as_echo_n "(cached) " >&6
38475 else
38478 ac_ext=cpp
38479 ac_cpp='$CXXCPP $CPPFLAGS'
38480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38485 /* end confdefs.h. */
38486 #include <math.h>
38488 main ()
38490 sincosf(0, 0, 0);
38492 return 0;
38494 _ACEOF
38495 if ac_fn_cxx_try_compile "$LINENO"; then :
38496 glibcxx_cv_func_sincosf_use=yes
38497 else
38498 glibcxx_cv_func_sincosf_use=no
38500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38501 ac_ext=c
38502 ac_cpp='$CPP $CPPFLAGS'
38503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38512 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38514 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38515 for ac_func in sincosf
38516 do :
38517 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38518 if test "x$ac_cv_func_sincosf" = xyes; then :
38519 cat >>confdefs.h <<_ACEOF
38520 #define HAVE_SINCOSF 1
38521 _ACEOF
38524 done
38526 else
38528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38529 $as_echo_n "checking for _sincosf declaration... " >&6; }
38530 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38531 if ${glibcxx_cv_func__sincosf_use+:} false; then :
38532 $as_echo_n "(cached) " >&6
38533 else
38536 ac_ext=cpp
38537 ac_cpp='$CXXCPP $CPPFLAGS'
38538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38543 /* end confdefs.h. */
38544 #include <math.h>
38546 main ()
38548 _sincosf(0, 0, 0);
38550 return 0;
38552 _ACEOF
38553 if ac_fn_cxx_try_compile "$LINENO"; then :
38554 glibcxx_cv_func__sincosf_use=yes
38555 else
38556 glibcxx_cv_func__sincosf_use=no
38558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38559 ac_ext=c
38560 ac_cpp='$CPP $CPPFLAGS'
38561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38570 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38572 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38573 for ac_func in _sincosf
38574 do :
38575 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38576 if test "x$ac_cv_func__sincosf" = xyes; then :
38577 cat >>confdefs.h <<_ACEOF
38578 #define HAVE__SINCOSF 1
38579 _ACEOF
38582 done
38591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38592 $as_echo_n "checking for finitef declaration... " >&6; }
38593 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38594 if ${glibcxx_cv_func_finitef_use+:} false; then :
38595 $as_echo_n "(cached) " >&6
38596 else
38599 ac_ext=cpp
38600 ac_cpp='$CXXCPP $CPPFLAGS'
38601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38606 /* end confdefs.h. */
38607 #include <math.h>
38608 #ifdef HAVE_IEEEFP_H
38609 #include <ieeefp.h>
38610 #endif
38613 main ()
38615 finitef(0);
38617 return 0;
38619 _ACEOF
38620 if ac_fn_cxx_try_compile "$LINENO"; then :
38621 glibcxx_cv_func_finitef_use=yes
38622 else
38623 glibcxx_cv_func_finitef_use=no
38625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38626 ac_ext=c
38627 ac_cpp='$CPP $CPPFLAGS'
38628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38637 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38639 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38640 for ac_func in finitef
38641 do :
38642 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38643 if test "x$ac_cv_func_finitef" = xyes; then :
38644 cat >>confdefs.h <<_ACEOF
38645 #define HAVE_FINITEF 1
38646 _ACEOF
38649 done
38651 else
38653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38654 $as_echo_n "checking for _finitef declaration... " >&6; }
38655 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38656 if ${glibcxx_cv_func__finitef_use+:} false; then :
38657 $as_echo_n "(cached) " >&6
38658 else
38661 ac_ext=cpp
38662 ac_cpp='$CXXCPP $CPPFLAGS'
38663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38668 /* end confdefs.h. */
38669 #include <math.h>
38670 #ifdef HAVE_IEEEFP_H
38671 #include <ieeefp.h>
38672 #endif
38675 main ()
38677 _finitef(0);
38679 return 0;
38681 _ACEOF
38682 if ac_fn_cxx_try_compile "$LINENO"; then :
38683 glibcxx_cv_func__finitef_use=yes
38684 else
38685 glibcxx_cv_func__finitef_use=no
38687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38688 ac_ext=c
38689 ac_cpp='$CPP $CPPFLAGS'
38690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38699 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38701 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38702 for ac_func in _finitef
38703 do :
38704 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38705 if test "x$ac_cv_func__finitef" = xyes; then :
38706 cat >>confdefs.h <<_ACEOF
38707 #define HAVE__FINITEF 1
38708 _ACEOF
38711 done
38720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38721 $as_echo_n "checking for long double trig functions... " >&6; }
38722 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
38723 $as_echo_n "(cached) " >&6
38724 else
38727 ac_ext=cpp
38728 ac_cpp='$CXXCPP $CPPFLAGS'
38729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38734 /* end confdefs.h. */
38735 #include <math.h>
38737 main ()
38739 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38741 return 0;
38743 _ACEOF
38744 if ac_fn_cxx_try_compile "$LINENO"; then :
38745 glibcxx_cv_func_long_double_trig_use=yes
38746 else
38747 glibcxx_cv_func_long_double_trig_use=no
38749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38750 ac_ext=c
38751 ac_cpp='$CPP $CPPFLAGS'
38752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38759 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38760 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38761 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38762 do :
38763 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38764 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38765 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38766 cat >>confdefs.h <<_ACEOF
38767 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38768 _ACEOF
38771 done
38773 else
38774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38775 $as_echo_n "checking for _long double trig functions... " >&6; }
38776 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
38777 $as_echo_n "(cached) " >&6
38778 else
38781 ac_ext=cpp
38782 ac_cpp='$CXXCPP $CPPFLAGS'
38783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38788 /* end confdefs.h. */
38789 #include <math.h>
38791 main ()
38793 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38795 return 0;
38797 _ACEOF
38798 if ac_fn_cxx_try_compile "$LINENO"; then :
38799 glibcxx_cv_func__long_double_trig_use=yes
38800 else
38801 glibcxx_cv_func__long_double_trig_use=no
38803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38804 ac_ext=c
38805 ac_cpp='$CPP $CPPFLAGS'
38806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38813 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38814 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38815 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38816 do :
38817 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38818 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38819 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38820 cat >>confdefs.h <<_ACEOF
38821 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38822 _ACEOF
38825 done
38834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38835 $as_echo_n "checking for long double round functions... " >&6; }
38836 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
38837 $as_echo_n "(cached) " >&6
38838 else
38841 ac_ext=cpp
38842 ac_cpp='$CXXCPP $CPPFLAGS'
38843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38848 /* end confdefs.h. */
38849 #include <math.h>
38851 main ()
38853 ceill (0); floorl (0);
38855 return 0;
38857 _ACEOF
38858 if ac_fn_cxx_try_compile "$LINENO"; then :
38859 glibcxx_cv_func_long_double_round_use=yes
38860 else
38861 glibcxx_cv_func_long_double_round_use=no
38863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38864 ac_ext=c
38865 ac_cpp='$CPP $CPPFLAGS'
38866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38873 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38874 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38875 for ac_func in ceill floorl
38876 do :
38877 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38878 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38879 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38880 cat >>confdefs.h <<_ACEOF
38881 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38882 _ACEOF
38885 done
38887 else
38888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38889 $as_echo_n "checking for _long double round functions... " >&6; }
38890 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
38891 $as_echo_n "(cached) " >&6
38892 else
38895 ac_ext=cpp
38896 ac_cpp='$CXXCPP $CPPFLAGS'
38897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38902 /* end confdefs.h. */
38903 #include <math.h>
38905 main ()
38907 _ceill (0); _floorl (0);
38909 return 0;
38911 _ACEOF
38912 if ac_fn_cxx_try_compile "$LINENO"; then :
38913 glibcxx_cv_func__long_double_round_use=yes
38914 else
38915 glibcxx_cv_func__long_double_round_use=no
38917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38918 ac_ext=c
38919 ac_cpp='$CPP $CPPFLAGS'
38920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38927 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38928 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38929 for ac_func in _ceill _floorl
38930 do :
38931 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38932 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38933 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38934 cat >>confdefs.h <<_ACEOF
38935 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38936 _ACEOF
38939 done
38949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38950 $as_echo_n "checking for isnanl declaration... " >&6; }
38951 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38952 if ${glibcxx_cv_func_isnanl_use+:} false; then :
38953 $as_echo_n "(cached) " >&6
38954 else
38957 ac_ext=cpp
38958 ac_cpp='$CXXCPP $CPPFLAGS'
38959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38964 /* end confdefs.h. */
38965 #include <math.h>
38966 #ifdef HAVE_IEEEFP_H
38967 #include <ieeefp.h>
38968 #endif
38971 main ()
38973 isnanl(0);
38975 return 0;
38977 _ACEOF
38978 if ac_fn_cxx_try_compile "$LINENO"; then :
38979 glibcxx_cv_func_isnanl_use=yes
38980 else
38981 glibcxx_cv_func_isnanl_use=no
38983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38984 ac_ext=c
38985 ac_cpp='$CPP $CPPFLAGS'
38986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38995 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38997 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38998 for ac_func in isnanl
38999 do :
39000 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
39001 if test "x$ac_cv_func_isnanl" = xyes; then :
39002 cat >>confdefs.h <<_ACEOF
39003 #define HAVE_ISNANL 1
39004 _ACEOF
39007 done
39009 else
39011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
39012 $as_echo_n "checking for _isnanl declaration... " >&6; }
39013 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
39014 if ${glibcxx_cv_func__isnanl_use+:} false; then :
39015 $as_echo_n "(cached) " >&6
39016 else
39019 ac_ext=cpp
39020 ac_cpp='$CXXCPP $CPPFLAGS'
39021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39026 /* end confdefs.h. */
39027 #include <math.h>
39028 #ifdef HAVE_IEEEFP_H
39029 #include <ieeefp.h>
39030 #endif
39033 main ()
39035 _isnanl(0);
39037 return 0;
39039 _ACEOF
39040 if ac_fn_cxx_try_compile "$LINENO"; then :
39041 glibcxx_cv_func__isnanl_use=yes
39042 else
39043 glibcxx_cv_func__isnanl_use=no
39045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39046 ac_ext=c
39047 ac_cpp='$CPP $CPPFLAGS'
39048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
39057 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39059 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39060 for ac_func in _isnanl
39061 do :
39062 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39063 if test "x$ac_cv_func__isnanl" = xyes; then :
39064 cat >>confdefs.h <<_ACEOF
39065 #define HAVE__ISNANL 1
39066 _ACEOF
39069 done
39078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39079 $as_echo_n "checking for isinfl declaration... " >&6; }
39080 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39081 if ${glibcxx_cv_func_isinfl_use+:} false; then :
39082 $as_echo_n "(cached) " >&6
39083 else
39086 ac_ext=cpp
39087 ac_cpp='$CXXCPP $CPPFLAGS'
39088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39093 /* end confdefs.h. */
39094 #include <math.h>
39095 #ifdef HAVE_IEEEFP_H
39096 #include <ieeefp.h>
39097 #endif
39100 main ()
39102 isinfl(0);
39104 return 0;
39106 _ACEOF
39107 if ac_fn_cxx_try_compile "$LINENO"; then :
39108 glibcxx_cv_func_isinfl_use=yes
39109 else
39110 glibcxx_cv_func_isinfl_use=no
39112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39113 ac_ext=c
39114 ac_cpp='$CPP $CPPFLAGS'
39115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39124 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39126 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39127 for ac_func in isinfl
39128 do :
39129 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39130 if test "x$ac_cv_func_isinfl" = xyes; then :
39131 cat >>confdefs.h <<_ACEOF
39132 #define HAVE_ISINFL 1
39133 _ACEOF
39136 done
39138 else
39140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39141 $as_echo_n "checking for _isinfl declaration... " >&6; }
39142 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39143 if ${glibcxx_cv_func__isinfl_use+:} false; then :
39144 $as_echo_n "(cached) " >&6
39145 else
39148 ac_ext=cpp
39149 ac_cpp='$CXXCPP $CPPFLAGS'
39150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39155 /* end confdefs.h. */
39156 #include <math.h>
39157 #ifdef HAVE_IEEEFP_H
39158 #include <ieeefp.h>
39159 #endif
39162 main ()
39164 _isinfl(0);
39166 return 0;
39168 _ACEOF
39169 if ac_fn_cxx_try_compile "$LINENO"; then :
39170 glibcxx_cv_func__isinfl_use=yes
39171 else
39172 glibcxx_cv_func__isinfl_use=no
39174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39175 ac_ext=c
39176 ac_cpp='$CPP $CPPFLAGS'
39177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39186 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39188 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39189 for ac_func in _isinfl
39190 do :
39191 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39192 if test "x$ac_cv_func__isinfl" = xyes; then :
39193 cat >>confdefs.h <<_ACEOF
39194 #define HAVE__ISINFL 1
39195 _ACEOF
39198 done
39207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39208 $as_echo_n "checking for atan2l declaration... " >&6; }
39209 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39210 if ${glibcxx_cv_func_atan2l_use+:} false; then :
39211 $as_echo_n "(cached) " >&6
39212 else
39215 ac_ext=cpp
39216 ac_cpp='$CXXCPP $CPPFLAGS'
39217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39222 /* end confdefs.h. */
39223 #include <math.h>
39225 main ()
39227 atan2l(0, 0);
39229 return 0;
39231 _ACEOF
39232 if ac_fn_cxx_try_compile "$LINENO"; then :
39233 glibcxx_cv_func_atan2l_use=yes
39234 else
39235 glibcxx_cv_func_atan2l_use=no
39237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39238 ac_ext=c
39239 ac_cpp='$CPP $CPPFLAGS'
39240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39249 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39251 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39252 for ac_func in atan2l
39253 do :
39254 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39255 if test "x$ac_cv_func_atan2l" = xyes; then :
39256 cat >>confdefs.h <<_ACEOF
39257 #define HAVE_ATAN2L 1
39258 _ACEOF
39261 done
39263 else
39265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39266 $as_echo_n "checking for _atan2l declaration... " >&6; }
39267 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39268 if ${glibcxx_cv_func__atan2l_use+:} false; then :
39269 $as_echo_n "(cached) " >&6
39270 else
39273 ac_ext=cpp
39274 ac_cpp='$CXXCPP $CPPFLAGS'
39275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39280 /* end confdefs.h. */
39281 #include <math.h>
39283 main ()
39285 _atan2l(0, 0);
39287 return 0;
39289 _ACEOF
39290 if ac_fn_cxx_try_compile "$LINENO"; then :
39291 glibcxx_cv_func__atan2l_use=yes
39292 else
39293 glibcxx_cv_func__atan2l_use=no
39295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39296 ac_ext=c
39297 ac_cpp='$CPP $CPPFLAGS'
39298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39307 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39309 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39310 for ac_func in _atan2l
39311 do :
39312 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39313 if test "x$ac_cv_func__atan2l" = xyes; then :
39314 cat >>confdefs.h <<_ACEOF
39315 #define HAVE__ATAN2L 1
39316 _ACEOF
39319 done
39328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39329 $as_echo_n "checking for expl declaration... " >&6; }
39330 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39331 if ${glibcxx_cv_func_expl_use+:} false; then :
39332 $as_echo_n "(cached) " >&6
39333 else
39336 ac_ext=cpp
39337 ac_cpp='$CXXCPP $CPPFLAGS'
39338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39343 /* end confdefs.h. */
39344 #include <math.h>
39345 #ifdef HAVE_IEEEFP_H
39346 #include <ieeefp.h>
39347 #endif
39350 main ()
39352 expl(0);
39354 return 0;
39356 _ACEOF
39357 if ac_fn_cxx_try_compile "$LINENO"; then :
39358 glibcxx_cv_func_expl_use=yes
39359 else
39360 glibcxx_cv_func_expl_use=no
39362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39363 ac_ext=c
39364 ac_cpp='$CPP $CPPFLAGS'
39365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39374 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39376 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39377 for ac_func in expl
39378 do :
39379 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39380 if test "x$ac_cv_func_expl" = xyes; then :
39381 cat >>confdefs.h <<_ACEOF
39382 #define HAVE_EXPL 1
39383 _ACEOF
39386 done
39388 else
39390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39391 $as_echo_n "checking for _expl declaration... " >&6; }
39392 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39393 if ${glibcxx_cv_func__expl_use+:} false; then :
39394 $as_echo_n "(cached) " >&6
39395 else
39398 ac_ext=cpp
39399 ac_cpp='$CXXCPP $CPPFLAGS'
39400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39405 /* end confdefs.h. */
39406 #include <math.h>
39407 #ifdef HAVE_IEEEFP_H
39408 #include <ieeefp.h>
39409 #endif
39412 main ()
39414 _expl(0);
39416 return 0;
39418 _ACEOF
39419 if ac_fn_cxx_try_compile "$LINENO"; then :
39420 glibcxx_cv_func__expl_use=yes
39421 else
39422 glibcxx_cv_func__expl_use=no
39424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39425 ac_ext=c
39426 ac_cpp='$CPP $CPPFLAGS'
39427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39436 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39438 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39439 for ac_func in _expl
39440 do :
39441 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39442 if test "x$ac_cv_func__expl" = xyes; then :
39443 cat >>confdefs.h <<_ACEOF
39444 #define HAVE__EXPL 1
39445 _ACEOF
39448 done
39457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39458 $as_echo_n "checking for fabsl declaration... " >&6; }
39459 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39460 if ${glibcxx_cv_func_fabsl_use+:} false; then :
39461 $as_echo_n "(cached) " >&6
39462 else
39465 ac_ext=cpp
39466 ac_cpp='$CXXCPP $CPPFLAGS'
39467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39472 /* end confdefs.h. */
39473 #include <math.h>
39474 #ifdef HAVE_IEEEFP_H
39475 #include <ieeefp.h>
39476 #endif
39479 main ()
39481 fabsl(0);
39483 return 0;
39485 _ACEOF
39486 if ac_fn_cxx_try_compile "$LINENO"; then :
39487 glibcxx_cv_func_fabsl_use=yes
39488 else
39489 glibcxx_cv_func_fabsl_use=no
39491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39492 ac_ext=c
39493 ac_cpp='$CPP $CPPFLAGS'
39494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39503 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39505 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39506 for ac_func in fabsl
39507 do :
39508 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39509 if test "x$ac_cv_func_fabsl" = xyes; then :
39510 cat >>confdefs.h <<_ACEOF
39511 #define HAVE_FABSL 1
39512 _ACEOF
39515 done
39517 else
39519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39520 $as_echo_n "checking for _fabsl declaration... " >&6; }
39521 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39522 if ${glibcxx_cv_func__fabsl_use+:} false; then :
39523 $as_echo_n "(cached) " >&6
39524 else
39527 ac_ext=cpp
39528 ac_cpp='$CXXCPP $CPPFLAGS'
39529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39534 /* end confdefs.h. */
39535 #include <math.h>
39536 #ifdef HAVE_IEEEFP_H
39537 #include <ieeefp.h>
39538 #endif
39541 main ()
39543 _fabsl(0);
39545 return 0;
39547 _ACEOF
39548 if ac_fn_cxx_try_compile "$LINENO"; then :
39549 glibcxx_cv_func__fabsl_use=yes
39550 else
39551 glibcxx_cv_func__fabsl_use=no
39553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39554 ac_ext=c
39555 ac_cpp='$CPP $CPPFLAGS'
39556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39565 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39567 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39568 for ac_func in _fabsl
39569 do :
39570 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39571 if test "x$ac_cv_func__fabsl" = xyes; then :
39572 cat >>confdefs.h <<_ACEOF
39573 #define HAVE__FABSL 1
39574 _ACEOF
39577 done
39586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39587 $as_echo_n "checking for fmodl declaration... " >&6; }
39588 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39589 if ${glibcxx_cv_func_fmodl_use+:} false; then :
39590 $as_echo_n "(cached) " >&6
39591 else
39594 ac_ext=cpp
39595 ac_cpp='$CXXCPP $CPPFLAGS'
39596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39601 /* end confdefs.h. */
39602 #include <math.h>
39604 main ()
39606 fmodl(0, 0);
39608 return 0;
39610 _ACEOF
39611 if ac_fn_cxx_try_compile "$LINENO"; then :
39612 glibcxx_cv_func_fmodl_use=yes
39613 else
39614 glibcxx_cv_func_fmodl_use=no
39616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39617 ac_ext=c
39618 ac_cpp='$CPP $CPPFLAGS'
39619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39628 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39630 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39631 for ac_func in fmodl
39632 do :
39633 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39634 if test "x$ac_cv_func_fmodl" = xyes; then :
39635 cat >>confdefs.h <<_ACEOF
39636 #define HAVE_FMODL 1
39637 _ACEOF
39640 done
39642 else
39644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39645 $as_echo_n "checking for _fmodl declaration... " >&6; }
39646 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39647 if ${glibcxx_cv_func__fmodl_use+:} false; then :
39648 $as_echo_n "(cached) " >&6
39649 else
39652 ac_ext=cpp
39653 ac_cpp='$CXXCPP $CPPFLAGS'
39654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39659 /* end confdefs.h. */
39660 #include <math.h>
39662 main ()
39664 _fmodl(0, 0);
39666 return 0;
39668 _ACEOF
39669 if ac_fn_cxx_try_compile "$LINENO"; then :
39670 glibcxx_cv_func__fmodl_use=yes
39671 else
39672 glibcxx_cv_func__fmodl_use=no
39674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39675 ac_ext=c
39676 ac_cpp='$CPP $CPPFLAGS'
39677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39686 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39688 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39689 for ac_func in _fmodl
39690 do :
39691 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39692 if test "x$ac_cv_func__fmodl" = xyes; then :
39693 cat >>confdefs.h <<_ACEOF
39694 #define HAVE__FMODL 1
39695 _ACEOF
39698 done
39707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39708 $as_echo_n "checking for frexpl declaration... " >&6; }
39709 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39710 if ${glibcxx_cv_func_frexpl_use+:} false; then :
39711 $as_echo_n "(cached) " >&6
39712 else
39715 ac_ext=cpp
39716 ac_cpp='$CXXCPP $CPPFLAGS'
39717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39722 /* end confdefs.h. */
39723 #include <math.h>
39725 main ()
39727 frexpl(0, 0);
39729 return 0;
39731 _ACEOF
39732 if ac_fn_cxx_try_compile "$LINENO"; then :
39733 glibcxx_cv_func_frexpl_use=yes
39734 else
39735 glibcxx_cv_func_frexpl_use=no
39737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39738 ac_ext=c
39739 ac_cpp='$CPP $CPPFLAGS'
39740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39749 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39751 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39752 for ac_func in frexpl
39753 do :
39754 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39755 if test "x$ac_cv_func_frexpl" = xyes; then :
39756 cat >>confdefs.h <<_ACEOF
39757 #define HAVE_FREXPL 1
39758 _ACEOF
39761 done
39763 else
39765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39766 $as_echo_n "checking for _frexpl declaration... " >&6; }
39767 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39768 if ${glibcxx_cv_func__frexpl_use+:} false; then :
39769 $as_echo_n "(cached) " >&6
39770 else
39773 ac_ext=cpp
39774 ac_cpp='$CXXCPP $CPPFLAGS'
39775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39780 /* end confdefs.h. */
39781 #include <math.h>
39783 main ()
39785 _frexpl(0, 0);
39787 return 0;
39789 _ACEOF
39790 if ac_fn_cxx_try_compile "$LINENO"; then :
39791 glibcxx_cv_func__frexpl_use=yes
39792 else
39793 glibcxx_cv_func__frexpl_use=no
39795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39796 ac_ext=c
39797 ac_cpp='$CPP $CPPFLAGS'
39798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39807 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39809 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39810 for ac_func in _frexpl
39811 do :
39812 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39813 if test "x$ac_cv_func__frexpl" = xyes; then :
39814 cat >>confdefs.h <<_ACEOF
39815 #define HAVE__FREXPL 1
39816 _ACEOF
39819 done
39828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39829 $as_echo_n "checking for hypotl declaration... " >&6; }
39830 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39831 if ${glibcxx_cv_func_hypotl_use+:} false; then :
39832 $as_echo_n "(cached) " >&6
39833 else
39836 ac_ext=cpp
39837 ac_cpp='$CXXCPP $CPPFLAGS'
39838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39843 /* end confdefs.h. */
39844 #include <math.h>
39846 main ()
39848 hypotl(0, 0);
39850 return 0;
39852 _ACEOF
39853 if ac_fn_cxx_try_compile "$LINENO"; then :
39854 glibcxx_cv_func_hypotl_use=yes
39855 else
39856 glibcxx_cv_func_hypotl_use=no
39858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39859 ac_ext=c
39860 ac_cpp='$CPP $CPPFLAGS'
39861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39870 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39872 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39873 for ac_func in hypotl
39874 do :
39875 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39876 if test "x$ac_cv_func_hypotl" = xyes; then :
39877 cat >>confdefs.h <<_ACEOF
39878 #define HAVE_HYPOTL 1
39879 _ACEOF
39882 done
39884 else
39886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39887 $as_echo_n "checking for _hypotl declaration... " >&6; }
39888 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39889 if ${glibcxx_cv_func__hypotl_use+:} false; then :
39890 $as_echo_n "(cached) " >&6
39891 else
39894 ac_ext=cpp
39895 ac_cpp='$CXXCPP $CPPFLAGS'
39896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39901 /* end confdefs.h. */
39902 #include <math.h>
39904 main ()
39906 _hypotl(0, 0);
39908 return 0;
39910 _ACEOF
39911 if ac_fn_cxx_try_compile "$LINENO"; then :
39912 glibcxx_cv_func__hypotl_use=yes
39913 else
39914 glibcxx_cv_func__hypotl_use=no
39916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39917 ac_ext=c
39918 ac_cpp='$CPP $CPPFLAGS'
39919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39928 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39930 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39931 for ac_func in _hypotl
39932 do :
39933 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39934 if test "x$ac_cv_func__hypotl" = xyes; then :
39935 cat >>confdefs.h <<_ACEOF
39936 #define HAVE__HYPOTL 1
39937 _ACEOF
39940 done
39949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39950 $as_echo_n "checking for ldexpl declaration... " >&6; }
39951 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39952 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
39953 $as_echo_n "(cached) " >&6
39954 else
39957 ac_ext=cpp
39958 ac_cpp='$CXXCPP $CPPFLAGS'
39959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39964 /* end confdefs.h. */
39965 #include <math.h>
39967 main ()
39969 ldexpl(0, 0);
39971 return 0;
39973 _ACEOF
39974 if ac_fn_cxx_try_compile "$LINENO"; then :
39975 glibcxx_cv_func_ldexpl_use=yes
39976 else
39977 glibcxx_cv_func_ldexpl_use=no
39979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39980 ac_ext=c
39981 ac_cpp='$CPP $CPPFLAGS'
39982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39991 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39993 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39994 for ac_func in ldexpl
39995 do :
39996 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39997 if test "x$ac_cv_func_ldexpl" = xyes; then :
39998 cat >>confdefs.h <<_ACEOF
39999 #define HAVE_LDEXPL 1
40000 _ACEOF
40003 done
40005 else
40007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
40008 $as_echo_n "checking for _ldexpl declaration... " >&6; }
40009 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
40010 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
40011 $as_echo_n "(cached) " >&6
40012 else
40015 ac_ext=cpp
40016 ac_cpp='$CXXCPP $CPPFLAGS'
40017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40022 /* end confdefs.h. */
40023 #include <math.h>
40025 main ()
40027 _ldexpl(0, 0);
40029 return 0;
40031 _ACEOF
40032 if ac_fn_cxx_try_compile "$LINENO"; then :
40033 glibcxx_cv_func__ldexpl_use=yes
40034 else
40035 glibcxx_cv_func__ldexpl_use=no
40037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40038 ac_ext=c
40039 ac_cpp='$CPP $CPPFLAGS'
40040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
40049 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
40051 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
40052 for ac_func in _ldexpl
40053 do :
40054 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40055 if test "x$ac_cv_func__ldexpl" = xyes; then :
40056 cat >>confdefs.h <<_ACEOF
40057 #define HAVE__LDEXPL 1
40058 _ACEOF
40061 done
40070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40071 $as_echo_n "checking for logl declaration... " >&6; }
40072 if test x${glibcxx_cv_func_logl_use+set} != xset; then
40073 if ${glibcxx_cv_func_logl_use+:} false; then :
40074 $as_echo_n "(cached) " >&6
40075 else
40078 ac_ext=cpp
40079 ac_cpp='$CXXCPP $CPPFLAGS'
40080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40085 /* end confdefs.h. */
40086 #include <math.h>
40087 #ifdef HAVE_IEEEFP_H
40088 #include <ieeefp.h>
40089 #endif
40092 main ()
40094 logl(0);
40096 return 0;
40098 _ACEOF
40099 if ac_fn_cxx_try_compile "$LINENO"; then :
40100 glibcxx_cv_func_logl_use=yes
40101 else
40102 glibcxx_cv_func_logl_use=no
40104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40105 ac_ext=c
40106 ac_cpp='$CPP $CPPFLAGS'
40107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40116 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
40118 if test x$glibcxx_cv_func_logl_use = x"yes"; then
40119 for ac_func in logl
40120 do :
40121 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40122 if test "x$ac_cv_func_logl" = xyes; then :
40123 cat >>confdefs.h <<_ACEOF
40124 #define HAVE_LOGL 1
40125 _ACEOF
40128 done
40130 else
40132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40133 $as_echo_n "checking for _logl declaration... " >&6; }
40134 if test x${glibcxx_cv_func__logl_use+set} != xset; then
40135 if ${glibcxx_cv_func__logl_use+:} false; then :
40136 $as_echo_n "(cached) " >&6
40137 else
40140 ac_ext=cpp
40141 ac_cpp='$CXXCPP $CPPFLAGS'
40142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40147 /* end confdefs.h. */
40148 #include <math.h>
40149 #ifdef HAVE_IEEEFP_H
40150 #include <ieeefp.h>
40151 #endif
40154 main ()
40156 _logl(0);
40158 return 0;
40160 _ACEOF
40161 if ac_fn_cxx_try_compile "$LINENO"; then :
40162 glibcxx_cv_func__logl_use=yes
40163 else
40164 glibcxx_cv_func__logl_use=no
40166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40167 ac_ext=c
40168 ac_cpp='$CPP $CPPFLAGS'
40169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40178 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
40180 if test x$glibcxx_cv_func__logl_use = x"yes"; then
40181 for ac_func in _logl
40182 do :
40183 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40184 if test "x$ac_cv_func__logl" = xyes; then :
40185 cat >>confdefs.h <<_ACEOF
40186 #define HAVE__LOGL 1
40187 _ACEOF
40190 done
40199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40200 $as_echo_n "checking for log10l declaration... " >&6; }
40201 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40202 if ${glibcxx_cv_func_log10l_use+:} false; then :
40203 $as_echo_n "(cached) " >&6
40204 else
40207 ac_ext=cpp
40208 ac_cpp='$CXXCPP $CPPFLAGS'
40209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40214 /* end confdefs.h. */
40215 #include <math.h>
40216 #ifdef HAVE_IEEEFP_H
40217 #include <ieeefp.h>
40218 #endif
40221 main ()
40223 log10l(0);
40225 return 0;
40227 _ACEOF
40228 if ac_fn_cxx_try_compile "$LINENO"; then :
40229 glibcxx_cv_func_log10l_use=yes
40230 else
40231 glibcxx_cv_func_log10l_use=no
40233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40234 ac_ext=c
40235 ac_cpp='$CPP $CPPFLAGS'
40236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40245 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40247 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40248 for ac_func in log10l
40249 do :
40250 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40251 if test "x$ac_cv_func_log10l" = xyes; then :
40252 cat >>confdefs.h <<_ACEOF
40253 #define HAVE_LOG10L 1
40254 _ACEOF
40257 done
40259 else
40261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40262 $as_echo_n "checking for _log10l declaration... " >&6; }
40263 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40264 if ${glibcxx_cv_func__log10l_use+:} false; then :
40265 $as_echo_n "(cached) " >&6
40266 else
40269 ac_ext=cpp
40270 ac_cpp='$CXXCPP $CPPFLAGS'
40271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40276 /* end confdefs.h. */
40277 #include <math.h>
40278 #ifdef HAVE_IEEEFP_H
40279 #include <ieeefp.h>
40280 #endif
40283 main ()
40285 _log10l(0);
40287 return 0;
40289 _ACEOF
40290 if ac_fn_cxx_try_compile "$LINENO"; then :
40291 glibcxx_cv_func__log10l_use=yes
40292 else
40293 glibcxx_cv_func__log10l_use=no
40295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40296 ac_ext=c
40297 ac_cpp='$CPP $CPPFLAGS'
40298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40307 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40309 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40310 for ac_func in _log10l
40311 do :
40312 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40313 if test "x$ac_cv_func__log10l" = xyes; then :
40314 cat >>confdefs.h <<_ACEOF
40315 #define HAVE__LOG10L 1
40316 _ACEOF
40319 done
40328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40329 $as_echo_n "checking for modfl declaration... " >&6; }
40330 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40331 if ${glibcxx_cv_func_modfl_use+:} false; then :
40332 $as_echo_n "(cached) " >&6
40333 else
40336 ac_ext=cpp
40337 ac_cpp='$CXXCPP $CPPFLAGS'
40338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40343 /* end confdefs.h. */
40344 #include <math.h>
40346 main ()
40348 modfl(0, 0);
40350 return 0;
40352 _ACEOF
40353 if ac_fn_cxx_try_compile "$LINENO"; then :
40354 glibcxx_cv_func_modfl_use=yes
40355 else
40356 glibcxx_cv_func_modfl_use=no
40358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40359 ac_ext=c
40360 ac_cpp='$CPP $CPPFLAGS'
40361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40370 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40372 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40373 for ac_func in modfl
40374 do :
40375 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40376 if test "x$ac_cv_func_modfl" = xyes; then :
40377 cat >>confdefs.h <<_ACEOF
40378 #define HAVE_MODFL 1
40379 _ACEOF
40382 done
40384 else
40386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40387 $as_echo_n "checking for _modfl declaration... " >&6; }
40388 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40389 if ${glibcxx_cv_func__modfl_use+:} false; then :
40390 $as_echo_n "(cached) " >&6
40391 else
40394 ac_ext=cpp
40395 ac_cpp='$CXXCPP $CPPFLAGS'
40396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40401 /* end confdefs.h. */
40402 #include <math.h>
40404 main ()
40406 _modfl(0, 0);
40408 return 0;
40410 _ACEOF
40411 if ac_fn_cxx_try_compile "$LINENO"; then :
40412 glibcxx_cv_func__modfl_use=yes
40413 else
40414 glibcxx_cv_func__modfl_use=no
40416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40417 ac_ext=c
40418 ac_cpp='$CPP $CPPFLAGS'
40419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40428 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40430 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40431 for ac_func in _modfl
40432 do :
40433 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40434 if test "x$ac_cv_func__modfl" = xyes; then :
40435 cat >>confdefs.h <<_ACEOF
40436 #define HAVE__MODFL 1
40437 _ACEOF
40440 done
40449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40450 $as_echo_n "checking for powl declaration... " >&6; }
40451 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40452 if ${glibcxx_cv_func_powl_use+:} false; then :
40453 $as_echo_n "(cached) " >&6
40454 else
40457 ac_ext=cpp
40458 ac_cpp='$CXXCPP $CPPFLAGS'
40459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40464 /* end confdefs.h. */
40465 #include <math.h>
40467 main ()
40469 powl(0, 0);
40471 return 0;
40473 _ACEOF
40474 if ac_fn_cxx_try_compile "$LINENO"; then :
40475 glibcxx_cv_func_powl_use=yes
40476 else
40477 glibcxx_cv_func_powl_use=no
40479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40480 ac_ext=c
40481 ac_cpp='$CPP $CPPFLAGS'
40482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40491 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40493 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40494 for ac_func in powl
40495 do :
40496 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40497 if test "x$ac_cv_func_powl" = xyes; then :
40498 cat >>confdefs.h <<_ACEOF
40499 #define HAVE_POWL 1
40500 _ACEOF
40503 done
40505 else
40507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40508 $as_echo_n "checking for _powl declaration... " >&6; }
40509 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40510 if ${glibcxx_cv_func__powl_use+:} false; then :
40511 $as_echo_n "(cached) " >&6
40512 else
40515 ac_ext=cpp
40516 ac_cpp='$CXXCPP $CPPFLAGS'
40517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40522 /* end confdefs.h. */
40523 #include <math.h>
40525 main ()
40527 _powl(0, 0);
40529 return 0;
40531 _ACEOF
40532 if ac_fn_cxx_try_compile "$LINENO"; then :
40533 glibcxx_cv_func__powl_use=yes
40534 else
40535 glibcxx_cv_func__powl_use=no
40537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40538 ac_ext=c
40539 ac_cpp='$CPP $CPPFLAGS'
40540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40549 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40551 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40552 for ac_func in _powl
40553 do :
40554 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40555 if test "x$ac_cv_func__powl" = xyes; then :
40556 cat >>confdefs.h <<_ACEOF
40557 #define HAVE__POWL 1
40558 _ACEOF
40561 done
40570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40571 $as_echo_n "checking for sqrtl declaration... " >&6; }
40572 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40573 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
40574 $as_echo_n "(cached) " >&6
40575 else
40578 ac_ext=cpp
40579 ac_cpp='$CXXCPP $CPPFLAGS'
40580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40585 /* end confdefs.h. */
40586 #include <math.h>
40587 #ifdef HAVE_IEEEFP_H
40588 #include <ieeefp.h>
40589 #endif
40592 main ()
40594 sqrtl(0);
40596 return 0;
40598 _ACEOF
40599 if ac_fn_cxx_try_compile "$LINENO"; then :
40600 glibcxx_cv_func_sqrtl_use=yes
40601 else
40602 glibcxx_cv_func_sqrtl_use=no
40604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40605 ac_ext=c
40606 ac_cpp='$CPP $CPPFLAGS'
40607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40616 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40618 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40619 for ac_func in sqrtl
40620 do :
40621 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40622 if test "x$ac_cv_func_sqrtl" = xyes; then :
40623 cat >>confdefs.h <<_ACEOF
40624 #define HAVE_SQRTL 1
40625 _ACEOF
40628 done
40630 else
40632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40633 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40634 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40635 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
40636 $as_echo_n "(cached) " >&6
40637 else
40640 ac_ext=cpp
40641 ac_cpp='$CXXCPP $CPPFLAGS'
40642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40647 /* end confdefs.h. */
40648 #include <math.h>
40649 #ifdef HAVE_IEEEFP_H
40650 #include <ieeefp.h>
40651 #endif
40654 main ()
40656 _sqrtl(0);
40658 return 0;
40660 _ACEOF
40661 if ac_fn_cxx_try_compile "$LINENO"; then :
40662 glibcxx_cv_func__sqrtl_use=yes
40663 else
40664 glibcxx_cv_func__sqrtl_use=no
40666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40667 ac_ext=c
40668 ac_cpp='$CPP $CPPFLAGS'
40669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40678 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40680 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40681 for ac_func in _sqrtl
40682 do :
40683 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40684 if test "x$ac_cv_func__sqrtl" = xyes; then :
40685 cat >>confdefs.h <<_ACEOF
40686 #define HAVE__SQRTL 1
40687 _ACEOF
40690 done
40699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40700 $as_echo_n "checking for sincosl declaration... " >&6; }
40701 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40702 if ${glibcxx_cv_func_sincosl_use+:} false; then :
40703 $as_echo_n "(cached) " >&6
40704 else
40707 ac_ext=cpp
40708 ac_cpp='$CXXCPP $CPPFLAGS'
40709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40714 /* end confdefs.h. */
40715 #include <math.h>
40717 main ()
40719 sincosl(0, 0, 0);
40721 return 0;
40723 _ACEOF
40724 if ac_fn_cxx_try_compile "$LINENO"; then :
40725 glibcxx_cv_func_sincosl_use=yes
40726 else
40727 glibcxx_cv_func_sincosl_use=no
40729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40730 ac_ext=c
40731 ac_cpp='$CPP $CPPFLAGS'
40732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40741 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40743 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40744 for ac_func in sincosl
40745 do :
40746 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40747 if test "x$ac_cv_func_sincosl" = xyes; then :
40748 cat >>confdefs.h <<_ACEOF
40749 #define HAVE_SINCOSL 1
40750 _ACEOF
40753 done
40755 else
40757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40758 $as_echo_n "checking for _sincosl declaration... " >&6; }
40759 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40760 if ${glibcxx_cv_func__sincosl_use+:} false; then :
40761 $as_echo_n "(cached) " >&6
40762 else
40765 ac_ext=cpp
40766 ac_cpp='$CXXCPP $CPPFLAGS'
40767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40772 /* end confdefs.h. */
40773 #include <math.h>
40775 main ()
40777 _sincosl(0, 0, 0);
40779 return 0;
40781 _ACEOF
40782 if ac_fn_cxx_try_compile "$LINENO"; then :
40783 glibcxx_cv_func__sincosl_use=yes
40784 else
40785 glibcxx_cv_func__sincosl_use=no
40787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40788 ac_ext=c
40789 ac_cpp='$CPP $CPPFLAGS'
40790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40799 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40801 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40802 for ac_func in _sincosl
40803 do :
40804 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40805 if test "x$ac_cv_func__sincosl" = xyes; then :
40806 cat >>confdefs.h <<_ACEOF
40807 #define HAVE__SINCOSL 1
40808 _ACEOF
40811 done
40820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40821 $as_echo_n "checking for finitel declaration... " >&6; }
40822 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40823 if ${glibcxx_cv_func_finitel_use+:} false; then :
40824 $as_echo_n "(cached) " >&6
40825 else
40828 ac_ext=cpp
40829 ac_cpp='$CXXCPP $CPPFLAGS'
40830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40835 /* end confdefs.h. */
40836 #include <math.h>
40837 #ifdef HAVE_IEEEFP_H
40838 #include <ieeefp.h>
40839 #endif
40842 main ()
40844 finitel(0);
40846 return 0;
40848 _ACEOF
40849 if ac_fn_cxx_try_compile "$LINENO"; then :
40850 glibcxx_cv_func_finitel_use=yes
40851 else
40852 glibcxx_cv_func_finitel_use=no
40854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40855 ac_ext=c
40856 ac_cpp='$CPP $CPPFLAGS'
40857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40866 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40868 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40869 for ac_func in finitel
40870 do :
40871 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40872 if test "x$ac_cv_func_finitel" = xyes; then :
40873 cat >>confdefs.h <<_ACEOF
40874 #define HAVE_FINITEL 1
40875 _ACEOF
40878 done
40880 else
40882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40883 $as_echo_n "checking for _finitel declaration... " >&6; }
40884 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40885 if ${glibcxx_cv_func__finitel_use+:} false; then :
40886 $as_echo_n "(cached) " >&6
40887 else
40890 ac_ext=cpp
40891 ac_cpp='$CXXCPP $CPPFLAGS'
40892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40897 /* end confdefs.h. */
40898 #include <math.h>
40899 #ifdef HAVE_IEEEFP_H
40900 #include <ieeefp.h>
40901 #endif
40904 main ()
40906 _finitel(0);
40908 return 0;
40910 _ACEOF
40911 if ac_fn_cxx_try_compile "$LINENO"; then :
40912 glibcxx_cv_func__finitel_use=yes
40913 else
40914 glibcxx_cv_func__finitel_use=no
40916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40917 ac_ext=c
40918 ac_cpp='$CPP $CPPFLAGS'
40919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40928 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40930 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40931 for ac_func in _finitel
40932 do :
40933 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40934 if test "x$ac_cv_func__finitel" = xyes; then :
40935 cat >>confdefs.h <<_ACEOF
40936 #define HAVE__FINITEL 1
40937 _ACEOF
40940 done
40948 LIBS="$ac_save_LIBS"
40949 CXXFLAGS="$ac_save_CXXFLAGS"
40952 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40953 ac_save_CXXFLAGS="$CXXFLAGS"
40954 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40958 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40959 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40960 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
40961 $as_echo_n "(cached) " >&6
40962 else
40965 ac_ext=cpp
40966 ac_cpp='$CXXCPP $CPPFLAGS'
40967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40972 /* end confdefs.h. */
40973 #include <stdlib.h>
40975 main ()
40977 at_quick_exit(0);
40979 return 0;
40981 _ACEOF
40982 if ac_fn_cxx_try_compile "$LINENO"; then :
40983 glibcxx_cv_func_at_quick_exit_use=yes
40984 else
40985 glibcxx_cv_func_at_quick_exit_use=no
40987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40988 ac_ext=c
40989 ac_cpp='$CPP $CPPFLAGS'
40990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40999 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
41000 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
41001 for ac_func in at_quick_exit
41002 do :
41003 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
41004 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
41005 cat >>confdefs.h <<_ACEOF
41006 #define HAVE_AT_QUICK_EXIT 1
41007 _ACEOF
41010 done
41015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
41016 $as_echo_n "checking for quick_exit declaration... " >&6; }
41017 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
41018 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
41019 $as_echo_n "(cached) " >&6
41020 else
41023 ac_ext=cpp
41024 ac_cpp='$CXXCPP $CPPFLAGS'
41025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41030 /* end confdefs.h. */
41031 #include <stdlib.h>
41033 main ()
41035 quick_exit(0);
41037 return 0;
41039 _ACEOF
41040 if ac_fn_cxx_try_compile "$LINENO"; then :
41041 glibcxx_cv_func_quick_exit_use=yes
41042 else
41043 glibcxx_cv_func_quick_exit_use=no
41045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41046 ac_ext=c
41047 ac_cpp='$CPP $CPPFLAGS'
41048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41057 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41058 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41059 for ac_func in quick_exit
41060 do :
41061 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41062 if test "x$ac_cv_func_quick_exit" = xyes; then :
41063 cat >>confdefs.h <<_ACEOF
41064 #define HAVE_QUICK_EXIT 1
41065 _ACEOF
41068 done
41073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41074 $as_echo_n "checking for strtold declaration... " >&6; }
41075 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41076 if ${glibcxx_cv_func_strtold_use+:} false; then :
41077 $as_echo_n "(cached) " >&6
41078 else
41081 ac_ext=cpp
41082 ac_cpp='$CXXCPP $CPPFLAGS'
41083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41088 /* end confdefs.h. */
41089 #include <stdlib.h>
41091 main ()
41093 strtold(0, 0);
41095 return 0;
41097 _ACEOF
41098 if ac_fn_cxx_try_compile "$LINENO"; then :
41099 glibcxx_cv_func_strtold_use=yes
41100 else
41101 glibcxx_cv_func_strtold_use=no
41103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41104 ac_ext=c
41105 ac_cpp='$CPP $CPPFLAGS'
41106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41115 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41116 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41117 for ac_func in strtold
41118 do :
41119 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41120 if test "x$ac_cv_func_strtold" = xyes; then :
41121 cat >>confdefs.h <<_ACEOF
41122 #define HAVE_STRTOLD 1
41123 _ACEOF
41126 done
41133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41134 $as_echo_n "checking for strtof declaration... " >&6; }
41135 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41136 if ${glibcxx_cv_func_strtof_use+:} false; then :
41137 $as_echo_n "(cached) " >&6
41138 else
41141 ac_ext=cpp
41142 ac_cpp='$CXXCPP $CPPFLAGS'
41143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41148 /* end confdefs.h. */
41149 #include <stdlib.h>
41151 main ()
41153 strtof(0, 0);
41155 return 0;
41157 _ACEOF
41158 if ac_fn_cxx_try_compile "$LINENO"; then :
41159 glibcxx_cv_func_strtof_use=yes
41160 else
41161 glibcxx_cv_func_strtof_use=no
41163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41164 ac_ext=c
41165 ac_cpp='$CPP $CPPFLAGS'
41166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41175 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41176 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41177 for ac_func in strtof
41178 do :
41179 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41180 if test "x$ac_cv_func_strtof" = xyes; then :
41181 cat >>confdefs.h <<_ACEOF
41182 #define HAVE_STRTOF 1
41183 _ACEOF
41186 done
41193 CXXFLAGS="$ac_save_CXXFLAGS"
41200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41201 $as_echo_n "checking for iconv... " >&6; }
41202 if ${am_cv_func_iconv+:} false; then :
41203 $as_echo_n "(cached) " >&6
41204 else
41206 am_cv_func_iconv="no, consider installing GNU libiconv"
41207 am_cv_lib_iconv=no
41208 am_save_CPPFLAGS="$CPPFLAGS"
41209 CPPFLAGS="$CPPFLAGS $INCICONV"
41210 if test x$gcc_no_link = xyes; then
41211 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41214 /* end confdefs.h. */
41215 #include <stdlib.h>
41216 #include <iconv.h>
41218 main ()
41220 iconv_t cd = iconv_open("","");
41221 iconv(cd,NULL,NULL,NULL,NULL);
41222 iconv_close(cd);
41224 return 0;
41226 _ACEOF
41227 if ac_fn_c_try_link "$LINENO"; then :
41228 am_cv_func_iconv=yes
41230 rm -f core conftest.err conftest.$ac_objext \
41231 conftest$ac_exeext conftest.$ac_ext
41232 CPPFLAGS="$am_save_CPPFLAGS"
41234 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41235 for _libs in .libs _libs; do
41236 am_save_CPPFLAGS="$CPPFLAGS"
41237 am_save_LIBS="$LIBS"
41238 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41239 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41240 if test x$gcc_no_link = xyes; then
41241 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41244 /* end confdefs.h. */
41245 #include <stdlib.h>
41246 #include <iconv.h>
41248 main ()
41250 iconv_t cd = iconv_open("","");
41251 iconv(cd,NULL,NULL,NULL,NULL);
41252 iconv_close(cd);
41254 return 0;
41256 _ACEOF
41257 if ac_fn_c_try_link "$LINENO"; then :
41258 INCICONV="-I../libiconv/include"
41259 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41260 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41261 am_cv_lib_iconv=yes
41262 am_cv_func_iconv=yes
41264 rm -f core conftest.err conftest.$ac_objext \
41265 conftest$ac_exeext conftest.$ac_ext
41266 CPPFLAGS="$am_save_CPPFLAGS"
41267 LIBS="$am_save_LIBS"
41268 if test "$am_cv_func_iconv" = "yes"; then
41269 break
41271 done
41274 if test "$am_cv_func_iconv" != yes; then
41275 am_save_CPPFLAGS="$CPPFLAGS"
41276 am_save_LIBS="$LIBS"
41277 CPPFLAGS="$CPPFLAGS $INCICONV"
41278 LIBS="$LIBS $LIBICONV"
41279 if test x$gcc_no_link = xyes; then
41280 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41283 /* end confdefs.h. */
41284 #include <stdlib.h>
41285 #include <iconv.h>
41287 main ()
41289 iconv_t cd = iconv_open("","");
41290 iconv(cd,NULL,NULL,NULL,NULL);
41291 iconv_close(cd);
41293 return 0;
41295 _ACEOF
41296 if ac_fn_c_try_link "$LINENO"; then :
41297 am_cv_lib_iconv=yes
41298 am_cv_func_iconv=yes
41300 rm -f core conftest.err conftest.$ac_objext \
41301 conftest$ac_exeext conftest.$ac_ext
41302 CPPFLAGS="$am_save_CPPFLAGS"
41303 LIBS="$am_save_LIBS"
41307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41308 $as_echo "$am_cv_func_iconv" >&6; }
41309 if test "$am_cv_func_iconv" = yes; then
41311 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41314 if test "$am_cv_lib_iconv" = yes; then
41316 for element in $INCICONV; do
41317 haveit=
41318 for x in $CPPFLAGS; do
41320 acl_save_prefix="$prefix"
41321 prefix="$acl_final_prefix"
41322 acl_save_exec_prefix="$exec_prefix"
41323 exec_prefix="$acl_final_exec_prefix"
41324 eval x=\"$x\"
41325 exec_prefix="$acl_save_exec_prefix"
41326 prefix="$acl_save_prefix"
41328 if test "X$x" = "X$element"; then
41329 haveit=yes
41330 break
41332 done
41333 if test -z "$haveit"; then
41334 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41336 done
41338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41339 $as_echo_n "checking how to link with libiconv... " >&6; }
41340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41341 $as_echo "$LIBICONV" >&6; }
41342 else
41343 LIBICONV=
41344 LTLIBICONV=
41349 if test "$am_cv_func_iconv" = yes; then
41350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41351 $as_echo_n "checking for iconv declaration... " >&6; }
41352 if ${am_cv_proto_iconv+:} false; then :
41353 $as_echo_n "(cached) " >&6
41354 else
41356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41357 /* end confdefs.h. */
41359 #include <stdlib.h>
41360 #include <iconv.h>
41361 extern
41362 #ifdef __cplusplus
41364 #endif
41365 #if defined(__STDC__) || defined(__cplusplus)
41366 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41367 #else
41368 size_t iconv();
41369 #endif
41372 main ()
41376 return 0;
41378 _ACEOF
41379 if ac_fn_c_try_compile "$LINENO"; then :
41380 am_cv_proto_iconv_arg1=""
41381 else
41382 am_cv_proto_iconv_arg1="const"
41384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41385 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
41388 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41390 }$am_cv_proto_iconv" >&5
41391 $as_echo "${ac_t:-
41392 }$am_cv_proto_iconv" >&6; }
41394 cat >>confdefs.h <<_ACEOF
41395 #define ICONV_CONST $am_cv_proto_iconv_arg1
41396 _ACEOF
41402 *-aix*)
41404 # If we're not using GNU ld, then there's no point in even trying these
41405 # tests. Check for that first. We should have already tested for gld
41406 # by now (in libtool), but require it now just to be safe...
41407 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41408 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41412 # The name set by libtool depends on the version of libtool. Shame on us
41413 # for depending on an impl detail, but c'est la vie. Older versions used
41414 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41415 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41416 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41417 # set (hence we're using an older libtool), then set it.
41418 if test x${with_gnu_ld+set} != xset; then
41419 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41420 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41421 with_gnu_ld=no
41422 else
41423 with_gnu_ld=$ac_cv_prog_gnu_ld
41427 # Start by getting the version number. I think the libtool test already
41428 # does some of this, but throws away the result.
41429 glibcxx_ld_is_gold=no
41430 if test x"$with_gnu_ld" = x"yes"; then
41431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41432 $as_echo_n "checking for ld version... " >&6; }
41434 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41435 glibcxx_ld_is_gold=yes
41437 ldver=`$LD --version 2>/dev/null |
41438 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
41440 glibcxx_gnu_ld_version=`echo $ldver | \
41441 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41443 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41446 # Set --gc-sections.
41447 glibcxx_have_gc_sections=no
41448 if test "$glibcxx_ld_is_gold" = "yes"; then
41449 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41450 glibcxx_have_gc_sections=yes
41452 else
41453 glibcxx_gcsections_min_ld=21602
41454 if test x"$with_gnu_ld" = x"yes" &&
41455 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41456 glibcxx_have_gc_sections=yes
41459 if test "$glibcxx_have_gc_sections" = "yes"; then
41460 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41461 # NB: This flag only works reliably after 2.16.1. Configure tests
41462 # for this are difficult, so hard wire a value that should work.
41464 ac_test_CFLAGS="${CFLAGS+set}"
41465 ac_save_CFLAGS="$CFLAGS"
41466 CFLAGS='-Wl,--gc-sections'
41468 # Check for -Wl,--gc-sections
41469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41470 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41471 if test x$gcc_no_link = xyes; then
41472 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41475 /* end confdefs.h. */
41476 int one(void) { return 1; }
41477 int two(void) { return 2; }
41480 main ()
41482 two();
41484 return 0;
41486 _ACEOF
41487 if ac_fn_c_try_link "$LINENO"; then :
41488 ac_gcsections=yes
41489 else
41490 ac_gcsections=no
41492 rm -f core conftest.err conftest.$ac_objext \
41493 conftest$ac_exeext conftest.$ac_ext
41494 if test "$ac_gcsections" = "yes"; then
41495 rm -f conftest.c
41496 touch conftest.c
41497 if $CC -c conftest.c; then
41498 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41499 grep "Warning: gc-sections option ignored" > /dev/null; then
41500 ac_gcsections=no
41503 rm -f conftest.c conftest.o conftest
41505 if test "$ac_gcsections" = "yes"; then
41506 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41509 $as_echo "$ac_gcsections" >&6; }
41511 if test "$ac_test_CFLAGS" = set; then
41512 CFLAGS="$ac_save_CFLAGS"
41513 else
41514 # this is the suspicious part
41515 CFLAGS=''
41519 # Set -z,relro.
41520 # Note this is only for shared objects.
41521 ac_ld_relro=no
41522 if test x"$with_gnu_ld" = x"yes"; then
41523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41524 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41525 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41526 if test -n "$cxx_z_relo"; then
41527 OPT_LDFLAGS="-Wl,-z,relro"
41528 ac_ld_relro=yes
41530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41531 $as_echo "$ac_ld_relro" >&6; }
41534 # Set linker optimization flags.
41535 if test x"$with_gnu_ld" = x"yes"; then
41536 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41543 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41544 ac_save_CXXFLAGS="$CXXFLAGS"
41545 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41548 $as_echo_n "checking for sin in -lm... " >&6; }
41549 if ${ac_cv_lib_m_sin+:} false; then :
41550 $as_echo_n "(cached) " >&6
41551 else
41552 ac_check_lib_save_LIBS=$LIBS
41553 LIBS="-lm $LIBS"
41554 if test x$gcc_no_link = xyes; then
41555 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41558 /* end confdefs.h. */
41560 /* Override any GCC internal prototype to avoid an error.
41561 Use char because int might match the return type of a GCC
41562 builtin and then its argument prototype would still apply. */
41563 #ifdef __cplusplus
41564 extern "C"
41565 #endif
41566 char sin ();
41568 main ()
41570 return sin ();
41572 return 0;
41574 _ACEOF
41575 if ac_fn_c_try_link "$LINENO"; then :
41576 ac_cv_lib_m_sin=yes
41577 else
41578 ac_cv_lib_m_sin=no
41580 rm -f core conftest.err conftest.$ac_objext \
41581 conftest$ac_exeext conftest.$ac_ext
41582 LIBS=$ac_check_lib_save_LIBS
41584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41585 $as_echo "$ac_cv_lib_m_sin" >&6; }
41586 if test "x$ac_cv_lib_m_sin" = xyes; then :
41587 libm="-lm"
41590 ac_save_LIBS="$LIBS"
41591 LIBS="$LIBS $libm"
41595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41596 $as_echo_n "checking for isinf declaration... " >&6; }
41597 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41598 if ${glibcxx_cv_func_isinf_use+:} false; then :
41599 $as_echo_n "(cached) " >&6
41600 else
41603 ac_ext=cpp
41604 ac_cpp='$CXXCPP $CPPFLAGS'
41605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41610 /* end confdefs.h. */
41611 #include <math.h>
41612 #ifdef HAVE_IEEEFP_H
41613 #include <ieeefp.h>
41614 #endif
41617 main ()
41619 isinf(0);
41621 return 0;
41623 _ACEOF
41624 if ac_fn_cxx_try_compile "$LINENO"; then :
41625 glibcxx_cv_func_isinf_use=yes
41626 else
41627 glibcxx_cv_func_isinf_use=no
41629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41630 ac_ext=c
41631 ac_cpp='$CPP $CPPFLAGS'
41632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41641 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41643 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41644 for ac_func in isinf
41645 do :
41646 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41647 if test "x$ac_cv_func_isinf" = xyes; then :
41648 cat >>confdefs.h <<_ACEOF
41649 #define HAVE_ISINF 1
41650 _ACEOF
41653 done
41655 else
41657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41658 $as_echo_n "checking for _isinf declaration... " >&6; }
41659 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41660 if ${glibcxx_cv_func__isinf_use+:} false; then :
41661 $as_echo_n "(cached) " >&6
41662 else
41665 ac_ext=cpp
41666 ac_cpp='$CXXCPP $CPPFLAGS'
41667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41672 /* end confdefs.h. */
41673 #include <math.h>
41674 #ifdef HAVE_IEEEFP_H
41675 #include <ieeefp.h>
41676 #endif
41679 main ()
41681 _isinf(0);
41683 return 0;
41685 _ACEOF
41686 if ac_fn_cxx_try_compile "$LINENO"; then :
41687 glibcxx_cv_func__isinf_use=yes
41688 else
41689 glibcxx_cv_func__isinf_use=no
41691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41692 ac_ext=c
41693 ac_cpp='$CPP $CPPFLAGS'
41694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41703 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41705 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41706 for ac_func in _isinf
41707 do :
41708 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41709 if test "x$ac_cv_func__isinf" = xyes; then :
41710 cat >>confdefs.h <<_ACEOF
41711 #define HAVE__ISINF 1
41712 _ACEOF
41715 done
41724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41725 $as_echo_n "checking for isnan declaration... " >&6; }
41726 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41727 if ${glibcxx_cv_func_isnan_use+:} false; then :
41728 $as_echo_n "(cached) " >&6
41729 else
41732 ac_ext=cpp
41733 ac_cpp='$CXXCPP $CPPFLAGS'
41734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41739 /* end confdefs.h. */
41740 #include <math.h>
41741 #ifdef HAVE_IEEEFP_H
41742 #include <ieeefp.h>
41743 #endif
41746 main ()
41748 isnan(0);
41750 return 0;
41752 _ACEOF
41753 if ac_fn_cxx_try_compile "$LINENO"; then :
41754 glibcxx_cv_func_isnan_use=yes
41755 else
41756 glibcxx_cv_func_isnan_use=no
41758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41759 ac_ext=c
41760 ac_cpp='$CPP $CPPFLAGS'
41761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41770 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41772 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41773 for ac_func in isnan
41774 do :
41775 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41776 if test "x$ac_cv_func_isnan" = xyes; then :
41777 cat >>confdefs.h <<_ACEOF
41778 #define HAVE_ISNAN 1
41779 _ACEOF
41782 done
41784 else
41786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41787 $as_echo_n "checking for _isnan declaration... " >&6; }
41788 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41789 if ${glibcxx_cv_func__isnan_use+:} false; then :
41790 $as_echo_n "(cached) " >&6
41791 else
41794 ac_ext=cpp
41795 ac_cpp='$CXXCPP $CPPFLAGS'
41796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41801 /* end confdefs.h. */
41802 #include <math.h>
41803 #ifdef HAVE_IEEEFP_H
41804 #include <ieeefp.h>
41805 #endif
41808 main ()
41810 _isnan(0);
41812 return 0;
41814 _ACEOF
41815 if ac_fn_cxx_try_compile "$LINENO"; then :
41816 glibcxx_cv_func__isnan_use=yes
41817 else
41818 glibcxx_cv_func__isnan_use=no
41820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41821 ac_ext=c
41822 ac_cpp='$CPP $CPPFLAGS'
41823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41832 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41834 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41835 for ac_func in _isnan
41836 do :
41837 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41838 if test "x$ac_cv_func__isnan" = xyes; then :
41839 cat >>confdefs.h <<_ACEOF
41840 #define HAVE__ISNAN 1
41841 _ACEOF
41844 done
41853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41854 $as_echo_n "checking for finite declaration... " >&6; }
41855 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41856 if ${glibcxx_cv_func_finite_use+:} false; then :
41857 $as_echo_n "(cached) " >&6
41858 else
41861 ac_ext=cpp
41862 ac_cpp='$CXXCPP $CPPFLAGS'
41863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41868 /* end confdefs.h. */
41869 #include <math.h>
41870 #ifdef HAVE_IEEEFP_H
41871 #include <ieeefp.h>
41872 #endif
41875 main ()
41877 finite(0);
41879 return 0;
41881 _ACEOF
41882 if ac_fn_cxx_try_compile "$LINENO"; then :
41883 glibcxx_cv_func_finite_use=yes
41884 else
41885 glibcxx_cv_func_finite_use=no
41887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41888 ac_ext=c
41889 ac_cpp='$CPP $CPPFLAGS'
41890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41899 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41901 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41902 for ac_func in finite
41903 do :
41904 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41905 if test "x$ac_cv_func_finite" = xyes; then :
41906 cat >>confdefs.h <<_ACEOF
41907 #define HAVE_FINITE 1
41908 _ACEOF
41911 done
41913 else
41915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41916 $as_echo_n "checking for _finite declaration... " >&6; }
41917 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41918 if ${glibcxx_cv_func__finite_use+:} false; then :
41919 $as_echo_n "(cached) " >&6
41920 else
41923 ac_ext=cpp
41924 ac_cpp='$CXXCPP $CPPFLAGS'
41925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41930 /* end confdefs.h. */
41931 #include <math.h>
41932 #ifdef HAVE_IEEEFP_H
41933 #include <ieeefp.h>
41934 #endif
41937 main ()
41939 _finite(0);
41941 return 0;
41943 _ACEOF
41944 if ac_fn_cxx_try_compile "$LINENO"; then :
41945 glibcxx_cv_func__finite_use=yes
41946 else
41947 glibcxx_cv_func__finite_use=no
41949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41950 ac_ext=c
41951 ac_cpp='$CPP $CPPFLAGS'
41952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41961 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41963 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41964 for ac_func in _finite
41965 do :
41966 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41967 if test "x$ac_cv_func__finite" = xyes; then :
41968 cat >>confdefs.h <<_ACEOF
41969 #define HAVE__FINITE 1
41970 _ACEOF
41973 done
41982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41983 $as_echo_n "checking for sincos declaration... " >&6; }
41984 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41985 if ${glibcxx_cv_func_sincos_use+:} false; then :
41986 $as_echo_n "(cached) " >&6
41987 else
41990 ac_ext=cpp
41991 ac_cpp='$CXXCPP $CPPFLAGS'
41992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41997 /* end confdefs.h. */
41998 #include <math.h>
42000 main ()
42002 sincos(0, 0, 0);
42004 return 0;
42006 _ACEOF
42007 if ac_fn_cxx_try_compile "$LINENO"; then :
42008 glibcxx_cv_func_sincos_use=yes
42009 else
42010 glibcxx_cv_func_sincos_use=no
42012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42013 ac_ext=c
42014 ac_cpp='$CPP $CPPFLAGS'
42015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
42024 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
42026 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
42027 for ac_func in sincos
42028 do :
42029 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
42030 if test "x$ac_cv_func_sincos" = xyes; then :
42031 cat >>confdefs.h <<_ACEOF
42032 #define HAVE_SINCOS 1
42033 _ACEOF
42036 done
42038 else
42040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
42041 $as_echo_n "checking for _sincos declaration... " >&6; }
42042 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
42043 if ${glibcxx_cv_func__sincos_use+:} false; then :
42044 $as_echo_n "(cached) " >&6
42045 else
42048 ac_ext=cpp
42049 ac_cpp='$CXXCPP $CPPFLAGS'
42050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42055 /* end confdefs.h. */
42056 #include <math.h>
42058 main ()
42060 _sincos(0, 0, 0);
42062 return 0;
42064 _ACEOF
42065 if ac_fn_cxx_try_compile "$LINENO"; then :
42066 glibcxx_cv_func__sincos_use=yes
42067 else
42068 glibcxx_cv_func__sincos_use=no
42070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42071 ac_ext=c
42072 ac_cpp='$CPP $CPPFLAGS'
42073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
42082 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
42084 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
42085 for ac_func in _sincos
42086 do :
42087 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
42088 if test "x$ac_cv_func__sincos" = xyes; then :
42089 cat >>confdefs.h <<_ACEOF
42090 #define HAVE__SINCOS 1
42091 _ACEOF
42094 done
42103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
42104 $as_echo_n "checking for fpclass declaration... " >&6; }
42105 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
42106 if ${glibcxx_cv_func_fpclass_use+:} false; then :
42107 $as_echo_n "(cached) " >&6
42108 else
42111 ac_ext=cpp
42112 ac_cpp='$CXXCPP $CPPFLAGS'
42113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42118 /* end confdefs.h. */
42119 #include <math.h>
42120 #ifdef HAVE_IEEEFP_H
42121 #include <ieeefp.h>
42122 #endif
42125 main ()
42127 fpclass(0);
42129 return 0;
42131 _ACEOF
42132 if ac_fn_cxx_try_compile "$LINENO"; then :
42133 glibcxx_cv_func_fpclass_use=yes
42134 else
42135 glibcxx_cv_func_fpclass_use=no
42137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42138 ac_ext=c
42139 ac_cpp='$CPP $CPPFLAGS'
42140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
42149 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
42151 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
42152 for ac_func in fpclass
42153 do :
42154 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
42155 if test "x$ac_cv_func_fpclass" = xyes; then :
42156 cat >>confdefs.h <<_ACEOF
42157 #define HAVE_FPCLASS 1
42158 _ACEOF
42161 done
42163 else
42165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
42166 $as_echo_n "checking for _fpclass declaration... " >&6; }
42167 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
42168 if ${glibcxx_cv_func__fpclass_use+:} false; then :
42169 $as_echo_n "(cached) " >&6
42170 else
42173 ac_ext=cpp
42174 ac_cpp='$CXXCPP $CPPFLAGS'
42175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42180 /* end confdefs.h. */
42181 #include <math.h>
42182 #ifdef HAVE_IEEEFP_H
42183 #include <ieeefp.h>
42184 #endif
42187 main ()
42189 _fpclass(0);
42191 return 0;
42193 _ACEOF
42194 if ac_fn_cxx_try_compile "$LINENO"; then :
42195 glibcxx_cv_func__fpclass_use=yes
42196 else
42197 glibcxx_cv_func__fpclass_use=no
42199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42200 ac_ext=c
42201 ac_cpp='$CPP $CPPFLAGS'
42202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42211 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42213 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42214 for ac_func in _fpclass
42215 do :
42216 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42217 if test "x$ac_cv_func__fpclass" = xyes; then :
42218 cat >>confdefs.h <<_ACEOF
42219 #define HAVE__FPCLASS 1
42220 _ACEOF
42223 done
42232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42233 $as_echo_n "checking for qfpclass declaration... " >&6; }
42234 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42235 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42236 $as_echo_n "(cached) " >&6
42237 else
42240 ac_ext=cpp
42241 ac_cpp='$CXXCPP $CPPFLAGS'
42242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42247 /* end confdefs.h. */
42248 #include <math.h>
42249 #ifdef HAVE_IEEEFP_H
42250 #include <ieeefp.h>
42251 #endif
42254 main ()
42256 qfpclass(0);
42258 return 0;
42260 _ACEOF
42261 if ac_fn_cxx_try_compile "$LINENO"; then :
42262 glibcxx_cv_func_qfpclass_use=yes
42263 else
42264 glibcxx_cv_func_qfpclass_use=no
42266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42267 ac_ext=c
42268 ac_cpp='$CPP $CPPFLAGS'
42269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42278 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42280 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42281 for ac_func in qfpclass
42282 do :
42283 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42284 if test "x$ac_cv_func_qfpclass" = xyes; then :
42285 cat >>confdefs.h <<_ACEOF
42286 #define HAVE_QFPCLASS 1
42287 _ACEOF
42290 done
42292 else
42294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42295 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42296 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42297 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42298 $as_echo_n "(cached) " >&6
42299 else
42302 ac_ext=cpp
42303 ac_cpp='$CXXCPP $CPPFLAGS'
42304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42309 /* end confdefs.h. */
42310 #include <math.h>
42311 #ifdef HAVE_IEEEFP_H
42312 #include <ieeefp.h>
42313 #endif
42316 main ()
42318 _qfpclass(0);
42320 return 0;
42322 _ACEOF
42323 if ac_fn_cxx_try_compile "$LINENO"; then :
42324 glibcxx_cv_func__qfpclass_use=yes
42325 else
42326 glibcxx_cv_func__qfpclass_use=no
42328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42329 ac_ext=c
42330 ac_cpp='$CPP $CPPFLAGS'
42331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42340 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42342 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42343 for ac_func in _qfpclass
42344 do :
42345 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42346 if test "x$ac_cv_func__qfpclass" = xyes; then :
42347 cat >>confdefs.h <<_ACEOF
42348 #define HAVE__QFPCLASS 1
42349 _ACEOF
42352 done
42361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42362 $as_echo_n "checking for hypot declaration... " >&6; }
42363 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42364 if ${glibcxx_cv_func_hypot_use+:} false; then :
42365 $as_echo_n "(cached) " >&6
42366 else
42369 ac_ext=cpp
42370 ac_cpp='$CXXCPP $CPPFLAGS'
42371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42376 /* end confdefs.h. */
42377 #include <math.h>
42379 main ()
42381 hypot(0, 0);
42383 return 0;
42385 _ACEOF
42386 if ac_fn_cxx_try_compile "$LINENO"; then :
42387 glibcxx_cv_func_hypot_use=yes
42388 else
42389 glibcxx_cv_func_hypot_use=no
42391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42392 ac_ext=c
42393 ac_cpp='$CPP $CPPFLAGS'
42394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42403 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42405 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42406 for ac_func in hypot
42407 do :
42408 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42409 if test "x$ac_cv_func_hypot" = xyes; then :
42410 cat >>confdefs.h <<_ACEOF
42411 #define HAVE_HYPOT 1
42412 _ACEOF
42415 done
42417 else
42419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42420 $as_echo_n "checking for _hypot declaration... " >&6; }
42421 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42422 if ${glibcxx_cv_func__hypot_use+:} false; then :
42423 $as_echo_n "(cached) " >&6
42424 else
42427 ac_ext=cpp
42428 ac_cpp='$CXXCPP $CPPFLAGS'
42429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42434 /* end confdefs.h. */
42435 #include <math.h>
42437 main ()
42439 _hypot(0, 0);
42441 return 0;
42443 _ACEOF
42444 if ac_fn_cxx_try_compile "$LINENO"; then :
42445 glibcxx_cv_func__hypot_use=yes
42446 else
42447 glibcxx_cv_func__hypot_use=no
42449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42450 ac_ext=c
42451 ac_cpp='$CPP $CPPFLAGS'
42452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42461 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42463 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42464 for ac_func in _hypot
42465 do :
42466 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42467 if test "x$ac_cv_func__hypot" = xyes; then :
42468 cat >>confdefs.h <<_ACEOF
42469 #define HAVE__HYPOT 1
42470 _ACEOF
42473 done
42482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42483 $as_echo_n "checking for float trig functions... " >&6; }
42484 if ${glibcxx_cv_func_float_trig_use+:} false; then :
42485 $as_echo_n "(cached) " >&6
42486 else
42489 ac_ext=cpp
42490 ac_cpp='$CXXCPP $CPPFLAGS'
42491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42496 /* end confdefs.h. */
42497 #include <math.h>
42499 main ()
42501 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42503 return 0;
42505 _ACEOF
42506 if ac_fn_cxx_try_compile "$LINENO"; then :
42507 glibcxx_cv_func_float_trig_use=yes
42508 else
42509 glibcxx_cv_func_float_trig_use=no
42511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42512 ac_ext=c
42513 ac_cpp='$CPP $CPPFLAGS'
42514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42521 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42522 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42523 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42524 do :
42525 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42526 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42527 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42528 cat >>confdefs.h <<_ACEOF
42529 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42530 _ACEOF
42533 done
42535 else
42536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42537 $as_echo_n "checking for _float trig functions... " >&6; }
42538 if ${glibcxx_cv_func__float_trig_use+:} false; then :
42539 $as_echo_n "(cached) " >&6
42540 else
42543 ac_ext=cpp
42544 ac_cpp='$CXXCPP $CPPFLAGS'
42545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42550 /* end confdefs.h. */
42551 #include <math.h>
42553 main ()
42555 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42557 return 0;
42559 _ACEOF
42560 if ac_fn_cxx_try_compile "$LINENO"; then :
42561 glibcxx_cv_func__float_trig_use=yes
42562 else
42563 glibcxx_cv_func__float_trig_use=no
42565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42566 ac_ext=c
42567 ac_cpp='$CPP $CPPFLAGS'
42568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42575 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42576 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42577 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42578 do :
42579 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42580 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42581 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42582 cat >>confdefs.h <<_ACEOF
42583 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42584 _ACEOF
42587 done
42596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42597 $as_echo_n "checking for float round functions... " >&6; }
42598 if ${glibcxx_cv_func_float_round_use+:} false; then :
42599 $as_echo_n "(cached) " >&6
42600 else
42603 ac_ext=cpp
42604 ac_cpp='$CXXCPP $CPPFLAGS'
42605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42610 /* end confdefs.h. */
42611 #include <math.h>
42613 main ()
42615 ceilf (0); floorf (0);
42617 return 0;
42619 _ACEOF
42620 if ac_fn_cxx_try_compile "$LINENO"; then :
42621 glibcxx_cv_func_float_round_use=yes
42622 else
42623 glibcxx_cv_func_float_round_use=no
42625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42626 ac_ext=c
42627 ac_cpp='$CPP $CPPFLAGS'
42628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42635 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42636 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42637 for ac_func in ceilf floorf
42638 do :
42639 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42640 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42641 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42642 cat >>confdefs.h <<_ACEOF
42643 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42644 _ACEOF
42647 done
42649 else
42650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42651 $as_echo_n "checking for _float round functions... " >&6; }
42652 if ${glibcxx_cv_func__float_round_use+:} false; then :
42653 $as_echo_n "(cached) " >&6
42654 else
42657 ac_ext=cpp
42658 ac_cpp='$CXXCPP $CPPFLAGS'
42659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42664 /* end confdefs.h. */
42665 #include <math.h>
42667 main ()
42669 _ceilf (0); _floorf (0);
42671 return 0;
42673 _ACEOF
42674 if ac_fn_cxx_try_compile "$LINENO"; then :
42675 glibcxx_cv_func__float_round_use=yes
42676 else
42677 glibcxx_cv_func__float_round_use=no
42679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42680 ac_ext=c
42681 ac_cpp='$CPP $CPPFLAGS'
42682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42689 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42690 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42691 for ac_func in _ceilf _floorf
42692 do :
42693 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42694 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42695 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42696 cat >>confdefs.h <<_ACEOF
42697 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42698 _ACEOF
42701 done
42711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42712 $as_echo_n "checking for expf declaration... " >&6; }
42713 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42714 if ${glibcxx_cv_func_expf_use+:} false; then :
42715 $as_echo_n "(cached) " >&6
42716 else
42719 ac_ext=cpp
42720 ac_cpp='$CXXCPP $CPPFLAGS'
42721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42726 /* end confdefs.h. */
42727 #include <math.h>
42728 #ifdef HAVE_IEEEFP_H
42729 #include <ieeefp.h>
42730 #endif
42733 main ()
42735 expf(0);
42737 return 0;
42739 _ACEOF
42740 if ac_fn_cxx_try_compile "$LINENO"; then :
42741 glibcxx_cv_func_expf_use=yes
42742 else
42743 glibcxx_cv_func_expf_use=no
42745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42746 ac_ext=c
42747 ac_cpp='$CPP $CPPFLAGS'
42748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42757 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42759 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42760 for ac_func in expf
42761 do :
42762 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42763 if test "x$ac_cv_func_expf" = xyes; then :
42764 cat >>confdefs.h <<_ACEOF
42765 #define HAVE_EXPF 1
42766 _ACEOF
42769 done
42771 else
42773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42774 $as_echo_n "checking for _expf declaration... " >&6; }
42775 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42776 if ${glibcxx_cv_func__expf_use+:} false; then :
42777 $as_echo_n "(cached) " >&6
42778 else
42781 ac_ext=cpp
42782 ac_cpp='$CXXCPP $CPPFLAGS'
42783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42788 /* end confdefs.h. */
42789 #include <math.h>
42790 #ifdef HAVE_IEEEFP_H
42791 #include <ieeefp.h>
42792 #endif
42795 main ()
42797 _expf(0);
42799 return 0;
42801 _ACEOF
42802 if ac_fn_cxx_try_compile "$LINENO"; then :
42803 glibcxx_cv_func__expf_use=yes
42804 else
42805 glibcxx_cv_func__expf_use=no
42807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42808 ac_ext=c
42809 ac_cpp='$CPP $CPPFLAGS'
42810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42819 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42821 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42822 for ac_func in _expf
42823 do :
42824 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42825 if test "x$ac_cv_func__expf" = xyes; then :
42826 cat >>confdefs.h <<_ACEOF
42827 #define HAVE__EXPF 1
42828 _ACEOF
42831 done
42840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42841 $as_echo_n "checking for isnanf declaration... " >&6; }
42842 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42843 if ${glibcxx_cv_func_isnanf_use+:} false; then :
42844 $as_echo_n "(cached) " >&6
42845 else
42848 ac_ext=cpp
42849 ac_cpp='$CXXCPP $CPPFLAGS'
42850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42855 /* end confdefs.h. */
42856 #include <math.h>
42857 #ifdef HAVE_IEEEFP_H
42858 #include <ieeefp.h>
42859 #endif
42862 main ()
42864 isnanf(0);
42866 return 0;
42868 _ACEOF
42869 if ac_fn_cxx_try_compile "$LINENO"; then :
42870 glibcxx_cv_func_isnanf_use=yes
42871 else
42872 glibcxx_cv_func_isnanf_use=no
42874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42875 ac_ext=c
42876 ac_cpp='$CPP $CPPFLAGS'
42877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42886 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42888 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42889 for ac_func in isnanf
42890 do :
42891 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42892 if test "x$ac_cv_func_isnanf" = xyes; then :
42893 cat >>confdefs.h <<_ACEOF
42894 #define HAVE_ISNANF 1
42895 _ACEOF
42898 done
42900 else
42902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42903 $as_echo_n "checking for _isnanf declaration... " >&6; }
42904 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42905 if ${glibcxx_cv_func__isnanf_use+:} false; then :
42906 $as_echo_n "(cached) " >&6
42907 else
42910 ac_ext=cpp
42911 ac_cpp='$CXXCPP $CPPFLAGS'
42912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42917 /* end confdefs.h. */
42918 #include <math.h>
42919 #ifdef HAVE_IEEEFP_H
42920 #include <ieeefp.h>
42921 #endif
42924 main ()
42926 _isnanf(0);
42928 return 0;
42930 _ACEOF
42931 if ac_fn_cxx_try_compile "$LINENO"; then :
42932 glibcxx_cv_func__isnanf_use=yes
42933 else
42934 glibcxx_cv_func__isnanf_use=no
42936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42937 ac_ext=c
42938 ac_cpp='$CPP $CPPFLAGS'
42939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42948 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42950 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42951 for ac_func in _isnanf
42952 do :
42953 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42954 if test "x$ac_cv_func__isnanf" = xyes; then :
42955 cat >>confdefs.h <<_ACEOF
42956 #define HAVE__ISNANF 1
42957 _ACEOF
42960 done
42969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42970 $as_echo_n "checking for isinff declaration... " >&6; }
42971 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42972 if ${glibcxx_cv_func_isinff_use+:} false; then :
42973 $as_echo_n "(cached) " >&6
42974 else
42977 ac_ext=cpp
42978 ac_cpp='$CXXCPP $CPPFLAGS'
42979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42984 /* end confdefs.h. */
42985 #include <math.h>
42986 #ifdef HAVE_IEEEFP_H
42987 #include <ieeefp.h>
42988 #endif
42991 main ()
42993 isinff(0);
42995 return 0;
42997 _ACEOF
42998 if ac_fn_cxx_try_compile "$LINENO"; then :
42999 glibcxx_cv_func_isinff_use=yes
43000 else
43001 glibcxx_cv_func_isinff_use=no
43003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43004 ac_ext=c
43005 ac_cpp='$CPP $CPPFLAGS'
43006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
43015 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
43017 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
43018 for ac_func in isinff
43019 do :
43020 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
43021 if test "x$ac_cv_func_isinff" = xyes; then :
43022 cat >>confdefs.h <<_ACEOF
43023 #define HAVE_ISINFF 1
43024 _ACEOF
43027 done
43029 else
43031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
43032 $as_echo_n "checking for _isinff declaration... " >&6; }
43033 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
43034 if ${glibcxx_cv_func__isinff_use+:} false; then :
43035 $as_echo_n "(cached) " >&6
43036 else
43039 ac_ext=cpp
43040 ac_cpp='$CXXCPP $CPPFLAGS'
43041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43046 /* end confdefs.h. */
43047 #include <math.h>
43048 #ifdef HAVE_IEEEFP_H
43049 #include <ieeefp.h>
43050 #endif
43053 main ()
43055 _isinff(0);
43057 return 0;
43059 _ACEOF
43060 if ac_fn_cxx_try_compile "$LINENO"; then :
43061 glibcxx_cv_func__isinff_use=yes
43062 else
43063 glibcxx_cv_func__isinff_use=no
43065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43066 ac_ext=c
43067 ac_cpp='$CPP $CPPFLAGS'
43068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
43077 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
43079 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
43080 for ac_func in _isinff
43081 do :
43082 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
43083 if test "x$ac_cv_func__isinff" = xyes; then :
43084 cat >>confdefs.h <<_ACEOF
43085 #define HAVE__ISINFF 1
43086 _ACEOF
43089 done
43098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
43099 $as_echo_n "checking for atan2f declaration... " >&6; }
43100 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
43101 if ${glibcxx_cv_func_atan2f_use+:} false; then :
43102 $as_echo_n "(cached) " >&6
43103 else
43106 ac_ext=cpp
43107 ac_cpp='$CXXCPP $CPPFLAGS'
43108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43113 /* end confdefs.h. */
43114 #include <math.h>
43116 main ()
43118 atan2f(0, 0);
43120 return 0;
43122 _ACEOF
43123 if ac_fn_cxx_try_compile "$LINENO"; then :
43124 glibcxx_cv_func_atan2f_use=yes
43125 else
43126 glibcxx_cv_func_atan2f_use=no
43128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43129 ac_ext=c
43130 ac_cpp='$CPP $CPPFLAGS'
43131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
43140 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
43142 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
43143 for ac_func in atan2f
43144 do :
43145 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
43146 if test "x$ac_cv_func_atan2f" = xyes; then :
43147 cat >>confdefs.h <<_ACEOF
43148 #define HAVE_ATAN2F 1
43149 _ACEOF
43152 done
43154 else
43156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
43157 $as_echo_n "checking for _atan2f declaration... " >&6; }
43158 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
43159 if ${glibcxx_cv_func__atan2f_use+:} false; then :
43160 $as_echo_n "(cached) " >&6
43161 else
43164 ac_ext=cpp
43165 ac_cpp='$CXXCPP $CPPFLAGS'
43166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43171 /* end confdefs.h. */
43172 #include <math.h>
43174 main ()
43176 _atan2f(0, 0);
43178 return 0;
43180 _ACEOF
43181 if ac_fn_cxx_try_compile "$LINENO"; then :
43182 glibcxx_cv_func__atan2f_use=yes
43183 else
43184 glibcxx_cv_func__atan2f_use=no
43186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43187 ac_ext=c
43188 ac_cpp='$CPP $CPPFLAGS'
43189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43198 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43200 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43201 for ac_func in _atan2f
43202 do :
43203 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43204 if test "x$ac_cv_func__atan2f" = xyes; then :
43205 cat >>confdefs.h <<_ACEOF
43206 #define HAVE__ATAN2F 1
43207 _ACEOF
43210 done
43219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43220 $as_echo_n "checking for fabsf declaration... " >&6; }
43221 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43222 if ${glibcxx_cv_func_fabsf_use+:} false; then :
43223 $as_echo_n "(cached) " >&6
43224 else
43227 ac_ext=cpp
43228 ac_cpp='$CXXCPP $CPPFLAGS'
43229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43234 /* end confdefs.h. */
43235 #include <math.h>
43236 #ifdef HAVE_IEEEFP_H
43237 #include <ieeefp.h>
43238 #endif
43241 main ()
43243 fabsf(0);
43245 return 0;
43247 _ACEOF
43248 if ac_fn_cxx_try_compile "$LINENO"; then :
43249 glibcxx_cv_func_fabsf_use=yes
43250 else
43251 glibcxx_cv_func_fabsf_use=no
43253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43254 ac_ext=c
43255 ac_cpp='$CPP $CPPFLAGS'
43256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43265 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43267 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43268 for ac_func in fabsf
43269 do :
43270 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43271 if test "x$ac_cv_func_fabsf" = xyes; then :
43272 cat >>confdefs.h <<_ACEOF
43273 #define HAVE_FABSF 1
43274 _ACEOF
43277 done
43279 else
43281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43282 $as_echo_n "checking for _fabsf declaration... " >&6; }
43283 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43284 if ${glibcxx_cv_func__fabsf_use+:} false; then :
43285 $as_echo_n "(cached) " >&6
43286 else
43289 ac_ext=cpp
43290 ac_cpp='$CXXCPP $CPPFLAGS'
43291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43296 /* end confdefs.h. */
43297 #include <math.h>
43298 #ifdef HAVE_IEEEFP_H
43299 #include <ieeefp.h>
43300 #endif
43303 main ()
43305 _fabsf(0);
43307 return 0;
43309 _ACEOF
43310 if ac_fn_cxx_try_compile "$LINENO"; then :
43311 glibcxx_cv_func__fabsf_use=yes
43312 else
43313 glibcxx_cv_func__fabsf_use=no
43315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43316 ac_ext=c
43317 ac_cpp='$CPP $CPPFLAGS'
43318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43327 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43329 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43330 for ac_func in _fabsf
43331 do :
43332 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43333 if test "x$ac_cv_func__fabsf" = xyes; then :
43334 cat >>confdefs.h <<_ACEOF
43335 #define HAVE__FABSF 1
43336 _ACEOF
43339 done
43348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43349 $as_echo_n "checking for fmodf declaration... " >&6; }
43350 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43351 if ${glibcxx_cv_func_fmodf_use+:} false; then :
43352 $as_echo_n "(cached) " >&6
43353 else
43356 ac_ext=cpp
43357 ac_cpp='$CXXCPP $CPPFLAGS'
43358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43363 /* end confdefs.h. */
43364 #include <math.h>
43366 main ()
43368 fmodf(0, 0);
43370 return 0;
43372 _ACEOF
43373 if ac_fn_cxx_try_compile "$LINENO"; then :
43374 glibcxx_cv_func_fmodf_use=yes
43375 else
43376 glibcxx_cv_func_fmodf_use=no
43378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43379 ac_ext=c
43380 ac_cpp='$CPP $CPPFLAGS'
43381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43390 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43392 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43393 for ac_func in fmodf
43394 do :
43395 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43396 if test "x$ac_cv_func_fmodf" = xyes; then :
43397 cat >>confdefs.h <<_ACEOF
43398 #define HAVE_FMODF 1
43399 _ACEOF
43402 done
43404 else
43406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43407 $as_echo_n "checking for _fmodf declaration... " >&6; }
43408 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43409 if ${glibcxx_cv_func__fmodf_use+:} false; then :
43410 $as_echo_n "(cached) " >&6
43411 else
43414 ac_ext=cpp
43415 ac_cpp='$CXXCPP $CPPFLAGS'
43416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43421 /* end confdefs.h. */
43422 #include <math.h>
43424 main ()
43426 _fmodf(0, 0);
43428 return 0;
43430 _ACEOF
43431 if ac_fn_cxx_try_compile "$LINENO"; then :
43432 glibcxx_cv_func__fmodf_use=yes
43433 else
43434 glibcxx_cv_func__fmodf_use=no
43436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43437 ac_ext=c
43438 ac_cpp='$CPP $CPPFLAGS'
43439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43448 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43450 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43451 for ac_func in _fmodf
43452 do :
43453 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43454 if test "x$ac_cv_func__fmodf" = xyes; then :
43455 cat >>confdefs.h <<_ACEOF
43456 #define HAVE__FMODF 1
43457 _ACEOF
43460 done
43469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43470 $as_echo_n "checking for frexpf declaration... " >&6; }
43471 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43472 if ${glibcxx_cv_func_frexpf_use+:} false; then :
43473 $as_echo_n "(cached) " >&6
43474 else
43477 ac_ext=cpp
43478 ac_cpp='$CXXCPP $CPPFLAGS'
43479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43484 /* end confdefs.h. */
43485 #include <math.h>
43487 main ()
43489 frexpf(0, 0);
43491 return 0;
43493 _ACEOF
43494 if ac_fn_cxx_try_compile "$LINENO"; then :
43495 glibcxx_cv_func_frexpf_use=yes
43496 else
43497 glibcxx_cv_func_frexpf_use=no
43499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43500 ac_ext=c
43501 ac_cpp='$CPP $CPPFLAGS'
43502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43511 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43513 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43514 for ac_func in frexpf
43515 do :
43516 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43517 if test "x$ac_cv_func_frexpf" = xyes; then :
43518 cat >>confdefs.h <<_ACEOF
43519 #define HAVE_FREXPF 1
43520 _ACEOF
43523 done
43525 else
43527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43528 $as_echo_n "checking for _frexpf declaration... " >&6; }
43529 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43530 if ${glibcxx_cv_func__frexpf_use+:} false; then :
43531 $as_echo_n "(cached) " >&6
43532 else
43535 ac_ext=cpp
43536 ac_cpp='$CXXCPP $CPPFLAGS'
43537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43542 /* end confdefs.h. */
43543 #include <math.h>
43545 main ()
43547 _frexpf(0, 0);
43549 return 0;
43551 _ACEOF
43552 if ac_fn_cxx_try_compile "$LINENO"; then :
43553 glibcxx_cv_func__frexpf_use=yes
43554 else
43555 glibcxx_cv_func__frexpf_use=no
43557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43558 ac_ext=c
43559 ac_cpp='$CPP $CPPFLAGS'
43560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43569 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43571 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43572 for ac_func in _frexpf
43573 do :
43574 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43575 if test "x$ac_cv_func__frexpf" = xyes; then :
43576 cat >>confdefs.h <<_ACEOF
43577 #define HAVE__FREXPF 1
43578 _ACEOF
43581 done
43590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43591 $as_echo_n "checking for hypotf declaration... " >&6; }
43592 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43593 if ${glibcxx_cv_func_hypotf_use+:} false; then :
43594 $as_echo_n "(cached) " >&6
43595 else
43598 ac_ext=cpp
43599 ac_cpp='$CXXCPP $CPPFLAGS'
43600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43605 /* end confdefs.h. */
43606 #include <math.h>
43608 main ()
43610 hypotf(0, 0);
43612 return 0;
43614 _ACEOF
43615 if ac_fn_cxx_try_compile "$LINENO"; then :
43616 glibcxx_cv_func_hypotf_use=yes
43617 else
43618 glibcxx_cv_func_hypotf_use=no
43620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43621 ac_ext=c
43622 ac_cpp='$CPP $CPPFLAGS'
43623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43632 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43634 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43635 for ac_func in hypotf
43636 do :
43637 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43638 if test "x$ac_cv_func_hypotf" = xyes; then :
43639 cat >>confdefs.h <<_ACEOF
43640 #define HAVE_HYPOTF 1
43641 _ACEOF
43644 done
43646 else
43648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43649 $as_echo_n "checking for _hypotf declaration... " >&6; }
43650 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43651 if ${glibcxx_cv_func__hypotf_use+:} false; then :
43652 $as_echo_n "(cached) " >&6
43653 else
43656 ac_ext=cpp
43657 ac_cpp='$CXXCPP $CPPFLAGS'
43658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43663 /* end confdefs.h. */
43664 #include <math.h>
43666 main ()
43668 _hypotf(0, 0);
43670 return 0;
43672 _ACEOF
43673 if ac_fn_cxx_try_compile "$LINENO"; then :
43674 glibcxx_cv_func__hypotf_use=yes
43675 else
43676 glibcxx_cv_func__hypotf_use=no
43678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43679 ac_ext=c
43680 ac_cpp='$CPP $CPPFLAGS'
43681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43690 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43692 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43693 for ac_func in _hypotf
43694 do :
43695 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43696 if test "x$ac_cv_func__hypotf" = xyes; then :
43697 cat >>confdefs.h <<_ACEOF
43698 #define HAVE__HYPOTF 1
43699 _ACEOF
43702 done
43711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43712 $as_echo_n "checking for ldexpf declaration... " >&6; }
43713 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43714 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
43715 $as_echo_n "(cached) " >&6
43716 else
43719 ac_ext=cpp
43720 ac_cpp='$CXXCPP $CPPFLAGS'
43721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43726 /* end confdefs.h. */
43727 #include <math.h>
43729 main ()
43731 ldexpf(0, 0);
43733 return 0;
43735 _ACEOF
43736 if ac_fn_cxx_try_compile "$LINENO"; then :
43737 glibcxx_cv_func_ldexpf_use=yes
43738 else
43739 glibcxx_cv_func_ldexpf_use=no
43741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43742 ac_ext=c
43743 ac_cpp='$CPP $CPPFLAGS'
43744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43753 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43755 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43756 for ac_func in ldexpf
43757 do :
43758 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43759 if test "x$ac_cv_func_ldexpf" = xyes; then :
43760 cat >>confdefs.h <<_ACEOF
43761 #define HAVE_LDEXPF 1
43762 _ACEOF
43765 done
43767 else
43769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43770 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43771 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43772 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
43773 $as_echo_n "(cached) " >&6
43774 else
43777 ac_ext=cpp
43778 ac_cpp='$CXXCPP $CPPFLAGS'
43779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43784 /* end confdefs.h. */
43785 #include <math.h>
43787 main ()
43789 _ldexpf(0, 0);
43791 return 0;
43793 _ACEOF
43794 if ac_fn_cxx_try_compile "$LINENO"; then :
43795 glibcxx_cv_func__ldexpf_use=yes
43796 else
43797 glibcxx_cv_func__ldexpf_use=no
43799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43800 ac_ext=c
43801 ac_cpp='$CPP $CPPFLAGS'
43802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43811 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43813 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43814 for ac_func in _ldexpf
43815 do :
43816 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43817 if test "x$ac_cv_func__ldexpf" = xyes; then :
43818 cat >>confdefs.h <<_ACEOF
43819 #define HAVE__LDEXPF 1
43820 _ACEOF
43823 done
43832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43833 $as_echo_n "checking for logf declaration... " >&6; }
43834 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43835 if ${glibcxx_cv_func_logf_use+:} false; then :
43836 $as_echo_n "(cached) " >&6
43837 else
43840 ac_ext=cpp
43841 ac_cpp='$CXXCPP $CPPFLAGS'
43842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43847 /* end confdefs.h. */
43848 #include <math.h>
43849 #ifdef HAVE_IEEEFP_H
43850 #include <ieeefp.h>
43851 #endif
43854 main ()
43856 logf(0);
43858 return 0;
43860 _ACEOF
43861 if ac_fn_cxx_try_compile "$LINENO"; then :
43862 glibcxx_cv_func_logf_use=yes
43863 else
43864 glibcxx_cv_func_logf_use=no
43866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43867 ac_ext=c
43868 ac_cpp='$CPP $CPPFLAGS'
43869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43878 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43880 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43881 for ac_func in logf
43882 do :
43883 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43884 if test "x$ac_cv_func_logf" = xyes; then :
43885 cat >>confdefs.h <<_ACEOF
43886 #define HAVE_LOGF 1
43887 _ACEOF
43890 done
43892 else
43894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43895 $as_echo_n "checking for _logf declaration... " >&6; }
43896 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43897 if ${glibcxx_cv_func__logf_use+:} false; then :
43898 $as_echo_n "(cached) " >&6
43899 else
43902 ac_ext=cpp
43903 ac_cpp='$CXXCPP $CPPFLAGS'
43904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43909 /* end confdefs.h. */
43910 #include <math.h>
43911 #ifdef HAVE_IEEEFP_H
43912 #include <ieeefp.h>
43913 #endif
43916 main ()
43918 _logf(0);
43920 return 0;
43922 _ACEOF
43923 if ac_fn_cxx_try_compile "$LINENO"; then :
43924 glibcxx_cv_func__logf_use=yes
43925 else
43926 glibcxx_cv_func__logf_use=no
43928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43929 ac_ext=c
43930 ac_cpp='$CPP $CPPFLAGS'
43931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43940 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43942 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43943 for ac_func in _logf
43944 do :
43945 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43946 if test "x$ac_cv_func__logf" = xyes; then :
43947 cat >>confdefs.h <<_ACEOF
43948 #define HAVE__LOGF 1
43949 _ACEOF
43952 done
43961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43962 $as_echo_n "checking for log10f declaration... " >&6; }
43963 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43964 if ${glibcxx_cv_func_log10f_use+:} false; then :
43965 $as_echo_n "(cached) " >&6
43966 else
43969 ac_ext=cpp
43970 ac_cpp='$CXXCPP $CPPFLAGS'
43971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43976 /* end confdefs.h. */
43977 #include <math.h>
43978 #ifdef HAVE_IEEEFP_H
43979 #include <ieeefp.h>
43980 #endif
43983 main ()
43985 log10f(0);
43987 return 0;
43989 _ACEOF
43990 if ac_fn_cxx_try_compile "$LINENO"; then :
43991 glibcxx_cv_func_log10f_use=yes
43992 else
43993 glibcxx_cv_func_log10f_use=no
43995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43996 ac_ext=c
43997 ac_cpp='$CPP $CPPFLAGS'
43998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
44007 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
44009 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
44010 for ac_func in log10f
44011 do :
44012 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
44013 if test "x$ac_cv_func_log10f" = xyes; then :
44014 cat >>confdefs.h <<_ACEOF
44015 #define HAVE_LOG10F 1
44016 _ACEOF
44019 done
44021 else
44023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
44024 $as_echo_n "checking for _log10f declaration... " >&6; }
44025 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
44026 if ${glibcxx_cv_func__log10f_use+:} false; then :
44027 $as_echo_n "(cached) " >&6
44028 else
44031 ac_ext=cpp
44032 ac_cpp='$CXXCPP $CPPFLAGS'
44033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44038 /* end confdefs.h. */
44039 #include <math.h>
44040 #ifdef HAVE_IEEEFP_H
44041 #include <ieeefp.h>
44042 #endif
44045 main ()
44047 _log10f(0);
44049 return 0;
44051 _ACEOF
44052 if ac_fn_cxx_try_compile "$LINENO"; then :
44053 glibcxx_cv_func__log10f_use=yes
44054 else
44055 glibcxx_cv_func__log10f_use=no
44057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44058 ac_ext=c
44059 ac_cpp='$CPP $CPPFLAGS'
44060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
44069 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
44071 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
44072 for ac_func in _log10f
44073 do :
44074 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
44075 if test "x$ac_cv_func__log10f" = xyes; then :
44076 cat >>confdefs.h <<_ACEOF
44077 #define HAVE__LOG10F 1
44078 _ACEOF
44081 done
44090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
44091 $as_echo_n "checking for modff declaration... " >&6; }
44092 if test x${glibcxx_cv_func_modff_use+set} != xset; then
44093 if ${glibcxx_cv_func_modff_use+:} false; then :
44094 $as_echo_n "(cached) " >&6
44095 else
44098 ac_ext=cpp
44099 ac_cpp='$CXXCPP $CPPFLAGS'
44100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44105 /* end confdefs.h. */
44106 #include <math.h>
44108 main ()
44110 modff(0, 0);
44112 return 0;
44114 _ACEOF
44115 if ac_fn_cxx_try_compile "$LINENO"; then :
44116 glibcxx_cv_func_modff_use=yes
44117 else
44118 glibcxx_cv_func_modff_use=no
44120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44121 ac_ext=c
44122 ac_cpp='$CPP $CPPFLAGS'
44123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
44132 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
44134 if test x$glibcxx_cv_func_modff_use = x"yes"; then
44135 for ac_func in modff
44136 do :
44137 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
44138 if test "x$ac_cv_func_modff" = xyes; then :
44139 cat >>confdefs.h <<_ACEOF
44140 #define HAVE_MODFF 1
44141 _ACEOF
44144 done
44146 else
44148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
44149 $as_echo_n "checking for _modff declaration... " >&6; }
44150 if test x${glibcxx_cv_func__modff_use+set} != xset; then
44151 if ${glibcxx_cv_func__modff_use+:} false; then :
44152 $as_echo_n "(cached) " >&6
44153 else
44156 ac_ext=cpp
44157 ac_cpp='$CXXCPP $CPPFLAGS'
44158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44163 /* end confdefs.h. */
44164 #include <math.h>
44166 main ()
44168 _modff(0, 0);
44170 return 0;
44172 _ACEOF
44173 if ac_fn_cxx_try_compile "$LINENO"; then :
44174 glibcxx_cv_func__modff_use=yes
44175 else
44176 glibcxx_cv_func__modff_use=no
44178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44179 ac_ext=c
44180 ac_cpp='$CPP $CPPFLAGS'
44181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44190 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44192 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44193 for ac_func in _modff
44194 do :
44195 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44196 if test "x$ac_cv_func__modff" = xyes; then :
44197 cat >>confdefs.h <<_ACEOF
44198 #define HAVE__MODFF 1
44199 _ACEOF
44202 done
44211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44212 $as_echo_n "checking for modf declaration... " >&6; }
44213 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44214 if ${glibcxx_cv_func_modf_use+:} false; then :
44215 $as_echo_n "(cached) " >&6
44216 else
44219 ac_ext=cpp
44220 ac_cpp='$CXXCPP $CPPFLAGS'
44221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44226 /* end confdefs.h. */
44227 #include <math.h>
44229 main ()
44231 modf(0, 0);
44233 return 0;
44235 _ACEOF
44236 if ac_fn_cxx_try_compile "$LINENO"; then :
44237 glibcxx_cv_func_modf_use=yes
44238 else
44239 glibcxx_cv_func_modf_use=no
44241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44242 ac_ext=c
44243 ac_cpp='$CPP $CPPFLAGS'
44244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44253 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44255 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44256 for ac_func in modf
44257 do :
44258 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44259 if test "x$ac_cv_func_modf" = xyes; then :
44260 cat >>confdefs.h <<_ACEOF
44261 #define HAVE_MODF 1
44262 _ACEOF
44265 done
44267 else
44269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44270 $as_echo_n "checking for _modf declaration... " >&6; }
44271 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44272 if ${glibcxx_cv_func__modf_use+:} false; then :
44273 $as_echo_n "(cached) " >&6
44274 else
44277 ac_ext=cpp
44278 ac_cpp='$CXXCPP $CPPFLAGS'
44279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44284 /* end confdefs.h. */
44285 #include <math.h>
44287 main ()
44289 _modf(0, 0);
44291 return 0;
44293 _ACEOF
44294 if ac_fn_cxx_try_compile "$LINENO"; then :
44295 glibcxx_cv_func__modf_use=yes
44296 else
44297 glibcxx_cv_func__modf_use=no
44299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44300 ac_ext=c
44301 ac_cpp='$CPP $CPPFLAGS'
44302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44311 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44313 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44314 for ac_func in _modf
44315 do :
44316 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44317 if test "x$ac_cv_func__modf" = xyes; then :
44318 cat >>confdefs.h <<_ACEOF
44319 #define HAVE__MODF 1
44320 _ACEOF
44323 done
44332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44333 $as_echo_n "checking for powf declaration... " >&6; }
44334 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44335 if ${glibcxx_cv_func_powf_use+:} false; then :
44336 $as_echo_n "(cached) " >&6
44337 else
44340 ac_ext=cpp
44341 ac_cpp='$CXXCPP $CPPFLAGS'
44342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44347 /* end confdefs.h. */
44348 #include <math.h>
44350 main ()
44352 powf(0, 0);
44354 return 0;
44356 _ACEOF
44357 if ac_fn_cxx_try_compile "$LINENO"; then :
44358 glibcxx_cv_func_powf_use=yes
44359 else
44360 glibcxx_cv_func_powf_use=no
44362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44363 ac_ext=c
44364 ac_cpp='$CPP $CPPFLAGS'
44365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44374 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44376 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44377 for ac_func in powf
44378 do :
44379 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44380 if test "x$ac_cv_func_powf" = xyes; then :
44381 cat >>confdefs.h <<_ACEOF
44382 #define HAVE_POWF 1
44383 _ACEOF
44386 done
44388 else
44390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44391 $as_echo_n "checking for _powf declaration... " >&6; }
44392 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44393 if ${glibcxx_cv_func__powf_use+:} false; then :
44394 $as_echo_n "(cached) " >&6
44395 else
44398 ac_ext=cpp
44399 ac_cpp='$CXXCPP $CPPFLAGS'
44400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44405 /* end confdefs.h. */
44406 #include <math.h>
44408 main ()
44410 _powf(0, 0);
44412 return 0;
44414 _ACEOF
44415 if ac_fn_cxx_try_compile "$LINENO"; then :
44416 glibcxx_cv_func__powf_use=yes
44417 else
44418 glibcxx_cv_func__powf_use=no
44420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44421 ac_ext=c
44422 ac_cpp='$CPP $CPPFLAGS'
44423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44432 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44434 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44435 for ac_func in _powf
44436 do :
44437 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44438 if test "x$ac_cv_func__powf" = xyes; then :
44439 cat >>confdefs.h <<_ACEOF
44440 #define HAVE__POWF 1
44441 _ACEOF
44444 done
44453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44454 $as_echo_n "checking for sqrtf declaration... " >&6; }
44455 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44456 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44457 $as_echo_n "(cached) " >&6
44458 else
44461 ac_ext=cpp
44462 ac_cpp='$CXXCPP $CPPFLAGS'
44463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44468 /* end confdefs.h. */
44469 #include <math.h>
44470 #ifdef HAVE_IEEEFP_H
44471 #include <ieeefp.h>
44472 #endif
44475 main ()
44477 sqrtf(0);
44479 return 0;
44481 _ACEOF
44482 if ac_fn_cxx_try_compile "$LINENO"; then :
44483 glibcxx_cv_func_sqrtf_use=yes
44484 else
44485 glibcxx_cv_func_sqrtf_use=no
44487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44488 ac_ext=c
44489 ac_cpp='$CPP $CPPFLAGS'
44490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44499 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44501 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44502 for ac_func in sqrtf
44503 do :
44504 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44505 if test "x$ac_cv_func_sqrtf" = xyes; then :
44506 cat >>confdefs.h <<_ACEOF
44507 #define HAVE_SQRTF 1
44508 _ACEOF
44511 done
44513 else
44515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44516 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44517 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44518 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44519 $as_echo_n "(cached) " >&6
44520 else
44523 ac_ext=cpp
44524 ac_cpp='$CXXCPP $CPPFLAGS'
44525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44530 /* end confdefs.h. */
44531 #include <math.h>
44532 #ifdef HAVE_IEEEFP_H
44533 #include <ieeefp.h>
44534 #endif
44537 main ()
44539 _sqrtf(0);
44541 return 0;
44543 _ACEOF
44544 if ac_fn_cxx_try_compile "$LINENO"; then :
44545 glibcxx_cv_func__sqrtf_use=yes
44546 else
44547 glibcxx_cv_func__sqrtf_use=no
44549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44550 ac_ext=c
44551 ac_cpp='$CPP $CPPFLAGS'
44552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44561 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44563 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44564 for ac_func in _sqrtf
44565 do :
44566 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44567 if test "x$ac_cv_func__sqrtf" = xyes; then :
44568 cat >>confdefs.h <<_ACEOF
44569 #define HAVE__SQRTF 1
44570 _ACEOF
44573 done
44582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44583 $as_echo_n "checking for sincosf declaration... " >&6; }
44584 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44585 if ${glibcxx_cv_func_sincosf_use+:} false; then :
44586 $as_echo_n "(cached) " >&6
44587 else
44590 ac_ext=cpp
44591 ac_cpp='$CXXCPP $CPPFLAGS'
44592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44597 /* end confdefs.h. */
44598 #include <math.h>
44600 main ()
44602 sincosf(0, 0, 0);
44604 return 0;
44606 _ACEOF
44607 if ac_fn_cxx_try_compile "$LINENO"; then :
44608 glibcxx_cv_func_sincosf_use=yes
44609 else
44610 glibcxx_cv_func_sincosf_use=no
44612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44613 ac_ext=c
44614 ac_cpp='$CPP $CPPFLAGS'
44615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44624 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44626 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44627 for ac_func in sincosf
44628 do :
44629 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44630 if test "x$ac_cv_func_sincosf" = xyes; then :
44631 cat >>confdefs.h <<_ACEOF
44632 #define HAVE_SINCOSF 1
44633 _ACEOF
44636 done
44638 else
44640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44641 $as_echo_n "checking for _sincosf declaration... " >&6; }
44642 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44643 if ${glibcxx_cv_func__sincosf_use+:} false; then :
44644 $as_echo_n "(cached) " >&6
44645 else
44648 ac_ext=cpp
44649 ac_cpp='$CXXCPP $CPPFLAGS'
44650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44655 /* end confdefs.h. */
44656 #include <math.h>
44658 main ()
44660 _sincosf(0, 0, 0);
44662 return 0;
44664 _ACEOF
44665 if ac_fn_cxx_try_compile "$LINENO"; then :
44666 glibcxx_cv_func__sincosf_use=yes
44667 else
44668 glibcxx_cv_func__sincosf_use=no
44670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44671 ac_ext=c
44672 ac_cpp='$CPP $CPPFLAGS'
44673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44682 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44684 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44685 for ac_func in _sincosf
44686 do :
44687 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44688 if test "x$ac_cv_func__sincosf" = xyes; then :
44689 cat >>confdefs.h <<_ACEOF
44690 #define HAVE__SINCOSF 1
44691 _ACEOF
44694 done
44703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44704 $as_echo_n "checking for finitef declaration... " >&6; }
44705 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44706 if ${glibcxx_cv_func_finitef_use+:} false; then :
44707 $as_echo_n "(cached) " >&6
44708 else
44711 ac_ext=cpp
44712 ac_cpp='$CXXCPP $CPPFLAGS'
44713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44718 /* end confdefs.h. */
44719 #include <math.h>
44720 #ifdef HAVE_IEEEFP_H
44721 #include <ieeefp.h>
44722 #endif
44725 main ()
44727 finitef(0);
44729 return 0;
44731 _ACEOF
44732 if ac_fn_cxx_try_compile "$LINENO"; then :
44733 glibcxx_cv_func_finitef_use=yes
44734 else
44735 glibcxx_cv_func_finitef_use=no
44737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44738 ac_ext=c
44739 ac_cpp='$CPP $CPPFLAGS'
44740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44749 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44751 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44752 for ac_func in finitef
44753 do :
44754 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44755 if test "x$ac_cv_func_finitef" = xyes; then :
44756 cat >>confdefs.h <<_ACEOF
44757 #define HAVE_FINITEF 1
44758 _ACEOF
44761 done
44763 else
44765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44766 $as_echo_n "checking for _finitef declaration... " >&6; }
44767 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44768 if ${glibcxx_cv_func__finitef_use+:} false; then :
44769 $as_echo_n "(cached) " >&6
44770 else
44773 ac_ext=cpp
44774 ac_cpp='$CXXCPP $CPPFLAGS'
44775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44780 /* end confdefs.h. */
44781 #include <math.h>
44782 #ifdef HAVE_IEEEFP_H
44783 #include <ieeefp.h>
44784 #endif
44787 main ()
44789 _finitef(0);
44791 return 0;
44793 _ACEOF
44794 if ac_fn_cxx_try_compile "$LINENO"; then :
44795 glibcxx_cv_func__finitef_use=yes
44796 else
44797 glibcxx_cv_func__finitef_use=no
44799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44800 ac_ext=c
44801 ac_cpp='$CPP $CPPFLAGS'
44802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44811 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44813 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44814 for ac_func in _finitef
44815 do :
44816 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44817 if test "x$ac_cv_func__finitef" = xyes; then :
44818 cat >>confdefs.h <<_ACEOF
44819 #define HAVE__FINITEF 1
44820 _ACEOF
44823 done
44832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44833 $as_echo_n "checking for long double trig functions... " >&6; }
44834 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
44835 $as_echo_n "(cached) " >&6
44836 else
44839 ac_ext=cpp
44840 ac_cpp='$CXXCPP $CPPFLAGS'
44841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44846 /* end confdefs.h. */
44847 #include <math.h>
44849 main ()
44851 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44853 return 0;
44855 _ACEOF
44856 if ac_fn_cxx_try_compile "$LINENO"; then :
44857 glibcxx_cv_func_long_double_trig_use=yes
44858 else
44859 glibcxx_cv_func_long_double_trig_use=no
44861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44862 ac_ext=c
44863 ac_cpp='$CPP $CPPFLAGS'
44864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44871 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44872 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44873 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44874 do :
44875 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44876 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44877 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44878 cat >>confdefs.h <<_ACEOF
44879 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44880 _ACEOF
44883 done
44885 else
44886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44887 $as_echo_n "checking for _long double trig functions... " >&6; }
44888 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
44889 $as_echo_n "(cached) " >&6
44890 else
44893 ac_ext=cpp
44894 ac_cpp='$CXXCPP $CPPFLAGS'
44895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44900 /* end confdefs.h. */
44901 #include <math.h>
44903 main ()
44905 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44907 return 0;
44909 _ACEOF
44910 if ac_fn_cxx_try_compile "$LINENO"; then :
44911 glibcxx_cv_func__long_double_trig_use=yes
44912 else
44913 glibcxx_cv_func__long_double_trig_use=no
44915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44916 ac_ext=c
44917 ac_cpp='$CPP $CPPFLAGS'
44918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44925 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44926 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44927 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44928 do :
44929 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44930 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44931 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44932 cat >>confdefs.h <<_ACEOF
44933 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44934 _ACEOF
44937 done
44946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44947 $as_echo_n "checking for long double round functions... " >&6; }
44948 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
44949 $as_echo_n "(cached) " >&6
44950 else
44953 ac_ext=cpp
44954 ac_cpp='$CXXCPP $CPPFLAGS'
44955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44960 /* end confdefs.h. */
44961 #include <math.h>
44963 main ()
44965 ceill (0); floorl (0);
44967 return 0;
44969 _ACEOF
44970 if ac_fn_cxx_try_compile "$LINENO"; then :
44971 glibcxx_cv_func_long_double_round_use=yes
44972 else
44973 glibcxx_cv_func_long_double_round_use=no
44975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44976 ac_ext=c
44977 ac_cpp='$CPP $CPPFLAGS'
44978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44985 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44986 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44987 for ac_func in ceill floorl
44988 do :
44989 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44990 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44991 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44992 cat >>confdefs.h <<_ACEOF
44993 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44994 _ACEOF
44997 done
44999 else
45000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
45001 $as_echo_n "checking for _long double round functions... " >&6; }
45002 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
45003 $as_echo_n "(cached) " >&6
45004 else
45007 ac_ext=cpp
45008 ac_cpp='$CXXCPP $CPPFLAGS'
45009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45014 /* end confdefs.h. */
45015 #include <math.h>
45017 main ()
45019 _ceill (0); _floorl (0);
45021 return 0;
45023 _ACEOF
45024 if ac_fn_cxx_try_compile "$LINENO"; then :
45025 glibcxx_cv_func__long_double_round_use=yes
45026 else
45027 glibcxx_cv_func__long_double_round_use=no
45029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45030 ac_ext=c
45031 ac_cpp='$CPP $CPPFLAGS'
45032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
45039 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
45040 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
45041 for ac_func in _ceill _floorl
45042 do :
45043 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45044 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45045 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45046 cat >>confdefs.h <<_ACEOF
45047 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45048 _ACEOF
45051 done
45061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
45062 $as_echo_n "checking for isnanl declaration... " >&6; }
45063 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
45064 if ${glibcxx_cv_func_isnanl_use+:} false; then :
45065 $as_echo_n "(cached) " >&6
45066 else
45069 ac_ext=cpp
45070 ac_cpp='$CXXCPP $CPPFLAGS'
45071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45076 /* end confdefs.h. */
45077 #include <math.h>
45078 #ifdef HAVE_IEEEFP_H
45079 #include <ieeefp.h>
45080 #endif
45083 main ()
45085 isnanl(0);
45087 return 0;
45089 _ACEOF
45090 if ac_fn_cxx_try_compile "$LINENO"; then :
45091 glibcxx_cv_func_isnanl_use=yes
45092 else
45093 glibcxx_cv_func_isnanl_use=no
45095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45096 ac_ext=c
45097 ac_cpp='$CPP $CPPFLAGS'
45098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
45107 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
45109 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
45110 for ac_func in isnanl
45111 do :
45112 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
45113 if test "x$ac_cv_func_isnanl" = xyes; then :
45114 cat >>confdefs.h <<_ACEOF
45115 #define HAVE_ISNANL 1
45116 _ACEOF
45119 done
45121 else
45123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
45124 $as_echo_n "checking for _isnanl declaration... " >&6; }
45125 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
45126 if ${glibcxx_cv_func__isnanl_use+:} false; then :
45127 $as_echo_n "(cached) " >&6
45128 else
45131 ac_ext=cpp
45132 ac_cpp='$CXXCPP $CPPFLAGS'
45133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45138 /* end confdefs.h. */
45139 #include <math.h>
45140 #ifdef HAVE_IEEEFP_H
45141 #include <ieeefp.h>
45142 #endif
45145 main ()
45147 _isnanl(0);
45149 return 0;
45151 _ACEOF
45152 if ac_fn_cxx_try_compile "$LINENO"; then :
45153 glibcxx_cv_func__isnanl_use=yes
45154 else
45155 glibcxx_cv_func__isnanl_use=no
45157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45158 ac_ext=c
45159 ac_cpp='$CPP $CPPFLAGS'
45160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
45169 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
45171 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
45172 for ac_func in _isnanl
45173 do :
45174 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45175 if test "x$ac_cv_func__isnanl" = xyes; then :
45176 cat >>confdefs.h <<_ACEOF
45177 #define HAVE__ISNANL 1
45178 _ACEOF
45181 done
45190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45191 $as_echo_n "checking for isinfl declaration... " >&6; }
45192 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45193 if ${glibcxx_cv_func_isinfl_use+:} false; then :
45194 $as_echo_n "(cached) " >&6
45195 else
45198 ac_ext=cpp
45199 ac_cpp='$CXXCPP $CPPFLAGS'
45200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45205 /* end confdefs.h. */
45206 #include <math.h>
45207 #ifdef HAVE_IEEEFP_H
45208 #include <ieeefp.h>
45209 #endif
45212 main ()
45214 isinfl(0);
45216 return 0;
45218 _ACEOF
45219 if ac_fn_cxx_try_compile "$LINENO"; then :
45220 glibcxx_cv_func_isinfl_use=yes
45221 else
45222 glibcxx_cv_func_isinfl_use=no
45224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45225 ac_ext=c
45226 ac_cpp='$CPP $CPPFLAGS'
45227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45236 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45238 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45239 for ac_func in isinfl
45240 do :
45241 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45242 if test "x$ac_cv_func_isinfl" = xyes; then :
45243 cat >>confdefs.h <<_ACEOF
45244 #define HAVE_ISINFL 1
45245 _ACEOF
45248 done
45250 else
45252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45253 $as_echo_n "checking for _isinfl declaration... " >&6; }
45254 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45255 if ${glibcxx_cv_func__isinfl_use+:} false; then :
45256 $as_echo_n "(cached) " >&6
45257 else
45260 ac_ext=cpp
45261 ac_cpp='$CXXCPP $CPPFLAGS'
45262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45267 /* end confdefs.h. */
45268 #include <math.h>
45269 #ifdef HAVE_IEEEFP_H
45270 #include <ieeefp.h>
45271 #endif
45274 main ()
45276 _isinfl(0);
45278 return 0;
45280 _ACEOF
45281 if ac_fn_cxx_try_compile "$LINENO"; then :
45282 glibcxx_cv_func__isinfl_use=yes
45283 else
45284 glibcxx_cv_func__isinfl_use=no
45286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45287 ac_ext=c
45288 ac_cpp='$CPP $CPPFLAGS'
45289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45298 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45300 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45301 for ac_func in _isinfl
45302 do :
45303 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45304 if test "x$ac_cv_func__isinfl" = xyes; then :
45305 cat >>confdefs.h <<_ACEOF
45306 #define HAVE__ISINFL 1
45307 _ACEOF
45310 done
45319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45320 $as_echo_n "checking for atan2l declaration... " >&6; }
45321 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45322 if ${glibcxx_cv_func_atan2l_use+:} false; then :
45323 $as_echo_n "(cached) " >&6
45324 else
45327 ac_ext=cpp
45328 ac_cpp='$CXXCPP $CPPFLAGS'
45329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45334 /* end confdefs.h. */
45335 #include <math.h>
45337 main ()
45339 atan2l(0, 0);
45341 return 0;
45343 _ACEOF
45344 if ac_fn_cxx_try_compile "$LINENO"; then :
45345 glibcxx_cv_func_atan2l_use=yes
45346 else
45347 glibcxx_cv_func_atan2l_use=no
45349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45350 ac_ext=c
45351 ac_cpp='$CPP $CPPFLAGS'
45352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45361 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45363 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45364 for ac_func in atan2l
45365 do :
45366 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45367 if test "x$ac_cv_func_atan2l" = xyes; then :
45368 cat >>confdefs.h <<_ACEOF
45369 #define HAVE_ATAN2L 1
45370 _ACEOF
45373 done
45375 else
45377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45378 $as_echo_n "checking for _atan2l declaration... " >&6; }
45379 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45380 if ${glibcxx_cv_func__atan2l_use+:} false; then :
45381 $as_echo_n "(cached) " >&6
45382 else
45385 ac_ext=cpp
45386 ac_cpp='$CXXCPP $CPPFLAGS'
45387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45392 /* end confdefs.h. */
45393 #include <math.h>
45395 main ()
45397 _atan2l(0, 0);
45399 return 0;
45401 _ACEOF
45402 if ac_fn_cxx_try_compile "$LINENO"; then :
45403 glibcxx_cv_func__atan2l_use=yes
45404 else
45405 glibcxx_cv_func__atan2l_use=no
45407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45408 ac_ext=c
45409 ac_cpp='$CPP $CPPFLAGS'
45410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45419 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45421 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45422 for ac_func in _atan2l
45423 do :
45424 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45425 if test "x$ac_cv_func__atan2l" = xyes; then :
45426 cat >>confdefs.h <<_ACEOF
45427 #define HAVE__ATAN2L 1
45428 _ACEOF
45431 done
45440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45441 $as_echo_n "checking for expl declaration... " >&6; }
45442 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45443 if ${glibcxx_cv_func_expl_use+:} false; then :
45444 $as_echo_n "(cached) " >&6
45445 else
45448 ac_ext=cpp
45449 ac_cpp='$CXXCPP $CPPFLAGS'
45450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45455 /* end confdefs.h. */
45456 #include <math.h>
45457 #ifdef HAVE_IEEEFP_H
45458 #include <ieeefp.h>
45459 #endif
45462 main ()
45464 expl(0);
45466 return 0;
45468 _ACEOF
45469 if ac_fn_cxx_try_compile "$LINENO"; then :
45470 glibcxx_cv_func_expl_use=yes
45471 else
45472 glibcxx_cv_func_expl_use=no
45474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45475 ac_ext=c
45476 ac_cpp='$CPP $CPPFLAGS'
45477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45486 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45488 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45489 for ac_func in expl
45490 do :
45491 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45492 if test "x$ac_cv_func_expl" = xyes; then :
45493 cat >>confdefs.h <<_ACEOF
45494 #define HAVE_EXPL 1
45495 _ACEOF
45498 done
45500 else
45502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45503 $as_echo_n "checking for _expl declaration... " >&6; }
45504 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45505 if ${glibcxx_cv_func__expl_use+:} false; then :
45506 $as_echo_n "(cached) " >&6
45507 else
45510 ac_ext=cpp
45511 ac_cpp='$CXXCPP $CPPFLAGS'
45512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45517 /* end confdefs.h. */
45518 #include <math.h>
45519 #ifdef HAVE_IEEEFP_H
45520 #include <ieeefp.h>
45521 #endif
45524 main ()
45526 _expl(0);
45528 return 0;
45530 _ACEOF
45531 if ac_fn_cxx_try_compile "$LINENO"; then :
45532 glibcxx_cv_func__expl_use=yes
45533 else
45534 glibcxx_cv_func__expl_use=no
45536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45537 ac_ext=c
45538 ac_cpp='$CPP $CPPFLAGS'
45539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45548 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45550 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45551 for ac_func in _expl
45552 do :
45553 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45554 if test "x$ac_cv_func__expl" = xyes; then :
45555 cat >>confdefs.h <<_ACEOF
45556 #define HAVE__EXPL 1
45557 _ACEOF
45560 done
45569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45570 $as_echo_n "checking for fabsl declaration... " >&6; }
45571 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45572 if ${glibcxx_cv_func_fabsl_use+:} false; then :
45573 $as_echo_n "(cached) " >&6
45574 else
45577 ac_ext=cpp
45578 ac_cpp='$CXXCPP $CPPFLAGS'
45579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45584 /* end confdefs.h. */
45585 #include <math.h>
45586 #ifdef HAVE_IEEEFP_H
45587 #include <ieeefp.h>
45588 #endif
45591 main ()
45593 fabsl(0);
45595 return 0;
45597 _ACEOF
45598 if ac_fn_cxx_try_compile "$LINENO"; then :
45599 glibcxx_cv_func_fabsl_use=yes
45600 else
45601 glibcxx_cv_func_fabsl_use=no
45603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45604 ac_ext=c
45605 ac_cpp='$CPP $CPPFLAGS'
45606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45615 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45617 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45618 for ac_func in fabsl
45619 do :
45620 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45621 if test "x$ac_cv_func_fabsl" = xyes; then :
45622 cat >>confdefs.h <<_ACEOF
45623 #define HAVE_FABSL 1
45624 _ACEOF
45627 done
45629 else
45631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45632 $as_echo_n "checking for _fabsl declaration... " >&6; }
45633 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45634 if ${glibcxx_cv_func__fabsl_use+:} false; then :
45635 $as_echo_n "(cached) " >&6
45636 else
45639 ac_ext=cpp
45640 ac_cpp='$CXXCPP $CPPFLAGS'
45641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45646 /* end confdefs.h. */
45647 #include <math.h>
45648 #ifdef HAVE_IEEEFP_H
45649 #include <ieeefp.h>
45650 #endif
45653 main ()
45655 _fabsl(0);
45657 return 0;
45659 _ACEOF
45660 if ac_fn_cxx_try_compile "$LINENO"; then :
45661 glibcxx_cv_func__fabsl_use=yes
45662 else
45663 glibcxx_cv_func__fabsl_use=no
45665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45666 ac_ext=c
45667 ac_cpp='$CPP $CPPFLAGS'
45668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45677 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45679 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45680 for ac_func in _fabsl
45681 do :
45682 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45683 if test "x$ac_cv_func__fabsl" = xyes; then :
45684 cat >>confdefs.h <<_ACEOF
45685 #define HAVE__FABSL 1
45686 _ACEOF
45689 done
45698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45699 $as_echo_n "checking for fmodl declaration... " >&6; }
45700 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45701 if ${glibcxx_cv_func_fmodl_use+:} false; then :
45702 $as_echo_n "(cached) " >&6
45703 else
45706 ac_ext=cpp
45707 ac_cpp='$CXXCPP $CPPFLAGS'
45708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45713 /* end confdefs.h. */
45714 #include <math.h>
45716 main ()
45718 fmodl(0, 0);
45720 return 0;
45722 _ACEOF
45723 if ac_fn_cxx_try_compile "$LINENO"; then :
45724 glibcxx_cv_func_fmodl_use=yes
45725 else
45726 glibcxx_cv_func_fmodl_use=no
45728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45729 ac_ext=c
45730 ac_cpp='$CPP $CPPFLAGS'
45731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45740 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45742 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45743 for ac_func in fmodl
45744 do :
45745 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45746 if test "x$ac_cv_func_fmodl" = xyes; then :
45747 cat >>confdefs.h <<_ACEOF
45748 #define HAVE_FMODL 1
45749 _ACEOF
45752 done
45754 else
45756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45757 $as_echo_n "checking for _fmodl declaration... " >&6; }
45758 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45759 if ${glibcxx_cv_func__fmodl_use+:} false; then :
45760 $as_echo_n "(cached) " >&6
45761 else
45764 ac_ext=cpp
45765 ac_cpp='$CXXCPP $CPPFLAGS'
45766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45771 /* end confdefs.h. */
45772 #include <math.h>
45774 main ()
45776 _fmodl(0, 0);
45778 return 0;
45780 _ACEOF
45781 if ac_fn_cxx_try_compile "$LINENO"; then :
45782 glibcxx_cv_func__fmodl_use=yes
45783 else
45784 glibcxx_cv_func__fmodl_use=no
45786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45787 ac_ext=c
45788 ac_cpp='$CPP $CPPFLAGS'
45789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45798 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45800 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45801 for ac_func in _fmodl
45802 do :
45803 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45804 if test "x$ac_cv_func__fmodl" = xyes; then :
45805 cat >>confdefs.h <<_ACEOF
45806 #define HAVE__FMODL 1
45807 _ACEOF
45810 done
45819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45820 $as_echo_n "checking for frexpl declaration... " >&6; }
45821 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45822 if ${glibcxx_cv_func_frexpl_use+:} false; then :
45823 $as_echo_n "(cached) " >&6
45824 else
45827 ac_ext=cpp
45828 ac_cpp='$CXXCPP $CPPFLAGS'
45829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45834 /* end confdefs.h. */
45835 #include <math.h>
45837 main ()
45839 frexpl(0, 0);
45841 return 0;
45843 _ACEOF
45844 if ac_fn_cxx_try_compile "$LINENO"; then :
45845 glibcxx_cv_func_frexpl_use=yes
45846 else
45847 glibcxx_cv_func_frexpl_use=no
45849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45850 ac_ext=c
45851 ac_cpp='$CPP $CPPFLAGS'
45852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45861 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45863 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45864 for ac_func in frexpl
45865 do :
45866 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45867 if test "x$ac_cv_func_frexpl" = xyes; then :
45868 cat >>confdefs.h <<_ACEOF
45869 #define HAVE_FREXPL 1
45870 _ACEOF
45873 done
45875 else
45877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45878 $as_echo_n "checking for _frexpl declaration... " >&6; }
45879 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45880 if ${glibcxx_cv_func__frexpl_use+:} false; then :
45881 $as_echo_n "(cached) " >&6
45882 else
45885 ac_ext=cpp
45886 ac_cpp='$CXXCPP $CPPFLAGS'
45887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45892 /* end confdefs.h. */
45893 #include <math.h>
45895 main ()
45897 _frexpl(0, 0);
45899 return 0;
45901 _ACEOF
45902 if ac_fn_cxx_try_compile "$LINENO"; then :
45903 glibcxx_cv_func__frexpl_use=yes
45904 else
45905 glibcxx_cv_func__frexpl_use=no
45907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45908 ac_ext=c
45909 ac_cpp='$CPP $CPPFLAGS'
45910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45919 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45921 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45922 for ac_func in _frexpl
45923 do :
45924 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45925 if test "x$ac_cv_func__frexpl" = xyes; then :
45926 cat >>confdefs.h <<_ACEOF
45927 #define HAVE__FREXPL 1
45928 _ACEOF
45931 done
45940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45941 $as_echo_n "checking for hypotl declaration... " >&6; }
45942 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45943 if ${glibcxx_cv_func_hypotl_use+:} false; then :
45944 $as_echo_n "(cached) " >&6
45945 else
45948 ac_ext=cpp
45949 ac_cpp='$CXXCPP $CPPFLAGS'
45950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45955 /* end confdefs.h. */
45956 #include <math.h>
45958 main ()
45960 hypotl(0, 0);
45962 return 0;
45964 _ACEOF
45965 if ac_fn_cxx_try_compile "$LINENO"; then :
45966 glibcxx_cv_func_hypotl_use=yes
45967 else
45968 glibcxx_cv_func_hypotl_use=no
45970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45971 ac_ext=c
45972 ac_cpp='$CPP $CPPFLAGS'
45973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45982 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45984 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45985 for ac_func in hypotl
45986 do :
45987 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45988 if test "x$ac_cv_func_hypotl" = xyes; then :
45989 cat >>confdefs.h <<_ACEOF
45990 #define HAVE_HYPOTL 1
45991 _ACEOF
45994 done
45996 else
45998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45999 $as_echo_n "checking for _hypotl declaration... " >&6; }
46000 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46001 if ${glibcxx_cv_func__hypotl_use+:} false; then :
46002 $as_echo_n "(cached) " >&6
46003 else
46006 ac_ext=cpp
46007 ac_cpp='$CXXCPP $CPPFLAGS'
46008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46013 /* end confdefs.h. */
46014 #include <math.h>
46016 main ()
46018 _hypotl(0, 0);
46020 return 0;
46022 _ACEOF
46023 if ac_fn_cxx_try_compile "$LINENO"; then :
46024 glibcxx_cv_func__hypotl_use=yes
46025 else
46026 glibcxx_cv_func__hypotl_use=no
46028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46029 ac_ext=c
46030 ac_cpp='$CPP $CPPFLAGS'
46031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
46040 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
46042 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46043 for ac_func in _hypotl
46044 do :
46045 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
46046 if test "x$ac_cv_func__hypotl" = xyes; then :
46047 cat >>confdefs.h <<_ACEOF
46048 #define HAVE__HYPOTL 1
46049 _ACEOF
46052 done
46061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
46062 $as_echo_n "checking for ldexpl declaration... " >&6; }
46063 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46064 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
46065 $as_echo_n "(cached) " >&6
46066 else
46069 ac_ext=cpp
46070 ac_cpp='$CXXCPP $CPPFLAGS'
46071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46076 /* end confdefs.h. */
46077 #include <math.h>
46079 main ()
46081 ldexpl(0, 0);
46083 return 0;
46085 _ACEOF
46086 if ac_fn_cxx_try_compile "$LINENO"; then :
46087 glibcxx_cv_func_ldexpl_use=yes
46088 else
46089 glibcxx_cv_func_ldexpl_use=no
46091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46092 ac_ext=c
46093 ac_cpp='$CPP $CPPFLAGS'
46094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
46103 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
46105 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46106 for ac_func in ldexpl
46107 do :
46108 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
46109 if test "x$ac_cv_func_ldexpl" = xyes; then :
46110 cat >>confdefs.h <<_ACEOF
46111 #define HAVE_LDEXPL 1
46112 _ACEOF
46115 done
46117 else
46119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
46120 $as_echo_n "checking for _ldexpl declaration... " >&6; }
46121 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46122 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
46123 $as_echo_n "(cached) " >&6
46124 else
46127 ac_ext=cpp
46128 ac_cpp='$CXXCPP $CPPFLAGS'
46129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46134 /* end confdefs.h. */
46135 #include <math.h>
46137 main ()
46139 _ldexpl(0, 0);
46141 return 0;
46143 _ACEOF
46144 if ac_fn_cxx_try_compile "$LINENO"; then :
46145 glibcxx_cv_func__ldexpl_use=yes
46146 else
46147 glibcxx_cv_func__ldexpl_use=no
46149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46150 ac_ext=c
46151 ac_cpp='$CPP $CPPFLAGS'
46152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
46161 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
46163 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46164 for ac_func in _ldexpl
46165 do :
46166 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
46167 if test "x$ac_cv_func__ldexpl" = xyes; then :
46168 cat >>confdefs.h <<_ACEOF
46169 #define HAVE__LDEXPL 1
46170 _ACEOF
46173 done
46182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46183 $as_echo_n "checking for logl declaration... " >&6; }
46184 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46185 if ${glibcxx_cv_func_logl_use+:} false; then :
46186 $as_echo_n "(cached) " >&6
46187 else
46190 ac_ext=cpp
46191 ac_cpp='$CXXCPP $CPPFLAGS'
46192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46197 /* end confdefs.h. */
46198 #include <math.h>
46199 #ifdef HAVE_IEEEFP_H
46200 #include <ieeefp.h>
46201 #endif
46204 main ()
46206 logl(0);
46208 return 0;
46210 _ACEOF
46211 if ac_fn_cxx_try_compile "$LINENO"; then :
46212 glibcxx_cv_func_logl_use=yes
46213 else
46214 glibcxx_cv_func_logl_use=no
46216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46217 ac_ext=c
46218 ac_cpp='$CPP $CPPFLAGS'
46219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46228 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46230 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46231 for ac_func in logl
46232 do :
46233 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46234 if test "x$ac_cv_func_logl" = xyes; then :
46235 cat >>confdefs.h <<_ACEOF
46236 #define HAVE_LOGL 1
46237 _ACEOF
46240 done
46242 else
46244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46245 $as_echo_n "checking for _logl declaration... " >&6; }
46246 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46247 if ${glibcxx_cv_func__logl_use+:} false; then :
46248 $as_echo_n "(cached) " >&6
46249 else
46252 ac_ext=cpp
46253 ac_cpp='$CXXCPP $CPPFLAGS'
46254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46259 /* end confdefs.h. */
46260 #include <math.h>
46261 #ifdef HAVE_IEEEFP_H
46262 #include <ieeefp.h>
46263 #endif
46266 main ()
46268 _logl(0);
46270 return 0;
46272 _ACEOF
46273 if ac_fn_cxx_try_compile "$LINENO"; then :
46274 glibcxx_cv_func__logl_use=yes
46275 else
46276 glibcxx_cv_func__logl_use=no
46278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46279 ac_ext=c
46280 ac_cpp='$CPP $CPPFLAGS'
46281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46290 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46292 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46293 for ac_func in _logl
46294 do :
46295 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46296 if test "x$ac_cv_func__logl" = xyes; then :
46297 cat >>confdefs.h <<_ACEOF
46298 #define HAVE__LOGL 1
46299 _ACEOF
46302 done
46311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46312 $as_echo_n "checking for log10l declaration... " >&6; }
46313 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46314 if ${glibcxx_cv_func_log10l_use+:} false; then :
46315 $as_echo_n "(cached) " >&6
46316 else
46319 ac_ext=cpp
46320 ac_cpp='$CXXCPP $CPPFLAGS'
46321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46326 /* end confdefs.h. */
46327 #include <math.h>
46328 #ifdef HAVE_IEEEFP_H
46329 #include <ieeefp.h>
46330 #endif
46333 main ()
46335 log10l(0);
46337 return 0;
46339 _ACEOF
46340 if ac_fn_cxx_try_compile "$LINENO"; then :
46341 glibcxx_cv_func_log10l_use=yes
46342 else
46343 glibcxx_cv_func_log10l_use=no
46345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46346 ac_ext=c
46347 ac_cpp='$CPP $CPPFLAGS'
46348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46357 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46359 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46360 for ac_func in log10l
46361 do :
46362 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46363 if test "x$ac_cv_func_log10l" = xyes; then :
46364 cat >>confdefs.h <<_ACEOF
46365 #define HAVE_LOG10L 1
46366 _ACEOF
46369 done
46371 else
46373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46374 $as_echo_n "checking for _log10l declaration... " >&6; }
46375 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46376 if ${glibcxx_cv_func__log10l_use+:} false; then :
46377 $as_echo_n "(cached) " >&6
46378 else
46381 ac_ext=cpp
46382 ac_cpp='$CXXCPP $CPPFLAGS'
46383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46388 /* end confdefs.h. */
46389 #include <math.h>
46390 #ifdef HAVE_IEEEFP_H
46391 #include <ieeefp.h>
46392 #endif
46395 main ()
46397 _log10l(0);
46399 return 0;
46401 _ACEOF
46402 if ac_fn_cxx_try_compile "$LINENO"; then :
46403 glibcxx_cv_func__log10l_use=yes
46404 else
46405 glibcxx_cv_func__log10l_use=no
46407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46408 ac_ext=c
46409 ac_cpp='$CPP $CPPFLAGS'
46410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46419 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46421 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46422 for ac_func in _log10l
46423 do :
46424 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46425 if test "x$ac_cv_func__log10l" = xyes; then :
46426 cat >>confdefs.h <<_ACEOF
46427 #define HAVE__LOG10L 1
46428 _ACEOF
46431 done
46440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46441 $as_echo_n "checking for modfl declaration... " >&6; }
46442 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46443 if ${glibcxx_cv_func_modfl_use+:} false; then :
46444 $as_echo_n "(cached) " >&6
46445 else
46448 ac_ext=cpp
46449 ac_cpp='$CXXCPP $CPPFLAGS'
46450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46455 /* end confdefs.h. */
46456 #include <math.h>
46458 main ()
46460 modfl(0, 0);
46462 return 0;
46464 _ACEOF
46465 if ac_fn_cxx_try_compile "$LINENO"; then :
46466 glibcxx_cv_func_modfl_use=yes
46467 else
46468 glibcxx_cv_func_modfl_use=no
46470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46471 ac_ext=c
46472 ac_cpp='$CPP $CPPFLAGS'
46473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46482 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46484 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46485 for ac_func in modfl
46486 do :
46487 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46488 if test "x$ac_cv_func_modfl" = xyes; then :
46489 cat >>confdefs.h <<_ACEOF
46490 #define HAVE_MODFL 1
46491 _ACEOF
46494 done
46496 else
46498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46499 $as_echo_n "checking for _modfl declaration... " >&6; }
46500 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46501 if ${glibcxx_cv_func__modfl_use+:} false; then :
46502 $as_echo_n "(cached) " >&6
46503 else
46506 ac_ext=cpp
46507 ac_cpp='$CXXCPP $CPPFLAGS'
46508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46513 /* end confdefs.h. */
46514 #include <math.h>
46516 main ()
46518 _modfl(0, 0);
46520 return 0;
46522 _ACEOF
46523 if ac_fn_cxx_try_compile "$LINENO"; then :
46524 glibcxx_cv_func__modfl_use=yes
46525 else
46526 glibcxx_cv_func__modfl_use=no
46528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46529 ac_ext=c
46530 ac_cpp='$CPP $CPPFLAGS'
46531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46540 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46542 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46543 for ac_func in _modfl
46544 do :
46545 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46546 if test "x$ac_cv_func__modfl" = xyes; then :
46547 cat >>confdefs.h <<_ACEOF
46548 #define HAVE__MODFL 1
46549 _ACEOF
46552 done
46561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46562 $as_echo_n "checking for powl declaration... " >&6; }
46563 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46564 if ${glibcxx_cv_func_powl_use+:} false; then :
46565 $as_echo_n "(cached) " >&6
46566 else
46569 ac_ext=cpp
46570 ac_cpp='$CXXCPP $CPPFLAGS'
46571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46576 /* end confdefs.h. */
46577 #include <math.h>
46579 main ()
46581 powl(0, 0);
46583 return 0;
46585 _ACEOF
46586 if ac_fn_cxx_try_compile "$LINENO"; then :
46587 glibcxx_cv_func_powl_use=yes
46588 else
46589 glibcxx_cv_func_powl_use=no
46591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46592 ac_ext=c
46593 ac_cpp='$CPP $CPPFLAGS'
46594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46603 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46605 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46606 for ac_func in powl
46607 do :
46608 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46609 if test "x$ac_cv_func_powl" = xyes; then :
46610 cat >>confdefs.h <<_ACEOF
46611 #define HAVE_POWL 1
46612 _ACEOF
46615 done
46617 else
46619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46620 $as_echo_n "checking for _powl declaration... " >&6; }
46621 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46622 if ${glibcxx_cv_func__powl_use+:} false; then :
46623 $as_echo_n "(cached) " >&6
46624 else
46627 ac_ext=cpp
46628 ac_cpp='$CXXCPP $CPPFLAGS'
46629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46634 /* end confdefs.h. */
46635 #include <math.h>
46637 main ()
46639 _powl(0, 0);
46641 return 0;
46643 _ACEOF
46644 if ac_fn_cxx_try_compile "$LINENO"; then :
46645 glibcxx_cv_func__powl_use=yes
46646 else
46647 glibcxx_cv_func__powl_use=no
46649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46650 ac_ext=c
46651 ac_cpp='$CPP $CPPFLAGS'
46652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46661 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46663 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46664 for ac_func in _powl
46665 do :
46666 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46667 if test "x$ac_cv_func__powl" = xyes; then :
46668 cat >>confdefs.h <<_ACEOF
46669 #define HAVE__POWL 1
46670 _ACEOF
46673 done
46682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46683 $as_echo_n "checking for sqrtl declaration... " >&6; }
46684 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46685 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
46686 $as_echo_n "(cached) " >&6
46687 else
46690 ac_ext=cpp
46691 ac_cpp='$CXXCPP $CPPFLAGS'
46692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46697 /* end confdefs.h. */
46698 #include <math.h>
46699 #ifdef HAVE_IEEEFP_H
46700 #include <ieeefp.h>
46701 #endif
46704 main ()
46706 sqrtl(0);
46708 return 0;
46710 _ACEOF
46711 if ac_fn_cxx_try_compile "$LINENO"; then :
46712 glibcxx_cv_func_sqrtl_use=yes
46713 else
46714 glibcxx_cv_func_sqrtl_use=no
46716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46717 ac_ext=c
46718 ac_cpp='$CPP $CPPFLAGS'
46719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46728 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46730 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46731 for ac_func in sqrtl
46732 do :
46733 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46734 if test "x$ac_cv_func_sqrtl" = xyes; then :
46735 cat >>confdefs.h <<_ACEOF
46736 #define HAVE_SQRTL 1
46737 _ACEOF
46740 done
46742 else
46744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46745 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46746 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46747 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
46748 $as_echo_n "(cached) " >&6
46749 else
46752 ac_ext=cpp
46753 ac_cpp='$CXXCPP $CPPFLAGS'
46754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46759 /* end confdefs.h. */
46760 #include <math.h>
46761 #ifdef HAVE_IEEEFP_H
46762 #include <ieeefp.h>
46763 #endif
46766 main ()
46768 _sqrtl(0);
46770 return 0;
46772 _ACEOF
46773 if ac_fn_cxx_try_compile "$LINENO"; then :
46774 glibcxx_cv_func__sqrtl_use=yes
46775 else
46776 glibcxx_cv_func__sqrtl_use=no
46778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46779 ac_ext=c
46780 ac_cpp='$CPP $CPPFLAGS'
46781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46790 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46792 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46793 for ac_func in _sqrtl
46794 do :
46795 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46796 if test "x$ac_cv_func__sqrtl" = xyes; then :
46797 cat >>confdefs.h <<_ACEOF
46798 #define HAVE__SQRTL 1
46799 _ACEOF
46802 done
46811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46812 $as_echo_n "checking for sincosl declaration... " >&6; }
46813 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46814 if ${glibcxx_cv_func_sincosl_use+:} false; then :
46815 $as_echo_n "(cached) " >&6
46816 else
46819 ac_ext=cpp
46820 ac_cpp='$CXXCPP $CPPFLAGS'
46821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46826 /* end confdefs.h. */
46827 #include <math.h>
46829 main ()
46831 sincosl(0, 0, 0);
46833 return 0;
46835 _ACEOF
46836 if ac_fn_cxx_try_compile "$LINENO"; then :
46837 glibcxx_cv_func_sincosl_use=yes
46838 else
46839 glibcxx_cv_func_sincosl_use=no
46841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46842 ac_ext=c
46843 ac_cpp='$CPP $CPPFLAGS'
46844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46853 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46855 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46856 for ac_func in sincosl
46857 do :
46858 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46859 if test "x$ac_cv_func_sincosl" = xyes; then :
46860 cat >>confdefs.h <<_ACEOF
46861 #define HAVE_SINCOSL 1
46862 _ACEOF
46865 done
46867 else
46869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46870 $as_echo_n "checking for _sincosl declaration... " >&6; }
46871 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46872 if ${glibcxx_cv_func__sincosl_use+:} false; then :
46873 $as_echo_n "(cached) " >&6
46874 else
46877 ac_ext=cpp
46878 ac_cpp='$CXXCPP $CPPFLAGS'
46879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46884 /* end confdefs.h. */
46885 #include <math.h>
46887 main ()
46889 _sincosl(0, 0, 0);
46891 return 0;
46893 _ACEOF
46894 if ac_fn_cxx_try_compile "$LINENO"; then :
46895 glibcxx_cv_func__sincosl_use=yes
46896 else
46897 glibcxx_cv_func__sincosl_use=no
46899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46900 ac_ext=c
46901 ac_cpp='$CPP $CPPFLAGS'
46902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46911 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46913 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46914 for ac_func in _sincosl
46915 do :
46916 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46917 if test "x$ac_cv_func__sincosl" = xyes; then :
46918 cat >>confdefs.h <<_ACEOF
46919 #define HAVE__SINCOSL 1
46920 _ACEOF
46923 done
46932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46933 $as_echo_n "checking for finitel declaration... " >&6; }
46934 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46935 if ${glibcxx_cv_func_finitel_use+:} false; then :
46936 $as_echo_n "(cached) " >&6
46937 else
46940 ac_ext=cpp
46941 ac_cpp='$CXXCPP $CPPFLAGS'
46942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46947 /* end confdefs.h. */
46948 #include <math.h>
46949 #ifdef HAVE_IEEEFP_H
46950 #include <ieeefp.h>
46951 #endif
46954 main ()
46956 finitel(0);
46958 return 0;
46960 _ACEOF
46961 if ac_fn_cxx_try_compile "$LINENO"; then :
46962 glibcxx_cv_func_finitel_use=yes
46963 else
46964 glibcxx_cv_func_finitel_use=no
46966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46967 ac_ext=c
46968 ac_cpp='$CPP $CPPFLAGS'
46969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46978 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46980 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46981 for ac_func in finitel
46982 do :
46983 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46984 if test "x$ac_cv_func_finitel" = xyes; then :
46985 cat >>confdefs.h <<_ACEOF
46986 #define HAVE_FINITEL 1
46987 _ACEOF
46990 done
46992 else
46994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46995 $as_echo_n "checking for _finitel declaration... " >&6; }
46996 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46997 if ${glibcxx_cv_func__finitel_use+:} false; then :
46998 $as_echo_n "(cached) " >&6
46999 else
47002 ac_ext=cpp
47003 ac_cpp='$CXXCPP $CPPFLAGS'
47004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47009 /* end confdefs.h. */
47010 #include <math.h>
47011 #ifdef HAVE_IEEEFP_H
47012 #include <ieeefp.h>
47013 #endif
47016 main ()
47018 _finitel(0);
47020 return 0;
47022 _ACEOF
47023 if ac_fn_cxx_try_compile "$LINENO"; then :
47024 glibcxx_cv_func__finitel_use=yes
47025 else
47026 glibcxx_cv_func__finitel_use=no
47028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47029 ac_ext=c
47030 ac_cpp='$CPP $CPPFLAGS'
47031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
47040 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
47042 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47043 for ac_func in _finitel
47044 do :
47045 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
47046 if test "x$ac_cv_func__finitel" = xyes; then :
47047 cat >>confdefs.h <<_ACEOF
47048 #define HAVE__FINITEL 1
47049 _ACEOF
47052 done
47060 LIBS="$ac_save_LIBS"
47061 CXXFLAGS="$ac_save_CXXFLAGS"
47064 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47065 ac_save_CXXFLAGS="$CXXFLAGS"
47066 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
47070 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
47071 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
47072 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
47073 $as_echo_n "(cached) " >&6
47074 else
47077 ac_ext=cpp
47078 ac_cpp='$CXXCPP $CPPFLAGS'
47079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47084 /* end confdefs.h. */
47085 #include <stdlib.h>
47087 main ()
47089 at_quick_exit(0);
47091 return 0;
47093 _ACEOF
47094 if ac_fn_cxx_try_compile "$LINENO"; then :
47095 glibcxx_cv_func_at_quick_exit_use=yes
47096 else
47097 glibcxx_cv_func_at_quick_exit_use=no
47099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47100 ac_ext=c
47101 ac_cpp='$CPP $CPPFLAGS'
47102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
47111 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
47112 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
47113 for ac_func in at_quick_exit
47114 do :
47115 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
47116 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
47117 cat >>confdefs.h <<_ACEOF
47118 #define HAVE_AT_QUICK_EXIT 1
47119 _ACEOF
47122 done
47127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
47128 $as_echo_n "checking for quick_exit declaration... " >&6; }
47129 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
47130 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
47131 $as_echo_n "(cached) " >&6
47132 else
47135 ac_ext=cpp
47136 ac_cpp='$CXXCPP $CPPFLAGS'
47137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47142 /* end confdefs.h. */
47143 #include <stdlib.h>
47145 main ()
47147 quick_exit(0);
47149 return 0;
47151 _ACEOF
47152 if ac_fn_cxx_try_compile "$LINENO"; then :
47153 glibcxx_cv_func_quick_exit_use=yes
47154 else
47155 glibcxx_cv_func_quick_exit_use=no
47157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47158 ac_ext=c
47159 ac_cpp='$CPP $CPPFLAGS'
47160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
47169 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
47170 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
47171 for ac_func in quick_exit
47172 do :
47173 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47174 if test "x$ac_cv_func_quick_exit" = xyes; then :
47175 cat >>confdefs.h <<_ACEOF
47176 #define HAVE_QUICK_EXIT 1
47177 _ACEOF
47180 done
47185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47186 $as_echo_n "checking for strtold declaration... " >&6; }
47187 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47188 if ${glibcxx_cv_func_strtold_use+:} false; then :
47189 $as_echo_n "(cached) " >&6
47190 else
47193 ac_ext=cpp
47194 ac_cpp='$CXXCPP $CPPFLAGS'
47195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47200 /* end confdefs.h. */
47201 #include <stdlib.h>
47203 main ()
47205 strtold(0, 0);
47207 return 0;
47209 _ACEOF
47210 if ac_fn_cxx_try_compile "$LINENO"; then :
47211 glibcxx_cv_func_strtold_use=yes
47212 else
47213 glibcxx_cv_func_strtold_use=no
47215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47216 ac_ext=c
47217 ac_cpp='$CPP $CPPFLAGS'
47218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47227 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47228 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47229 for ac_func in strtold
47230 do :
47231 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47232 if test "x$ac_cv_func_strtold" = xyes; then :
47233 cat >>confdefs.h <<_ACEOF
47234 #define HAVE_STRTOLD 1
47235 _ACEOF
47238 done
47245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47246 $as_echo_n "checking for strtof declaration... " >&6; }
47247 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47248 if ${glibcxx_cv_func_strtof_use+:} false; then :
47249 $as_echo_n "(cached) " >&6
47250 else
47253 ac_ext=cpp
47254 ac_cpp='$CXXCPP $CPPFLAGS'
47255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47260 /* end confdefs.h. */
47261 #include <stdlib.h>
47263 main ()
47265 strtof(0, 0);
47267 return 0;
47269 _ACEOF
47270 if ac_fn_cxx_try_compile "$LINENO"; then :
47271 glibcxx_cv_func_strtof_use=yes
47272 else
47273 glibcxx_cv_func_strtof_use=no
47275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47276 ac_ext=c
47277 ac_cpp='$CPP $CPPFLAGS'
47278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47287 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47288 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47289 for ac_func in strtof
47290 do :
47291 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47292 if test "x$ac_cv_func_strtof" = xyes; then :
47293 cat >>confdefs.h <<_ACEOF
47294 #define HAVE_STRTOF 1
47295 _ACEOF
47298 done
47305 CXXFLAGS="$ac_save_CXXFLAGS"
47307 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
47309 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
47311 # We don't yet support AIX's TLS ABI.
47312 #GCC_CHECK_TLS
47318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
47319 $as_echo_n "checking for iconv... " >&6; }
47320 if ${am_cv_func_iconv+:} false; then :
47321 $as_echo_n "(cached) " >&6
47322 else
47324 am_cv_func_iconv="no, consider installing GNU libiconv"
47325 am_cv_lib_iconv=no
47326 am_save_CPPFLAGS="$CPPFLAGS"
47327 CPPFLAGS="$CPPFLAGS $INCICONV"
47328 if test x$gcc_no_link = xyes; then
47329 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47332 /* end confdefs.h. */
47333 #include <stdlib.h>
47334 #include <iconv.h>
47336 main ()
47338 iconv_t cd = iconv_open("","");
47339 iconv(cd,NULL,NULL,NULL,NULL);
47340 iconv_close(cd);
47342 return 0;
47344 _ACEOF
47345 if ac_fn_c_try_link "$LINENO"; then :
47346 am_cv_func_iconv=yes
47348 rm -f core conftest.err conftest.$ac_objext \
47349 conftest$ac_exeext conftest.$ac_ext
47350 CPPFLAGS="$am_save_CPPFLAGS"
47352 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
47353 for _libs in .libs _libs; do
47354 am_save_CPPFLAGS="$CPPFLAGS"
47355 am_save_LIBS="$LIBS"
47356 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
47357 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
47358 if test x$gcc_no_link = xyes; then
47359 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47362 /* end confdefs.h. */
47363 #include <stdlib.h>
47364 #include <iconv.h>
47366 main ()
47368 iconv_t cd = iconv_open("","");
47369 iconv(cd,NULL,NULL,NULL,NULL);
47370 iconv_close(cd);
47372 return 0;
47374 _ACEOF
47375 if ac_fn_c_try_link "$LINENO"; then :
47376 INCICONV="-I../libiconv/include"
47377 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47378 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47379 am_cv_lib_iconv=yes
47380 am_cv_func_iconv=yes
47382 rm -f core conftest.err conftest.$ac_objext \
47383 conftest$ac_exeext conftest.$ac_ext
47384 CPPFLAGS="$am_save_CPPFLAGS"
47385 LIBS="$am_save_LIBS"
47386 if test "$am_cv_func_iconv" = "yes"; then
47387 break
47389 done
47392 if test "$am_cv_func_iconv" != yes; then
47393 am_save_CPPFLAGS="$CPPFLAGS"
47394 am_save_LIBS="$LIBS"
47395 CPPFLAGS="$CPPFLAGS $INCICONV"
47396 LIBS="$LIBS $LIBICONV"
47397 if test x$gcc_no_link = xyes; then
47398 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47401 /* end confdefs.h. */
47402 #include <stdlib.h>
47403 #include <iconv.h>
47405 main ()
47407 iconv_t cd = iconv_open("","");
47408 iconv(cd,NULL,NULL,NULL,NULL);
47409 iconv_close(cd);
47411 return 0;
47413 _ACEOF
47414 if ac_fn_c_try_link "$LINENO"; then :
47415 am_cv_lib_iconv=yes
47416 am_cv_func_iconv=yes
47418 rm -f core conftest.err conftest.$ac_objext \
47419 conftest$ac_exeext conftest.$ac_ext
47420 CPPFLAGS="$am_save_CPPFLAGS"
47421 LIBS="$am_save_LIBS"
47425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47426 $as_echo "$am_cv_func_iconv" >&6; }
47427 if test "$am_cv_func_iconv" = yes; then
47429 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47432 if test "$am_cv_lib_iconv" = yes; then
47434 for element in $INCICONV; do
47435 haveit=
47436 for x in $CPPFLAGS; do
47438 acl_save_prefix="$prefix"
47439 prefix="$acl_final_prefix"
47440 acl_save_exec_prefix="$exec_prefix"
47441 exec_prefix="$acl_final_exec_prefix"
47442 eval x=\"$x\"
47443 exec_prefix="$acl_save_exec_prefix"
47444 prefix="$acl_save_prefix"
47446 if test "X$x" = "X$element"; then
47447 haveit=yes
47448 break
47450 done
47451 if test -z "$haveit"; then
47452 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47454 done
47456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47457 $as_echo_n "checking how to link with libiconv... " >&6; }
47458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47459 $as_echo "$LIBICONV" >&6; }
47460 else
47461 LIBICONV=
47462 LTLIBICONV=
47467 if test "$am_cv_func_iconv" = yes; then
47468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47469 $as_echo_n "checking for iconv declaration... " >&6; }
47470 if ${am_cv_proto_iconv+:} false; then :
47471 $as_echo_n "(cached) " >&6
47472 else
47474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47475 /* end confdefs.h. */
47477 #include <stdlib.h>
47478 #include <iconv.h>
47479 extern
47480 #ifdef __cplusplus
47482 #endif
47483 #if defined(__STDC__) || defined(__cplusplus)
47484 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47485 #else
47486 size_t iconv();
47487 #endif
47490 main ()
47494 return 0;
47496 _ACEOF
47497 if ac_fn_c_try_compile "$LINENO"; then :
47498 am_cv_proto_iconv_arg1=""
47499 else
47500 am_cv_proto_iconv_arg1="const"
47502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47503 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
47506 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47508 }$am_cv_proto_iconv" >&5
47509 $as_echo "${ac_t:-
47510 }$am_cv_proto_iconv" >&6; }
47512 cat >>confdefs.h <<_ACEOF
47513 #define ICONV_CONST $am_cv_proto_iconv_arg1
47514 _ACEOF
47520 *-darwin*)
47521 # Darwin versions vary, but the linker should work in a cross environment,
47522 # so we just check for all the features here.
47523 # Check for available headers.
47525 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47527 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47528 ac_save_CXXFLAGS="$CXXFLAGS"
47529 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47532 $as_echo_n "checking for sin in -lm... " >&6; }
47533 if ${ac_cv_lib_m_sin+:} false; then :
47534 $as_echo_n "(cached) " >&6
47535 else
47536 ac_check_lib_save_LIBS=$LIBS
47537 LIBS="-lm $LIBS"
47538 if test x$gcc_no_link = xyes; then
47539 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47542 /* end confdefs.h. */
47544 /* Override any GCC internal prototype to avoid an error.
47545 Use char because int might match the return type of a GCC
47546 builtin and then its argument prototype would still apply. */
47547 #ifdef __cplusplus
47548 extern "C"
47549 #endif
47550 char sin ();
47552 main ()
47554 return sin ();
47556 return 0;
47558 _ACEOF
47559 if ac_fn_c_try_link "$LINENO"; then :
47560 ac_cv_lib_m_sin=yes
47561 else
47562 ac_cv_lib_m_sin=no
47564 rm -f core conftest.err conftest.$ac_objext \
47565 conftest$ac_exeext conftest.$ac_ext
47566 LIBS=$ac_check_lib_save_LIBS
47568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47569 $as_echo "$ac_cv_lib_m_sin" >&6; }
47570 if test "x$ac_cv_lib_m_sin" = xyes; then :
47571 libm="-lm"
47574 ac_save_LIBS="$LIBS"
47575 LIBS="$LIBS $libm"
47579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47580 $as_echo_n "checking for isinf declaration... " >&6; }
47581 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47582 if ${glibcxx_cv_func_isinf_use+:} false; then :
47583 $as_echo_n "(cached) " >&6
47584 else
47587 ac_ext=cpp
47588 ac_cpp='$CXXCPP $CPPFLAGS'
47589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47594 /* end confdefs.h. */
47595 #include <math.h>
47596 #ifdef HAVE_IEEEFP_H
47597 #include <ieeefp.h>
47598 #endif
47601 main ()
47603 isinf(0);
47605 return 0;
47607 _ACEOF
47608 if ac_fn_cxx_try_compile "$LINENO"; then :
47609 glibcxx_cv_func_isinf_use=yes
47610 else
47611 glibcxx_cv_func_isinf_use=no
47613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47614 ac_ext=c
47615 ac_cpp='$CPP $CPPFLAGS'
47616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47625 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47627 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47628 for ac_func in isinf
47629 do :
47630 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47631 if test "x$ac_cv_func_isinf" = xyes; then :
47632 cat >>confdefs.h <<_ACEOF
47633 #define HAVE_ISINF 1
47634 _ACEOF
47637 done
47639 else
47641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47642 $as_echo_n "checking for _isinf declaration... " >&6; }
47643 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47644 if ${glibcxx_cv_func__isinf_use+:} false; then :
47645 $as_echo_n "(cached) " >&6
47646 else
47649 ac_ext=cpp
47650 ac_cpp='$CXXCPP $CPPFLAGS'
47651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47656 /* end confdefs.h. */
47657 #include <math.h>
47658 #ifdef HAVE_IEEEFP_H
47659 #include <ieeefp.h>
47660 #endif
47663 main ()
47665 _isinf(0);
47667 return 0;
47669 _ACEOF
47670 if ac_fn_cxx_try_compile "$LINENO"; then :
47671 glibcxx_cv_func__isinf_use=yes
47672 else
47673 glibcxx_cv_func__isinf_use=no
47675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47676 ac_ext=c
47677 ac_cpp='$CPP $CPPFLAGS'
47678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47687 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47689 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47690 for ac_func in _isinf
47691 do :
47692 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47693 if test "x$ac_cv_func__isinf" = xyes; then :
47694 cat >>confdefs.h <<_ACEOF
47695 #define HAVE__ISINF 1
47696 _ACEOF
47699 done
47708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47709 $as_echo_n "checking for isnan declaration... " >&6; }
47710 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47711 if ${glibcxx_cv_func_isnan_use+:} false; then :
47712 $as_echo_n "(cached) " >&6
47713 else
47716 ac_ext=cpp
47717 ac_cpp='$CXXCPP $CPPFLAGS'
47718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47723 /* end confdefs.h. */
47724 #include <math.h>
47725 #ifdef HAVE_IEEEFP_H
47726 #include <ieeefp.h>
47727 #endif
47730 main ()
47732 isnan(0);
47734 return 0;
47736 _ACEOF
47737 if ac_fn_cxx_try_compile "$LINENO"; then :
47738 glibcxx_cv_func_isnan_use=yes
47739 else
47740 glibcxx_cv_func_isnan_use=no
47742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47743 ac_ext=c
47744 ac_cpp='$CPP $CPPFLAGS'
47745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47754 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47756 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47757 for ac_func in isnan
47758 do :
47759 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47760 if test "x$ac_cv_func_isnan" = xyes; then :
47761 cat >>confdefs.h <<_ACEOF
47762 #define HAVE_ISNAN 1
47763 _ACEOF
47766 done
47768 else
47770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47771 $as_echo_n "checking for _isnan declaration... " >&6; }
47772 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47773 if ${glibcxx_cv_func__isnan_use+:} false; then :
47774 $as_echo_n "(cached) " >&6
47775 else
47778 ac_ext=cpp
47779 ac_cpp='$CXXCPP $CPPFLAGS'
47780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47785 /* end confdefs.h. */
47786 #include <math.h>
47787 #ifdef HAVE_IEEEFP_H
47788 #include <ieeefp.h>
47789 #endif
47792 main ()
47794 _isnan(0);
47796 return 0;
47798 _ACEOF
47799 if ac_fn_cxx_try_compile "$LINENO"; then :
47800 glibcxx_cv_func__isnan_use=yes
47801 else
47802 glibcxx_cv_func__isnan_use=no
47804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47805 ac_ext=c
47806 ac_cpp='$CPP $CPPFLAGS'
47807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47816 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47818 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47819 for ac_func in _isnan
47820 do :
47821 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47822 if test "x$ac_cv_func__isnan" = xyes; then :
47823 cat >>confdefs.h <<_ACEOF
47824 #define HAVE__ISNAN 1
47825 _ACEOF
47828 done
47837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47838 $as_echo_n "checking for finite declaration... " >&6; }
47839 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47840 if ${glibcxx_cv_func_finite_use+:} false; then :
47841 $as_echo_n "(cached) " >&6
47842 else
47845 ac_ext=cpp
47846 ac_cpp='$CXXCPP $CPPFLAGS'
47847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47852 /* end confdefs.h. */
47853 #include <math.h>
47854 #ifdef HAVE_IEEEFP_H
47855 #include <ieeefp.h>
47856 #endif
47859 main ()
47861 finite(0);
47863 return 0;
47865 _ACEOF
47866 if ac_fn_cxx_try_compile "$LINENO"; then :
47867 glibcxx_cv_func_finite_use=yes
47868 else
47869 glibcxx_cv_func_finite_use=no
47871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47872 ac_ext=c
47873 ac_cpp='$CPP $CPPFLAGS'
47874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47883 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47885 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47886 for ac_func in finite
47887 do :
47888 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47889 if test "x$ac_cv_func_finite" = xyes; then :
47890 cat >>confdefs.h <<_ACEOF
47891 #define HAVE_FINITE 1
47892 _ACEOF
47895 done
47897 else
47899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47900 $as_echo_n "checking for _finite declaration... " >&6; }
47901 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47902 if ${glibcxx_cv_func__finite_use+:} false; then :
47903 $as_echo_n "(cached) " >&6
47904 else
47907 ac_ext=cpp
47908 ac_cpp='$CXXCPP $CPPFLAGS'
47909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47914 /* end confdefs.h. */
47915 #include <math.h>
47916 #ifdef HAVE_IEEEFP_H
47917 #include <ieeefp.h>
47918 #endif
47921 main ()
47923 _finite(0);
47925 return 0;
47927 _ACEOF
47928 if ac_fn_cxx_try_compile "$LINENO"; then :
47929 glibcxx_cv_func__finite_use=yes
47930 else
47931 glibcxx_cv_func__finite_use=no
47933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47934 ac_ext=c
47935 ac_cpp='$CPP $CPPFLAGS'
47936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47945 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47947 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47948 for ac_func in _finite
47949 do :
47950 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47951 if test "x$ac_cv_func__finite" = xyes; then :
47952 cat >>confdefs.h <<_ACEOF
47953 #define HAVE__FINITE 1
47954 _ACEOF
47957 done
47966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47967 $as_echo_n "checking for sincos declaration... " >&6; }
47968 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47969 if ${glibcxx_cv_func_sincos_use+:} false; then :
47970 $as_echo_n "(cached) " >&6
47971 else
47974 ac_ext=cpp
47975 ac_cpp='$CXXCPP $CPPFLAGS'
47976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47981 /* end confdefs.h. */
47982 #include <math.h>
47984 main ()
47986 sincos(0, 0, 0);
47988 return 0;
47990 _ACEOF
47991 if ac_fn_cxx_try_compile "$LINENO"; then :
47992 glibcxx_cv_func_sincos_use=yes
47993 else
47994 glibcxx_cv_func_sincos_use=no
47996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47997 ac_ext=c
47998 ac_cpp='$CPP $CPPFLAGS'
47999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
48008 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
48010 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
48011 for ac_func in sincos
48012 do :
48013 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
48014 if test "x$ac_cv_func_sincos" = xyes; then :
48015 cat >>confdefs.h <<_ACEOF
48016 #define HAVE_SINCOS 1
48017 _ACEOF
48020 done
48022 else
48024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
48025 $as_echo_n "checking for _sincos declaration... " >&6; }
48026 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
48027 if ${glibcxx_cv_func__sincos_use+:} false; then :
48028 $as_echo_n "(cached) " >&6
48029 else
48032 ac_ext=cpp
48033 ac_cpp='$CXXCPP $CPPFLAGS'
48034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48039 /* end confdefs.h. */
48040 #include <math.h>
48042 main ()
48044 _sincos(0, 0, 0);
48046 return 0;
48048 _ACEOF
48049 if ac_fn_cxx_try_compile "$LINENO"; then :
48050 glibcxx_cv_func__sincos_use=yes
48051 else
48052 glibcxx_cv_func__sincos_use=no
48054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48055 ac_ext=c
48056 ac_cpp='$CPP $CPPFLAGS'
48057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
48066 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
48068 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
48069 for ac_func in _sincos
48070 do :
48071 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
48072 if test "x$ac_cv_func__sincos" = xyes; then :
48073 cat >>confdefs.h <<_ACEOF
48074 #define HAVE__SINCOS 1
48075 _ACEOF
48078 done
48087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
48088 $as_echo_n "checking for fpclass declaration... " >&6; }
48089 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
48090 if ${glibcxx_cv_func_fpclass_use+:} false; then :
48091 $as_echo_n "(cached) " >&6
48092 else
48095 ac_ext=cpp
48096 ac_cpp='$CXXCPP $CPPFLAGS'
48097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48102 /* end confdefs.h. */
48103 #include <math.h>
48104 #ifdef HAVE_IEEEFP_H
48105 #include <ieeefp.h>
48106 #endif
48109 main ()
48111 fpclass(0);
48113 return 0;
48115 _ACEOF
48116 if ac_fn_cxx_try_compile "$LINENO"; then :
48117 glibcxx_cv_func_fpclass_use=yes
48118 else
48119 glibcxx_cv_func_fpclass_use=no
48121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48122 ac_ext=c
48123 ac_cpp='$CPP $CPPFLAGS'
48124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
48133 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
48135 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
48136 for ac_func in fpclass
48137 do :
48138 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
48139 if test "x$ac_cv_func_fpclass" = xyes; then :
48140 cat >>confdefs.h <<_ACEOF
48141 #define HAVE_FPCLASS 1
48142 _ACEOF
48145 done
48147 else
48149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
48150 $as_echo_n "checking for _fpclass declaration... " >&6; }
48151 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
48152 if ${glibcxx_cv_func__fpclass_use+:} false; then :
48153 $as_echo_n "(cached) " >&6
48154 else
48157 ac_ext=cpp
48158 ac_cpp='$CXXCPP $CPPFLAGS'
48159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48164 /* end confdefs.h. */
48165 #include <math.h>
48166 #ifdef HAVE_IEEEFP_H
48167 #include <ieeefp.h>
48168 #endif
48171 main ()
48173 _fpclass(0);
48175 return 0;
48177 _ACEOF
48178 if ac_fn_cxx_try_compile "$LINENO"; then :
48179 glibcxx_cv_func__fpclass_use=yes
48180 else
48181 glibcxx_cv_func__fpclass_use=no
48183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48184 ac_ext=c
48185 ac_cpp='$CPP $CPPFLAGS'
48186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48195 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48197 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48198 for ac_func in _fpclass
48199 do :
48200 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48201 if test "x$ac_cv_func__fpclass" = xyes; then :
48202 cat >>confdefs.h <<_ACEOF
48203 #define HAVE__FPCLASS 1
48204 _ACEOF
48207 done
48216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48217 $as_echo_n "checking for qfpclass declaration... " >&6; }
48218 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48219 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
48220 $as_echo_n "(cached) " >&6
48221 else
48224 ac_ext=cpp
48225 ac_cpp='$CXXCPP $CPPFLAGS'
48226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48231 /* end confdefs.h. */
48232 #include <math.h>
48233 #ifdef HAVE_IEEEFP_H
48234 #include <ieeefp.h>
48235 #endif
48238 main ()
48240 qfpclass(0);
48242 return 0;
48244 _ACEOF
48245 if ac_fn_cxx_try_compile "$LINENO"; then :
48246 glibcxx_cv_func_qfpclass_use=yes
48247 else
48248 glibcxx_cv_func_qfpclass_use=no
48250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48251 ac_ext=c
48252 ac_cpp='$CPP $CPPFLAGS'
48253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48262 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48264 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48265 for ac_func in qfpclass
48266 do :
48267 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48268 if test "x$ac_cv_func_qfpclass" = xyes; then :
48269 cat >>confdefs.h <<_ACEOF
48270 #define HAVE_QFPCLASS 1
48271 _ACEOF
48274 done
48276 else
48278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48279 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48280 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48281 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
48282 $as_echo_n "(cached) " >&6
48283 else
48286 ac_ext=cpp
48287 ac_cpp='$CXXCPP $CPPFLAGS'
48288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48293 /* end confdefs.h. */
48294 #include <math.h>
48295 #ifdef HAVE_IEEEFP_H
48296 #include <ieeefp.h>
48297 #endif
48300 main ()
48302 _qfpclass(0);
48304 return 0;
48306 _ACEOF
48307 if ac_fn_cxx_try_compile "$LINENO"; then :
48308 glibcxx_cv_func__qfpclass_use=yes
48309 else
48310 glibcxx_cv_func__qfpclass_use=no
48312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48313 ac_ext=c
48314 ac_cpp='$CPP $CPPFLAGS'
48315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48324 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48326 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48327 for ac_func in _qfpclass
48328 do :
48329 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48330 if test "x$ac_cv_func__qfpclass" = xyes; then :
48331 cat >>confdefs.h <<_ACEOF
48332 #define HAVE__QFPCLASS 1
48333 _ACEOF
48336 done
48345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48346 $as_echo_n "checking for hypot declaration... " >&6; }
48347 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48348 if ${glibcxx_cv_func_hypot_use+:} false; then :
48349 $as_echo_n "(cached) " >&6
48350 else
48353 ac_ext=cpp
48354 ac_cpp='$CXXCPP $CPPFLAGS'
48355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48360 /* end confdefs.h. */
48361 #include <math.h>
48363 main ()
48365 hypot(0, 0);
48367 return 0;
48369 _ACEOF
48370 if ac_fn_cxx_try_compile "$LINENO"; then :
48371 glibcxx_cv_func_hypot_use=yes
48372 else
48373 glibcxx_cv_func_hypot_use=no
48375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48376 ac_ext=c
48377 ac_cpp='$CPP $CPPFLAGS'
48378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48387 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48389 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48390 for ac_func in hypot
48391 do :
48392 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48393 if test "x$ac_cv_func_hypot" = xyes; then :
48394 cat >>confdefs.h <<_ACEOF
48395 #define HAVE_HYPOT 1
48396 _ACEOF
48399 done
48401 else
48403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48404 $as_echo_n "checking for _hypot declaration... " >&6; }
48405 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48406 if ${glibcxx_cv_func__hypot_use+:} false; then :
48407 $as_echo_n "(cached) " >&6
48408 else
48411 ac_ext=cpp
48412 ac_cpp='$CXXCPP $CPPFLAGS'
48413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48418 /* end confdefs.h. */
48419 #include <math.h>
48421 main ()
48423 _hypot(0, 0);
48425 return 0;
48427 _ACEOF
48428 if ac_fn_cxx_try_compile "$LINENO"; then :
48429 glibcxx_cv_func__hypot_use=yes
48430 else
48431 glibcxx_cv_func__hypot_use=no
48433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48434 ac_ext=c
48435 ac_cpp='$CPP $CPPFLAGS'
48436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48445 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48447 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48448 for ac_func in _hypot
48449 do :
48450 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48451 if test "x$ac_cv_func__hypot" = xyes; then :
48452 cat >>confdefs.h <<_ACEOF
48453 #define HAVE__HYPOT 1
48454 _ACEOF
48457 done
48466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48467 $as_echo_n "checking for float trig functions... " >&6; }
48468 if ${glibcxx_cv_func_float_trig_use+:} false; then :
48469 $as_echo_n "(cached) " >&6
48470 else
48473 ac_ext=cpp
48474 ac_cpp='$CXXCPP $CPPFLAGS'
48475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48480 /* end confdefs.h. */
48481 #include <math.h>
48483 main ()
48485 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48487 return 0;
48489 _ACEOF
48490 if ac_fn_cxx_try_compile "$LINENO"; then :
48491 glibcxx_cv_func_float_trig_use=yes
48492 else
48493 glibcxx_cv_func_float_trig_use=no
48495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48496 ac_ext=c
48497 ac_cpp='$CPP $CPPFLAGS'
48498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48505 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48506 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48507 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48508 do :
48509 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48510 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48511 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48512 cat >>confdefs.h <<_ACEOF
48513 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48514 _ACEOF
48517 done
48519 else
48520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48521 $as_echo_n "checking for _float trig functions... " >&6; }
48522 if ${glibcxx_cv_func__float_trig_use+:} false; then :
48523 $as_echo_n "(cached) " >&6
48524 else
48527 ac_ext=cpp
48528 ac_cpp='$CXXCPP $CPPFLAGS'
48529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48534 /* end confdefs.h. */
48535 #include <math.h>
48537 main ()
48539 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48541 return 0;
48543 _ACEOF
48544 if ac_fn_cxx_try_compile "$LINENO"; then :
48545 glibcxx_cv_func__float_trig_use=yes
48546 else
48547 glibcxx_cv_func__float_trig_use=no
48549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48550 ac_ext=c
48551 ac_cpp='$CPP $CPPFLAGS'
48552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48559 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48560 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48561 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48562 do :
48563 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48564 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48565 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48566 cat >>confdefs.h <<_ACEOF
48567 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48568 _ACEOF
48571 done
48580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48581 $as_echo_n "checking for float round functions... " >&6; }
48582 if ${glibcxx_cv_func_float_round_use+:} false; then :
48583 $as_echo_n "(cached) " >&6
48584 else
48587 ac_ext=cpp
48588 ac_cpp='$CXXCPP $CPPFLAGS'
48589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48594 /* end confdefs.h. */
48595 #include <math.h>
48597 main ()
48599 ceilf (0); floorf (0);
48601 return 0;
48603 _ACEOF
48604 if ac_fn_cxx_try_compile "$LINENO"; then :
48605 glibcxx_cv_func_float_round_use=yes
48606 else
48607 glibcxx_cv_func_float_round_use=no
48609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48610 ac_ext=c
48611 ac_cpp='$CPP $CPPFLAGS'
48612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48619 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48620 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48621 for ac_func in ceilf floorf
48622 do :
48623 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48624 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48625 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48626 cat >>confdefs.h <<_ACEOF
48627 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48628 _ACEOF
48631 done
48633 else
48634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48635 $as_echo_n "checking for _float round functions... " >&6; }
48636 if ${glibcxx_cv_func__float_round_use+:} false; then :
48637 $as_echo_n "(cached) " >&6
48638 else
48641 ac_ext=cpp
48642 ac_cpp='$CXXCPP $CPPFLAGS'
48643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48648 /* end confdefs.h. */
48649 #include <math.h>
48651 main ()
48653 _ceilf (0); _floorf (0);
48655 return 0;
48657 _ACEOF
48658 if ac_fn_cxx_try_compile "$LINENO"; then :
48659 glibcxx_cv_func__float_round_use=yes
48660 else
48661 glibcxx_cv_func__float_round_use=no
48663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48664 ac_ext=c
48665 ac_cpp='$CPP $CPPFLAGS'
48666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48673 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48674 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48675 for ac_func in _ceilf _floorf
48676 do :
48677 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48678 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48679 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48680 cat >>confdefs.h <<_ACEOF
48681 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48682 _ACEOF
48685 done
48695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48696 $as_echo_n "checking for expf declaration... " >&6; }
48697 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48698 if ${glibcxx_cv_func_expf_use+:} false; then :
48699 $as_echo_n "(cached) " >&6
48700 else
48703 ac_ext=cpp
48704 ac_cpp='$CXXCPP $CPPFLAGS'
48705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48710 /* end confdefs.h. */
48711 #include <math.h>
48712 #ifdef HAVE_IEEEFP_H
48713 #include <ieeefp.h>
48714 #endif
48717 main ()
48719 expf(0);
48721 return 0;
48723 _ACEOF
48724 if ac_fn_cxx_try_compile "$LINENO"; then :
48725 glibcxx_cv_func_expf_use=yes
48726 else
48727 glibcxx_cv_func_expf_use=no
48729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48730 ac_ext=c
48731 ac_cpp='$CPP $CPPFLAGS'
48732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48741 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48743 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48744 for ac_func in expf
48745 do :
48746 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48747 if test "x$ac_cv_func_expf" = xyes; then :
48748 cat >>confdefs.h <<_ACEOF
48749 #define HAVE_EXPF 1
48750 _ACEOF
48753 done
48755 else
48757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48758 $as_echo_n "checking for _expf declaration... " >&6; }
48759 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48760 if ${glibcxx_cv_func__expf_use+:} false; then :
48761 $as_echo_n "(cached) " >&6
48762 else
48765 ac_ext=cpp
48766 ac_cpp='$CXXCPP $CPPFLAGS'
48767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48772 /* end confdefs.h. */
48773 #include <math.h>
48774 #ifdef HAVE_IEEEFP_H
48775 #include <ieeefp.h>
48776 #endif
48779 main ()
48781 _expf(0);
48783 return 0;
48785 _ACEOF
48786 if ac_fn_cxx_try_compile "$LINENO"; then :
48787 glibcxx_cv_func__expf_use=yes
48788 else
48789 glibcxx_cv_func__expf_use=no
48791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48792 ac_ext=c
48793 ac_cpp='$CPP $CPPFLAGS'
48794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48803 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48805 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48806 for ac_func in _expf
48807 do :
48808 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48809 if test "x$ac_cv_func__expf" = xyes; then :
48810 cat >>confdefs.h <<_ACEOF
48811 #define HAVE__EXPF 1
48812 _ACEOF
48815 done
48824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48825 $as_echo_n "checking for isnanf declaration... " >&6; }
48826 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48827 if ${glibcxx_cv_func_isnanf_use+:} false; then :
48828 $as_echo_n "(cached) " >&6
48829 else
48832 ac_ext=cpp
48833 ac_cpp='$CXXCPP $CPPFLAGS'
48834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48839 /* end confdefs.h. */
48840 #include <math.h>
48841 #ifdef HAVE_IEEEFP_H
48842 #include <ieeefp.h>
48843 #endif
48846 main ()
48848 isnanf(0);
48850 return 0;
48852 _ACEOF
48853 if ac_fn_cxx_try_compile "$LINENO"; then :
48854 glibcxx_cv_func_isnanf_use=yes
48855 else
48856 glibcxx_cv_func_isnanf_use=no
48858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48859 ac_ext=c
48860 ac_cpp='$CPP $CPPFLAGS'
48861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48870 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48872 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48873 for ac_func in isnanf
48874 do :
48875 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48876 if test "x$ac_cv_func_isnanf" = xyes; then :
48877 cat >>confdefs.h <<_ACEOF
48878 #define HAVE_ISNANF 1
48879 _ACEOF
48882 done
48884 else
48886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48887 $as_echo_n "checking for _isnanf declaration... " >&6; }
48888 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48889 if ${glibcxx_cv_func__isnanf_use+:} false; then :
48890 $as_echo_n "(cached) " >&6
48891 else
48894 ac_ext=cpp
48895 ac_cpp='$CXXCPP $CPPFLAGS'
48896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48901 /* end confdefs.h. */
48902 #include <math.h>
48903 #ifdef HAVE_IEEEFP_H
48904 #include <ieeefp.h>
48905 #endif
48908 main ()
48910 _isnanf(0);
48912 return 0;
48914 _ACEOF
48915 if ac_fn_cxx_try_compile "$LINENO"; then :
48916 glibcxx_cv_func__isnanf_use=yes
48917 else
48918 glibcxx_cv_func__isnanf_use=no
48920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48921 ac_ext=c
48922 ac_cpp='$CPP $CPPFLAGS'
48923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48932 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48934 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48935 for ac_func in _isnanf
48936 do :
48937 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48938 if test "x$ac_cv_func__isnanf" = xyes; then :
48939 cat >>confdefs.h <<_ACEOF
48940 #define HAVE__ISNANF 1
48941 _ACEOF
48944 done
48953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48954 $as_echo_n "checking for isinff declaration... " >&6; }
48955 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48956 if ${glibcxx_cv_func_isinff_use+:} false; then :
48957 $as_echo_n "(cached) " >&6
48958 else
48961 ac_ext=cpp
48962 ac_cpp='$CXXCPP $CPPFLAGS'
48963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48968 /* end confdefs.h. */
48969 #include <math.h>
48970 #ifdef HAVE_IEEEFP_H
48971 #include <ieeefp.h>
48972 #endif
48975 main ()
48977 isinff(0);
48979 return 0;
48981 _ACEOF
48982 if ac_fn_cxx_try_compile "$LINENO"; then :
48983 glibcxx_cv_func_isinff_use=yes
48984 else
48985 glibcxx_cv_func_isinff_use=no
48987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48988 ac_ext=c
48989 ac_cpp='$CPP $CPPFLAGS'
48990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48999 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
49001 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
49002 for ac_func in isinff
49003 do :
49004 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
49005 if test "x$ac_cv_func_isinff" = xyes; then :
49006 cat >>confdefs.h <<_ACEOF
49007 #define HAVE_ISINFF 1
49008 _ACEOF
49011 done
49013 else
49015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
49016 $as_echo_n "checking for _isinff declaration... " >&6; }
49017 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
49018 if ${glibcxx_cv_func__isinff_use+:} false; then :
49019 $as_echo_n "(cached) " >&6
49020 else
49023 ac_ext=cpp
49024 ac_cpp='$CXXCPP $CPPFLAGS'
49025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49030 /* end confdefs.h. */
49031 #include <math.h>
49032 #ifdef HAVE_IEEEFP_H
49033 #include <ieeefp.h>
49034 #endif
49037 main ()
49039 _isinff(0);
49041 return 0;
49043 _ACEOF
49044 if ac_fn_cxx_try_compile "$LINENO"; then :
49045 glibcxx_cv_func__isinff_use=yes
49046 else
49047 glibcxx_cv_func__isinff_use=no
49049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49050 ac_ext=c
49051 ac_cpp='$CPP $CPPFLAGS'
49052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
49061 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
49063 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
49064 for ac_func in _isinff
49065 do :
49066 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
49067 if test "x$ac_cv_func__isinff" = xyes; then :
49068 cat >>confdefs.h <<_ACEOF
49069 #define HAVE__ISINFF 1
49070 _ACEOF
49073 done
49082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
49083 $as_echo_n "checking for atan2f declaration... " >&6; }
49084 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49085 if ${glibcxx_cv_func_atan2f_use+:} false; then :
49086 $as_echo_n "(cached) " >&6
49087 else
49090 ac_ext=cpp
49091 ac_cpp='$CXXCPP $CPPFLAGS'
49092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49097 /* end confdefs.h. */
49098 #include <math.h>
49100 main ()
49102 atan2f(0, 0);
49104 return 0;
49106 _ACEOF
49107 if ac_fn_cxx_try_compile "$LINENO"; then :
49108 glibcxx_cv_func_atan2f_use=yes
49109 else
49110 glibcxx_cv_func_atan2f_use=no
49112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49113 ac_ext=c
49114 ac_cpp='$CPP $CPPFLAGS'
49115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
49124 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
49126 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49127 for ac_func in atan2f
49128 do :
49129 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
49130 if test "x$ac_cv_func_atan2f" = xyes; then :
49131 cat >>confdefs.h <<_ACEOF
49132 #define HAVE_ATAN2F 1
49133 _ACEOF
49136 done
49138 else
49140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
49141 $as_echo_n "checking for _atan2f declaration... " >&6; }
49142 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49143 if ${glibcxx_cv_func__atan2f_use+:} false; then :
49144 $as_echo_n "(cached) " >&6
49145 else
49148 ac_ext=cpp
49149 ac_cpp='$CXXCPP $CPPFLAGS'
49150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49155 /* end confdefs.h. */
49156 #include <math.h>
49158 main ()
49160 _atan2f(0, 0);
49162 return 0;
49164 _ACEOF
49165 if ac_fn_cxx_try_compile "$LINENO"; then :
49166 glibcxx_cv_func__atan2f_use=yes
49167 else
49168 glibcxx_cv_func__atan2f_use=no
49170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49171 ac_ext=c
49172 ac_cpp='$CPP $CPPFLAGS'
49173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49182 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49184 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49185 for ac_func in _atan2f
49186 do :
49187 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49188 if test "x$ac_cv_func__atan2f" = xyes; then :
49189 cat >>confdefs.h <<_ACEOF
49190 #define HAVE__ATAN2F 1
49191 _ACEOF
49194 done
49203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49204 $as_echo_n "checking for fabsf declaration... " >&6; }
49205 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49206 if ${glibcxx_cv_func_fabsf_use+:} false; then :
49207 $as_echo_n "(cached) " >&6
49208 else
49211 ac_ext=cpp
49212 ac_cpp='$CXXCPP $CPPFLAGS'
49213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49218 /* end confdefs.h. */
49219 #include <math.h>
49220 #ifdef HAVE_IEEEFP_H
49221 #include <ieeefp.h>
49222 #endif
49225 main ()
49227 fabsf(0);
49229 return 0;
49231 _ACEOF
49232 if ac_fn_cxx_try_compile "$LINENO"; then :
49233 glibcxx_cv_func_fabsf_use=yes
49234 else
49235 glibcxx_cv_func_fabsf_use=no
49237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49238 ac_ext=c
49239 ac_cpp='$CPP $CPPFLAGS'
49240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49249 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49251 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49252 for ac_func in fabsf
49253 do :
49254 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49255 if test "x$ac_cv_func_fabsf" = xyes; then :
49256 cat >>confdefs.h <<_ACEOF
49257 #define HAVE_FABSF 1
49258 _ACEOF
49261 done
49263 else
49265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49266 $as_echo_n "checking for _fabsf declaration... " >&6; }
49267 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49268 if ${glibcxx_cv_func__fabsf_use+:} false; then :
49269 $as_echo_n "(cached) " >&6
49270 else
49273 ac_ext=cpp
49274 ac_cpp='$CXXCPP $CPPFLAGS'
49275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49280 /* end confdefs.h. */
49281 #include <math.h>
49282 #ifdef HAVE_IEEEFP_H
49283 #include <ieeefp.h>
49284 #endif
49287 main ()
49289 _fabsf(0);
49291 return 0;
49293 _ACEOF
49294 if ac_fn_cxx_try_compile "$LINENO"; then :
49295 glibcxx_cv_func__fabsf_use=yes
49296 else
49297 glibcxx_cv_func__fabsf_use=no
49299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49300 ac_ext=c
49301 ac_cpp='$CPP $CPPFLAGS'
49302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49311 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49313 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49314 for ac_func in _fabsf
49315 do :
49316 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49317 if test "x$ac_cv_func__fabsf" = xyes; then :
49318 cat >>confdefs.h <<_ACEOF
49319 #define HAVE__FABSF 1
49320 _ACEOF
49323 done
49332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49333 $as_echo_n "checking for fmodf declaration... " >&6; }
49334 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49335 if ${glibcxx_cv_func_fmodf_use+:} false; then :
49336 $as_echo_n "(cached) " >&6
49337 else
49340 ac_ext=cpp
49341 ac_cpp='$CXXCPP $CPPFLAGS'
49342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49347 /* end confdefs.h. */
49348 #include <math.h>
49350 main ()
49352 fmodf(0, 0);
49354 return 0;
49356 _ACEOF
49357 if ac_fn_cxx_try_compile "$LINENO"; then :
49358 glibcxx_cv_func_fmodf_use=yes
49359 else
49360 glibcxx_cv_func_fmodf_use=no
49362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49363 ac_ext=c
49364 ac_cpp='$CPP $CPPFLAGS'
49365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49374 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49376 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49377 for ac_func in fmodf
49378 do :
49379 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49380 if test "x$ac_cv_func_fmodf" = xyes; then :
49381 cat >>confdefs.h <<_ACEOF
49382 #define HAVE_FMODF 1
49383 _ACEOF
49386 done
49388 else
49390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49391 $as_echo_n "checking for _fmodf declaration... " >&6; }
49392 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49393 if ${glibcxx_cv_func__fmodf_use+:} false; then :
49394 $as_echo_n "(cached) " >&6
49395 else
49398 ac_ext=cpp
49399 ac_cpp='$CXXCPP $CPPFLAGS'
49400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49405 /* end confdefs.h. */
49406 #include <math.h>
49408 main ()
49410 _fmodf(0, 0);
49412 return 0;
49414 _ACEOF
49415 if ac_fn_cxx_try_compile "$LINENO"; then :
49416 glibcxx_cv_func__fmodf_use=yes
49417 else
49418 glibcxx_cv_func__fmodf_use=no
49420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49421 ac_ext=c
49422 ac_cpp='$CPP $CPPFLAGS'
49423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49432 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49434 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49435 for ac_func in _fmodf
49436 do :
49437 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49438 if test "x$ac_cv_func__fmodf" = xyes; then :
49439 cat >>confdefs.h <<_ACEOF
49440 #define HAVE__FMODF 1
49441 _ACEOF
49444 done
49453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49454 $as_echo_n "checking for frexpf declaration... " >&6; }
49455 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49456 if ${glibcxx_cv_func_frexpf_use+:} false; then :
49457 $as_echo_n "(cached) " >&6
49458 else
49461 ac_ext=cpp
49462 ac_cpp='$CXXCPP $CPPFLAGS'
49463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49468 /* end confdefs.h. */
49469 #include <math.h>
49471 main ()
49473 frexpf(0, 0);
49475 return 0;
49477 _ACEOF
49478 if ac_fn_cxx_try_compile "$LINENO"; then :
49479 glibcxx_cv_func_frexpf_use=yes
49480 else
49481 glibcxx_cv_func_frexpf_use=no
49483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49484 ac_ext=c
49485 ac_cpp='$CPP $CPPFLAGS'
49486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49495 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49497 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49498 for ac_func in frexpf
49499 do :
49500 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49501 if test "x$ac_cv_func_frexpf" = xyes; then :
49502 cat >>confdefs.h <<_ACEOF
49503 #define HAVE_FREXPF 1
49504 _ACEOF
49507 done
49509 else
49511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49512 $as_echo_n "checking for _frexpf declaration... " >&6; }
49513 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49514 if ${glibcxx_cv_func__frexpf_use+:} false; then :
49515 $as_echo_n "(cached) " >&6
49516 else
49519 ac_ext=cpp
49520 ac_cpp='$CXXCPP $CPPFLAGS'
49521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49526 /* end confdefs.h. */
49527 #include <math.h>
49529 main ()
49531 _frexpf(0, 0);
49533 return 0;
49535 _ACEOF
49536 if ac_fn_cxx_try_compile "$LINENO"; then :
49537 glibcxx_cv_func__frexpf_use=yes
49538 else
49539 glibcxx_cv_func__frexpf_use=no
49541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49542 ac_ext=c
49543 ac_cpp='$CPP $CPPFLAGS'
49544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49553 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49555 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49556 for ac_func in _frexpf
49557 do :
49558 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49559 if test "x$ac_cv_func__frexpf" = xyes; then :
49560 cat >>confdefs.h <<_ACEOF
49561 #define HAVE__FREXPF 1
49562 _ACEOF
49565 done
49574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49575 $as_echo_n "checking for hypotf declaration... " >&6; }
49576 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49577 if ${glibcxx_cv_func_hypotf_use+:} false; then :
49578 $as_echo_n "(cached) " >&6
49579 else
49582 ac_ext=cpp
49583 ac_cpp='$CXXCPP $CPPFLAGS'
49584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49589 /* end confdefs.h. */
49590 #include <math.h>
49592 main ()
49594 hypotf(0, 0);
49596 return 0;
49598 _ACEOF
49599 if ac_fn_cxx_try_compile "$LINENO"; then :
49600 glibcxx_cv_func_hypotf_use=yes
49601 else
49602 glibcxx_cv_func_hypotf_use=no
49604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49605 ac_ext=c
49606 ac_cpp='$CPP $CPPFLAGS'
49607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49616 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49618 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49619 for ac_func in hypotf
49620 do :
49621 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49622 if test "x$ac_cv_func_hypotf" = xyes; then :
49623 cat >>confdefs.h <<_ACEOF
49624 #define HAVE_HYPOTF 1
49625 _ACEOF
49628 done
49630 else
49632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49633 $as_echo_n "checking for _hypotf declaration... " >&6; }
49634 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49635 if ${glibcxx_cv_func__hypotf_use+:} false; then :
49636 $as_echo_n "(cached) " >&6
49637 else
49640 ac_ext=cpp
49641 ac_cpp='$CXXCPP $CPPFLAGS'
49642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49647 /* end confdefs.h. */
49648 #include <math.h>
49650 main ()
49652 _hypotf(0, 0);
49654 return 0;
49656 _ACEOF
49657 if ac_fn_cxx_try_compile "$LINENO"; then :
49658 glibcxx_cv_func__hypotf_use=yes
49659 else
49660 glibcxx_cv_func__hypotf_use=no
49662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49663 ac_ext=c
49664 ac_cpp='$CPP $CPPFLAGS'
49665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49674 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49676 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49677 for ac_func in _hypotf
49678 do :
49679 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49680 if test "x$ac_cv_func__hypotf" = xyes; then :
49681 cat >>confdefs.h <<_ACEOF
49682 #define HAVE__HYPOTF 1
49683 _ACEOF
49686 done
49695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49696 $as_echo_n "checking for ldexpf declaration... " >&6; }
49697 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49698 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
49699 $as_echo_n "(cached) " >&6
49700 else
49703 ac_ext=cpp
49704 ac_cpp='$CXXCPP $CPPFLAGS'
49705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49710 /* end confdefs.h. */
49711 #include <math.h>
49713 main ()
49715 ldexpf(0, 0);
49717 return 0;
49719 _ACEOF
49720 if ac_fn_cxx_try_compile "$LINENO"; then :
49721 glibcxx_cv_func_ldexpf_use=yes
49722 else
49723 glibcxx_cv_func_ldexpf_use=no
49725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49726 ac_ext=c
49727 ac_cpp='$CPP $CPPFLAGS'
49728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49737 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49739 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49740 for ac_func in ldexpf
49741 do :
49742 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49743 if test "x$ac_cv_func_ldexpf" = xyes; then :
49744 cat >>confdefs.h <<_ACEOF
49745 #define HAVE_LDEXPF 1
49746 _ACEOF
49749 done
49751 else
49753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49754 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49755 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49756 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
49757 $as_echo_n "(cached) " >&6
49758 else
49761 ac_ext=cpp
49762 ac_cpp='$CXXCPP $CPPFLAGS'
49763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49768 /* end confdefs.h. */
49769 #include <math.h>
49771 main ()
49773 _ldexpf(0, 0);
49775 return 0;
49777 _ACEOF
49778 if ac_fn_cxx_try_compile "$LINENO"; then :
49779 glibcxx_cv_func__ldexpf_use=yes
49780 else
49781 glibcxx_cv_func__ldexpf_use=no
49783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49784 ac_ext=c
49785 ac_cpp='$CPP $CPPFLAGS'
49786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49795 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49797 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49798 for ac_func in _ldexpf
49799 do :
49800 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49801 if test "x$ac_cv_func__ldexpf" = xyes; then :
49802 cat >>confdefs.h <<_ACEOF
49803 #define HAVE__LDEXPF 1
49804 _ACEOF
49807 done
49816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49817 $as_echo_n "checking for logf declaration... " >&6; }
49818 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49819 if ${glibcxx_cv_func_logf_use+:} false; then :
49820 $as_echo_n "(cached) " >&6
49821 else
49824 ac_ext=cpp
49825 ac_cpp='$CXXCPP $CPPFLAGS'
49826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49831 /* end confdefs.h. */
49832 #include <math.h>
49833 #ifdef HAVE_IEEEFP_H
49834 #include <ieeefp.h>
49835 #endif
49838 main ()
49840 logf(0);
49842 return 0;
49844 _ACEOF
49845 if ac_fn_cxx_try_compile "$LINENO"; then :
49846 glibcxx_cv_func_logf_use=yes
49847 else
49848 glibcxx_cv_func_logf_use=no
49850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49851 ac_ext=c
49852 ac_cpp='$CPP $CPPFLAGS'
49853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49862 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49864 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49865 for ac_func in logf
49866 do :
49867 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49868 if test "x$ac_cv_func_logf" = xyes; then :
49869 cat >>confdefs.h <<_ACEOF
49870 #define HAVE_LOGF 1
49871 _ACEOF
49874 done
49876 else
49878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49879 $as_echo_n "checking for _logf declaration... " >&6; }
49880 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49881 if ${glibcxx_cv_func__logf_use+:} false; then :
49882 $as_echo_n "(cached) " >&6
49883 else
49886 ac_ext=cpp
49887 ac_cpp='$CXXCPP $CPPFLAGS'
49888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49893 /* end confdefs.h. */
49894 #include <math.h>
49895 #ifdef HAVE_IEEEFP_H
49896 #include <ieeefp.h>
49897 #endif
49900 main ()
49902 _logf(0);
49904 return 0;
49906 _ACEOF
49907 if ac_fn_cxx_try_compile "$LINENO"; then :
49908 glibcxx_cv_func__logf_use=yes
49909 else
49910 glibcxx_cv_func__logf_use=no
49912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49913 ac_ext=c
49914 ac_cpp='$CPP $CPPFLAGS'
49915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49924 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49926 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49927 for ac_func in _logf
49928 do :
49929 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49930 if test "x$ac_cv_func__logf" = xyes; then :
49931 cat >>confdefs.h <<_ACEOF
49932 #define HAVE__LOGF 1
49933 _ACEOF
49936 done
49945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49946 $as_echo_n "checking for log10f declaration... " >&6; }
49947 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49948 if ${glibcxx_cv_func_log10f_use+:} false; then :
49949 $as_echo_n "(cached) " >&6
49950 else
49953 ac_ext=cpp
49954 ac_cpp='$CXXCPP $CPPFLAGS'
49955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49960 /* end confdefs.h. */
49961 #include <math.h>
49962 #ifdef HAVE_IEEEFP_H
49963 #include <ieeefp.h>
49964 #endif
49967 main ()
49969 log10f(0);
49971 return 0;
49973 _ACEOF
49974 if ac_fn_cxx_try_compile "$LINENO"; then :
49975 glibcxx_cv_func_log10f_use=yes
49976 else
49977 glibcxx_cv_func_log10f_use=no
49979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49980 ac_ext=c
49981 ac_cpp='$CPP $CPPFLAGS'
49982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49991 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49993 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49994 for ac_func in log10f
49995 do :
49996 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49997 if test "x$ac_cv_func_log10f" = xyes; then :
49998 cat >>confdefs.h <<_ACEOF
49999 #define HAVE_LOG10F 1
50000 _ACEOF
50003 done
50005 else
50007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
50008 $as_echo_n "checking for _log10f declaration... " >&6; }
50009 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50010 if ${glibcxx_cv_func__log10f_use+:} false; then :
50011 $as_echo_n "(cached) " >&6
50012 else
50015 ac_ext=cpp
50016 ac_cpp='$CXXCPP $CPPFLAGS'
50017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50022 /* end confdefs.h. */
50023 #include <math.h>
50024 #ifdef HAVE_IEEEFP_H
50025 #include <ieeefp.h>
50026 #endif
50029 main ()
50031 _log10f(0);
50033 return 0;
50035 _ACEOF
50036 if ac_fn_cxx_try_compile "$LINENO"; then :
50037 glibcxx_cv_func__log10f_use=yes
50038 else
50039 glibcxx_cv_func__log10f_use=no
50041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50042 ac_ext=c
50043 ac_cpp='$CPP $CPPFLAGS'
50044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
50053 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
50055 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50056 for ac_func in _log10f
50057 do :
50058 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
50059 if test "x$ac_cv_func__log10f" = xyes; then :
50060 cat >>confdefs.h <<_ACEOF
50061 #define HAVE__LOG10F 1
50062 _ACEOF
50065 done
50074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
50075 $as_echo_n "checking for modff declaration... " >&6; }
50076 if test x${glibcxx_cv_func_modff_use+set} != xset; then
50077 if ${glibcxx_cv_func_modff_use+:} false; then :
50078 $as_echo_n "(cached) " >&6
50079 else
50082 ac_ext=cpp
50083 ac_cpp='$CXXCPP $CPPFLAGS'
50084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50089 /* end confdefs.h. */
50090 #include <math.h>
50092 main ()
50094 modff(0, 0);
50096 return 0;
50098 _ACEOF
50099 if ac_fn_cxx_try_compile "$LINENO"; then :
50100 glibcxx_cv_func_modff_use=yes
50101 else
50102 glibcxx_cv_func_modff_use=no
50104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50105 ac_ext=c
50106 ac_cpp='$CPP $CPPFLAGS'
50107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
50116 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
50118 if test x$glibcxx_cv_func_modff_use = x"yes"; then
50119 for ac_func in modff
50120 do :
50121 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
50122 if test "x$ac_cv_func_modff" = xyes; then :
50123 cat >>confdefs.h <<_ACEOF
50124 #define HAVE_MODFF 1
50125 _ACEOF
50128 done
50130 else
50132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
50133 $as_echo_n "checking for _modff declaration... " >&6; }
50134 if test x${glibcxx_cv_func__modff_use+set} != xset; then
50135 if ${glibcxx_cv_func__modff_use+:} false; then :
50136 $as_echo_n "(cached) " >&6
50137 else
50140 ac_ext=cpp
50141 ac_cpp='$CXXCPP $CPPFLAGS'
50142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50147 /* end confdefs.h. */
50148 #include <math.h>
50150 main ()
50152 _modff(0, 0);
50154 return 0;
50156 _ACEOF
50157 if ac_fn_cxx_try_compile "$LINENO"; then :
50158 glibcxx_cv_func__modff_use=yes
50159 else
50160 glibcxx_cv_func__modff_use=no
50162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50163 ac_ext=c
50164 ac_cpp='$CPP $CPPFLAGS'
50165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
50174 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
50176 if test x$glibcxx_cv_func__modff_use = x"yes"; then
50177 for ac_func in _modff
50178 do :
50179 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
50180 if test "x$ac_cv_func__modff" = xyes; then :
50181 cat >>confdefs.h <<_ACEOF
50182 #define HAVE__MODFF 1
50183 _ACEOF
50186 done
50195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50196 $as_echo_n "checking for modf declaration... " >&6; }
50197 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50198 if ${glibcxx_cv_func_modf_use+:} false; then :
50199 $as_echo_n "(cached) " >&6
50200 else
50203 ac_ext=cpp
50204 ac_cpp='$CXXCPP $CPPFLAGS'
50205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50210 /* end confdefs.h. */
50211 #include <math.h>
50213 main ()
50215 modf(0, 0);
50217 return 0;
50219 _ACEOF
50220 if ac_fn_cxx_try_compile "$LINENO"; then :
50221 glibcxx_cv_func_modf_use=yes
50222 else
50223 glibcxx_cv_func_modf_use=no
50225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50226 ac_ext=c
50227 ac_cpp='$CPP $CPPFLAGS'
50228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50237 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50239 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50240 for ac_func in modf
50241 do :
50242 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50243 if test "x$ac_cv_func_modf" = xyes; then :
50244 cat >>confdefs.h <<_ACEOF
50245 #define HAVE_MODF 1
50246 _ACEOF
50249 done
50251 else
50253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50254 $as_echo_n "checking for _modf declaration... " >&6; }
50255 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50256 if ${glibcxx_cv_func__modf_use+:} false; then :
50257 $as_echo_n "(cached) " >&6
50258 else
50261 ac_ext=cpp
50262 ac_cpp='$CXXCPP $CPPFLAGS'
50263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50268 /* end confdefs.h. */
50269 #include <math.h>
50271 main ()
50273 _modf(0, 0);
50275 return 0;
50277 _ACEOF
50278 if ac_fn_cxx_try_compile "$LINENO"; then :
50279 glibcxx_cv_func__modf_use=yes
50280 else
50281 glibcxx_cv_func__modf_use=no
50283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50284 ac_ext=c
50285 ac_cpp='$CPP $CPPFLAGS'
50286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50295 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50297 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50298 for ac_func in _modf
50299 do :
50300 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50301 if test "x$ac_cv_func__modf" = xyes; then :
50302 cat >>confdefs.h <<_ACEOF
50303 #define HAVE__MODF 1
50304 _ACEOF
50307 done
50316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50317 $as_echo_n "checking for powf declaration... " >&6; }
50318 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50319 if ${glibcxx_cv_func_powf_use+:} false; then :
50320 $as_echo_n "(cached) " >&6
50321 else
50324 ac_ext=cpp
50325 ac_cpp='$CXXCPP $CPPFLAGS'
50326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50331 /* end confdefs.h. */
50332 #include <math.h>
50334 main ()
50336 powf(0, 0);
50338 return 0;
50340 _ACEOF
50341 if ac_fn_cxx_try_compile "$LINENO"; then :
50342 glibcxx_cv_func_powf_use=yes
50343 else
50344 glibcxx_cv_func_powf_use=no
50346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50347 ac_ext=c
50348 ac_cpp='$CPP $CPPFLAGS'
50349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50358 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50360 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50361 for ac_func in powf
50362 do :
50363 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50364 if test "x$ac_cv_func_powf" = xyes; then :
50365 cat >>confdefs.h <<_ACEOF
50366 #define HAVE_POWF 1
50367 _ACEOF
50370 done
50372 else
50374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50375 $as_echo_n "checking for _powf declaration... " >&6; }
50376 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50377 if ${glibcxx_cv_func__powf_use+:} false; then :
50378 $as_echo_n "(cached) " >&6
50379 else
50382 ac_ext=cpp
50383 ac_cpp='$CXXCPP $CPPFLAGS'
50384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50389 /* end confdefs.h. */
50390 #include <math.h>
50392 main ()
50394 _powf(0, 0);
50396 return 0;
50398 _ACEOF
50399 if ac_fn_cxx_try_compile "$LINENO"; then :
50400 glibcxx_cv_func__powf_use=yes
50401 else
50402 glibcxx_cv_func__powf_use=no
50404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50405 ac_ext=c
50406 ac_cpp='$CPP $CPPFLAGS'
50407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50416 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50418 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50419 for ac_func in _powf
50420 do :
50421 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50422 if test "x$ac_cv_func__powf" = xyes; then :
50423 cat >>confdefs.h <<_ACEOF
50424 #define HAVE__POWF 1
50425 _ACEOF
50428 done
50437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50438 $as_echo_n "checking for sqrtf declaration... " >&6; }
50439 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50440 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
50441 $as_echo_n "(cached) " >&6
50442 else
50445 ac_ext=cpp
50446 ac_cpp='$CXXCPP $CPPFLAGS'
50447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50452 /* end confdefs.h. */
50453 #include <math.h>
50454 #ifdef HAVE_IEEEFP_H
50455 #include <ieeefp.h>
50456 #endif
50459 main ()
50461 sqrtf(0);
50463 return 0;
50465 _ACEOF
50466 if ac_fn_cxx_try_compile "$LINENO"; then :
50467 glibcxx_cv_func_sqrtf_use=yes
50468 else
50469 glibcxx_cv_func_sqrtf_use=no
50471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50472 ac_ext=c
50473 ac_cpp='$CPP $CPPFLAGS'
50474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50483 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50485 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50486 for ac_func in sqrtf
50487 do :
50488 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50489 if test "x$ac_cv_func_sqrtf" = xyes; then :
50490 cat >>confdefs.h <<_ACEOF
50491 #define HAVE_SQRTF 1
50492 _ACEOF
50495 done
50497 else
50499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50500 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50501 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50502 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
50503 $as_echo_n "(cached) " >&6
50504 else
50507 ac_ext=cpp
50508 ac_cpp='$CXXCPP $CPPFLAGS'
50509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50514 /* end confdefs.h. */
50515 #include <math.h>
50516 #ifdef HAVE_IEEEFP_H
50517 #include <ieeefp.h>
50518 #endif
50521 main ()
50523 _sqrtf(0);
50525 return 0;
50527 _ACEOF
50528 if ac_fn_cxx_try_compile "$LINENO"; then :
50529 glibcxx_cv_func__sqrtf_use=yes
50530 else
50531 glibcxx_cv_func__sqrtf_use=no
50533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50534 ac_ext=c
50535 ac_cpp='$CPP $CPPFLAGS'
50536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50545 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50547 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50548 for ac_func in _sqrtf
50549 do :
50550 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50551 if test "x$ac_cv_func__sqrtf" = xyes; then :
50552 cat >>confdefs.h <<_ACEOF
50553 #define HAVE__SQRTF 1
50554 _ACEOF
50557 done
50566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50567 $as_echo_n "checking for sincosf declaration... " >&6; }
50568 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50569 if ${glibcxx_cv_func_sincosf_use+:} false; then :
50570 $as_echo_n "(cached) " >&6
50571 else
50574 ac_ext=cpp
50575 ac_cpp='$CXXCPP $CPPFLAGS'
50576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50581 /* end confdefs.h. */
50582 #include <math.h>
50584 main ()
50586 sincosf(0, 0, 0);
50588 return 0;
50590 _ACEOF
50591 if ac_fn_cxx_try_compile "$LINENO"; then :
50592 glibcxx_cv_func_sincosf_use=yes
50593 else
50594 glibcxx_cv_func_sincosf_use=no
50596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50597 ac_ext=c
50598 ac_cpp='$CPP $CPPFLAGS'
50599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50608 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50610 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50611 for ac_func in sincosf
50612 do :
50613 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50614 if test "x$ac_cv_func_sincosf" = xyes; then :
50615 cat >>confdefs.h <<_ACEOF
50616 #define HAVE_SINCOSF 1
50617 _ACEOF
50620 done
50622 else
50624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50625 $as_echo_n "checking for _sincosf declaration... " >&6; }
50626 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50627 if ${glibcxx_cv_func__sincosf_use+:} false; then :
50628 $as_echo_n "(cached) " >&6
50629 else
50632 ac_ext=cpp
50633 ac_cpp='$CXXCPP $CPPFLAGS'
50634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50639 /* end confdefs.h. */
50640 #include <math.h>
50642 main ()
50644 _sincosf(0, 0, 0);
50646 return 0;
50648 _ACEOF
50649 if ac_fn_cxx_try_compile "$LINENO"; then :
50650 glibcxx_cv_func__sincosf_use=yes
50651 else
50652 glibcxx_cv_func__sincosf_use=no
50654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50655 ac_ext=c
50656 ac_cpp='$CPP $CPPFLAGS'
50657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50666 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50668 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50669 for ac_func in _sincosf
50670 do :
50671 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50672 if test "x$ac_cv_func__sincosf" = xyes; then :
50673 cat >>confdefs.h <<_ACEOF
50674 #define HAVE__SINCOSF 1
50675 _ACEOF
50678 done
50687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50688 $as_echo_n "checking for finitef declaration... " >&6; }
50689 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50690 if ${glibcxx_cv_func_finitef_use+:} false; then :
50691 $as_echo_n "(cached) " >&6
50692 else
50695 ac_ext=cpp
50696 ac_cpp='$CXXCPP $CPPFLAGS'
50697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50702 /* end confdefs.h. */
50703 #include <math.h>
50704 #ifdef HAVE_IEEEFP_H
50705 #include <ieeefp.h>
50706 #endif
50709 main ()
50711 finitef(0);
50713 return 0;
50715 _ACEOF
50716 if ac_fn_cxx_try_compile "$LINENO"; then :
50717 glibcxx_cv_func_finitef_use=yes
50718 else
50719 glibcxx_cv_func_finitef_use=no
50721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50722 ac_ext=c
50723 ac_cpp='$CPP $CPPFLAGS'
50724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50733 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50735 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50736 for ac_func in finitef
50737 do :
50738 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50739 if test "x$ac_cv_func_finitef" = xyes; then :
50740 cat >>confdefs.h <<_ACEOF
50741 #define HAVE_FINITEF 1
50742 _ACEOF
50745 done
50747 else
50749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50750 $as_echo_n "checking for _finitef declaration... " >&6; }
50751 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50752 if ${glibcxx_cv_func__finitef_use+:} false; then :
50753 $as_echo_n "(cached) " >&6
50754 else
50757 ac_ext=cpp
50758 ac_cpp='$CXXCPP $CPPFLAGS'
50759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50764 /* end confdefs.h. */
50765 #include <math.h>
50766 #ifdef HAVE_IEEEFP_H
50767 #include <ieeefp.h>
50768 #endif
50771 main ()
50773 _finitef(0);
50775 return 0;
50777 _ACEOF
50778 if ac_fn_cxx_try_compile "$LINENO"; then :
50779 glibcxx_cv_func__finitef_use=yes
50780 else
50781 glibcxx_cv_func__finitef_use=no
50783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50784 ac_ext=c
50785 ac_cpp='$CPP $CPPFLAGS'
50786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50795 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50797 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50798 for ac_func in _finitef
50799 do :
50800 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50801 if test "x$ac_cv_func__finitef" = xyes; then :
50802 cat >>confdefs.h <<_ACEOF
50803 #define HAVE__FINITEF 1
50804 _ACEOF
50807 done
50816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50817 $as_echo_n "checking for long double trig functions... " >&6; }
50818 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
50819 $as_echo_n "(cached) " >&6
50820 else
50823 ac_ext=cpp
50824 ac_cpp='$CXXCPP $CPPFLAGS'
50825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50830 /* end confdefs.h. */
50831 #include <math.h>
50833 main ()
50835 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50837 return 0;
50839 _ACEOF
50840 if ac_fn_cxx_try_compile "$LINENO"; then :
50841 glibcxx_cv_func_long_double_trig_use=yes
50842 else
50843 glibcxx_cv_func_long_double_trig_use=no
50845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50846 ac_ext=c
50847 ac_cpp='$CPP $CPPFLAGS'
50848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50855 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50856 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50857 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50858 do :
50859 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50860 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50861 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
50862 cat >>confdefs.h <<_ACEOF
50863 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50864 _ACEOF
50867 done
50869 else
50870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50871 $as_echo_n "checking for _long double trig functions... " >&6; }
50872 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
50873 $as_echo_n "(cached) " >&6
50874 else
50877 ac_ext=cpp
50878 ac_cpp='$CXXCPP $CPPFLAGS'
50879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50884 /* end confdefs.h. */
50885 #include <math.h>
50887 main ()
50889 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50891 return 0;
50893 _ACEOF
50894 if ac_fn_cxx_try_compile "$LINENO"; then :
50895 glibcxx_cv_func__long_double_trig_use=yes
50896 else
50897 glibcxx_cv_func__long_double_trig_use=no
50899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50900 ac_ext=c
50901 ac_cpp='$CPP $CPPFLAGS'
50902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50909 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50910 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50911 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50912 do :
50913 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50914 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50915 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
50916 cat >>confdefs.h <<_ACEOF
50917 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50918 _ACEOF
50921 done
50930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50931 $as_echo_n "checking for long double round functions... " >&6; }
50932 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
50933 $as_echo_n "(cached) " >&6
50934 else
50937 ac_ext=cpp
50938 ac_cpp='$CXXCPP $CPPFLAGS'
50939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50944 /* end confdefs.h. */
50945 #include <math.h>
50947 main ()
50949 ceill (0); floorl (0);
50951 return 0;
50953 _ACEOF
50954 if ac_fn_cxx_try_compile "$LINENO"; then :
50955 glibcxx_cv_func_long_double_round_use=yes
50956 else
50957 glibcxx_cv_func_long_double_round_use=no
50959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50960 ac_ext=c
50961 ac_cpp='$CPP $CPPFLAGS'
50962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50969 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50970 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50971 for ac_func in ceill floorl
50972 do :
50973 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50974 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50975 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
50976 cat >>confdefs.h <<_ACEOF
50977 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50978 _ACEOF
50981 done
50983 else
50984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50985 $as_echo_n "checking for _long double round functions... " >&6; }
50986 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
50987 $as_echo_n "(cached) " >&6
50988 else
50991 ac_ext=cpp
50992 ac_cpp='$CXXCPP $CPPFLAGS'
50993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50998 /* end confdefs.h. */
50999 #include <math.h>
51001 main ()
51003 _ceill (0); _floorl (0);
51005 return 0;
51007 _ACEOF
51008 if ac_fn_cxx_try_compile "$LINENO"; then :
51009 glibcxx_cv_func__long_double_round_use=yes
51010 else
51011 glibcxx_cv_func__long_double_round_use=no
51013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51014 ac_ext=c
51015 ac_cpp='$CPP $CPPFLAGS'
51016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
51023 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
51024 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
51025 for ac_func in _ceill _floorl
51026 do :
51027 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51028 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51029 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51030 cat >>confdefs.h <<_ACEOF
51031 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51032 _ACEOF
51035 done
51045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
51046 $as_echo_n "checking for isnanl declaration... " >&6; }
51047 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
51048 if ${glibcxx_cv_func_isnanl_use+:} false; then :
51049 $as_echo_n "(cached) " >&6
51050 else
51053 ac_ext=cpp
51054 ac_cpp='$CXXCPP $CPPFLAGS'
51055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51060 /* end confdefs.h. */
51061 #include <math.h>
51062 #ifdef HAVE_IEEEFP_H
51063 #include <ieeefp.h>
51064 #endif
51067 main ()
51069 isnanl(0);
51071 return 0;
51073 _ACEOF
51074 if ac_fn_cxx_try_compile "$LINENO"; then :
51075 glibcxx_cv_func_isnanl_use=yes
51076 else
51077 glibcxx_cv_func_isnanl_use=no
51079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51080 ac_ext=c
51081 ac_cpp='$CPP $CPPFLAGS'
51082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
51091 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
51093 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
51094 for ac_func in isnanl
51095 do :
51096 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
51097 if test "x$ac_cv_func_isnanl" = xyes; then :
51098 cat >>confdefs.h <<_ACEOF
51099 #define HAVE_ISNANL 1
51100 _ACEOF
51103 done
51105 else
51107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
51108 $as_echo_n "checking for _isnanl declaration... " >&6; }
51109 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
51110 if ${glibcxx_cv_func__isnanl_use+:} false; then :
51111 $as_echo_n "(cached) " >&6
51112 else
51115 ac_ext=cpp
51116 ac_cpp='$CXXCPP $CPPFLAGS'
51117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51122 /* end confdefs.h. */
51123 #include <math.h>
51124 #ifdef HAVE_IEEEFP_H
51125 #include <ieeefp.h>
51126 #endif
51129 main ()
51131 _isnanl(0);
51133 return 0;
51135 _ACEOF
51136 if ac_fn_cxx_try_compile "$LINENO"; then :
51137 glibcxx_cv_func__isnanl_use=yes
51138 else
51139 glibcxx_cv_func__isnanl_use=no
51141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51142 ac_ext=c
51143 ac_cpp='$CPP $CPPFLAGS'
51144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
51153 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
51155 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
51156 for ac_func in _isnanl
51157 do :
51158 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
51159 if test "x$ac_cv_func__isnanl" = xyes; then :
51160 cat >>confdefs.h <<_ACEOF
51161 #define HAVE__ISNANL 1
51162 _ACEOF
51165 done
51174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
51175 $as_echo_n "checking for isinfl declaration... " >&6; }
51176 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
51177 if ${glibcxx_cv_func_isinfl_use+:} false; then :
51178 $as_echo_n "(cached) " >&6
51179 else
51182 ac_ext=cpp
51183 ac_cpp='$CXXCPP $CPPFLAGS'
51184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51189 /* end confdefs.h. */
51190 #include <math.h>
51191 #ifdef HAVE_IEEEFP_H
51192 #include <ieeefp.h>
51193 #endif
51196 main ()
51198 isinfl(0);
51200 return 0;
51202 _ACEOF
51203 if ac_fn_cxx_try_compile "$LINENO"; then :
51204 glibcxx_cv_func_isinfl_use=yes
51205 else
51206 glibcxx_cv_func_isinfl_use=no
51208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51209 ac_ext=c
51210 ac_cpp='$CPP $CPPFLAGS'
51211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51220 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51222 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51223 for ac_func in isinfl
51224 do :
51225 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51226 if test "x$ac_cv_func_isinfl" = xyes; then :
51227 cat >>confdefs.h <<_ACEOF
51228 #define HAVE_ISINFL 1
51229 _ACEOF
51232 done
51234 else
51236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51237 $as_echo_n "checking for _isinfl declaration... " >&6; }
51238 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51239 if ${glibcxx_cv_func__isinfl_use+:} false; then :
51240 $as_echo_n "(cached) " >&6
51241 else
51244 ac_ext=cpp
51245 ac_cpp='$CXXCPP $CPPFLAGS'
51246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51251 /* end confdefs.h. */
51252 #include <math.h>
51253 #ifdef HAVE_IEEEFP_H
51254 #include <ieeefp.h>
51255 #endif
51258 main ()
51260 _isinfl(0);
51262 return 0;
51264 _ACEOF
51265 if ac_fn_cxx_try_compile "$LINENO"; then :
51266 glibcxx_cv_func__isinfl_use=yes
51267 else
51268 glibcxx_cv_func__isinfl_use=no
51270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51271 ac_ext=c
51272 ac_cpp='$CPP $CPPFLAGS'
51273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51282 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51284 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51285 for ac_func in _isinfl
51286 do :
51287 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51288 if test "x$ac_cv_func__isinfl" = xyes; then :
51289 cat >>confdefs.h <<_ACEOF
51290 #define HAVE__ISINFL 1
51291 _ACEOF
51294 done
51303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51304 $as_echo_n "checking for atan2l declaration... " >&6; }
51305 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51306 if ${glibcxx_cv_func_atan2l_use+:} false; then :
51307 $as_echo_n "(cached) " >&6
51308 else
51311 ac_ext=cpp
51312 ac_cpp='$CXXCPP $CPPFLAGS'
51313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51318 /* end confdefs.h. */
51319 #include <math.h>
51321 main ()
51323 atan2l(0, 0);
51325 return 0;
51327 _ACEOF
51328 if ac_fn_cxx_try_compile "$LINENO"; then :
51329 glibcxx_cv_func_atan2l_use=yes
51330 else
51331 glibcxx_cv_func_atan2l_use=no
51333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51334 ac_ext=c
51335 ac_cpp='$CPP $CPPFLAGS'
51336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51345 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51347 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51348 for ac_func in atan2l
51349 do :
51350 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51351 if test "x$ac_cv_func_atan2l" = xyes; then :
51352 cat >>confdefs.h <<_ACEOF
51353 #define HAVE_ATAN2L 1
51354 _ACEOF
51357 done
51359 else
51361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51362 $as_echo_n "checking for _atan2l declaration... " >&6; }
51363 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51364 if ${glibcxx_cv_func__atan2l_use+:} false; then :
51365 $as_echo_n "(cached) " >&6
51366 else
51369 ac_ext=cpp
51370 ac_cpp='$CXXCPP $CPPFLAGS'
51371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51376 /* end confdefs.h. */
51377 #include <math.h>
51379 main ()
51381 _atan2l(0, 0);
51383 return 0;
51385 _ACEOF
51386 if ac_fn_cxx_try_compile "$LINENO"; then :
51387 glibcxx_cv_func__atan2l_use=yes
51388 else
51389 glibcxx_cv_func__atan2l_use=no
51391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51392 ac_ext=c
51393 ac_cpp='$CPP $CPPFLAGS'
51394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51403 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51405 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51406 for ac_func in _atan2l
51407 do :
51408 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51409 if test "x$ac_cv_func__atan2l" = xyes; then :
51410 cat >>confdefs.h <<_ACEOF
51411 #define HAVE__ATAN2L 1
51412 _ACEOF
51415 done
51424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51425 $as_echo_n "checking for expl declaration... " >&6; }
51426 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51427 if ${glibcxx_cv_func_expl_use+:} false; then :
51428 $as_echo_n "(cached) " >&6
51429 else
51432 ac_ext=cpp
51433 ac_cpp='$CXXCPP $CPPFLAGS'
51434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51439 /* end confdefs.h. */
51440 #include <math.h>
51441 #ifdef HAVE_IEEEFP_H
51442 #include <ieeefp.h>
51443 #endif
51446 main ()
51448 expl(0);
51450 return 0;
51452 _ACEOF
51453 if ac_fn_cxx_try_compile "$LINENO"; then :
51454 glibcxx_cv_func_expl_use=yes
51455 else
51456 glibcxx_cv_func_expl_use=no
51458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51459 ac_ext=c
51460 ac_cpp='$CPP $CPPFLAGS'
51461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51470 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51472 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51473 for ac_func in expl
51474 do :
51475 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51476 if test "x$ac_cv_func_expl" = xyes; then :
51477 cat >>confdefs.h <<_ACEOF
51478 #define HAVE_EXPL 1
51479 _ACEOF
51482 done
51484 else
51486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51487 $as_echo_n "checking for _expl declaration... " >&6; }
51488 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51489 if ${glibcxx_cv_func__expl_use+:} false; then :
51490 $as_echo_n "(cached) " >&6
51491 else
51494 ac_ext=cpp
51495 ac_cpp='$CXXCPP $CPPFLAGS'
51496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51501 /* end confdefs.h. */
51502 #include <math.h>
51503 #ifdef HAVE_IEEEFP_H
51504 #include <ieeefp.h>
51505 #endif
51508 main ()
51510 _expl(0);
51512 return 0;
51514 _ACEOF
51515 if ac_fn_cxx_try_compile "$LINENO"; then :
51516 glibcxx_cv_func__expl_use=yes
51517 else
51518 glibcxx_cv_func__expl_use=no
51520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51521 ac_ext=c
51522 ac_cpp='$CPP $CPPFLAGS'
51523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51532 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51534 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51535 for ac_func in _expl
51536 do :
51537 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51538 if test "x$ac_cv_func__expl" = xyes; then :
51539 cat >>confdefs.h <<_ACEOF
51540 #define HAVE__EXPL 1
51541 _ACEOF
51544 done
51553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51554 $as_echo_n "checking for fabsl declaration... " >&6; }
51555 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51556 if ${glibcxx_cv_func_fabsl_use+:} false; then :
51557 $as_echo_n "(cached) " >&6
51558 else
51561 ac_ext=cpp
51562 ac_cpp='$CXXCPP $CPPFLAGS'
51563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51568 /* end confdefs.h. */
51569 #include <math.h>
51570 #ifdef HAVE_IEEEFP_H
51571 #include <ieeefp.h>
51572 #endif
51575 main ()
51577 fabsl(0);
51579 return 0;
51581 _ACEOF
51582 if ac_fn_cxx_try_compile "$LINENO"; then :
51583 glibcxx_cv_func_fabsl_use=yes
51584 else
51585 glibcxx_cv_func_fabsl_use=no
51587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51588 ac_ext=c
51589 ac_cpp='$CPP $CPPFLAGS'
51590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51599 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51601 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51602 for ac_func in fabsl
51603 do :
51604 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51605 if test "x$ac_cv_func_fabsl" = xyes; then :
51606 cat >>confdefs.h <<_ACEOF
51607 #define HAVE_FABSL 1
51608 _ACEOF
51611 done
51613 else
51615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51616 $as_echo_n "checking for _fabsl declaration... " >&6; }
51617 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51618 if ${glibcxx_cv_func__fabsl_use+:} false; then :
51619 $as_echo_n "(cached) " >&6
51620 else
51623 ac_ext=cpp
51624 ac_cpp='$CXXCPP $CPPFLAGS'
51625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51630 /* end confdefs.h. */
51631 #include <math.h>
51632 #ifdef HAVE_IEEEFP_H
51633 #include <ieeefp.h>
51634 #endif
51637 main ()
51639 _fabsl(0);
51641 return 0;
51643 _ACEOF
51644 if ac_fn_cxx_try_compile "$LINENO"; then :
51645 glibcxx_cv_func__fabsl_use=yes
51646 else
51647 glibcxx_cv_func__fabsl_use=no
51649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51650 ac_ext=c
51651 ac_cpp='$CPP $CPPFLAGS'
51652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51661 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51663 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51664 for ac_func in _fabsl
51665 do :
51666 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51667 if test "x$ac_cv_func__fabsl" = xyes; then :
51668 cat >>confdefs.h <<_ACEOF
51669 #define HAVE__FABSL 1
51670 _ACEOF
51673 done
51682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51683 $as_echo_n "checking for fmodl declaration... " >&6; }
51684 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51685 if ${glibcxx_cv_func_fmodl_use+:} false; then :
51686 $as_echo_n "(cached) " >&6
51687 else
51690 ac_ext=cpp
51691 ac_cpp='$CXXCPP $CPPFLAGS'
51692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51697 /* end confdefs.h. */
51698 #include <math.h>
51700 main ()
51702 fmodl(0, 0);
51704 return 0;
51706 _ACEOF
51707 if ac_fn_cxx_try_compile "$LINENO"; then :
51708 glibcxx_cv_func_fmodl_use=yes
51709 else
51710 glibcxx_cv_func_fmodl_use=no
51712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51713 ac_ext=c
51714 ac_cpp='$CPP $CPPFLAGS'
51715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51724 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51726 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51727 for ac_func in fmodl
51728 do :
51729 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51730 if test "x$ac_cv_func_fmodl" = xyes; then :
51731 cat >>confdefs.h <<_ACEOF
51732 #define HAVE_FMODL 1
51733 _ACEOF
51736 done
51738 else
51740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51741 $as_echo_n "checking for _fmodl declaration... " >&6; }
51742 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51743 if ${glibcxx_cv_func__fmodl_use+:} false; then :
51744 $as_echo_n "(cached) " >&6
51745 else
51748 ac_ext=cpp
51749 ac_cpp='$CXXCPP $CPPFLAGS'
51750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51755 /* end confdefs.h. */
51756 #include <math.h>
51758 main ()
51760 _fmodl(0, 0);
51762 return 0;
51764 _ACEOF
51765 if ac_fn_cxx_try_compile "$LINENO"; then :
51766 glibcxx_cv_func__fmodl_use=yes
51767 else
51768 glibcxx_cv_func__fmodl_use=no
51770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51771 ac_ext=c
51772 ac_cpp='$CPP $CPPFLAGS'
51773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51782 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51784 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51785 for ac_func in _fmodl
51786 do :
51787 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51788 if test "x$ac_cv_func__fmodl" = xyes; then :
51789 cat >>confdefs.h <<_ACEOF
51790 #define HAVE__FMODL 1
51791 _ACEOF
51794 done
51803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51804 $as_echo_n "checking for frexpl declaration... " >&6; }
51805 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51806 if ${glibcxx_cv_func_frexpl_use+:} false; then :
51807 $as_echo_n "(cached) " >&6
51808 else
51811 ac_ext=cpp
51812 ac_cpp='$CXXCPP $CPPFLAGS'
51813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51818 /* end confdefs.h. */
51819 #include <math.h>
51821 main ()
51823 frexpl(0, 0);
51825 return 0;
51827 _ACEOF
51828 if ac_fn_cxx_try_compile "$LINENO"; then :
51829 glibcxx_cv_func_frexpl_use=yes
51830 else
51831 glibcxx_cv_func_frexpl_use=no
51833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51834 ac_ext=c
51835 ac_cpp='$CPP $CPPFLAGS'
51836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51845 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51847 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51848 for ac_func in frexpl
51849 do :
51850 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51851 if test "x$ac_cv_func_frexpl" = xyes; then :
51852 cat >>confdefs.h <<_ACEOF
51853 #define HAVE_FREXPL 1
51854 _ACEOF
51857 done
51859 else
51861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51862 $as_echo_n "checking for _frexpl declaration... " >&6; }
51863 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51864 if ${glibcxx_cv_func__frexpl_use+:} false; then :
51865 $as_echo_n "(cached) " >&6
51866 else
51869 ac_ext=cpp
51870 ac_cpp='$CXXCPP $CPPFLAGS'
51871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51876 /* end confdefs.h. */
51877 #include <math.h>
51879 main ()
51881 _frexpl(0, 0);
51883 return 0;
51885 _ACEOF
51886 if ac_fn_cxx_try_compile "$LINENO"; then :
51887 glibcxx_cv_func__frexpl_use=yes
51888 else
51889 glibcxx_cv_func__frexpl_use=no
51891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51892 ac_ext=c
51893 ac_cpp='$CPP $CPPFLAGS'
51894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51903 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51905 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51906 for ac_func in _frexpl
51907 do :
51908 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51909 if test "x$ac_cv_func__frexpl" = xyes; then :
51910 cat >>confdefs.h <<_ACEOF
51911 #define HAVE__FREXPL 1
51912 _ACEOF
51915 done
51924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51925 $as_echo_n "checking for hypotl declaration... " >&6; }
51926 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51927 if ${glibcxx_cv_func_hypotl_use+:} false; then :
51928 $as_echo_n "(cached) " >&6
51929 else
51932 ac_ext=cpp
51933 ac_cpp='$CXXCPP $CPPFLAGS'
51934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51939 /* end confdefs.h. */
51940 #include <math.h>
51942 main ()
51944 hypotl(0, 0);
51946 return 0;
51948 _ACEOF
51949 if ac_fn_cxx_try_compile "$LINENO"; then :
51950 glibcxx_cv_func_hypotl_use=yes
51951 else
51952 glibcxx_cv_func_hypotl_use=no
51954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51955 ac_ext=c
51956 ac_cpp='$CPP $CPPFLAGS'
51957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51966 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51968 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51969 for ac_func in hypotl
51970 do :
51971 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51972 if test "x$ac_cv_func_hypotl" = xyes; then :
51973 cat >>confdefs.h <<_ACEOF
51974 #define HAVE_HYPOTL 1
51975 _ACEOF
51978 done
51980 else
51982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51983 $as_echo_n "checking for _hypotl declaration... " >&6; }
51984 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51985 if ${glibcxx_cv_func__hypotl_use+:} false; then :
51986 $as_echo_n "(cached) " >&6
51987 else
51990 ac_ext=cpp
51991 ac_cpp='$CXXCPP $CPPFLAGS'
51992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51997 /* end confdefs.h. */
51998 #include <math.h>
52000 main ()
52002 _hypotl(0, 0);
52004 return 0;
52006 _ACEOF
52007 if ac_fn_cxx_try_compile "$LINENO"; then :
52008 glibcxx_cv_func__hypotl_use=yes
52009 else
52010 glibcxx_cv_func__hypotl_use=no
52012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52013 ac_ext=c
52014 ac_cpp='$CPP $CPPFLAGS'
52015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
52024 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
52026 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
52027 for ac_func in _hypotl
52028 do :
52029 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
52030 if test "x$ac_cv_func__hypotl" = xyes; then :
52031 cat >>confdefs.h <<_ACEOF
52032 #define HAVE__HYPOTL 1
52033 _ACEOF
52036 done
52045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
52046 $as_echo_n "checking for ldexpl declaration... " >&6; }
52047 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
52048 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
52049 $as_echo_n "(cached) " >&6
52050 else
52053 ac_ext=cpp
52054 ac_cpp='$CXXCPP $CPPFLAGS'
52055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52060 /* end confdefs.h. */
52061 #include <math.h>
52063 main ()
52065 ldexpl(0, 0);
52067 return 0;
52069 _ACEOF
52070 if ac_fn_cxx_try_compile "$LINENO"; then :
52071 glibcxx_cv_func_ldexpl_use=yes
52072 else
52073 glibcxx_cv_func_ldexpl_use=no
52075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52076 ac_ext=c
52077 ac_cpp='$CPP $CPPFLAGS'
52078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
52087 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
52089 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
52090 for ac_func in ldexpl
52091 do :
52092 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
52093 if test "x$ac_cv_func_ldexpl" = xyes; then :
52094 cat >>confdefs.h <<_ACEOF
52095 #define HAVE_LDEXPL 1
52096 _ACEOF
52099 done
52101 else
52103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
52104 $as_echo_n "checking for _ldexpl declaration... " >&6; }
52105 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
52106 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
52107 $as_echo_n "(cached) " >&6
52108 else
52111 ac_ext=cpp
52112 ac_cpp='$CXXCPP $CPPFLAGS'
52113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52118 /* end confdefs.h. */
52119 #include <math.h>
52121 main ()
52123 _ldexpl(0, 0);
52125 return 0;
52127 _ACEOF
52128 if ac_fn_cxx_try_compile "$LINENO"; then :
52129 glibcxx_cv_func__ldexpl_use=yes
52130 else
52131 glibcxx_cv_func__ldexpl_use=no
52133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52134 ac_ext=c
52135 ac_cpp='$CPP $CPPFLAGS'
52136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
52145 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
52147 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
52148 for ac_func in _ldexpl
52149 do :
52150 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
52151 if test "x$ac_cv_func__ldexpl" = xyes; then :
52152 cat >>confdefs.h <<_ACEOF
52153 #define HAVE__LDEXPL 1
52154 _ACEOF
52157 done
52166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
52167 $as_echo_n "checking for logl declaration... " >&6; }
52168 if test x${glibcxx_cv_func_logl_use+set} != xset; then
52169 if ${glibcxx_cv_func_logl_use+:} false; then :
52170 $as_echo_n "(cached) " >&6
52171 else
52174 ac_ext=cpp
52175 ac_cpp='$CXXCPP $CPPFLAGS'
52176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52181 /* end confdefs.h. */
52182 #include <math.h>
52183 #ifdef HAVE_IEEEFP_H
52184 #include <ieeefp.h>
52185 #endif
52188 main ()
52190 logl(0);
52192 return 0;
52194 _ACEOF
52195 if ac_fn_cxx_try_compile "$LINENO"; then :
52196 glibcxx_cv_func_logl_use=yes
52197 else
52198 glibcxx_cv_func_logl_use=no
52200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52201 ac_ext=c
52202 ac_cpp='$CPP $CPPFLAGS'
52203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52212 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52214 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52215 for ac_func in logl
52216 do :
52217 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52218 if test "x$ac_cv_func_logl" = xyes; then :
52219 cat >>confdefs.h <<_ACEOF
52220 #define HAVE_LOGL 1
52221 _ACEOF
52224 done
52226 else
52228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52229 $as_echo_n "checking for _logl declaration... " >&6; }
52230 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52231 if ${glibcxx_cv_func__logl_use+:} false; then :
52232 $as_echo_n "(cached) " >&6
52233 else
52236 ac_ext=cpp
52237 ac_cpp='$CXXCPP $CPPFLAGS'
52238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52243 /* end confdefs.h. */
52244 #include <math.h>
52245 #ifdef HAVE_IEEEFP_H
52246 #include <ieeefp.h>
52247 #endif
52250 main ()
52252 _logl(0);
52254 return 0;
52256 _ACEOF
52257 if ac_fn_cxx_try_compile "$LINENO"; then :
52258 glibcxx_cv_func__logl_use=yes
52259 else
52260 glibcxx_cv_func__logl_use=no
52262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52263 ac_ext=c
52264 ac_cpp='$CPP $CPPFLAGS'
52265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52274 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52276 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52277 for ac_func in _logl
52278 do :
52279 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52280 if test "x$ac_cv_func__logl" = xyes; then :
52281 cat >>confdefs.h <<_ACEOF
52282 #define HAVE__LOGL 1
52283 _ACEOF
52286 done
52295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52296 $as_echo_n "checking for log10l declaration... " >&6; }
52297 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52298 if ${glibcxx_cv_func_log10l_use+:} false; then :
52299 $as_echo_n "(cached) " >&6
52300 else
52303 ac_ext=cpp
52304 ac_cpp='$CXXCPP $CPPFLAGS'
52305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52310 /* end confdefs.h. */
52311 #include <math.h>
52312 #ifdef HAVE_IEEEFP_H
52313 #include <ieeefp.h>
52314 #endif
52317 main ()
52319 log10l(0);
52321 return 0;
52323 _ACEOF
52324 if ac_fn_cxx_try_compile "$LINENO"; then :
52325 glibcxx_cv_func_log10l_use=yes
52326 else
52327 glibcxx_cv_func_log10l_use=no
52329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52330 ac_ext=c
52331 ac_cpp='$CPP $CPPFLAGS'
52332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52341 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52343 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52344 for ac_func in log10l
52345 do :
52346 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52347 if test "x$ac_cv_func_log10l" = xyes; then :
52348 cat >>confdefs.h <<_ACEOF
52349 #define HAVE_LOG10L 1
52350 _ACEOF
52353 done
52355 else
52357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52358 $as_echo_n "checking for _log10l declaration... " >&6; }
52359 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52360 if ${glibcxx_cv_func__log10l_use+:} false; then :
52361 $as_echo_n "(cached) " >&6
52362 else
52365 ac_ext=cpp
52366 ac_cpp='$CXXCPP $CPPFLAGS'
52367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52372 /* end confdefs.h. */
52373 #include <math.h>
52374 #ifdef HAVE_IEEEFP_H
52375 #include <ieeefp.h>
52376 #endif
52379 main ()
52381 _log10l(0);
52383 return 0;
52385 _ACEOF
52386 if ac_fn_cxx_try_compile "$LINENO"; then :
52387 glibcxx_cv_func__log10l_use=yes
52388 else
52389 glibcxx_cv_func__log10l_use=no
52391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52392 ac_ext=c
52393 ac_cpp='$CPP $CPPFLAGS'
52394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52403 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52405 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52406 for ac_func in _log10l
52407 do :
52408 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52409 if test "x$ac_cv_func__log10l" = xyes; then :
52410 cat >>confdefs.h <<_ACEOF
52411 #define HAVE__LOG10L 1
52412 _ACEOF
52415 done
52424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52425 $as_echo_n "checking for modfl declaration... " >&6; }
52426 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52427 if ${glibcxx_cv_func_modfl_use+:} false; then :
52428 $as_echo_n "(cached) " >&6
52429 else
52432 ac_ext=cpp
52433 ac_cpp='$CXXCPP $CPPFLAGS'
52434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52439 /* end confdefs.h. */
52440 #include <math.h>
52442 main ()
52444 modfl(0, 0);
52446 return 0;
52448 _ACEOF
52449 if ac_fn_cxx_try_compile "$LINENO"; then :
52450 glibcxx_cv_func_modfl_use=yes
52451 else
52452 glibcxx_cv_func_modfl_use=no
52454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52455 ac_ext=c
52456 ac_cpp='$CPP $CPPFLAGS'
52457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52466 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52468 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52469 for ac_func in modfl
52470 do :
52471 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52472 if test "x$ac_cv_func_modfl" = xyes; then :
52473 cat >>confdefs.h <<_ACEOF
52474 #define HAVE_MODFL 1
52475 _ACEOF
52478 done
52480 else
52482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52483 $as_echo_n "checking for _modfl declaration... " >&6; }
52484 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52485 if ${glibcxx_cv_func__modfl_use+:} false; then :
52486 $as_echo_n "(cached) " >&6
52487 else
52490 ac_ext=cpp
52491 ac_cpp='$CXXCPP $CPPFLAGS'
52492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52497 /* end confdefs.h. */
52498 #include <math.h>
52500 main ()
52502 _modfl(0, 0);
52504 return 0;
52506 _ACEOF
52507 if ac_fn_cxx_try_compile "$LINENO"; then :
52508 glibcxx_cv_func__modfl_use=yes
52509 else
52510 glibcxx_cv_func__modfl_use=no
52512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52513 ac_ext=c
52514 ac_cpp='$CPP $CPPFLAGS'
52515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52524 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52526 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52527 for ac_func in _modfl
52528 do :
52529 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52530 if test "x$ac_cv_func__modfl" = xyes; then :
52531 cat >>confdefs.h <<_ACEOF
52532 #define HAVE__MODFL 1
52533 _ACEOF
52536 done
52545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52546 $as_echo_n "checking for powl declaration... " >&6; }
52547 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52548 if ${glibcxx_cv_func_powl_use+:} false; then :
52549 $as_echo_n "(cached) " >&6
52550 else
52553 ac_ext=cpp
52554 ac_cpp='$CXXCPP $CPPFLAGS'
52555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52560 /* end confdefs.h. */
52561 #include <math.h>
52563 main ()
52565 powl(0, 0);
52567 return 0;
52569 _ACEOF
52570 if ac_fn_cxx_try_compile "$LINENO"; then :
52571 glibcxx_cv_func_powl_use=yes
52572 else
52573 glibcxx_cv_func_powl_use=no
52575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52576 ac_ext=c
52577 ac_cpp='$CPP $CPPFLAGS'
52578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52587 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52589 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52590 for ac_func in powl
52591 do :
52592 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52593 if test "x$ac_cv_func_powl" = xyes; then :
52594 cat >>confdefs.h <<_ACEOF
52595 #define HAVE_POWL 1
52596 _ACEOF
52599 done
52601 else
52603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52604 $as_echo_n "checking for _powl declaration... " >&6; }
52605 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52606 if ${glibcxx_cv_func__powl_use+:} false; then :
52607 $as_echo_n "(cached) " >&6
52608 else
52611 ac_ext=cpp
52612 ac_cpp='$CXXCPP $CPPFLAGS'
52613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52618 /* end confdefs.h. */
52619 #include <math.h>
52621 main ()
52623 _powl(0, 0);
52625 return 0;
52627 _ACEOF
52628 if ac_fn_cxx_try_compile "$LINENO"; then :
52629 glibcxx_cv_func__powl_use=yes
52630 else
52631 glibcxx_cv_func__powl_use=no
52633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52634 ac_ext=c
52635 ac_cpp='$CPP $CPPFLAGS'
52636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52645 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52647 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52648 for ac_func in _powl
52649 do :
52650 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52651 if test "x$ac_cv_func__powl" = xyes; then :
52652 cat >>confdefs.h <<_ACEOF
52653 #define HAVE__POWL 1
52654 _ACEOF
52657 done
52666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52667 $as_echo_n "checking for sqrtl declaration... " >&6; }
52668 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52669 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
52670 $as_echo_n "(cached) " >&6
52671 else
52674 ac_ext=cpp
52675 ac_cpp='$CXXCPP $CPPFLAGS'
52676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52681 /* end confdefs.h. */
52682 #include <math.h>
52683 #ifdef HAVE_IEEEFP_H
52684 #include <ieeefp.h>
52685 #endif
52688 main ()
52690 sqrtl(0);
52692 return 0;
52694 _ACEOF
52695 if ac_fn_cxx_try_compile "$LINENO"; then :
52696 glibcxx_cv_func_sqrtl_use=yes
52697 else
52698 glibcxx_cv_func_sqrtl_use=no
52700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52701 ac_ext=c
52702 ac_cpp='$CPP $CPPFLAGS'
52703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52712 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52714 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52715 for ac_func in sqrtl
52716 do :
52717 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52718 if test "x$ac_cv_func_sqrtl" = xyes; then :
52719 cat >>confdefs.h <<_ACEOF
52720 #define HAVE_SQRTL 1
52721 _ACEOF
52724 done
52726 else
52728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52729 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52730 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52731 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
52732 $as_echo_n "(cached) " >&6
52733 else
52736 ac_ext=cpp
52737 ac_cpp='$CXXCPP $CPPFLAGS'
52738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52743 /* end confdefs.h. */
52744 #include <math.h>
52745 #ifdef HAVE_IEEEFP_H
52746 #include <ieeefp.h>
52747 #endif
52750 main ()
52752 _sqrtl(0);
52754 return 0;
52756 _ACEOF
52757 if ac_fn_cxx_try_compile "$LINENO"; then :
52758 glibcxx_cv_func__sqrtl_use=yes
52759 else
52760 glibcxx_cv_func__sqrtl_use=no
52762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52763 ac_ext=c
52764 ac_cpp='$CPP $CPPFLAGS'
52765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52774 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52776 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52777 for ac_func in _sqrtl
52778 do :
52779 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52780 if test "x$ac_cv_func__sqrtl" = xyes; then :
52781 cat >>confdefs.h <<_ACEOF
52782 #define HAVE__SQRTL 1
52783 _ACEOF
52786 done
52795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52796 $as_echo_n "checking for sincosl declaration... " >&6; }
52797 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52798 if ${glibcxx_cv_func_sincosl_use+:} false; then :
52799 $as_echo_n "(cached) " >&6
52800 else
52803 ac_ext=cpp
52804 ac_cpp='$CXXCPP $CPPFLAGS'
52805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52810 /* end confdefs.h. */
52811 #include <math.h>
52813 main ()
52815 sincosl(0, 0, 0);
52817 return 0;
52819 _ACEOF
52820 if ac_fn_cxx_try_compile "$LINENO"; then :
52821 glibcxx_cv_func_sincosl_use=yes
52822 else
52823 glibcxx_cv_func_sincosl_use=no
52825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52826 ac_ext=c
52827 ac_cpp='$CPP $CPPFLAGS'
52828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52837 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52839 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52840 for ac_func in sincosl
52841 do :
52842 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52843 if test "x$ac_cv_func_sincosl" = xyes; then :
52844 cat >>confdefs.h <<_ACEOF
52845 #define HAVE_SINCOSL 1
52846 _ACEOF
52849 done
52851 else
52853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52854 $as_echo_n "checking for _sincosl declaration... " >&6; }
52855 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52856 if ${glibcxx_cv_func__sincosl_use+:} false; then :
52857 $as_echo_n "(cached) " >&6
52858 else
52861 ac_ext=cpp
52862 ac_cpp='$CXXCPP $CPPFLAGS'
52863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52868 /* end confdefs.h. */
52869 #include <math.h>
52871 main ()
52873 _sincosl(0, 0, 0);
52875 return 0;
52877 _ACEOF
52878 if ac_fn_cxx_try_compile "$LINENO"; then :
52879 glibcxx_cv_func__sincosl_use=yes
52880 else
52881 glibcxx_cv_func__sincosl_use=no
52883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52884 ac_ext=c
52885 ac_cpp='$CPP $CPPFLAGS'
52886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52895 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52897 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52898 for ac_func in _sincosl
52899 do :
52900 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52901 if test "x$ac_cv_func__sincosl" = xyes; then :
52902 cat >>confdefs.h <<_ACEOF
52903 #define HAVE__SINCOSL 1
52904 _ACEOF
52907 done
52916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52917 $as_echo_n "checking for finitel declaration... " >&6; }
52918 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52919 if ${glibcxx_cv_func_finitel_use+:} false; then :
52920 $as_echo_n "(cached) " >&6
52921 else
52924 ac_ext=cpp
52925 ac_cpp='$CXXCPP $CPPFLAGS'
52926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52931 /* end confdefs.h. */
52932 #include <math.h>
52933 #ifdef HAVE_IEEEFP_H
52934 #include <ieeefp.h>
52935 #endif
52938 main ()
52940 finitel(0);
52942 return 0;
52944 _ACEOF
52945 if ac_fn_cxx_try_compile "$LINENO"; then :
52946 glibcxx_cv_func_finitel_use=yes
52947 else
52948 glibcxx_cv_func_finitel_use=no
52950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52951 ac_ext=c
52952 ac_cpp='$CPP $CPPFLAGS'
52953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52962 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52964 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52965 for ac_func in finitel
52966 do :
52967 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52968 if test "x$ac_cv_func_finitel" = xyes; then :
52969 cat >>confdefs.h <<_ACEOF
52970 #define HAVE_FINITEL 1
52971 _ACEOF
52974 done
52976 else
52978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52979 $as_echo_n "checking for _finitel declaration... " >&6; }
52980 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52981 if ${glibcxx_cv_func__finitel_use+:} false; then :
52982 $as_echo_n "(cached) " >&6
52983 else
52986 ac_ext=cpp
52987 ac_cpp='$CXXCPP $CPPFLAGS'
52988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52993 /* end confdefs.h. */
52994 #include <math.h>
52995 #ifdef HAVE_IEEEFP_H
52996 #include <ieeefp.h>
52997 #endif
53000 main ()
53002 _finitel(0);
53004 return 0;
53006 _ACEOF
53007 if ac_fn_cxx_try_compile "$LINENO"; then :
53008 glibcxx_cv_func__finitel_use=yes
53009 else
53010 glibcxx_cv_func__finitel_use=no
53012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53013 ac_ext=c
53014 ac_cpp='$CPP $CPPFLAGS'
53015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
53024 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
53026 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
53027 for ac_func in _finitel
53028 do :
53029 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
53030 if test "x$ac_cv_func__finitel" = xyes; then :
53031 cat >>confdefs.h <<_ACEOF
53032 #define HAVE__FINITEL 1
53033 _ACEOF
53036 done
53044 LIBS="$ac_save_LIBS"
53045 CXXFLAGS="$ac_save_CXXFLAGS"
53048 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53049 ac_save_CXXFLAGS="$CXXFLAGS"
53050 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
53054 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
53055 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
53056 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
53057 $as_echo_n "(cached) " >&6
53058 else
53061 ac_ext=cpp
53062 ac_cpp='$CXXCPP $CPPFLAGS'
53063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53068 /* end confdefs.h. */
53069 #include <stdlib.h>
53071 main ()
53073 at_quick_exit(0);
53075 return 0;
53077 _ACEOF
53078 if ac_fn_cxx_try_compile "$LINENO"; then :
53079 glibcxx_cv_func_at_quick_exit_use=yes
53080 else
53081 glibcxx_cv_func_at_quick_exit_use=no
53083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53084 ac_ext=c
53085 ac_cpp='$CPP $CPPFLAGS'
53086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
53095 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
53096 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
53097 for ac_func in at_quick_exit
53098 do :
53099 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
53100 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
53101 cat >>confdefs.h <<_ACEOF
53102 #define HAVE_AT_QUICK_EXIT 1
53103 _ACEOF
53106 done
53111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
53112 $as_echo_n "checking for quick_exit declaration... " >&6; }
53113 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
53114 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
53115 $as_echo_n "(cached) " >&6
53116 else
53119 ac_ext=cpp
53120 ac_cpp='$CXXCPP $CPPFLAGS'
53121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53126 /* end confdefs.h. */
53127 #include <stdlib.h>
53129 main ()
53131 quick_exit(0);
53133 return 0;
53135 _ACEOF
53136 if ac_fn_cxx_try_compile "$LINENO"; then :
53137 glibcxx_cv_func_quick_exit_use=yes
53138 else
53139 glibcxx_cv_func_quick_exit_use=no
53141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53142 ac_ext=c
53143 ac_cpp='$CPP $CPPFLAGS'
53144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
53153 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
53154 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
53155 for ac_func in quick_exit
53156 do :
53157 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
53158 if test "x$ac_cv_func_quick_exit" = xyes; then :
53159 cat >>confdefs.h <<_ACEOF
53160 #define HAVE_QUICK_EXIT 1
53161 _ACEOF
53164 done
53169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
53170 $as_echo_n "checking for strtold declaration... " >&6; }
53171 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53172 if ${glibcxx_cv_func_strtold_use+:} false; then :
53173 $as_echo_n "(cached) " >&6
53174 else
53177 ac_ext=cpp
53178 ac_cpp='$CXXCPP $CPPFLAGS'
53179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53184 /* end confdefs.h. */
53185 #include <stdlib.h>
53187 main ()
53189 strtold(0, 0);
53191 return 0;
53193 _ACEOF
53194 if ac_fn_cxx_try_compile "$LINENO"; then :
53195 glibcxx_cv_func_strtold_use=yes
53196 else
53197 glibcxx_cv_func_strtold_use=no
53199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53200 ac_ext=c
53201 ac_cpp='$CPP $CPPFLAGS'
53202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53211 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53212 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53213 for ac_func in strtold
53214 do :
53215 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53216 if test "x$ac_cv_func_strtold" = xyes; then :
53217 cat >>confdefs.h <<_ACEOF
53218 #define HAVE_STRTOLD 1
53219 _ACEOF
53222 done
53229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53230 $as_echo_n "checking for strtof declaration... " >&6; }
53231 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53232 if ${glibcxx_cv_func_strtof_use+:} false; then :
53233 $as_echo_n "(cached) " >&6
53234 else
53237 ac_ext=cpp
53238 ac_cpp='$CXXCPP $CPPFLAGS'
53239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53244 /* end confdefs.h. */
53245 #include <stdlib.h>
53247 main ()
53249 strtof(0, 0);
53251 return 0;
53253 _ACEOF
53254 if ac_fn_cxx_try_compile "$LINENO"; then :
53255 glibcxx_cv_func_strtof_use=yes
53256 else
53257 glibcxx_cv_func_strtof_use=no
53259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53260 ac_ext=c
53261 ac_cpp='$CPP $CPPFLAGS'
53262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53271 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53272 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53273 for ac_func in strtof
53274 do :
53275 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53276 if test "x$ac_cv_func_strtof" = xyes; then :
53277 cat >>confdefs.h <<_ACEOF
53278 #define HAVE_STRTOF 1
53279 _ACEOF
53282 done
53289 CXXFLAGS="$ac_save_CXXFLAGS"
53293 *djgpp)
53294 # GLIBCXX_CHECK_MATH_SUPPORT
53295 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53297 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53299 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53301 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
53303 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53307 *-freebsd*)
53308 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53311 # If we're not using GNU ld, then there's no point in even trying these
53312 # tests. Check for that first. We should have already tested for gld
53313 # by now (in libtool), but require it now just to be safe...
53314 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53315 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53319 # The name set by libtool depends on the version of libtool. Shame on us
53320 # for depending on an impl detail, but c'est la vie. Older versions used
53321 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53322 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53323 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53324 # set (hence we're using an older libtool), then set it.
53325 if test x${with_gnu_ld+set} != xset; then
53326 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53327 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53328 with_gnu_ld=no
53329 else
53330 with_gnu_ld=$ac_cv_prog_gnu_ld
53334 # Start by getting the version number. I think the libtool test already
53335 # does some of this, but throws away the result.
53336 glibcxx_ld_is_gold=no
53337 if test x"$with_gnu_ld" = x"yes"; then
53338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53339 $as_echo_n "checking for ld version... " >&6; }
53341 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53342 glibcxx_ld_is_gold=yes
53344 ldver=`$LD --version 2>/dev/null |
53345 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
53347 glibcxx_gnu_ld_version=`echo $ldver | \
53348 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53350 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53353 # Set --gc-sections.
53354 glibcxx_have_gc_sections=no
53355 if test "$glibcxx_ld_is_gold" = "yes"; then
53356 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53357 glibcxx_have_gc_sections=yes
53359 else
53360 glibcxx_gcsections_min_ld=21602
53361 if test x"$with_gnu_ld" = x"yes" &&
53362 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53363 glibcxx_have_gc_sections=yes
53366 if test "$glibcxx_have_gc_sections" = "yes"; then
53367 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53368 # NB: This flag only works reliably after 2.16.1. Configure tests
53369 # for this are difficult, so hard wire a value that should work.
53371 ac_test_CFLAGS="${CFLAGS+set}"
53372 ac_save_CFLAGS="$CFLAGS"
53373 CFLAGS='-Wl,--gc-sections'
53375 # Check for -Wl,--gc-sections
53376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53377 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53378 if test x$gcc_no_link = xyes; then
53379 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53382 /* end confdefs.h. */
53383 int one(void) { return 1; }
53384 int two(void) { return 2; }
53387 main ()
53389 two();
53391 return 0;
53393 _ACEOF
53394 if ac_fn_c_try_link "$LINENO"; then :
53395 ac_gcsections=yes
53396 else
53397 ac_gcsections=no
53399 rm -f core conftest.err conftest.$ac_objext \
53400 conftest$ac_exeext conftest.$ac_ext
53401 if test "$ac_gcsections" = "yes"; then
53402 rm -f conftest.c
53403 touch conftest.c
53404 if $CC -c conftest.c; then
53405 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53406 grep "Warning: gc-sections option ignored" > /dev/null; then
53407 ac_gcsections=no
53410 rm -f conftest.c conftest.o conftest
53412 if test "$ac_gcsections" = "yes"; then
53413 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53416 $as_echo "$ac_gcsections" >&6; }
53418 if test "$ac_test_CFLAGS" = set; then
53419 CFLAGS="$ac_save_CFLAGS"
53420 else
53421 # this is the suspicious part
53422 CFLAGS=''
53426 # Set -z,relro.
53427 # Note this is only for shared objects.
53428 ac_ld_relro=no
53429 if test x"$with_gnu_ld" = x"yes"; then
53430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53431 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53432 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53433 if test -n "$cxx_z_relo"; then
53434 OPT_LDFLAGS="-Wl,-z,relro"
53435 ac_ld_relro=yes
53437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53438 $as_echo "$ac_ld_relro" >&6; }
53441 # Set linker optimization flags.
53442 if test x"$with_gnu_ld" = x"yes"; then
53443 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53449 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53451 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53453 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53455 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53457 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53459 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53461 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53463 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53465 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53468 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53470 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53472 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53474 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53476 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53478 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53480 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53482 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53484 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53486 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53488 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53490 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53492 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53494 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53496 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53498 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53500 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53502 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53504 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53506 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53508 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53510 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53512 if test x"long_double_math_on_this_cpu" = x"yes"; then
53513 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53515 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53517 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53520 for ac_func in __cxa_thread_atexit
53521 do :
53522 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
53523 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
53524 cat >>confdefs.h <<_ACEOF
53525 #define HAVE___CXA_THREAD_ATEXIT 1
53526 _ACEOF
53529 done
53531 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
53532 do :
53533 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53534 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53535 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
53536 cat >>confdefs.h <<_ACEOF
53537 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53538 _ACEOF
53541 done
53545 *-fuchsia*)
53546 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53550 *-hpux*)
53551 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53554 # If we're not using GNU ld, then there's no point in even trying these
53555 # tests. Check for that first. We should have already tested for gld
53556 # by now (in libtool), but require it now just to be safe...
53557 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53558 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53562 # The name set by libtool depends on the version of libtool. Shame on us
53563 # for depending on an impl detail, but c'est la vie. Older versions used
53564 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53565 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53566 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53567 # set (hence we're using an older libtool), then set it.
53568 if test x${with_gnu_ld+set} != xset; then
53569 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53570 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53571 with_gnu_ld=no
53572 else
53573 with_gnu_ld=$ac_cv_prog_gnu_ld
53577 # Start by getting the version number. I think the libtool test already
53578 # does some of this, but throws away the result.
53579 glibcxx_ld_is_gold=no
53580 if test x"$with_gnu_ld" = x"yes"; then
53581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53582 $as_echo_n "checking for ld version... " >&6; }
53584 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53585 glibcxx_ld_is_gold=yes
53587 ldver=`$LD --version 2>/dev/null |
53588 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
53590 glibcxx_gnu_ld_version=`echo $ldver | \
53591 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53593 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53596 # Set --gc-sections.
53597 glibcxx_have_gc_sections=no
53598 if test "$glibcxx_ld_is_gold" = "yes"; then
53599 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53600 glibcxx_have_gc_sections=yes
53602 else
53603 glibcxx_gcsections_min_ld=21602
53604 if test x"$with_gnu_ld" = x"yes" &&
53605 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53606 glibcxx_have_gc_sections=yes
53609 if test "$glibcxx_have_gc_sections" = "yes"; then
53610 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53611 # NB: This flag only works reliably after 2.16.1. Configure tests
53612 # for this are difficult, so hard wire a value that should work.
53614 ac_test_CFLAGS="${CFLAGS+set}"
53615 ac_save_CFLAGS="$CFLAGS"
53616 CFLAGS='-Wl,--gc-sections'
53618 # Check for -Wl,--gc-sections
53619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53620 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53621 if test x$gcc_no_link = xyes; then
53622 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53625 /* end confdefs.h. */
53626 int one(void) { return 1; }
53627 int two(void) { return 2; }
53630 main ()
53632 two();
53634 return 0;
53636 _ACEOF
53637 if ac_fn_c_try_link "$LINENO"; then :
53638 ac_gcsections=yes
53639 else
53640 ac_gcsections=no
53642 rm -f core conftest.err conftest.$ac_objext \
53643 conftest$ac_exeext conftest.$ac_ext
53644 if test "$ac_gcsections" = "yes"; then
53645 rm -f conftest.c
53646 touch conftest.c
53647 if $CC -c conftest.c; then
53648 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53649 grep "Warning: gc-sections option ignored" > /dev/null; then
53650 ac_gcsections=no
53653 rm -f conftest.c conftest.o conftest
53655 if test "$ac_gcsections" = "yes"; then
53656 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53659 $as_echo "$ac_gcsections" >&6; }
53661 if test "$ac_test_CFLAGS" = set; then
53662 CFLAGS="$ac_save_CFLAGS"
53663 else
53664 # this is the suspicious part
53665 CFLAGS=''
53669 # Set -z,relro.
53670 # Note this is only for shared objects.
53671 ac_ld_relro=no
53672 if test x"$with_gnu_ld" = x"yes"; then
53673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53674 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53675 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53676 if test -n "$cxx_z_relo"; then
53677 OPT_LDFLAGS="-Wl,-z,relro"
53678 ac_ld_relro=yes
53680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53681 $as_echo "$ac_ld_relro" >&6; }
53684 # Set linker optimization flags.
53685 if test x"$with_gnu_ld" = x"yes"; then
53686 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53693 # GLIBCXX_CHECK_MATH_SUPPORT
53694 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53696 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53698 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53700 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53702 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53704 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53706 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53708 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53710 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53712 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53714 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53716 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53718 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53720 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53722 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53724 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53726 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53728 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53730 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53732 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53734 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53737 # GLIBCXX_CHECK_STDLIB_SUPPORT
53738 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53743 # Check whether --enable-tls was given.
53744 if test "${enable_tls+set}" = set; then :
53745 enableval=$enable_tls;
53746 case "$enableval" in
53747 yes|no) ;;
53748 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53749 esac
53751 else
53752 enable_tls=yes
53756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53757 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53758 if ${gcc_cv_have_tls+:} false; then :
53759 $as_echo_n "(cached) " >&6
53760 else
53762 if test "$cross_compiling" = yes; then :
53763 if test x$gcc_no_link = xyes; then
53764 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53767 /* end confdefs.h. */
53768 __thread int a; int b; int main() { return a = b; }
53769 _ACEOF
53770 if ac_fn_c_try_link "$LINENO"; then :
53771 chktls_save_LDFLAGS="$LDFLAGS"
53772 case $host in
53773 *-*-linux*)
53774 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53776 esac
53777 chktls_save_CFLAGS="$CFLAGS"
53778 CFLAGS="-fPIC $CFLAGS"
53779 if test x$gcc_no_link = xyes; then
53780 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53783 /* end confdefs.h. */
53784 int f() { return 0; }
53785 _ACEOF
53786 if ac_fn_c_try_link "$LINENO"; then :
53787 if test x$gcc_no_link = xyes; then
53788 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53791 /* end confdefs.h. */
53792 __thread int a; int b; int f() { return a = b; }
53793 _ACEOF
53794 if ac_fn_c_try_link "$LINENO"; then :
53795 gcc_cv_have_tls=yes
53796 else
53797 gcc_cv_have_tls=no
53799 rm -f core conftest.err conftest.$ac_objext \
53800 conftest$ac_exeext conftest.$ac_ext
53801 else
53802 gcc_cv_have_tls=yes
53804 rm -f core conftest.err conftest.$ac_objext \
53805 conftest$ac_exeext conftest.$ac_ext
53806 CFLAGS="$chktls_save_CFLAGS"
53807 LDFLAGS="$chktls_save_LDFLAGS"
53808 else
53809 gcc_cv_have_tls=no
53811 rm -f core conftest.err conftest.$ac_objext \
53812 conftest$ac_exeext conftest.$ac_ext
53815 else
53816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53817 /* end confdefs.h. */
53818 __thread int a; int b; int main() { return a = b; }
53819 _ACEOF
53820 if ac_fn_c_try_run "$LINENO"; then :
53821 chktls_save_LDFLAGS="$LDFLAGS"
53822 LDFLAGS="-static $LDFLAGS"
53823 if test x$gcc_no_link = xyes; then
53824 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53827 /* end confdefs.h. */
53828 int main() { return 0; }
53829 _ACEOF
53830 if ac_fn_c_try_link "$LINENO"; then :
53831 if test "$cross_compiling" = yes; then :
53832 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53834 as_fn_error $? "cannot run test program while cross compiling
53835 See \`config.log' for more details" "$LINENO" 5; }
53836 else
53837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53838 /* end confdefs.h. */
53839 __thread int a; int b; int main() { return a = b; }
53840 _ACEOF
53841 if ac_fn_c_try_run "$LINENO"; then :
53842 gcc_cv_have_tls=yes
53843 else
53844 gcc_cv_have_tls=no
53846 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53847 conftest.$ac_objext conftest.beam conftest.$ac_ext
53850 else
53851 gcc_cv_have_tls=yes
53853 rm -f core conftest.err conftest.$ac_objext \
53854 conftest$ac_exeext conftest.$ac_ext
53855 LDFLAGS="$chktls_save_LDFLAGS"
53856 if test $gcc_cv_have_tls = yes; then
53857 chktls_save_CFLAGS="$CFLAGS"
53858 thread_CFLAGS=failed
53859 for flag in '' '-pthread' '-lpthread'; do
53860 CFLAGS="$flag $chktls_save_CFLAGS"
53861 if test x$gcc_no_link = xyes; then
53862 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53865 /* end confdefs.h. */
53866 #include <pthread.h>
53867 void *g(void *d) { return NULL; }
53869 main ()
53871 pthread_t t; pthread_create(&t,NULL,g,NULL);
53873 return 0;
53875 _ACEOF
53876 if ac_fn_c_try_link "$LINENO"; then :
53877 thread_CFLAGS="$flag"
53879 rm -f core conftest.err conftest.$ac_objext \
53880 conftest$ac_exeext conftest.$ac_ext
53881 if test "X$thread_CFLAGS" != Xfailed; then
53882 break
53884 done
53885 CFLAGS="$chktls_save_CFLAGS"
53886 if test "X$thread_CFLAGS" != Xfailed; then
53887 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53888 if test "$cross_compiling" = yes; then :
53889 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53890 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53891 as_fn_error $? "cannot run test program while cross compiling
53892 See \`config.log' for more details" "$LINENO" 5; }
53893 else
53894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53895 /* end confdefs.h. */
53896 #include <pthread.h>
53897 __thread int a;
53898 static int *volatile a_in_other_thread;
53899 static void *
53900 thread_func (void *arg)
53902 a_in_other_thread = &a;
53903 return (void *)0;
53906 main ()
53908 pthread_t thread;
53909 void *thread_retval;
53910 int *volatile a_in_main_thread;
53911 a_in_main_thread = &a;
53912 if (pthread_create (&thread, (pthread_attr_t *)0,
53913 thread_func, (void *)0))
53914 return 0;
53915 if (pthread_join (thread, &thread_retval))
53916 return 0;
53917 return (a_in_other_thread == a_in_main_thread);
53919 return 0;
53921 _ACEOF
53922 if ac_fn_c_try_run "$LINENO"; then :
53923 gcc_cv_have_tls=yes
53924 else
53925 gcc_cv_have_tls=no
53927 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53928 conftest.$ac_objext conftest.beam conftest.$ac_ext
53931 CFLAGS="$chktls_save_CFLAGS"
53934 else
53935 gcc_cv_have_tls=no
53937 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53938 conftest.$ac_objext conftest.beam conftest.$ac_ext
53942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53943 $as_echo "$gcc_cv_have_tls" >&6; }
53944 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53946 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53949 case "$target" in
53950 *-hpux10*)
53951 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53953 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53955 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53957 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53959 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53962 esac
53964 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
53966 # All these tests are for C++; save the language and the compiler flags.
53967 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53968 # found in GLIBCXX_CONFIGURE.
53970 ac_ext=cpp
53971 ac_cpp='$CXXCPP $CPPFLAGS'
53972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53976 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53977 ac_save_CXXFLAGS="$CXXFLAGS"
53979 # Check for -ffunction-sections -fdata-sections
53980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53981 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53982 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53984 /* end confdefs.h. */
53985 int foo; void bar() { };
53987 main ()
53991 return 0;
53993 _ACEOF
53994 if ac_fn_cxx_try_compile "$LINENO"; then :
53995 ac_fdsections=yes
53996 else
53997 ac_fdsections=no
53999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54000 if test "$ac_test_CXXFLAGS" = set; then
54001 CXXFLAGS="$ac_save_CXXFLAGS"
54002 else
54003 # this is the suspicious part
54004 CXXFLAGS=''
54006 if test x"$ac_fdsections" = x"yes"; then
54007 SECTION_FLAGS='-ffunction-sections -fdata-sections'
54009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
54010 $as_echo "$ac_fdsections" >&6; }
54012 ac_ext=c
54013 ac_cpp='$CPP $CPPFLAGS'
54014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54021 # If we're not using GNU ld, then there's no point in even trying these
54022 # tests. Check for that first. We should have already tested for gld
54023 # by now (in libtool), but require it now just to be safe...
54024 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54025 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54029 # The name set by libtool depends on the version of libtool. Shame on us
54030 # for depending on an impl detail, but c'est la vie. Older versions used
54031 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54032 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54033 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54034 # set (hence we're using an older libtool), then set it.
54035 if test x${with_gnu_ld+set} != xset; then
54036 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54037 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54038 with_gnu_ld=no
54039 else
54040 with_gnu_ld=$ac_cv_prog_gnu_ld
54044 # Start by getting the version number. I think the libtool test already
54045 # does some of this, but throws away the result.
54046 glibcxx_ld_is_gold=no
54047 if test x"$with_gnu_ld" = x"yes"; then
54048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54049 $as_echo_n "checking for ld version... " >&6; }
54051 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54052 glibcxx_ld_is_gold=yes
54054 ldver=`$LD --version 2>/dev/null |
54055 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
54057 glibcxx_gnu_ld_version=`echo $ldver | \
54058 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54060 $as_echo "$glibcxx_gnu_ld_version" >&6; }
54063 # Set --gc-sections.
54064 glibcxx_have_gc_sections=no
54065 if test "$glibcxx_ld_is_gold" = "yes"; then
54066 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54067 glibcxx_have_gc_sections=yes
54069 else
54070 glibcxx_gcsections_min_ld=21602
54071 if test x"$with_gnu_ld" = x"yes" &&
54072 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54073 glibcxx_have_gc_sections=yes
54076 if test "$glibcxx_have_gc_sections" = "yes"; then
54077 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54078 # NB: This flag only works reliably after 2.16.1. Configure tests
54079 # for this are difficult, so hard wire a value that should work.
54081 ac_test_CFLAGS="${CFLAGS+set}"
54082 ac_save_CFLAGS="$CFLAGS"
54083 CFLAGS='-Wl,--gc-sections'
54085 # Check for -Wl,--gc-sections
54086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54087 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54088 if test x$gcc_no_link = xyes; then
54089 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54092 /* end confdefs.h. */
54093 int one(void) { return 1; }
54094 int two(void) { return 2; }
54097 main ()
54099 two();
54101 return 0;
54103 _ACEOF
54104 if ac_fn_c_try_link "$LINENO"; then :
54105 ac_gcsections=yes
54106 else
54107 ac_gcsections=no
54109 rm -f core conftest.err conftest.$ac_objext \
54110 conftest$ac_exeext conftest.$ac_ext
54111 if test "$ac_gcsections" = "yes"; then
54112 rm -f conftest.c
54113 touch conftest.c
54114 if $CC -c conftest.c; then
54115 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54116 grep "Warning: gc-sections option ignored" > /dev/null; then
54117 ac_gcsections=no
54120 rm -f conftest.c conftest.o conftest
54122 if test "$ac_gcsections" = "yes"; then
54123 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54126 $as_echo "$ac_gcsections" >&6; }
54128 if test "$ac_test_CFLAGS" = set; then
54129 CFLAGS="$ac_save_CFLAGS"
54130 else
54131 # this is the suspicious part
54132 CFLAGS=''
54136 # Set -z,relro.
54137 # Note this is only for shared objects.
54138 ac_ld_relro=no
54139 if test x"$with_gnu_ld" = x"yes"; then
54140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
54141 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
54142 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54143 if test -n "$cxx_z_relo"; then
54144 OPT_LDFLAGS="-Wl,-z,relro"
54145 ac_ld_relro=yes
54147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
54148 $as_echo "$ac_ld_relro" >&6; }
54151 # Set linker optimization flags.
54152 if test x"$with_gnu_ld" = x"yes"; then
54153 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54160 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54161 ac_save_CXXFLAGS="$CXXFLAGS"
54162 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
54165 $as_echo_n "checking for sin in -lm... " >&6; }
54166 if ${ac_cv_lib_m_sin+:} false; then :
54167 $as_echo_n "(cached) " >&6
54168 else
54169 ac_check_lib_save_LIBS=$LIBS
54170 LIBS="-lm $LIBS"
54171 if test x$gcc_no_link = xyes; then
54172 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54175 /* end confdefs.h. */
54177 /* Override any GCC internal prototype to avoid an error.
54178 Use char because int might match the return type of a GCC
54179 builtin and then its argument prototype would still apply. */
54180 #ifdef __cplusplus
54181 extern "C"
54182 #endif
54183 char sin ();
54185 main ()
54187 return sin ();
54189 return 0;
54191 _ACEOF
54192 if ac_fn_c_try_link "$LINENO"; then :
54193 ac_cv_lib_m_sin=yes
54194 else
54195 ac_cv_lib_m_sin=no
54197 rm -f core conftest.err conftest.$ac_objext \
54198 conftest$ac_exeext conftest.$ac_ext
54199 LIBS=$ac_check_lib_save_LIBS
54201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54202 $as_echo "$ac_cv_lib_m_sin" >&6; }
54203 if test "x$ac_cv_lib_m_sin" = xyes; then :
54204 libm="-lm"
54207 ac_save_LIBS="$LIBS"
54208 LIBS="$LIBS $libm"
54212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54213 $as_echo_n "checking for isinf declaration... " >&6; }
54214 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54215 if ${glibcxx_cv_func_isinf_use+:} false; then :
54216 $as_echo_n "(cached) " >&6
54217 else
54220 ac_ext=cpp
54221 ac_cpp='$CXXCPP $CPPFLAGS'
54222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54227 /* end confdefs.h. */
54228 #include <math.h>
54229 #ifdef HAVE_IEEEFP_H
54230 #include <ieeefp.h>
54231 #endif
54234 main ()
54236 isinf(0);
54238 return 0;
54240 _ACEOF
54241 if ac_fn_cxx_try_compile "$LINENO"; then :
54242 glibcxx_cv_func_isinf_use=yes
54243 else
54244 glibcxx_cv_func_isinf_use=no
54246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54247 ac_ext=c
54248 ac_cpp='$CPP $CPPFLAGS'
54249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54258 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54260 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54261 for ac_func in isinf
54262 do :
54263 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54264 if test "x$ac_cv_func_isinf" = xyes; then :
54265 cat >>confdefs.h <<_ACEOF
54266 #define HAVE_ISINF 1
54267 _ACEOF
54270 done
54272 else
54274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54275 $as_echo_n "checking for _isinf declaration... " >&6; }
54276 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54277 if ${glibcxx_cv_func__isinf_use+:} false; then :
54278 $as_echo_n "(cached) " >&6
54279 else
54282 ac_ext=cpp
54283 ac_cpp='$CXXCPP $CPPFLAGS'
54284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54289 /* end confdefs.h. */
54290 #include <math.h>
54291 #ifdef HAVE_IEEEFP_H
54292 #include <ieeefp.h>
54293 #endif
54296 main ()
54298 _isinf(0);
54300 return 0;
54302 _ACEOF
54303 if ac_fn_cxx_try_compile "$LINENO"; then :
54304 glibcxx_cv_func__isinf_use=yes
54305 else
54306 glibcxx_cv_func__isinf_use=no
54308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54309 ac_ext=c
54310 ac_cpp='$CPP $CPPFLAGS'
54311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54320 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54322 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54323 for ac_func in _isinf
54324 do :
54325 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54326 if test "x$ac_cv_func__isinf" = xyes; then :
54327 cat >>confdefs.h <<_ACEOF
54328 #define HAVE__ISINF 1
54329 _ACEOF
54332 done
54341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54342 $as_echo_n "checking for isnan declaration... " >&6; }
54343 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54344 if ${glibcxx_cv_func_isnan_use+:} false; then :
54345 $as_echo_n "(cached) " >&6
54346 else
54349 ac_ext=cpp
54350 ac_cpp='$CXXCPP $CPPFLAGS'
54351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54356 /* end confdefs.h. */
54357 #include <math.h>
54358 #ifdef HAVE_IEEEFP_H
54359 #include <ieeefp.h>
54360 #endif
54363 main ()
54365 isnan(0);
54367 return 0;
54369 _ACEOF
54370 if ac_fn_cxx_try_compile "$LINENO"; then :
54371 glibcxx_cv_func_isnan_use=yes
54372 else
54373 glibcxx_cv_func_isnan_use=no
54375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54376 ac_ext=c
54377 ac_cpp='$CPP $CPPFLAGS'
54378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54387 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54389 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54390 for ac_func in isnan
54391 do :
54392 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54393 if test "x$ac_cv_func_isnan" = xyes; then :
54394 cat >>confdefs.h <<_ACEOF
54395 #define HAVE_ISNAN 1
54396 _ACEOF
54399 done
54401 else
54403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54404 $as_echo_n "checking for _isnan declaration... " >&6; }
54405 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54406 if ${glibcxx_cv_func__isnan_use+:} false; then :
54407 $as_echo_n "(cached) " >&6
54408 else
54411 ac_ext=cpp
54412 ac_cpp='$CXXCPP $CPPFLAGS'
54413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54418 /* end confdefs.h. */
54419 #include <math.h>
54420 #ifdef HAVE_IEEEFP_H
54421 #include <ieeefp.h>
54422 #endif
54425 main ()
54427 _isnan(0);
54429 return 0;
54431 _ACEOF
54432 if ac_fn_cxx_try_compile "$LINENO"; then :
54433 glibcxx_cv_func__isnan_use=yes
54434 else
54435 glibcxx_cv_func__isnan_use=no
54437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54438 ac_ext=c
54439 ac_cpp='$CPP $CPPFLAGS'
54440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54449 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54451 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54452 for ac_func in _isnan
54453 do :
54454 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54455 if test "x$ac_cv_func__isnan" = xyes; then :
54456 cat >>confdefs.h <<_ACEOF
54457 #define HAVE__ISNAN 1
54458 _ACEOF
54461 done
54470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54471 $as_echo_n "checking for finite declaration... " >&6; }
54472 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54473 if ${glibcxx_cv_func_finite_use+:} false; then :
54474 $as_echo_n "(cached) " >&6
54475 else
54478 ac_ext=cpp
54479 ac_cpp='$CXXCPP $CPPFLAGS'
54480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54485 /* end confdefs.h. */
54486 #include <math.h>
54487 #ifdef HAVE_IEEEFP_H
54488 #include <ieeefp.h>
54489 #endif
54492 main ()
54494 finite(0);
54496 return 0;
54498 _ACEOF
54499 if ac_fn_cxx_try_compile "$LINENO"; then :
54500 glibcxx_cv_func_finite_use=yes
54501 else
54502 glibcxx_cv_func_finite_use=no
54504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54505 ac_ext=c
54506 ac_cpp='$CPP $CPPFLAGS'
54507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54516 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54518 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54519 for ac_func in finite
54520 do :
54521 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54522 if test "x$ac_cv_func_finite" = xyes; then :
54523 cat >>confdefs.h <<_ACEOF
54524 #define HAVE_FINITE 1
54525 _ACEOF
54528 done
54530 else
54532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54533 $as_echo_n "checking for _finite declaration... " >&6; }
54534 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54535 if ${glibcxx_cv_func__finite_use+:} false; then :
54536 $as_echo_n "(cached) " >&6
54537 else
54540 ac_ext=cpp
54541 ac_cpp='$CXXCPP $CPPFLAGS'
54542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54547 /* end confdefs.h. */
54548 #include <math.h>
54549 #ifdef HAVE_IEEEFP_H
54550 #include <ieeefp.h>
54551 #endif
54554 main ()
54556 _finite(0);
54558 return 0;
54560 _ACEOF
54561 if ac_fn_cxx_try_compile "$LINENO"; then :
54562 glibcxx_cv_func__finite_use=yes
54563 else
54564 glibcxx_cv_func__finite_use=no
54566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54567 ac_ext=c
54568 ac_cpp='$CPP $CPPFLAGS'
54569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54578 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54580 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54581 for ac_func in _finite
54582 do :
54583 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54584 if test "x$ac_cv_func__finite" = xyes; then :
54585 cat >>confdefs.h <<_ACEOF
54586 #define HAVE__FINITE 1
54587 _ACEOF
54590 done
54599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54600 $as_echo_n "checking for sincos declaration... " >&6; }
54601 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54602 if ${glibcxx_cv_func_sincos_use+:} false; then :
54603 $as_echo_n "(cached) " >&6
54604 else
54607 ac_ext=cpp
54608 ac_cpp='$CXXCPP $CPPFLAGS'
54609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54614 /* end confdefs.h. */
54615 #include <math.h>
54617 main ()
54619 sincos(0, 0, 0);
54621 return 0;
54623 _ACEOF
54624 if ac_fn_cxx_try_compile "$LINENO"; then :
54625 glibcxx_cv_func_sincos_use=yes
54626 else
54627 glibcxx_cv_func_sincos_use=no
54629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54630 ac_ext=c
54631 ac_cpp='$CPP $CPPFLAGS'
54632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54641 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54643 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54644 for ac_func in sincos
54645 do :
54646 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54647 if test "x$ac_cv_func_sincos" = xyes; then :
54648 cat >>confdefs.h <<_ACEOF
54649 #define HAVE_SINCOS 1
54650 _ACEOF
54653 done
54655 else
54657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54658 $as_echo_n "checking for _sincos declaration... " >&6; }
54659 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54660 if ${glibcxx_cv_func__sincos_use+:} false; then :
54661 $as_echo_n "(cached) " >&6
54662 else
54665 ac_ext=cpp
54666 ac_cpp='$CXXCPP $CPPFLAGS'
54667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54672 /* end confdefs.h. */
54673 #include <math.h>
54675 main ()
54677 _sincos(0, 0, 0);
54679 return 0;
54681 _ACEOF
54682 if ac_fn_cxx_try_compile "$LINENO"; then :
54683 glibcxx_cv_func__sincos_use=yes
54684 else
54685 glibcxx_cv_func__sincos_use=no
54687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54688 ac_ext=c
54689 ac_cpp='$CPP $CPPFLAGS'
54690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54699 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54701 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54702 for ac_func in _sincos
54703 do :
54704 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54705 if test "x$ac_cv_func__sincos" = xyes; then :
54706 cat >>confdefs.h <<_ACEOF
54707 #define HAVE__SINCOS 1
54708 _ACEOF
54711 done
54720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54721 $as_echo_n "checking for fpclass declaration... " >&6; }
54722 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54723 if ${glibcxx_cv_func_fpclass_use+:} false; then :
54724 $as_echo_n "(cached) " >&6
54725 else
54728 ac_ext=cpp
54729 ac_cpp='$CXXCPP $CPPFLAGS'
54730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54735 /* end confdefs.h. */
54736 #include <math.h>
54737 #ifdef HAVE_IEEEFP_H
54738 #include <ieeefp.h>
54739 #endif
54742 main ()
54744 fpclass(0);
54746 return 0;
54748 _ACEOF
54749 if ac_fn_cxx_try_compile "$LINENO"; then :
54750 glibcxx_cv_func_fpclass_use=yes
54751 else
54752 glibcxx_cv_func_fpclass_use=no
54754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54755 ac_ext=c
54756 ac_cpp='$CPP $CPPFLAGS'
54757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54766 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54768 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54769 for ac_func in fpclass
54770 do :
54771 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54772 if test "x$ac_cv_func_fpclass" = xyes; then :
54773 cat >>confdefs.h <<_ACEOF
54774 #define HAVE_FPCLASS 1
54775 _ACEOF
54778 done
54780 else
54782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54783 $as_echo_n "checking for _fpclass declaration... " >&6; }
54784 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54785 if ${glibcxx_cv_func__fpclass_use+:} false; then :
54786 $as_echo_n "(cached) " >&6
54787 else
54790 ac_ext=cpp
54791 ac_cpp='$CXXCPP $CPPFLAGS'
54792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54797 /* end confdefs.h. */
54798 #include <math.h>
54799 #ifdef HAVE_IEEEFP_H
54800 #include <ieeefp.h>
54801 #endif
54804 main ()
54806 _fpclass(0);
54808 return 0;
54810 _ACEOF
54811 if ac_fn_cxx_try_compile "$LINENO"; then :
54812 glibcxx_cv_func__fpclass_use=yes
54813 else
54814 glibcxx_cv_func__fpclass_use=no
54816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54817 ac_ext=c
54818 ac_cpp='$CPP $CPPFLAGS'
54819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54828 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54830 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54831 for ac_func in _fpclass
54832 do :
54833 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54834 if test "x$ac_cv_func__fpclass" = xyes; then :
54835 cat >>confdefs.h <<_ACEOF
54836 #define HAVE__FPCLASS 1
54837 _ACEOF
54840 done
54849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54850 $as_echo_n "checking for qfpclass declaration... " >&6; }
54851 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54852 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
54853 $as_echo_n "(cached) " >&6
54854 else
54857 ac_ext=cpp
54858 ac_cpp='$CXXCPP $CPPFLAGS'
54859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54864 /* end confdefs.h. */
54865 #include <math.h>
54866 #ifdef HAVE_IEEEFP_H
54867 #include <ieeefp.h>
54868 #endif
54871 main ()
54873 qfpclass(0);
54875 return 0;
54877 _ACEOF
54878 if ac_fn_cxx_try_compile "$LINENO"; then :
54879 glibcxx_cv_func_qfpclass_use=yes
54880 else
54881 glibcxx_cv_func_qfpclass_use=no
54883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54884 ac_ext=c
54885 ac_cpp='$CPP $CPPFLAGS'
54886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54895 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54897 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54898 for ac_func in qfpclass
54899 do :
54900 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54901 if test "x$ac_cv_func_qfpclass" = xyes; then :
54902 cat >>confdefs.h <<_ACEOF
54903 #define HAVE_QFPCLASS 1
54904 _ACEOF
54907 done
54909 else
54911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54912 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54913 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54914 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
54915 $as_echo_n "(cached) " >&6
54916 else
54919 ac_ext=cpp
54920 ac_cpp='$CXXCPP $CPPFLAGS'
54921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54926 /* end confdefs.h. */
54927 #include <math.h>
54928 #ifdef HAVE_IEEEFP_H
54929 #include <ieeefp.h>
54930 #endif
54933 main ()
54935 _qfpclass(0);
54937 return 0;
54939 _ACEOF
54940 if ac_fn_cxx_try_compile "$LINENO"; then :
54941 glibcxx_cv_func__qfpclass_use=yes
54942 else
54943 glibcxx_cv_func__qfpclass_use=no
54945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54946 ac_ext=c
54947 ac_cpp='$CPP $CPPFLAGS'
54948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54957 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54959 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54960 for ac_func in _qfpclass
54961 do :
54962 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54963 if test "x$ac_cv_func__qfpclass" = xyes; then :
54964 cat >>confdefs.h <<_ACEOF
54965 #define HAVE__QFPCLASS 1
54966 _ACEOF
54969 done
54978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54979 $as_echo_n "checking for hypot declaration... " >&6; }
54980 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54981 if ${glibcxx_cv_func_hypot_use+:} false; then :
54982 $as_echo_n "(cached) " >&6
54983 else
54986 ac_ext=cpp
54987 ac_cpp='$CXXCPP $CPPFLAGS'
54988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54993 /* end confdefs.h. */
54994 #include <math.h>
54996 main ()
54998 hypot(0, 0);
55000 return 0;
55002 _ACEOF
55003 if ac_fn_cxx_try_compile "$LINENO"; then :
55004 glibcxx_cv_func_hypot_use=yes
55005 else
55006 glibcxx_cv_func_hypot_use=no
55008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55009 ac_ext=c
55010 ac_cpp='$CPP $CPPFLAGS'
55011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55020 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55022 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55023 for ac_func in hypot
55024 do :
55025 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55026 if test "x$ac_cv_func_hypot" = xyes; then :
55027 cat >>confdefs.h <<_ACEOF
55028 #define HAVE_HYPOT 1
55029 _ACEOF
55032 done
55034 else
55036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55037 $as_echo_n "checking for _hypot declaration... " >&6; }
55038 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55039 if ${glibcxx_cv_func__hypot_use+:} false; then :
55040 $as_echo_n "(cached) " >&6
55041 else
55044 ac_ext=cpp
55045 ac_cpp='$CXXCPP $CPPFLAGS'
55046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55051 /* end confdefs.h. */
55052 #include <math.h>
55054 main ()
55056 _hypot(0, 0);
55058 return 0;
55060 _ACEOF
55061 if ac_fn_cxx_try_compile "$LINENO"; then :
55062 glibcxx_cv_func__hypot_use=yes
55063 else
55064 glibcxx_cv_func__hypot_use=no
55066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55067 ac_ext=c
55068 ac_cpp='$CPP $CPPFLAGS'
55069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55078 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55080 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55081 for ac_func in _hypot
55082 do :
55083 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55084 if test "x$ac_cv_func__hypot" = xyes; then :
55085 cat >>confdefs.h <<_ACEOF
55086 #define HAVE__HYPOT 1
55087 _ACEOF
55090 done
55099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55100 $as_echo_n "checking for float trig functions... " >&6; }
55101 if ${glibcxx_cv_func_float_trig_use+:} false; then :
55102 $as_echo_n "(cached) " >&6
55103 else
55106 ac_ext=cpp
55107 ac_cpp='$CXXCPP $CPPFLAGS'
55108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55113 /* end confdefs.h. */
55114 #include <math.h>
55116 main ()
55118 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55120 return 0;
55122 _ACEOF
55123 if ac_fn_cxx_try_compile "$LINENO"; then :
55124 glibcxx_cv_func_float_trig_use=yes
55125 else
55126 glibcxx_cv_func_float_trig_use=no
55128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55129 ac_ext=c
55130 ac_cpp='$CPP $CPPFLAGS'
55131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
55138 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
55139 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
55140 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
55141 do :
55142 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55143 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55144 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55145 cat >>confdefs.h <<_ACEOF
55146 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55147 _ACEOF
55150 done
55152 else
55153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
55154 $as_echo_n "checking for _float trig functions... " >&6; }
55155 if ${glibcxx_cv_func__float_trig_use+:} false; then :
55156 $as_echo_n "(cached) " >&6
55157 else
55160 ac_ext=cpp
55161 ac_cpp='$CXXCPP $CPPFLAGS'
55162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55167 /* end confdefs.h. */
55168 #include <math.h>
55170 main ()
55172 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55174 return 0;
55176 _ACEOF
55177 if ac_fn_cxx_try_compile "$LINENO"; then :
55178 glibcxx_cv_func__float_trig_use=yes
55179 else
55180 glibcxx_cv_func__float_trig_use=no
55182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55183 ac_ext=c
55184 ac_cpp='$CPP $CPPFLAGS'
55185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55192 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55193 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55194 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55195 do :
55196 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55197 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55198 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55199 cat >>confdefs.h <<_ACEOF
55200 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55201 _ACEOF
55204 done
55213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55214 $as_echo_n "checking for float round functions... " >&6; }
55215 if ${glibcxx_cv_func_float_round_use+:} false; then :
55216 $as_echo_n "(cached) " >&6
55217 else
55220 ac_ext=cpp
55221 ac_cpp='$CXXCPP $CPPFLAGS'
55222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55227 /* end confdefs.h. */
55228 #include <math.h>
55230 main ()
55232 ceilf (0); floorf (0);
55234 return 0;
55236 _ACEOF
55237 if ac_fn_cxx_try_compile "$LINENO"; then :
55238 glibcxx_cv_func_float_round_use=yes
55239 else
55240 glibcxx_cv_func_float_round_use=no
55242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55243 ac_ext=c
55244 ac_cpp='$CPP $CPPFLAGS'
55245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55252 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55253 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55254 for ac_func in ceilf floorf
55255 do :
55256 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55257 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55258 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55259 cat >>confdefs.h <<_ACEOF
55260 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55261 _ACEOF
55264 done
55266 else
55267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55268 $as_echo_n "checking for _float round functions... " >&6; }
55269 if ${glibcxx_cv_func__float_round_use+:} false; then :
55270 $as_echo_n "(cached) " >&6
55271 else
55274 ac_ext=cpp
55275 ac_cpp='$CXXCPP $CPPFLAGS'
55276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55281 /* end confdefs.h. */
55282 #include <math.h>
55284 main ()
55286 _ceilf (0); _floorf (0);
55288 return 0;
55290 _ACEOF
55291 if ac_fn_cxx_try_compile "$LINENO"; then :
55292 glibcxx_cv_func__float_round_use=yes
55293 else
55294 glibcxx_cv_func__float_round_use=no
55296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55297 ac_ext=c
55298 ac_cpp='$CPP $CPPFLAGS'
55299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55306 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55307 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55308 for ac_func in _ceilf _floorf
55309 do :
55310 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55311 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55312 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55313 cat >>confdefs.h <<_ACEOF
55314 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55315 _ACEOF
55318 done
55328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55329 $as_echo_n "checking for expf declaration... " >&6; }
55330 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55331 if ${glibcxx_cv_func_expf_use+:} false; then :
55332 $as_echo_n "(cached) " >&6
55333 else
55336 ac_ext=cpp
55337 ac_cpp='$CXXCPP $CPPFLAGS'
55338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55343 /* end confdefs.h. */
55344 #include <math.h>
55345 #ifdef HAVE_IEEEFP_H
55346 #include <ieeefp.h>
55347 #endif
55350 main ()
55352 expf(0);
55354 return 0;
55356 _ACEOF
55357 if ac_fn_cxx_try_compile "$LINENO"; then :
55358 glibcxx_cv_func_expf_use=yes
55359 else
55360 glibcxx_cv_func_expf_use=no
55362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55363 ac_ext=c
55364 ac_cpp='$CPP $CPPFLAGS'
55365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55374 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55376 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55377 for ac_func in expf
55378 do :
55379 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55380 if test "x$ac_cv_func_expf" = xyes; then :
55381 cat >>confdefs.h <<_ACEOF
55382 #define HAVE_EXPF 1
55383 _ACEOF
55386 done
55388 else
55390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55391 $as_echo_n "checking for _expf declaration... " >&6; }
55392 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55393 if ${glibcxx_cv_func__expf_use+:} false; then :
55394 $as_echo_n "(cached) " >&6
55395 else
55398 ac_ext=cpp
55399 ac_cpp='$CXXCPP $CPPFLAGS'
55400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55405 /* end confdefs.h. */
55406 #include <math.h>
55407 #ifdef HAVE_IEEEFP_H
55408 #include <ieeefp.h>
55409 #endif
55412 main ()
55414 _expf(0);
55416 return 0;
55418 _ACEOF
55419 if ac_fn_cxx_try_compile "$LINENO"; then :
55420 glibcxx_cv_func__expf_use=yes
55421 else
55422 glibcxx_cv_func__expf_use=no
55424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55425 ac_ext=c
55426 ac_cpp='$CPP $CPPFLAGS'
55427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55436 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55438 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55439 for ac_func in _expf
55440 do :
55441 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55442 if test "x$ac_cv_func__expf" = xyes; then :
55443 cat >>confdefs.h <<_ACEOF
55444 #define HAVE__EXPF 1
55445 _ACEOF
55448 done
55457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55458 $as_echo_n "checking for isnanf declaration... " >&6; }
55459 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55460 if ${glibcxx_cv_func_isnanf_use+:} false; then :
55461 $as_echo_n "(cached) " >&6
55462 else
55465 ac_ext=cpp
55466 ac_cpp='$CXXCPP $CPPFLAGS'
55467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55472 /* end confdefs.h. */
55473 #include <math.h>
55474 #ifdef HAVE_IEEEFP_H
55475 #include <ieeefp.h>
55476 #endif
55479 main ()
55481 isnanf(0);
55483 return 0;
55485 _ACEOF
55486 if ac_fn_cxx_try_compile "$LINENO"; then :
55487 glibcxx_cv_func_isnanf_use=yes
55488 else
55489 glibcxx_cv_func_isnanf_use=no
55491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55492 ac_ext=c
55493 ac_cpp='$CPP $CPPFLAGS'
55494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55503 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55505 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55506 for ac_func in isnanf
55507 do :
55508 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55509 if test "x$ac_cv_func_isnanf" = xyes; then :
55510 cat >>confdefs.h <<_ACEOF
55511 #define HAVE_ISNANF 1
55512 _ACEOF
55515 done
55517 else
55519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55520 $as_echo_n "checking for _isnanf declaration... " >&6; }
55521 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55522 if ${glibcxx_cv_func__isnanf_use+:} false; then :
55523 $as_echo_n "(cached) " >&6
55524 else
55527 ac_ext=cpp
55528 ac_cpp='$CXXCPP $CPPFLAGS'
55529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55534 /* end confdefs.h. */
55535 #include <math.h>
55536 #ifdef HAVE_IEEEFP_H
55537 #include <ieeefp.h>
55538 #endif
55541 main ()
55543 _isnanf(0);
55545 return 0;
55547 _ACEOF
55548 if ac_fn_cxx_try_compile "$LINENO"; then :
55549 glibcxx_cv_func__isnanf_use=yes
55550 else
55551 glibcxx_cv_func__isnanf_use=no
55553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55554 ac_ext=c
55555 ac_cpp='$CPP $CPPFLAGS'
55556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55565 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55567 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55568 for ac_func in _isnanf
55569 do :
55570 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55571 if test "x$ac_cv_func__isnanf" = xyes; then :
55572 cat >>confdefs.h <<_ACEOF
55573 #define HAVE__ISNANF 1
55574 _ACEOF
55577 done
55586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55587 $as_echo_n "checking for isinff declaration... " >&6; }
55588 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55589 if ${glibcxx_cv_func_isinff_use+:} false; then :
55590 $as_echo_n "(cached) " >&6
55591 else
55594 ac_ext=cpp
55595 ac_cpp='$CXXCPP $CPPFLAGS'
55596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55601 /* end confdefs.h. */
55602 #include <math.h>
55603 #ifdef HAVE_IEEEFP_H
55604 #include <ieeefp.h>
55605 #endif
55608 main ()
55610 isinff(0);
55612 return 0;
55614 _ACEOF
55615 if ac_fn_cxx_try_compile "$LINENO"; then :
55616 glibcxx_cv_func_isinff_use=yes
55617 else
55618 glibcxx_cv_func_isinff_use=no
55620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55621 ac_ext=c
55622 ac_cpp='$CPP $CPPFLAGS'
55623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55632 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55634 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55635 for ac_func in isinff
55636 do :
55637 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55638 if test "x$ac_cv_func_isinff" = xyes; then :
55639 cat >>confdefs.h <<_ACEOF
55640 #define HAVE_ISINFF 1
55641 _ACEOF
55644 done
55646 else
55648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55649 $as_echo_n "checking for _isinff declaration... " >&6; }
55650 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55651 if ${glibcxx_cv_func__isinff_use+:} false; then :
55652 $as_echo_n "(cached) " >&6
55653 else
55656 ac_ext=cpp
55657 ac_cpp='$CXXCPP $CPPFLAGS'
55658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55663 /* end confdefs.h. */
55664 #include <math.h>
55665 #ifdef HAVE_IEEEFP_H
55666 #include <ieeefp.h>
55667 #endif
55670 main ()
55672 _isinff(0);
55674 return 0;
55676 _ACEOF
55677 if ac_fn_cxx_try_compile "$LINENO"; then :
55678 glibcxx_cv_func__isinff_use=yes
55679 else
55680 glibcxx_cv_func__isinff_use=no
55682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55683 ac_ext=c
55684 ac_cpp='$CPP $CPPFLAGS'
55685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55694 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55696 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55697 for ac_func in _isinff
55698 do :
55699 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55700 if test "x$ac_cv_func__isinff" = xyes; then :
55701 cat >>confdefs.h <<_ACEOF
55702 #define HAVE__ISINFF 1
55703 _ACEOF
55706 done
55715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55716 $as_echo_n "checking for atan2f declaration... " >&6; }
55717 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55718 if ${glibcxx_cv_func_atan2f_use+:} false; then :
55719 $as_echo_n "(cached) " >&6
55720 else
55723 ac_ext=cpp
55724 ac_cpp='$CXXCPP $CPPFLAGS'
55725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55730 /* end confdefs.h. */
55731 #include <math.h>
55733 main ()
55735 atan2f(0, 0);
55737 return 0;
55739 _ACEOF
55740 if ac_fn_cxx_try_compile "$LINENO"; then :
55741 glibcxx_cv_func_atan2f_use=yes
55742 else
55743 glibcxx_cv_func_atan2f_use=no
55745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55746 ac_ext=c
55747 ac_cpp='$CPP $CPPFLAGS'
55748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55757 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55759 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55760 for ac_func in atan2f
55761 do :
55762 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55763 if test "x$ac_cv_func_atan2f" = xyes; then :
55764 cat >>confdefs.h <<_ACEOF
55765 #define HAVE_ATAN2F 1
55766 _ACEOF
55769 done
55771 else
55773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55774 $as_echo_n "checking for _atan2f declaration... " >&6; }
55775 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55776 if ${glibcxx_cv_func__atan2f_use+:} false; then :
55777 $as_echo_n "(cached) " >&6
55778 else
55781 ac_ext=cpp
55782 ac_cpp='$CXXCPP $CPPFLAGS'
55783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55788 /* end confdefs.h. */
55789 #include <math.h>
55791 main ()
55793 _atan2f(0, 0);
55795 return 0;
55797 _ACEOF
55798 if ac_fn_cxx_try_compile "$LINENO"; then :
55799 glibcxx_cv_func__atan2f_use=yes
55800 else
55801 glibcxx_cv_func__atan2f_use=no
55803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55804 ac_ext=c
55805 ac_cpp='$CPP $CPPFLAGS'
55806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55815 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55817 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55818 for ac_func in _atan2f
55819 do :
55820 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55821 if test "x$ac_cv_func__atan2f" = xyes; then :
55822 cat >>confdefs.h <<_ACEOF
55823 #define HAVE__ATAN2F 1
55824 _ACEOF
55827 done
55836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55837 $as_echo_n "checking for fabsf declaration... " >&6; }
55838 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55839 if ${glibcxx_cv_func_fabsf_use+:} false; then :
55840 $as_echo_n "(cached) " >&6
55841 else
55844 ac_ext=cpp
55845 ac_cpp='$CXXCPP $CPPFLAGS'
55846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55851 /* end confdefs.h. */
55852 #include <math.h>
55853 #ifdef HAVE_IEEEFP_H
55854 #include <ieeefp.h>
55855 #endif
55858 main ()
55860 fabsf(0);
55862 return 0;
55864 _ACEOF
55865 if ac_fn_cxx_try_compile "$LINENO"; then :
55866 glibcxx_cv_func_fabsf_use=yes
55867 else
55868 glibcxx_cv_func_fabsf_use=no
55870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55871 ac_ext=c
55872 ac_cpp='$CPP $CPPFLAGS'
55873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55882 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55884 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55885 for ac_func in fabsf
55886 do :
55887 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55888 if test "x$ac_cv_func_fabsf" = xyes; then :
55889 cat >>confdefs.h <<_ACEOF
55890 #define HAVE_FABSF 1
55891 _ACEOF
55894 done
55896 else
55898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55899 $as_echo_n "checking for _fabsf declaration... " >&6; }
55900 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55901 if ${glibcxx_cv_func__fabsf_use+:} false; then :
55902 $as_echo_n "(cached) " >&6
55903 else
55906 ac_ext=cpp
55907 ac_cpp='$CXXCPP $CPPFLAGS'
55908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55913 /* end confdefs.h. */
55914 #include <math.h>
55915 #ifdef HAVE_IEEEFP_H
55916 #include <ieeefp.h>
55917 #endif
55920 main ()
55922 _fabsf(0);
55924 return 0;
55926 _ACEOF
55927 if ac_fn_cxx_try_compile "$LINENO"; then :
55928 glibcxx_cv_func__fabsf_use=yes
55929 else
55930 glibcxx_cv_func__fabsf_use=no
55932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55933 ac_ext=c
55934 ac_cpp='$CPP $CPPFLAGS'
55935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55944 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55946 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55947 for ac_func in _fabsf
55948 do :
55949 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55950 if test "x$ac_cv_func__fabsf" = xyes; then :
55951 cat >>confdefs.h <<_ACEOF
55952 #define HAVE__FABSF 1
55953 _ACEOF
55956 done
55965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55966 $as_echo_n "checking for fmodf declaration... " >&6; }
55967 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55968 if ${glibcxx_cv_func_fmodf_use+:} false; then :
55969 $as_echo_n "(cached) " >&6
55970 else
55973 ac_ext=cpp
55974 ac_cpp='$CXXCPP $CPPFLAGS'
55975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55980 /* end confdefs.h. */
55981 #include <math.h>
55983 main ()
55985 fmodf(0, 0);
55987 return 0;
55989 _ACEOF
55990 if ac_fn_cxx_try_compile "$LINENO"; then :
55991 glibcxx_cv_func_fmodf_use=yes
55992 else
55993 glibcxx_cv_func_fmodf_use=no
55995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55996 ac_ext=c
55997 ac_cpp='$CPP $CPPFLAGS'
55998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56007 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56009 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56010 for ac_func in fmodf
56011 do :
56012 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56013 if test "x$ac_cv_func_fmodf" = xyes; then :
56014 cat >>confdefs.h <<_ACEOF
56015 #define HAVE_FMODF 1
56016 _ACEOF
56019 done
56021 else
56023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56024 $as_echo_n "checking for _fmodf declaration... " >&6; }
56025 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56026 if ${glibcxx_cv_func__fmodf_use+:} false; then :
56027 $as_echo_n "(cached) " >&6
56028 else
56031 ac_ext=cpp
56032 ac_cpp='$CXXCPP $CPPFLAGS'
56033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56038 /* end confdefs.h. */
56039 #include <math.h>
56041 main ()
56043 _fmodf(0, 0);
56045 return 0;
56047 _ACEOF
56048 if ac_fn_cxx_try_compile "$LINENO"; then :
56049 glibcxx_cv_func__fmodf_use=yes
56050 else
56051 glibcxx_cv_func__fmodf_use=no
56053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56054 ac_ext=c
56055 ac_cpp='$CPP $CPPFLAGS'
56056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56065 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56067 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56068 for ac_func in _fmodf
56069 do :
56070 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56071 if test "x$ac_cv_func__fmodf" = xyes; then :
56072 cat >>confdefs.h <<_ACEOF
56073 #define HAVE__FMODF 1
56074 _ACEOF
56077 done
56086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56087 $as_echo_n "checking for frexpf declaration... " >&6; }
56088 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56089 if ${glibcxx_cv_func_frexpf_use+:} false; then :
56090 $as_echo_n "(cached) " >&6
56091 else
56094 ac_ext=cpp
56095 ac_cpp='$CXXCPP $CPPFLAGS'
56096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56101 /* end confdefs.h. */
56102 #include <math.h>
56104 main ()
56106 frexpf(0, 0);
56108 return 0;
56110 _ACEOF
56111 if ac_fn_cxx_try_compile "$LINENO"; then :
56112 glibcxx_cv_func_frexpf_use=yes
56113 else
56114 glibcxx_cv_func_frexpf_use=no
56116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56117 ac_ext=c
56118 ac_cpp='$CPP $CPPFLAGS'
56119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56128 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
56130 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
56131 for ac_func in frexpf
56132 do :
56133 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
56134 if test "x$ac_cv_func_frexpf" = xyes; then :
56135 cat >>confdefs.h <<_ACEOF
56136 #define HAVE_FREXPF 1
56137 _ACEOF
56140 done
56142 else
56144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
56145 $as_echo_n "checking for _frexpf declaration... " >&6; }
56146 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
56147 if ${glibcxx_cv_func__frexpf_use+:} false; then :
56148 $as_echo_n "(cached) " >&6
56149 else
56152 ac_ext=cpp
56153 ac_cpp='$CXXCPP $CPPFLAGS'
56154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56159 /* end confdefs.h. */
56160 #include <math.h>
56162 main ()
56164 _frexpf(0, 0);
56166 return 0;
56168 _ACEOF
56169 if ac_fn_cxx_try_compile "$LINENO"; then :
56170 glibcxx_cv_func__frexpf_use=yes
56171 else
56172 glibcxx_cv_func__frexpf_use=no
56174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56175 ac_ext=c
56176 ac_cpp='$CPP $CPPFLAGS'
56177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56186 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56188 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56189 for ac_func in _frexpf
56190 do :
56191 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56192 if test "x$ac_cv_func__frexpf" = xyes; then :
56193 cat >>confdefs.h <<_ACEOF
56194 #define HAVE__FREXPF 1
56195 _ACEOF
56198 done
56207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56208 $as_echo_n "checking for hypotf declaration... " >&6; }
56209 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56210 if ${glibcxx_cv_func_hypotf_use+:} false; then :
56211 $as_echo_n "(cached) " >&6
56212 else
56215 ac_ext=cpp
56216 ac_cpp='$CXXCPP $CPPFLAGS'
56217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56222 /* end confdefs.h. */
56223 #include <math.h>
56225 main ()
56227 hypotf(0, 0);
56229 return 0;
56231 _ACEOF
56232 if ac_fn_cxx_try_compile "$LINENO"; then :
56233 glibcxx_cv_func_hypotf_use=yes
56234 else
56235 glibcxx_cv_func_hypotf_use=no
56237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56238 ac_ext=c
56239 ac_cpp='$CPP $CPPFLAGS'
56240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56249 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56251 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56252 for ac_func in hypotf
56253 do :
56254 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56255 if test "x$ac_cv_func_hypotf" = xyes; then :
56256 cat >>confdefs.h <<_ACEOF
56257 #define HAVE_HYPOTF 1
56258 _ACEOF
56261 done
56263 else
56265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56266 $as_echo_n "checking for _hypotf declaration... " >&6; }
56267 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56268 if ${glibcxx_cv_func__hypotf_use+:} false; then :
56269 $as_echo_n "(cached) " >&6
56270 else
56273 ac_ext=cpp
56274 ac_cpp='$CXXCPP $CPPFLAGS'
56275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56280 /* end confdefs.h. */
56281 #include <math.h>
56283 main ()
56285 _hypotf(0, 0);
56287 return 0;
56289 _ACEOF
56290 if ac_fn_cxx_try_compile "$LINENO"; then :
56291 glibcxx_cv_func__hypotf_use=yes
56292 else
56293 glibcxx_cv_func__hypotf_use=no
56295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56296 ac_ext=c
56297 ac_cpp='$CPP $CPPFLAGS'
56298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56307 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56309 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56310 for ac_func in _hypotf
56311 do :
56312 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56313 if test "x$ac_cv_func__hypotf" = xyes; then :
56314 cat >>confdefs.h <<_ACEOF
56315 #define HAVE__HYPOTF 1
56316 _ACEOF
56319 done
56328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56329 $as_echo_n "checking for ldexpf declaration... " >&6; }
56330 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56331 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
56332 $as_echo_n "(cached) " >&6
56333 else
56336 ac_ext=cpp
56337 ac_cpp='$CXXCPP $CPPFLAGS'
56338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56343 /* end confdefs.h. */
56344 #include <math.h>
56346 main ()
56348 ldexpf(0, 0);
56350 return 0;
56352 _ACEOF
56353 if ac_fn_cxx_try_compile "$LINENO"; then :
56354 glibcxx_cv_func_ldexpf_use=yes
56355 else
56356 glibcxx_cv_func_ldexpf_use=no
56358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56359 ac_ext=c
56360 ac_cpp='$CPP $CPPFLAGS'
56361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56370 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56372 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56373 for ac_func in ldexpf
56374 do :
56375 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56376 if test "x$ac_cv_func_ldexpf" = xyes; then :
56377 cat >>confdefs.h <<_ACEOF
56378 #define HAVE_LDEXPF 1
56379 _ACEOF
56382 done
56384 else
56386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56387 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56388 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56389 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
56390 $as_echo_n "(cached) " >&6
56391 else
56394 ac_ext=cpp
56395 ac_cpp='$CXXCPP $CPPFLAGS'
56396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56401 /* end confdefs.h. */
56402 #include <math.h>
56404 main ()
56406 _ldexpf(0, 0);
56408 return 0;
56410 _ACEOF
56411 if ac_fn_cxx_try_compile "$LINENO"; then :
56412 glibcxx_cv_func__ldexpf_use=yes
56413 else
56414 glibcxx_cv_func__ldexpf_use=no
56416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56417 ac_ext=c
56418 ac_cpp='$CPP $CPPFLAGS'
56419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56428 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56430 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56431 for ac_func in _ldexpf
56432 do :
56433 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56434 if test "x$ac_cv_func__ldexpf" = xyes; then :
56435 cat >>confdefs.h <<_ACEOF
56436 #define HAVE__LDEXPF 1
56437 _ACEOF
56440 done
56449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56450 $as_echo_n "checking for logf declaration... " >&6; }
56451 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56452 if ${glibcxx_cv_func_logf_use+:} false; then :
56453 $as_echo_n "(cached) " >&6
56454 else
56457 ac_ext=cpp
56458 ac_cpp='$CXXCPP $CPPFLAGS'
56459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56464 /* end confdefs.h. */
56465 #include <math.h>
56466 #ifdef HAVE_IEEEFP_H
56467 #include <ieeefp.h>
56468 #endif
56471 main ()
56473 logf(0);
56475 return 0;
56477 _ACEOF
56478 if ac_fn_cxx_try_compile "$LINENO"; then :
56479 glibcxx_cv_func_logf_use=yes
56480 else
56481 glibcxx_cv_func_logf_use=no
56483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56484 ac_ext=c
56485 ac_cpp='$CPP $CPPFLAGS'
56486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56495 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56497 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56498 for ac_func in logf
56499 do :
56500 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56501 if test "x$ac_cv_func_logf" = xyes; then :
56502 cat >>confdefs.h <<_ACEOF
56503 #define HAVE_LOGF 1
56504 _ACEOF
56507 done
56509 else
56511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56512 $as_echo_n "checking for _logf declaration... " >&6; }
56513 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56514 if ${glibcxx_cv_func__logf_use+:} false; then :
56515 $as_echo_n "(cached) " >&6
56516 else
56519 ac_ext=cpp
56520 ac_cpp='$CXXCPP $CPPFLAGS'
56521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56526 /* end confdefs.h. */
56527 #include <math.h>
56528 #ifdef HAVE_IEEEFP_H
56529 #include <ieeefp.h>
56530 #endif
56533 main ()
56535 _logf(0);
56537 return 0;
56539 _ACEOF
56540 if ac_fn_cxx_try_compile "$LINENO"; then :
56541 glibcxx_cv_func__logf_use=yes
56542 else
56543 glibcxx_cv_func__logf_use=no
56545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56546 ac_ext=c
56547 ac_cpp='$CPP $CPPFLAGS'
56548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56557 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56559 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56560 for ac_func in _logf
56561 do :
56562 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56563 if test "x$ac_cv_func__logf" = xyes; then :
56564 cat >>confdefs.h <<_ACEOF
56565 #define HAVE__LOGF 1
56566 _ACEOF
56569 done
56578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56579 $as_echo_n "checking for log10f declaration... " >&6; }
56580 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56581 if ${glibcxx_cv_func_log10f_use+:} false; then :
56582 $as_echo_n "(cached) " >&6
56583 else
56586 ac_ext=cpp
56587 ac_cpp='$CXXCPP $CPPFLAGS'
56588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56593 /* end confdefs.h. */
56594 #include <math.h>
56595 #ifdef HAVE_IEEEFP_H
56596 #include <ieeefp.h>
56597 #endif
56600 main ()
56602 log10f(0);
56604 return 0;
56606 _ACEOF
56607 if ac_fn_cxx_try_compile "$LINENO"; then :
56608 glibcxx_cv_func_log10f_use=yes
56609 else
56610 glibcxx_cv_func_log10f_use=no
56612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56613 ac_ext=c
56614 ac_cpp='$CPP $CPPFLAGS'
56615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56624 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56626 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56627 for ac_func in log10f
56628 do :
56629 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56630 if test "x$ac_cv_func_log10f" = xyes; then :
56631 cat >>confdefs.h <<_ACEOF
56632 #define HAVE_LOG10F 1
56633 _ACEOF
56636 done
56638 else
56640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56641 $as_echo_n "checking for _log10f declaration... " >&6; }
56642 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56643 if ${glibcxx_cv_func__log10f_use+:} false; then :
56644 $as_echo_n "(cached) " >&6
56645 else
56648 ac_ext=cpp
56649 ac_cpp='$CXXCPP $CPPFLAGS'
56650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56655 /* end confdefs.h. */
56656 #include <math.h>
56657 #ifdef HAVE_IEEEFP_H
56658 #include <ieeefp.h>
56659 #endif
56662 main ()
56664 _log10f(0);
56666 return 0;
56668 _ACEOF
56669 if ac_fn_cxx_try_compile "$LINENO"; then :
56670 glibcxx_cv_func__log10f_use=yes
56671 else
56672 glibcxx_cv_func__log10f_use=no
56674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56675 ac_ext=c
56676 ac_cpp='$CPP $CPPFLAGS'
56677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56686 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56688 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56689 for ac_func in _log10f
56690 do :
56691 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56692 if test "x$ac_cv_func__log10f" = xyes; then :
56693 cat >>confdefs.h <<_ACEOF
56694 #define HAVE__LOG10F 1
56695 _ACEOF
56698 done
56707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56708 $as_echo_n "checking for modff declaration... " >&6; }
56709 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56710 if ${glibcxx_cv_func_modff_use+:} false; then :
56711 $as_echo_n "(cached) " >&6
56712 else
56715 ac_ext=cpp
56716 ac_cpp='$CXXCPP $CPPFLAGS'
56717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56722 /* end confdefs.h. */
56723 #include <math.h>
56725 main ()
56727 modff(0, 0);
56729 return 0;
56731 _ACEOF
56732 if ac_fn_cxx_try_compile "$LINENO"; then :
56733 glibcxx_cv_func_modff_use=yes
56734 else
56735 glibcxx_cv_func_modff_use=no
56737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56738 ac_ext=c
56739 ac_cpp='$CPP $CPPFLAGS'
56740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56749 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56751 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56752 for ac_func in modff
56753 do :
56754 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56755 if test "x$ac_cv_func_modff" = xyes; then :
56756 cat >>confdefs.h <<_ACEOF
56757 #define HAVE_MODFF 1
56758 _ACEOF
56761 done
56763 else
56765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56766 $as_echo_n "checking for _modff declaration... " >&6; }
56767 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56768 if ${glibcxx_cv_func__modff_use+:} false; then :
56769 $as_echo_n "(cached) " >&6
56770 else
56773 ac_ext=cpp
56774 ac_cpp='$CXXCPP $CPPFLAGS'
56775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56780 /* end confdefs.h. */
56781 #include <math.h>
56783 main ()
56785 _modff(0, 0);
56787 return 0;
56789 _ACEOF
56790 if ac_fn_cxx_try_compile "$LINENO"; then :
56791 glibcxx_cv_func__modff_use=yes
56792 else
56793 glibcxx_cv_func__modff_use=no
56795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56796 ac_ext=c
56797 ac_cpp='$CPP $CPPFLAGS'
56798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56807 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56809 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56810 for ac_func in _modff
56811 do :
56812 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56813 if test "x$ac_cv_func__modff" = xyes; then :
56814 cat >>confdefs.h <<_ACEOF
56815 #define HAVE__MODFF 1
56816 _ACEOF
56819 done
56828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56829 $as_echo_n "checking for modf declaration... " >&6; }
56830 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56831 if ${glibcxx_cv_func_modf_use+:} false; then :
56832 $as_echo_n "(cached) " >&6
56833 else
56836 ac_ext=cpp
56837 ac_cpp='$CXXCPP $CPPFLAGS'
56838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56843 /* end confdefs.h. */
56844 #include <math.h>
56846 main ()
56848 modf(0, 0);
56850 return 0;
56852 _ACEOF
56853 if ac_fn_cxx_try_compile "$LINENO"; then :
56854 glibcxx_cv_func_modf_use=yes
56855 else
56856 glibcxx_cv_func_modf_use=no
56858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56859 ac_ext=c
56860 ac_cpp='$CPP $CPPFLAGS'
56861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56870 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56872 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56873 for ac_func in modf
56874 do :
56875 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56876 if test "x$ac_cv_func_modf" = xyes; then :
56877 cat >>confdefs.h <<_ACEOF
56878 #define HAVE_MODF 1
56879 _ACEOF
56882 done
56884 else
56886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56887 $as_echo_n "checking for _modf declaration... " >&6; }
56888 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56889 if ${glibcxx_cv_func__modf_use+:} false; then :
56890 $as_echo_n "(cached) " >&6
56891 else
56894 ac_ext=cpp
56895 ac_cpp='$CXXCPP $CPPFLAGS'
56896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56901 /* end confdefs.h. */
56902 #include <math.h>
56904 main ()
56906 _modf(0, 0);
56908 return 0;
56910 _ACEOF
56911 if ac_fn_cxx_try_compile "$LINENO"; then :
56912 glibcxx_cv_func__modf_use=yes
56913 else
56914 glibcxx_cv_func__modf_use=no
56916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56917 ac_ext=c
56918 ac_cpp='$CPP $CPPFLAGS'
56919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
56928 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56930 if test x$glibcxx_cv_func__modf_use = x"yes"; then
56931 for ac_func in _modf
56932 do :
56933 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56934 if test "x$ac_cv_func__modf" = xyes; then :
56935 cat >>confdefs.h <<_ACEOF
56936 #define HAVE__MODF 1
56937 _ACEOF
56940 done
56949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56950 $as_echo_n "checking for powf declaration... " >&6; }
56951 if test x${glibcxx_cv_func_powf_use+set} != xset; then
56952 if ${glibcxx_cv_func_powf_use+:} false; then :
56953 $as_echo_n "(cached) " >&6
56954 else
56957 ac_ext=cpp
56958 ac_cpp='$CXXCPP $CPPFLAGS'
56959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56964 /* end confdefs.h. */
56965 #include <math.h>
56967 main ()
56969 powf(0, 0);
56971 return 0;
56973 _ACEOF
56974 if ac_fn_cxx_try_compile "$LINENO"; then :
56975 glibcxx_cv_func_powf_use=yes
56976 else
56977 glibcxx_cv_func_powf_use=no
56979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56980 ac_ext=c
56981 ac_cpp='$CPP $CPPFLAGS'
56982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56991 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56993 if test x$glibcxx_cv_func_powf_use = x"yes"; then
56994 for ac_func in powf
56995 do :
56996 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56997 if test "x$ac_cv_func_powf" = xyes; then :
56998 cat >>confdefs.h <<_ACEOF
56999 #define HAVE_POWF 1
57000 _ACEOF
57003 done
57005 else
57007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57008 $as_echo_n "checking for _powf declaration... " >&6; }
57009 if test x${glibcxx_cv_func__powf_use+set} != xset; then
57010 if ${glibcxx_cv_func__powf_use+:} false; then :
57011 $as_echo_n "(cached) " >&6
57012 else
57015 ac_ext=cpp
57016 ac_cpp='$CXXCPP $CPPFLAGS'
57017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57022 /* end confdefs.h. */
57023 #include <math.h>
57025 main ()
57027 _powf(0, 0);
57029 return 0;
57031 _ACEOF
57032 if ac_fn_cxx_try_compile "$LINENO"; then :
57033 glibcxx_cv_func__powf_use=yes
57034 else
57035 glibcxx_cv_func__powf_use=no
57037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57038 ac_ext=c
57039 ac_cpp='$CPP $CPPFLAGS'
57040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57049 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
57051 if test x$glibcxx_cv_func__powf_use = x"yes"; then
57052 for ac_func in _powf
57053 do :
57054 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57055 if test "x$ac_cv_func__powf" = xyes; then :
57056 cat >>confdefs.h <<_ACEOF
57057 #define HAVE__POWF 1
57058 _ACEOF
57061 done
57070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57071 $as_echo_n "checking for sqrtf declaration... " >&6; }
57072 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57073 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57074 $as_echo_n "(cached) " >&6
57075 else
57078 ac_ext=cpp
57079 ac_cpp='$CXXCPP $CPPFLAGS'
57080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57085 /* end confdefs.h. */
57086 #include <math.h>
57087 #ifdef HAVE_IEEEFP_H
57088 #include <ieeefp.h>
57089 #endif
57092 main ()
57094 sqrtf(0);
57096 return 0;
57098 _ACEOF
57099 if ac_fn_cxx_try_compile "$LINENO"; then :
57100 glibcxx_cv_func_sqrtf_use=yes
57101 else
57102 glibcxx_cv_func_sqrtf_use=no
57104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57105 ac_ext=c
57106 ac_cpp='$CPP $CPPFLAGS'
57107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57116 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57118 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57119 for ac_func in sqrtf
57120 do :
57121 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57122 if test "x$ac_cv_func_sqrtf" = xyes; then :
57123 cat >>confdefs.h <<_ACEOF
57124 #define HAVE_SQRTF 1
57125 _ACEOF
57128 done
57130 else
57132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
57133 $as_echo_n "checking for _sqrtf declaration... " >&6; }
57134 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
57135 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
57136 $as_echo_n "(cached) " >&6
57137 else
57140 ac_ext=cpp
57141 ac_cpp='$CXXCPP $CPPFLAGS'
57142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57147 /* end confdefs.h. */
57148 #include <math.h>
57149 #ifdef HAVE_IEEEFP_H
57150 #include <ieeefp.h>
57151 #endif
57154 main ()
57156 _sqrtf(0);
57158 return 0;
57160 _ACEOF
57161 if ac_fn_cxx_try_compile "$LINENO"; then :
57162 glibcxx_cv_func__sqrtf_use=yes
57163 else
57164 glibcxx_cv_func__sqrtf_use=no
57166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57167 ac_ext=c
57168 ac_cpp='$CPP $CPPFLAGS'
57169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57178 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57180 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57181 for ac_func in _sqrtf
57182 do :
57183 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57184 if test "x$ac_cv_func__sqrtf" = xyes; then :
57185 cat >>confdefs.h <<_ACEOF
57186 #define HAVE__SQRTF 1
57187 _ACEOF
57190 done
57199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57200 $as_echo_n "checking for sincosf declaration... " >&6; }
57201 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57202 if ${glibcxx_cv_func_sincosf_use+:} false; then :
57203 $as_echo_n "(cached) " >&6
57204 else
57207 ac_ext=cpp
57208 ac_cpp='$CXXCPP $CPPFLAGS'
57209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57214 /* end confdefs.h. */
57215 #include <math.h>
57217 main ()
57219 sincosf(0, 0, 0);
57221 return 0;
57223 _ACEOF
57224 if ac_fn_cxx_try_compile "$LINENO"; then :
57225 glibcxx_cv_func_sincosf_use=yes
57226 else
57227 glibcxx_cv_func_sincosf_use=no
57229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57230 ac_ext=c
57231 ac_cpp='$CPP $CPPFLAGS'
57232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57241 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57243 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57244 for ac_func in sincosf
57245 do :
57246 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57247 if test "x$ac_cv_func_sincosf" = xyes; then :
57248 cat >>confdefs.h <<_ACEOF
57249 #define HAVE_SINCOSF 1
57250 _ACEOF
57253 done
57255 else
57257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57258 $as_echo_n "checking for _sincosf declaration... " >&6; }
57259 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57260 if ${glibcxx_cv_func__sincosf_use+:} false; then :
57261 $as_echo_n "(cached) " >&6
57262 else
57265 ac_ext=cpp
57266 ac_cpp='$CXXCPP $CPPFLAGS'
57267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57272 /* end confdefs.h. */
57273 #include <math.h>
57275 main ()
57277 _sincosf(0, 0, 0);
57279 return 0;
57281 _ACEOF
57282 if ac_fn_cxx_try_compile "$LINENO"; then :
57283 glibcxx_cv_func__sincosf_use=yes
57284 else
57285 glibcxx_cv_func__sincosf_use=no
57287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57288 ac_ext=c
57289 ac_cpp='$CPP $CPPFLAGS'
57290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57299 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57301 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57302 for ac_func in _sincosf
57303 do :
57304 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57305 if test "x$ac_cv_func__sincosf" = xyes; then :
57306 cat >>confdefs.h <<_ACEOF
57307 #define HAVE__SINCOSF 1
57308 _ACEOF
57311 done
57320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57321 $as_echo_n "checking for finitef declaration... " >&6; }
57322 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57323 if ${glibcxx_cv_func_finitef_use+:} false; then :
57324 $as_echo_n "(cached) " >&6
57325 else
57328 ac_ext=cpp
57329 ac_cpp='$CXXCPP $CPPFLAGS'
57330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57335 /* end confdefs.h. */
57336 #include <math.h>
57337 #ifdef HAVE_IEEEFP_H
57338 #include <ieeefp.h>
57339 #endif
57342 main ()
57344 finitef(0);
57346 return 0;
57348 _ACEOF
57349 if ac_fn_cxx_try_compile "$LINENO"; then :
57350 glibcxx_cv_func_finitef_use=yes
57351 else
57352 glibcxx_cv_func_finitef_use=no
57354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57355 ac_ext=c
57356 ac_cpp='$CPP $CPPFLAGS'
57357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57366 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57368 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57369 for ac_func in finitef
57370 do :
57371 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57372 if test "x$ac_cv_func_finitef" = xyes; then :
57373 cat >>confdefs.h <<_ACEOF
57374 #define HAVE_FINITEF 1
57375 _ACEOF
57378 done
57380 else
57382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57383 $as_echo_n "checking for _finitef declaration... " >&6; }
57384 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57385 if ${glibcxx_cv_func__finitef_use+:} false; then :
57386 $as_echo_n "(cached) " >&6
57387 else
57390 ac_ext=cpp
57391 ac_cpp='$CXXCPP $CPPFLAGS'
57392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57397 /* end confdefs.h. */
57398 #include <math.h>
57399 #ifdef HAVE_IEEEFP_H
57400 #include <ieeefp.h>
57401 #endif
57404 main ()
57406 _finitef(0);
57408 return 0;
57410 _ACEOF
57411 if ac_fn_cxx_try_compile "$LINENO"; then :
57412 glibcxx_cv_func__finitef_use=yes
57413 else
57414 glibcxx_cv_func__finitef_use=no
57416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57417 ac_ext=c
57418 ac_cpp='$CPP $CPPFLAGS'
57419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57428 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57430 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57431 for ac_func in _finitef
57432 do :
57433 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57434 if test "x$ac_cv_func__finitef" = xyes; then :
57435 cat >>confdefs.h <<_ACEOF
57436 #define HAVE__FINITEF 1
57437 _ACEOF
57440 done
57449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57450 $as_echo_n "checking for long double trig functions... " >&6; }
57451 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
57452 $as_echo_n "(cached) " >&6
57453 else
57456 ac_ext=cpp
57457 ac_cpp='$CXXCPP $CPPFLAGS'
57458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57463 /* end confdefs.h. */
57464 #include <math.h>
57466 main ()
57468 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57470 return 0;
57472 _ACEOF
57473 if ac_fn_cxx_try_compile "$LINENO"; then :
57474 glibcxx_cv_func_long_double_trig_use=yes
57475 else
57476 glibcxx_cv_func_long_double_trig_use=no
57478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57479 ac_ext=c
57480 ac_cpp='$CPP $CPPFLAGS'
57481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57488 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57489 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57490 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57491 do :
57492 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57493 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57494 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57495 cat >>confdefs.h <<_ACEOF
57496 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57497 _ACEOF
57500 done
57502 else
57503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57504 $as_echo_n "checking for _long double trig functions... " >&6; }
57505 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
57506 $as_echo_n "(cached) " >&6
57507 else
57510 ac_ext=cpp
57511 ac_cpp='$CXXCPP $CPPFLAGS'
57512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57517 /* end confdefs.h. */
57518 #include <math.h>
57520 main ()
57522 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57524 return 0;
57526 _ACEOF
57527 if ac_fn_cxx_try_compile "$LINENO"; then :
57528 glibcxx_cv_func__long_double_trig_use=yes
57529 else
57530 glibcxx_cv_func__long_double_trig_use=no
57532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57533 ac_ext=c
57534 ac_cpp='$CPP $CPPFLAGS'
57535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57542 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57543 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57544 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57545 do :
57546 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57547 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57548 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57549 cat >>confdefs.h <<_ACEOF
57550 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57551 _ACEOF
57554 done
57563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57564 $as_echo_n "checking for long double round functions... " >&6; }
57565 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
57566 $as_echo_n "(cached) " >&6
57567 else
57570 ac_ext=cpp
57571 ac_cpp='$CXXCPP $CPPFLAGS'
57572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57577 /* end confdefs.h. */
57578 #include <math.h>
57580 main ()
57582 ceill (0); floorl (0);
57584 return 0;
57586 _ACEOF
57587 if ac_fn_cxx_try_compile "$LINENO"; then :
57588 glibcxx_cv_func_long_double_round_use=yes
57589 else
57590 glibcxx_cv_func_long_double_round_use=no
57592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57593 ac_ext=c
57594 ac_cpp='$CPP $CPPFLAGS'
57595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57602 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57603 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57604 for ac_func in ceill floorl
57605 do :
57606 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57607 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57608 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57609 cat >>confdefs.h <<_ACEOF
57610 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57611 _ACEOF
57614 done
57616 else
57617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57618 $as_echo_n "checking for _long double round functions... " >&6; }
57619 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
57620 $as_echo_n "(cached) " >&6
57621 else
57624 ac_ext=cpp
57625 ac_cpp='$CXXCPP $CPPFLAGS'
57626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57631 /* end confdefs.h. */
57632 #include <math.h>
57634 main ()
57636 _ceill (0); _floorl (0);
57638 return 0;
57640 _ACEOF
57641 if ac_fn_cxx_try_compile "$LINENO"; then :
57642 glibcxx_cv_func__long_double_round_use=yes
57643 else
57644 glibcxx_cv_func__long_double_round_use=no
57646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57647 ac_ext=c
57648 ac_cpp='$CPP $CPPFLAGS'
57649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57656 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57657 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57658 for ac_func in _ceill _floorl
57659 do :
57660 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57661 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57662 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57663 cat >>confdefs.h <<_ACEOF
57664 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57665 _ACEOF
57668 done
57678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57679 $as_echo_n "checking for isnanl declaration... " >&6; }
57680 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57681 if ${glibcxx_cv_func_isnanl_use+:} false; then :
57682 $as_echo_n "(cached) " >&6
57683 else
57686 ac_ext=cpp
57687 ac_cpp='$CXXCPP $CPPFLAGS'
57688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57693 /* end confdefs.h. */
57694 #include <math.h>
57695 #ifdef HAVE_IEEEFP_H
57696 #include <ieeefp.h>
57697 #endif
57700 main ()
57702 isnanl(0);
57704 return 0;
57706 _ACEOF
57707 if ac_fn_cxx_try_compile "$LINENO"; then :
57708 glibcxx_cv_func_isnanl_use=yes
57709 else
57710 glibcxx_cv_func_isnanl_use=no
57712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57713 ac_ext=c
57714 ac_cpp='$CPP $CPPFLAGS'
57715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57724 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57726 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57727 for ac_func in isnanl
57728 do :
57729 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57730 if test "x$ac_cv_func_isnanl" = xyes; then :
57731 cat >>confdefs.h <<_ACEOF
57732 #define HAVE_ISNANL 1
57733 _ACEOF
57736 done
57738 else
57740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57741 $as_echo_n "checking for _isnanl declaration... " >&6; }
57742 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57743 if ${glibcxx_cv_func__isnanl_use+:} false; then :
57744 $as_echo_n "(cached) " >&6
57745 else
57748 ac_ext=cpp
57749 ac_cpp='$CXXCPP $CPPFLAGS'
57750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57755 /* end confdefs.h. */
57756 #include <math.h>
57757 #ifdef HAVE_IEEEFP_H
57758 #include <ieeefp.h>
57759 #endif
57762 main ()
57764 _isnanl(0);
57766 return 0;
57768 _ACEOF
57769 if ac_fn_cxx_try_compile "$LINENO"; then :
57770 glibcxx_cv_func__isnanl_use=yes
57771 else
57772 glibcxx_cv_func__isnanl_use=no
57774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57775 ac_ext=c
57776 ac_cpp='$CPP $CPPFLAGS'
57777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57786 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57788 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57789 for ac_func in _isnanl
57790 do :
57791 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57792 if test "x$ac_cv_func__isnanl" = xyes; then :
57793 cat >>confdefs.h <<_ACEOF
57794 #define HAVE__ISNANL 1
57795 _ACEOF
57798 done
57807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57808 $as_echo_n "checking for isinfl declaration... " >&6; }
57809 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57810 if ${glibcxx_cv_func_isinfl_use+:} false; then :
57811 $as_echo_n "(cached) " >&6
57812 else
57815 ac_ext=cpp
57816 ac_cpp='$CXXCPP $CPPFLAGS'
57817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57822 /* end confdefs.h. */
57823 #include <math.h>
57824 #ifdef HAVE_IEEEFP_H
57825 #include <ieeefp.h>
57826 #endif
57829 main ()
57831 isinfl(0);
57833 return 0;
57835 _ACEOF
57836 if ac_fn_cxx_try_compile "$LINENO"; then :
57837 glibcxx_cv_func_isinfl_use=yes
57838 else
57839 glibcxx_cv_func_isinfl_use=no
57841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57842 ac_ext=c
57843 ac_cpp='$CPP $CPPFLAGS'
57844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57853 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57855 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57856 for ac_func in isinfl
57857 do :
57858 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57859 if test "x$ac_cv_func_isinfl" = xyes; then :
57860 cat >>confdefs.h <<_ACEOF
57861 #define HAVE_ISINFL 1
57862 _ACEOF
57865 done
57867 else
57869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57870 $as_echo_n "checking for _isinfl declaration... " >&6; }
57871 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57872 if ${glibcxx_cv_func__isinfl_use+:} false; then :
57873 $as_echo_n "(cached) " >&6
57874 else
57877 ac_ext=cpp
57878 ac_cpp='$CXXCPP $CPPFLAGS'
57879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57884 /* end confdefs.h. */
57885 #include <math.h>
57886 #ifdef HAVE_IEEEFP_H
57887 #include <ieeefp.h>
57888 #endif
57891 main ()
57893 _isinfl(0);
57895 return 0;
57897 _ACEOF
57898 if ac_fn_cxx_try_compile "$LINENO"; then :
57899 glibcxx_cv_func__isinfl_use=yes
57900 else
57901 glibcxx_cv_func__isinfl_use=no
57903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57904 ac_ext=c
57905 ac_cpp='$CPP $CPPFLAGS'
57906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57915 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57917 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57918 for ac_func in _isinfl
57919 do :
57920 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57921 if test "x$ac_cv_func__isinfl" = xyes; then :
57922 cat >>confdefs.h <<_ACEOF
57923 #define HAVE__ISINFL 1
57924 _ACEOF
57927 done
57936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57937 $as_echo_n "checking for atan2l declaration... " >&6; }
57938 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57939 if ${glibcxx_cv_func_atan2l_use+:} false; then :
57940 $as_echo_n "(cached) " >&6
57941 else
57944 ac_ext=cpp
57945 ac_cpp='$CXXCPP $CPPFLAGS'
57946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57951 /* end confdefs.h. */
57952 #include <math.h>
57954 main ()
57956 atan2l(0, 0);
57958 return 0;
57960 _ACEOF
57961 if ac_fn_cxx_try_compile "$LINENO"; then :
57962 glibcxx_cv_func_atan2l_use=yes
57963 else
57964 glibcxx_cv_func_atan2l_use=no
57966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57967 ac_ext=c
57968 ac_cpp='$CPP $CPPFLAGS'
57969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57978 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57980 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57981 for ac_func in atan2l
57982 do :
57983 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57984 if test "x$ac_cv_func_atan2l" = xyes; then :
57985 cat >>confdefs.h <<_ACEOF
57986 #define HAVE_ATAN2L 1
57987 _ACEOF
57990 done
57992 else
57994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57995 $as_echo_n "checking for _atan2l declaration... " >&6; }
57996 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57997 if ${glibcxx_cv_func__atan2l_use+:} false; then :
57998 $as_echo_n "(cached) " >&6
57999 else
58002 ac_ext=cpp
58003 ac_cpp='$CXXCPP $CPPFLAGS'
58004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58009 /* end confdefs.h. */
58010 #include <math.h>
58012 main ()
58014 _atan2l(0, 0);
58016 return 0;
58018 _ACEOF
58019 if ac_fn_cxx_try_compile "$LINENO"; then :
58020 glibcxx_cv_func__atan2l_use=yes
58021 else
58022 glibcxx_cv_func__atan2l_use=no
58024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58025 ac_ext=c
58026 ac_cpp='$CPP $CPPFLAGS'
58027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58036 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58038 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58039 for ac_func in _atan2l
58040 do :
58041 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58042 if test "x$ac_cv_func__atan2l" = xyes; then :
58043 cat >>confdefs.h <<_ACEOF
58044 #define HAVE__ATAN2L 1
58045 _ACEOF
58048 done
58057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58058 $as_echo_n "checking for expl declaration... " >&6; }
58059 if test x${glibcxx_cv_func_expl_use+set} != xset; then
58060 if ${glibcxx_cv_func_expl_use+:} false; then :
58061 $as_echo_n "(cached) " >&6
58062 else
58065 ac_ext=cpp
58066 ac_cpp='$CXXCPP $CPPFLAGS'
58067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58072 /* end confdefs.h. */
58073 #include <math.h>
58074 #ifdef HAVE_IEEEFP_H
58075 #include <ieeefp.h>
58076 #endif
58079 main ()
58081 expl(0);
58083 return 0;
58085 _ACEOF
58086 if ac_fn_cxx_try_compile "$LINENO"; then :
58087 glibcxx_cv_func_expl_use=yes
58088 else
58089 glibcxx_cv_func_expl_use=no
58091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58092 ac_ext=c
58093 ac_cpp='$CPP $CPPFLAGS'
58094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58103 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
58105 if test x$glibcxx_cv_func_expl_use = x"yes"; then
58106 for ac_func in expl
58107 do :
58108 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58109 if test "x$ac_cv_func_expl" = xyes; then :
58110 cat >>confdefs.h <<_ACEOF
58111 #define HAVE_EXPL 1
58112 _ACEOF
58115 done
58117 else
58119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58120 $as_echo_n "checking for _expl declaration... " >&6; }
58121 if test x${glibcxx_cv_func__expl_use+set} != xset; then
58122 if ${glibcxx_cv_func__expl_use+:} false; then :
58123 $as_echo_n "(cached) " >&6
58124 else
58127 ac_ext=cpp
58128 ac_cpp='$CXXCPP $CPPFLAGS'
58129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58134 /* end confdefs.h. */
58135 #include <math.h>
58136 #ifdef HAVE_IEEEFP_H
58137 #include <ieeefp.h>
58138 #endif
58141 main ()
58143 _expl(0);
58145 return 0;
58147 _ACEOF
58148 if ac_fn_cxx_try_compile "$LINENO"; then :
58149 glibcxx_cv_func__expl_use=yes
58150 else
58151 glibcxx_cv_func__expl_use=no
58153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58154 ac_ext=c
58155 ac_cpp='$CPP $CPPFLAGS'
58156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58165 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
58167 if test x$glibcxx_cv_func__expl_use = x"yes"; then
58168 for ac_func in _expl
58169 do :
58170 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58171 if test "x$ac_cv_func__expl" = xyes; then :
58172 cat >>confdefs.h <<_ACEOF
58173 #define HAVE__EXPL 1
58174 _ACEOF
58177 done
58186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58187 $as_echo_n "checking for fabsl declaration... " >&6; }
58188 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58189 if ${glibcxx_cv_func_fabsl_use+:} false; then :
58190 $as_echo_n "(cached) " >&6
58191 else
58194 ac_ext=cpp
58195 ac_cpp='$CXXCPP $CPPFLAGS'
58196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58201 /* end confdefs.h. */
58202 #include <math.h>
58203 #ifdef HAVE_IEEEFP_H
58204 #include <ieeefp.h>
58205 #endif
58208 main ()
58210 fabsl(0);
58212 return 0;
58214 _ACEOF
58215 if ac_fn_cxx_try_compile "$LINENO"; then :
58216 glibcxx_cv_func_fabsl_use=yes
58217 else
58218 glibcxx_cv_func_fabsl_use=no
58220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58221 ac_ext=c
58222 ac_cpp='$CPP $CPPFLAGS'
58223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58232 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58234 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58235 for ac_func in fabsl
58236 do :
58237 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58238 if test "x$ac_cv_func_fabsl" = xyes; then :
58239 cat >>confdefs.h <<_ACEOF
58240 #define HAVE_FABSL 1
58241 _ACEOF
58244 done
58246 else
58248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58249 $as_echo_n "checking for _fabsl declaration... " >&6; }
58250 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58251 if ${glibcxx_cv_func__fabsl_use+:} false; then :
58252 $as_echo_n "(cached) " >&6
58253 else
58256 ac_ext=cpp
58257 ac_cpp='$CXXCPP $CPPFLAGS'
58258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58263 /* end confdefs.h. */
58264 #include <math.h>
58265 #ifdef HAVE_IEEEFP_H
58266 #include <ieeefp.h>
58267 #endif
58270 main ()
58272 _fabsl(0);
58274 return 0;
58276 _ACEOF
58277 if ac_fn_cxx_try_compile "$LINENO"; then :
58278 glibcxx_cv_func__fabsl_use=yes
58279 else
58280 glibcxx_cv_func__fabsl_use=no
58282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58283 ac_ext=c
58284 ac_cpp='$CPP $CPPFLAGS'
58285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58294 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58296 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58297 for ac_func in _fabsl
58298 do :
58299 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58300 if test "x$ac_cv_func__fabsl" = xyes; then :
58301 cat >>confdefs.h <<_ACEOF
58302 #define HAVE__FABSL 1
58303 _ACEOF
58306 done
58315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58316 $as_echo_n "checking for fmodl declaration... " >&6; }
58317 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58318 if ${glibcxx_cv_func_fmodl_use+:} false; then :
58319 $as_echo_n "(cached) " >&6
58320 else
58323 ac_ext=cpp
58324 ac_cpp='$CXXCPP $CPPFLAGS'
58325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58330 /* end confdefs.h. */
58331 #include <math.h>
58333 main ()
58335 fmodl(0, 0);
58337 return 0;
58339 _ACEOF
58340 if ac_fn_cxx_try_compile "$LINENO"; then :
58341 glibcxx_cv_func_fmodl_use=yes
58342 else
58343 glibcxx_cv_func_fmodl_use=no
58345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58346 ac_ext=c
58347 ac_cpp='$CPP $CPPFLAGS'
58348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58357 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58359 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58360 for ac_func in fmodl
58361 do :
58362 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58363 if test "x$ac_cv_func_fmodl" = xyes; then :
58364 cat >>confdefs.h <<_ACEOF
58365 #define HAVE_FMODL 1
58366 _ACEOF
58369 done
58371 else
58373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58374 $as_echo_n "checking for _fmodl declaration... " >&6; }
58375 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58376 if ${glibcxx_cv_func__fmodl_use+:} false; then :
58377 $as_echo_n "(cached) " >&6
58378 else
58381 ac_ext=cpp
58382 ac_cpp='$CXXCPP $CPPFLAGS'
58383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58388 /* end confdefs.h. */
58389 #include <math.h>
58391 main ()
58393 _fmodl(0, 0);
58395 return 0;
58397 _ACEOF
58398 if ac_fn_cxx_try_compile "$LINENO"; then :
58399 glibcxx_cv_func__fmodl_use=yes
58400 else
58401 glibcxx_cv_func__fmodl_use=no
58403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58404 ac_ext=c
58405 ac_cpp='$CPP $CPPFLAGS'
58406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58415 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58417 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58418 for ac_func in _fmodl
58419 do :
58420 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58421 if test "x$ac_cv_func__fmodl" = xyes; then :
58422 cat >>confdefs.h <<_ACEOF
58423 #define HAVE__FMODL 1
58424 _ACEOF
58427 done
58436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58437 $as_echo_n "checking for frexpl declaration... " >&6; }
58438 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58439 if ${glibcxx_cv_func_frexpl_use+:} false; then :
58440 $as_echo_n "(cached) " >&6
58441 else
58444 ac_ext=cpp
58445 ac_cpp='$CXXCPP $CPPFLAGS'
58446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58451 /* end confdefs.h. */
58452 #include <math.h>
58454 main ()
58456 frexpl(0, 0);
58458 return 0;
58460 _ACEOF
58461 if ac_fn_cxx_try_compile "$LINENO"; then :
58462 glibcxx_cv_func_frexpl_use=yes
58463 else
58464 glibcxx_cv_func_frexpl_use=no
58466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58467 ac_ext=c
58468 ac_cpp='$CPP $CPPFLAGS'
58469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58478 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58480 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58481 for ac_func in frexpl
58482 do :
58483 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58484 if test "x$ac_cv_func_frexpl" = xyes; then :
58485 cat >>confdefs.h <<_ACEOF
58486 #define HAVE_FREXPL 1
58487 _ACEOF
58490 done
58492 else
58494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58495 $as_echo_n "checking for _frexpl declaration... " >&6; }
58496 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58497 if ${glibcxx_cv_func__frexpl_use+:} false; then :
58498 $as_echo_n "(cached) " >&6
58499 else
58502 ac_ext=cpp
58503 ac_cpp='$CXXCPP $CPPFLAGS'
58504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58509 /* end confdefs.h. */
58510 #include <math.h>
58512 main ()
58514 _frexpl(0, 0);
58516 return 0;
58518 _ACEOF
58519 if ac_fn_cxx_try_compile "$LINENO"; then :
58520 glibcxx_cv_func__frexpl_use=yes
58521 else
58522 glibcxx_cv_func__frexpl_use=no
58524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58525 ac_ext=c
58526 ac_cpp='$CPP $CPPFLAGS'
58527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58536 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58538 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58539 for ac_func in _frexpl
58540 do :
58541 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58542 if test "x$ac_cv_func__frexpl" = xyes; then :
58543 cat >>confdefs.h <<_ACEOF
58544 #define HAVE__FREXPL 1
58545 _ACEOF
58548 done
58557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58558 $as_echo_n "checking for hypotl declaration... " >&6; }
58559 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58560 if ${glibcxx_cv_func_hypotl_use+:} false; then :
58561 $as_echo_n "(cached) " >&6
58562 else
58565 ac_ext=cpp
58566 ac_cpp='$CXXCPP $CPPFLAGS'
58567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58572 /* end confdefs.h. */
58573 #include <math.h>
58575 main ()
58577 hypotl(0, 0);
58579 return 0;
58581 _ACEOF
58582 if ac_fn_cxx_try_compile "$LINENO"; then :
58583 glibcxx_cv_func_hypotl_use=yes
58584 else
58585 glibcxx_cv_func_hypotl_use=no
58587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58588 ac_ext=c
58589 ac_cpp='$CPP $CPPFLAGS'
58590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58599 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58601 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58602 for ac_func in hypotl
58603 do :
58604 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58605 if test "x$ac_cv_func_hypotl" = xyes; then :
58606 cat >>confdefs.h <<_ACEOF
58607 #define HAVE_HYPOTL 1
58608 _ACEOF
58611 done
58613 else
58615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58616 $as_echo_n "checking for _hypotl declaration... " >&6; }
58617 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58618 if ${glibcxx_cv_func__hypotl_use+:} false; then :
58619 $as_echo_n "(cached) " >&6
58620 else
58623 ac_ext=cpp
58624 ac_cpp='$CXXCPP $CPPFLAGS'
58625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58630 /* end confdefs.h. */
58631 #include <math.h>
58633 main ()
58635 _hypotl(0, 0);
58637 return 0;
58639 _ACEOF
58640 if ac_fn_cxx_try_compile "$LINENO"; then :
58641 glibcxx_cv_func__hypotl_use=yes
58642 else
58643 glibcxx_cv_func__hypotl_use=no
58645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58646 ac_ext=c
58647 ac_cpp='$CPP $CPPFLAGS'
58648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58657 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58659 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58660 for ac_func in _hypotl
58661 do :
58662 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58663 if test "x$ac_cv_func__hypotl" = xyes; then :
58664 cat >>confdefs.h <<_ACEOF
58665 #define HAVE__HYPOTL 1
58666 _ACEOF
58669 done
58678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58679 $as_echo_n "checking for ldexpl declaration... " >&6; }
58680 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58681 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
58682 $as_echo_n "(cached) " >&6
58683 else
58686 ac_ext=cpp
58687 ac_cpp='$CXXCPP $CPPFLAGS'
58688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58693 /* end confdefs.h. */
58694 #include <math.h>
58696 main ()
58698 ldexpl(0, 0);
58700 return 0;
58702 _ACEOF
58703 if ac_fn_cxx_try_compile "$LINENO"; then :
58704 glibcxx_cv_func_ldexpl_use=yes
58705 else
58706 glibcxx_cv_func_ldexpl_use=no
58708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58709 ac_ext=c
58710 ac_cpp='$CPP $CPPFLAGS'
58711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58720 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58722 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58723 for ac_func in ldexpl
58724 do :
58725 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58726 if test "x$ac_cv_func_ldexpl" = xyes; then :
58727 cat >>confdefs.h <<_ACEOF
58728 #define HAVE_LDEXPL 1
58729 _ACEOF
58732 done
58734 else
58736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58737 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58738 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58739 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
58740 $as_echo_n "(cached) " >&6
58741 else
58744 ac_ext=cpp
58745 ac_cpp='$CXXCPP $CPPFLAGS'
58746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58751 /* end confdefs.h. */
58752 #include <math.h>
58754 main ()
58756 _ldexpl(0, 0);
58758 return 0;
58760 _ACEOF
58761 if ac_fn_cxx_try_compile "$LINENO"; then :
58762 glibcxx_cv_func__ldexpl_use=yes
58763 else
58764 glibcxx_cv_func__ldexpl_use=no
58766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58767 ac_ext=c
58768 ac_cpp='$CPP $CPPFLAGS'
58769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58778 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58780 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58781 for ac_func in _ldexpl
58782 do :
58783 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58784 if test "x$ac_cv_func__ldexpl" = xyes; then :
58785 cat >>confdefs.h <<_ACEOF
58786 #define HAVE__LDEXPL 1
58787 _ACEOF
58790 done
58799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58800 $as_echo_n "checking for logl declaration... " >&6; }
58801 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58802 if ${glibcxx_cv_func_logl_use+:} false; then :
58803 $as_echo_n "(cached) " >&6
58804 else
58807 ac_ext=cpp
58808 ac_cpp='$CXXCPP $CPPFLAGS'
58809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58814 /* end confdefs.h. */
58815 #include <math.h>
58816 #ifdef HAVE_IEEEFP_H
58817 #include <ieeefp.h>
58818 #endif
58821 main ()
58823 logl(0);
58825 return 0;
58827 _ACEOF
58828 if ac_fn_cxx_try_compile "$LINENO"; then :
58829 glibcxx_cv_func_logl_use=yes
58830 else
58831 glibcxx_cv_func_logl_use=no
58833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58834 ac_ext=c
58835 ac_cpp='$CPP $CPPFLAGS'
58836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58845 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58847 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58848 for ac_func in logl
58849 do :
58850 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58851 if test "x$ac_cv_func_logl" = xyes; then :
58852 cat >>confdefs.h <<_ACEOF
58853 #define HAVE_LOGL 1
58854 _ACEOF
58857 done
58859 else
58861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58862 $as_echo_n "checking for _logl declaration... " >&6; }
58863 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58864 if ${glibcxx_cv_func__logl_use+:} false; then :
58865 $as_echo_n "(cached) " >&6
58866 else
58869 ac_ext=cpp
58870 ac_cpp='$CXXCPP $CPPFLAGS'
58871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58876 /* end confdefs.h. */
58877 #include <math.h>
58878 #ifdef HAVE_IEEEFP_H
58879 #include <ieeefp.h>
58880 #endif
58883 main ()
58885 _logl(0);
58887 return 0;
58889 _ACEOF
58890 if ac_fn_cxx_try_compile "$LINENO"; then :
58891 glibcxx_cv_func__logl_use=yes
58892 else
58893 glibcxx_cv_func__logl_use=no
58895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58896 ac_ext=c
58897 ac_cpp='$CPP $CPPFLAGS'
58898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58907 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58909 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58910 for ac_func in _logl
58911 do :
58912 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58913 if test "x$ac_cv_func__logl" = xyes; then :
58914 cat >>confdefs.h <<_ACEOF
58915 #define HAVE__LOGL 1
58916 _ACEOF
58919 done
58928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58929 $as_echo_n "checking for log10l declaration... " >&6; }
58930 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58931 if ${glibcxx_cv_func_log10l_use+:} false; then :
58932 $as_echo_n "(cached) " >&6
58933 else
58936 ac_ext=cpp
58937 ac_cpp='$CXXCPP $CPPFLAGS'
58938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58943 /* end confdefs.h. */
58944 #include <math.h>
58945 #ifdef HAVE_IEEEFP_H
58946 #include <ieeefp.h>
58947 #endif
58950 main ()
58952 log10l(0);
58954 return 0;
58956 _ACEOF
58957 if ac_fn_cxx_try_compile "$LINENO"; then :
58958 glibcxx_cv_func_log10l_use=yes
58959 else
58960 glibcxx_cv_func_log10l_use=no
58962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58963 ac_ext=c
58964 ac_cpp='$CPP $CPPFLAGS'
58965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58974 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58976 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58977 for ac_func in log10l
58978 do :
58979 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58980 if test "x$ac_cv_func_log10l" = xyes; then :
58981 cat >>confdefs.h <<_ACEOF
58982 #define HAVE_LOG10L 1
58983 _ACEOF
58986 done
58988 else
58990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58991 $as_echo_n "checking for _log10l declaration... " >&6; }
58992 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58993 if ${glibcxx_cv_func__log10l_use+:} false; then :
58994 $as_echo_n "(cached) " >&6
58995 else
58998 ac_ext=cpp
58999 ac_cpp='$CXXCPP $CPPFLAGS'
59000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59005 /* end confdefs.h. */
59006 #include <math.h>
59007 #ifdef HAVE_IEEEFP_H
59008 #include <ieeefp.h>
59009 #endif
59012 main ()
59014 _log10l(0);
59016 return 0;
59018 _ACEOF
59019 if ac_fn_cxx_try_compile "$LINENO"; then :
59020 glibcxx_cv_func__log10l_use=yes
59021 else
59022 glibcxx_cv_func__log10l_use=no
59024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59025 ac_ext=c
59026 ac_cpp='$CPP $CPPFLAGS'
59027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59036 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59038 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59039 for ac_func in _log10l
59040 do :
59041 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59042 if test "x$ac_cv_func__log10l" = xyes; then :
59043 cat >>confdefs.h <<_ACEOF
59044 #define HAVE__LOG10L 1
59045 _ACEOF
59048 done
59057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59058 $as_echo_n "checking for modfl declaration... " >&6; }
59059 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59060 if ${glibcxx_cv_func_modfl_use+:} false; then :
59061 $as_echo_n "(cached) " >&6
59062 else
59065 ac_ext=cpp
59066 ac_cpp='$CXXCPP $CPPFLAGS'
59067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59072 /* end confdefs.h. */
59073 #include <math.h>
59075 main ()
59077 modfl(0, 0);
59079 return 0;
59081 _ACEOF
59082 if ac_fn_cxx_try_compile "$LINENO"; then :
59083 glibcxx_cv_func_modfl_use=yes
59084 else
59085 glibcxx_cv_func_modfl_use=no
59087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59088 ac_ext=c
59089 ac_cpp='$CPP $CPPFLAGS'
59090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59099 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59101 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59102 for ac_func in modfl
59103 do :
59104 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59105 if test "x$ac_cv_func_modfl" = xyes; then :
59106 cat >>confdefs.h <<_ACEOF
59107 #define HAVE_MODFL 1
59108 _ACEOF
59111 done
59113 else
59115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59116 $as_echo_n "checking for _modfl declaration... " >&6; }
59117 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59118 if ${glibcxx_cv_func__modfl_use+:} false; then :
59119 $as_echo_n "(cached) " >&6
59120 else
59123 ac_ext=cpp
59124 ac_cpp='$CXXCPP $CPPFLAGS'
59125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59130 /* end confdefs.h. */
59131 #include <math.h>
59133 main ()
59135 _modfl(0, 0);
59137 return 0;
59139 _ACEOF
59140 if ac_fn_cxx_try_compile "$LINENO"; then :
59141 glibcxx_cv_func__modfl_use=yes
59142 else
59143 glibcxx_cv_func__modfl_use=no
59145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59146 ac_ext=c
59147 ac_cpp='$CPP $CPPFLAGS'
59148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
59157 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
59159 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59160 for ac_func in _modfl
59161 do :
59162 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59163 if test "x$ac_cv_func__modfl" = xyes; then :
59164 cat >>confdefs.h <<_ACEOF
59165 #define HAVE__MODFL 1
59166 _ACEOF
59169 done
59178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59179 $as_echo_n "checking for powl declaration... " >&6; }
59180 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59181 if ${glibcxx_cv_func_powl_use+:} false; then :
59182 $as_echo_n "(cached) " >&6
59183 else
59186 ac_ext=cpp
59187 ac_cpp='$CXXCPP $CPPFLAGS'
59188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59193 /* end confdefs.h. */
59194 #include <math.h>
59196 main ()
59198 powl(0, 0);
59200 return 0;
59202 _ACEOF
59203 if ac_fn_cxx_try_compile "$LINENO"; then :
59204 glibcxx_cv_func_powl_use=yes
59205 else
59206 glibcxx_cv_func_powl_use=no
59208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59209 ac_ext=c
59210 ac_cpp='$CPP $CPPFLAGS'
59211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59220 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59222 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59223 for ac_func in powl
59224 do :
59225 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59226 if test "x$ac_cv_func_powl" = xyes; then :
59227 cat >>confdefs.h <<_ACEOF
59228 #define HAVE_POWL 1
59229 _ACEOF
59232 done
59234 else
59236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59237 $as_echo_n "checking for _powl declaration... " >&6; }
59238 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59239 if ${glibcxx_cv_func__powl_use+:} false; then :
59240 $as_echo_n "(cached) " >&6
59241 else
59244 ac_ext=cpp
59245 ac_cpp='$CXXCPP $CPPFLAGS'
59246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59251 /* end confdefs.h. */
59252 #include <math.h>
59254 main ()
59256 _powl(0, 0);
59258 return 0;
59260 _ACEOF
59261 if ac_fn_cxx_try_compile "$LINENO"; then :
59262 glibcxx_cv_func__powl_use=yes
59263 else
59264 glibcxx_cv_func__powl_use=no
59266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59267 ac_ext=c
59268 ac_cpp='$CPP $CPPFLAGS'
59269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59278 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59280 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59281 for ac_func in _powl
59282 do :
59283 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59284 if test "x$ac_cv_func__powl" = xyes; then :
59285 cat >>confdefs.h <<_ACEOF
59286 #define HAVE__POWL 1
59287 _ACEOF
59290 done
59299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59300 $as_echo_n "checking for sqrtl declaration... " >&6; }
59301 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59302 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
59303 $as_echo_n "(cached) " >&6
59304 else
59307 ac_ext=cpp
59308 ac_cpp='$CXXCPP $CPPFLAGS'
59309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59314 /* end confdefs.h. */
59315 #include <math.h>
59316 #ifdef HAVE_IEEEFP_H
59317 #include <ieeefp.h>
59318 #endif
59321 main ()
59323 sqrtl(0);
59325 return 0;
59327 _ACEOF
59328 if ac_fn_cxx_try_compile "$LINENO"; then :
59329 glibcxx_cv_func_sqrtl_use=yes
59330 else
59331 glibcxx_cv_func_sqrtl_use=no
59333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59334 ac_ext=c
59335 ac_cpp='$CPP $CPPFLAGS'
59336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59345 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59347 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59348 for ac_func in sqrtl
59349 do :
59350 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59351 if test "x$ac_cv_func_sqrtl" = xyes; then :
59352 cat >>confdefs.h <<_ACEOF
59353 #define HAVE_SQRTL 1
59354 _ACEOF
59357 done
59359 else
59361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59362 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59363 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59364 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
59365 $as_echo_n "(cached) " >&6
59366 else
59369 ac_ext=cpp
59370 ac_cpp='$CXXCPP $CPPFLAGS'
59371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59376 /* end confdefs.h. */
59377 #include <math.h>
59378 #ifdef HAVE_IEEEFP_H
59379 #include <ieeefp.h>
59380 #endif
59383 main ()
59385 _sqrtl(0);
59387 return 0;
59389 _ACEOF
59390 if ac_fn_cxx_try_compile "$LINENO"; then :
59391 glibcxx_cv_func__sqrtl_use=yes
59392 else
59393 glibcxx_cv_func__sqrtl_use=no
59395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59396 ac_ext=c
59397 ac_cpp='$CPP $CPPFLAGS'
59398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59407 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59409 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59410 for ac_func in _sqrtl
59411 do :
59412 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59413 if test "x$ac_cv_func__sqrtl" = xyes; then :
59414 cat >>confdefs.h <<_ACEOF
59415 #define HAVE__SQRTL 1
59416 _ACEOF
59419 done
59428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59429 $as_echo_n "checking for sincosl declaration... " >&6; }
59430 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59431 if ${glibcxx_cv_func_sincosl_use+:} false; then :
59432 $as_echo_n "(cached) " >&6
59433 else
59436 ac_ext=cpp
59437 ac_cpp='$CXXCPP $CPPFLAGS'
59438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59443 /* end confdefs.h. */
59444 #include <math.h>
59446 main ()
59448 sincosl(0, 0, 0);
59450 return 0;
59452 _ACEOF
59453 if ac_fn_cxx_try_compile "$LINENO"; then :
59454 glibcxx_cv_func_sincosl_use=yes
59455 else
59456 glibcxx_cv_func_sincosl_use=no
59458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59459 ac_ext=c
59460 ac_cpp='$CPP $CPPFLAGS'
59461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59470 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59472 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59473 for ac_func in sincosl
59474 do :
59475 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59476 if test "x$ac_cv_func_sincosl" = xyes; then :
59477 cat >>confdefs.h <<_ACEOF
59478 #define HAVE_SINCOSL 1
59479 _ACEOF
59482 done
59484 else
59486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59487 $as_echo_n "checking for _sincosl declaration... " >&6; }
59488 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59489 if ${glibcxx_cv_func__sincosl_use+:} false; then :
59490 $as_echo_n "(cached) " >&6
59491 else
59494 ac_ext=cpp
59495 ac_cpp='$CXXCPP $CPPFLAGS'
59496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59501 /* end confdefs.h. */
59502 #include <math.h>
59504 main ()
59506 _sincosl(0, 0, 0);
59508 return 0;
59510 _ACEOF
59511 if ac_fn_cxx_try_compile "$LINENO"; then :
59512 glibcxx_cv_func__sincosl_use=yes
59513 else
59514 glibcxx_cv_func__sincosl_use=no
59516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59517 ac_ext=c
59518 ac_cpp='$CPP $CPPFLAGS'
59519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59528 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59530 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59531 for ac_func in _sincosl
59532 do :
59533 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59534 if test "x$ac_cv_func__sincosl" = xyes; then :
59535 cat >>confdefs.h <<_ACEOF
59536 #define HAVE__SINCOSL 1
59537 _ACEOF
59540 done
59549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59550 $as_echo_n "checking for finitel declaration... " >&6; }
59551 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59552 if ${glibcxx_cv_func_finitel_use+:} false; then :
59553 $as_echo_n "(cached) " >&6
59554 else
59557 ac_ext=cpp
59558 ac_cpp='$CXXCPP $CPPFLAGS'
59559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59564 /* end confdefs.h. */
59565 #include <math.h>
59566 #ifdef HAVE_IEEEFP_H
59567 #include <ieeefp.h>
59568 #endif
59571 main ()
59573 finitel(0);
59575 return 0;
59577 _ACEOF
59578 if ac_fn_cxx_try_compile "$LINENO"; then :
59579 glibcxx_cv_func_finitel_use=yes
59580 else
59581 glibcxx_cv_func_finitel_use=no
59583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59584 ac_ext=c
59585 ac_cpp='$CPP $CPPFLAGS'
59586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59595 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59597 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59598 for ac_func in finitel
59599 do :
59600 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59601 if test "x$ac_cv_func_finitel" = xyes; then :
59602 cat >>confdefs.h <<_ACEOF
59603 #define HAVE_FINITEL 1
59604 _ACEOF
59607 done
59609 else
59611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59612 $as_echo_n "checking for _finitel declaration... " >&6; }
59613 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59614 if ${glibcxx_cv_func__finitel_use+:} false; then :
59615 $as_echo_n "(cached) " >&6
59616 else
59619 ac_ext=cpp
59620 ac_cpp='$CXXCPP $CPPFLAGS'
59621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59626 /* end confdefs.h. */
59627 #include <math.h>
59628 #ifdef HAVE_IEEEFP_H
59629 #include <ieeefp.h>
59630 #endif
59633 main ()
59635 _finitel(0);
59637 return 0;
59639 _ACEOF
59640 if ac_fn_cxx_try_compile "$LINENO"; then :
59641 glibcxx_cv_func__finitel_use=yes
59642 else
59643 glibcxx_cv_func__finitel_use=no
59645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59646 ac_ext=c
59647 ac_cpp='$CPP $CPPFLAGS'
59648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59657 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59659 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59660 for ac_func in _finitel
59661 do :
59662 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59663 if test "x$ac_cv_func__finitel" = xyes; then :
59664 cat >>confdefs.h <<_ACEOF
59665 #define HAVE__FINITEL 1
59666 _ACEOF
59669 done
59677 LIBS="$ac_save_LIBS"
59678 CXXFLAGS="$ac_save_CXXFLAGS"
59681 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59682 ac_save_CXXFLAGS="$CXXFLAGS"
59683 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59687 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59688 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59689 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
59690 $as_echo_n "(cached) " >&6
59691 else
59694 ac_ext=cpp
59695 ac_cpp='$CXXCPP $CPPFLAGS'
59696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59701 /* end confdefs.h. */
59702 #include <stdlib.h>
59704 main ()
59706 at_quick_exit(0);
59708 return 0;
59710 _ACEOF
59711 if ac_fn_cxx_try_compile "$LINENO"; then :
59712 glibcxx_cv_func_at_quick_exit_use=yes
59713 else
59714 glibcxx_cv_func_at_quick_exit_use=no
59716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59717 ac_ext=c
59718 ac_cpp='$CPP $CPPFLAGS'
59719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59728 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59729 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59730 for ac_func in at_quick_exit
59731 do :
59732 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59733 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
59734 cat >>confdefs.h <<_ACEOF
59735 #define HAVE_AT_QUICK_EXIT 1
59736 _ACEOF
59739 done
59744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59745 $as_echo_n "checking for quick_exit declaration... " >&6; }
59746 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59747 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
59748 $as_echo_n "(cached) " >&6
59749 else
59752 ac_ext=cpp
59753 ac_cpp='$CXXCPP $CPPFLAGS'
59754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59759 /* end confdefs.h. */
59760 #include <stdlib.h>
59762 main ()
59764 quick_exit(0);
59766 return 0;
59768 _ACEOF
59769 if ac_fn_cxx_try_compile "$LINENO"; then :
59770 glibcxx_cv_func_quick_exit_use=yes
59771 else
59772 glibcxx_cv_func_quick_exit_use=no
59774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59775 ac_ext=c
59776 ac_cpp='$CPP $CPPFLAGS'
59777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59786 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59787 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59788 for ac_func in quick_exit
59789 do :
59790 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59791 if test "x$ac_cv_func_quick_exit" = xyes; then :
59792 cat >>confdefs.h <<_ACEOF
59793 #define HAVE_QUICK_EXIT 1
59794 _ACEOF
59797 done
59802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59803 $as_echo_n "checking for strtold declaration... " >&6; }
59804 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59805 if ${glibcxx_cv_func_strtold_use+:} false; then :
59806 $as_echo_n "(cached) " >&6
59807 else
59810 ac_ext=cpp
59811 ac_cpp='$CXXCPP $CPPFLAGS'
59812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59817 /* end confdefs.h. */
59818 #include <stdlib.h>
59820 main ()
59822 strtold(0, 0);
59824 return 0;
59826 _ACEOF
59827 if ac_fn_cxx_try_compile "$LINENO"; then :
59828 glibcxx_cv_func_strtold_use=yes
59829 else
59830 glibcxx_cv_func_strtold_use=no
59832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59833 ac_ext=c
59834 ac_cpp='$CPP $CPPFLAGS'
59835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59844 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59845 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59846 for ac_func in strtold
59847 do :
59848 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59849 if test "x$ac_cv_func_strtold" = xyes; then :
59850 cat >>confdefs.h <<_ACEOF
59851 #define HAVE_STRTOLD 1
59852 _ACEOF
59855 done
59862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59863 $as_echo_n "checking for strtof declaration... " >&6; }
59864 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59865 if ${glibcxx_cv_func_strtof_use+:} false; then :
59866 $as_echo_n "(cached) " >&6
59867 else
59870 ac_ext=cpp
59871 ac_cpp='$CXXCPP $CPPFLAGS'
59872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59877 /* end confdefs.h. */
59878 #include <stdlib.h>
59880 main ()
59882 strtof(0, 0);
59884 return 0;
59886 _ACEOF
59887 if ac_fn_cxx_try_compile "$LINENO"; then :
59888 glibcxx_cv_func_strtof_use=yes
59889 else
59890 glibcxx_cv_func_strtof_use=no
59892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59893 ac_ext=c
59894 ac_cpp='$CPP $CPPFLAGS'
59895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59904 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59905 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59906 for ac_func in strtof
59907 do :
59908 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59909 if test "x$ac_cv_func_strtof" = xyes; then :
59910 cat >>confdefs.h <<_ACEOF
59911 #define HAVE_STRTOF 1
59912 _ACEOF
59915 done
59922 CXXFLAGS="$ac_save_CXXFLAGS"
59924 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
59926 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59930 # Check whether --enable-tls was given.
59931 if test "${enable_tls+set}" = set; then :
59932 enableval=$enable_tls;
59933 case "$enableval" in
59934 yes|no) ;;
59935 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59936 esac
59938 else
59939 enable_tls=yes
59943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59944 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59945 if ${gcc_cv_have_tls+:} false; then :
59946 $as_echo_n "(cached) " >&6
59947 else
59949 if test "$cross_compiling" = yes; then :
59950 if test x$gcc_no_link = xyes; then
59951 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59954 /* end confdefs.h. */
59955 __thread int a; int b; int main() { return a = b; }
59956 _ACEOF
59957 if ac_fn_c_try_link "$LINENO"; then :
59958 chktls_save_LDFLAGS="$LDFLAGS"
59959 case $host in
59960 *-*-linux*)
59961 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59963 esac
59964 chktls_save_CFLAGS="$CFLAGS"
59965 CFLAGS="-fPIC $CFLAGS"
59966 if test x$gcc_no_link = xyes; then
59967 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59970 /* end confdefs.h. */
59971 int f() { return 0; }
59972 _ACEOF
59973 if ac_fn_c_try_link "$LINENO"; then :
59974 if test x$gcc_no_link = xyes; then
59975 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59978 /* end confdefs.h. */
59979 __thread int a; int b; int f() { return a = b; }
59980 _ACEOF
59981 if ac_fn_c_try_link "$LINENO"; then :
59982 gcc_cv_have_tls=yes
59983 else
59984 gcc_cv_have_tls=no
59986 rm -f core conftest.err conftest.$ac_objext \
59987 conftest$ac_exeext conftest.$ac_ext
59988 else
59989 gcc_cv_have_tls=yes
59991 rm -f core conftest.err conftest.$ac_objext \
59992 conftest$ac_exeext conftest.$ac_ext
59993 CFLAGS="$chktls_save_CFLAGS"
59994 LDFLAGS="$chktls_save_LDFLAGS"
59995 else
59996 gcc_cv_have_tls=no
59998 rm -f core conftest.err conftest.$ac_objext \
59999 conftest$ac_exeext conftest.$ac_ext
60002 else
60003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60004 /* end confdefs.h. */
60005 __thread int a; int b; int main() { return a = b; }
60006 _ACEOF
60007 if ac_fn_c_try_run "$LINENO"; then :
60008 chktls_save_LDFLAGS="$LDFLAGS"
60009 LDFLAGS="-static $LDFLAGS"
60010 if test x$gcc_no_link = xyes; then
60011 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60014 /* end confdefs.h. */
60015 int main() { return 0; }
60016 _ACEOF
60017 if ac_fn_c_try_link "$LINENO"; then :
60018 if test "$cross_compiling" = yes; then :
60019 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60021 as_fn_error $? "cannot run test program while cross compiling
60022 See \`config.log' for more details" "$LINENO" 5; }
60023 else
60024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60025 /* end confdefs.h. */
60026 __thread int a; int b; int main() { return a = b; }
60027 _ACEOF
60028 if ac_fn_c_try_run "$LINENO"; then :
60029 gcc_cv_have_tls=yes
60030 else
60031 gcc_cv_have_tls=no
60033 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60034 conftest.$ac_objext conftest.beam conftest.$ac_ext
60037 else
60038 gcc_cv_have_tls=yes
60040 rm -f core conftest.err conftest.$ac_objext \
60041 conftest$ac_exeext conftest.$ac_ext
60042 LDFLAGS="$chktls_save_LDFLAGS"
60043 if test $gcc_cv_have_tls = yes; then
60044 chktls_save_CFLAGS="$CFLAGS"
60045 thread_CFLAGS=failed
60046 for flag in '' '-pthread' '-lpthread'; do
60047 CFLAGS="$flag $chktls_save_CFLAGS"
60048 if test x$gcc_no_link = xyes; then
60049 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60052 /* end confdefs.h. */
60053 #include <pthread.h>
60054 void *g(void *d) { return NULL; }
60056 main ()
60058 pthread_t t; pthread_create(&t,NULL,g,NULL);
60060 return 0;
60062 _ACEOF
60063 if ac_fn_c_try_link "$LINENO"; then :
60064 thread_CFLAGS="$flag"
60066 rm -f core conftest.err conftest.$ac_objext \
60067 conftest$ac_exeext conftest.$ac_ext
60068 if test "X$thread_CFLAGS" != Xfailed; then
60069 break
60071 done
60072 CFLAGS="$chktls_save_CFLAGS"
60073 if test "X$thread_CFLAGS" != Xfailed; then
60074 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
60075 if test "$cross_compiling" = yes; then :
60076 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60078 as_fn_error $? "cannot run test program while cross compiling
60079 See \`config.log' for more details" "$LINENO" 5; }
60080 else
60081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60082 /* end confdefs.h. */
60083 #include <pthread.h>
60084 __thread int a;
60085 static int *volatile a_in_other_thread;
60086 static void *
60087 thread_func (void *arg)
60089 a_in_other_thread = &a;
60090 return (void *)0;
60093 main ()
60095 pthread_t thread;
60096 void *thread_retval;
60097 int *volatile a_in_main_thread;
60098 a_in_main_thread = &a;
60099 if (pthread_create (&thread, (pthread_attr_t *)0,
60100 thread_func, (void *)0))
60101 return 0;
60102 if (pthread_join (thread, &thread_retval))
60103 return 0;
60104 return (a_in_other_thread == a_in_main_thread);
60106 return 0;
60108 _ACEOF
60109 if ac_fn_c_try_run "$LINENO"; then :
60110 gcc_cv_have_tls=yes
60111 else
60112 gcc_cv_have_tls=no
60114 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60115 conftest.$ac_objext conftest.beam conftest.$ac_ext
60118 CFLAGS="$chktls_save_CFLAGS"
60121 else
60122 gcc_cv_have_tls=no
60124 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60125 conftest.$ac_objext conftest.beam conftest.$ac_ext
60129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
60130 $as_echo "$gcc_cv_have_tls" >&6; }
60131 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
60133 $as_echo "#define HAVE_TLS 1" >>confdefs.h
60136 for ac_func in __cxa_thread_atexit_impl
60137 do :
60138 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
60139 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
60140 cat >>confdefs.h <<_ACEOF
60141 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
60142 _ACEOF
60145 done
60147 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60148 do :
60149 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60150 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60151 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60152 cat >>confdefs.h <<_ACEOF
60153 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60154 _ACEOF
60157 done
60164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
60165 $as_echo_n "checking for iconv... " >&6; }
60166 if ${am_cv_func_iconv+:} false; then :
60167 $as_echo_n "(cached) " >&6
60168 else
60170 am_cv_func_iconv="no, consider installing GNU libiconv"
60171 am_cv_lib_iconv=no
60172 am_save_CPPFLAGS="$CPPFLAGS"
60173 CPPFLAGS="$CPPFLAGS $INCICONV"
60174 if test x$gcc_no_link = xyes; then
60175 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60178 /* end confdefs.h. */
60179 #include <stdlib.h>
60180 #include <iconv.h>
60182 main ()
60184 iconv_t cd = iconv_open("","");
60185 iconv(cd,NULL,NULL,NULL,NULL);
60186 iconv_close(cd);
60188 return 0;
60190 _ACEOF
60191 if ac_fn_c_try_link "$LINENO"; then :
60192 am_cv_func_iconv=yes
60194 rm -f core conftest.err conftest.$ac_objext \
60195 conftest$ac_exeext conftest.$ac_ext
60196 CPPFLAGS="$am_save_CPPFLAGS"
60198 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
60199 for _libs in .libs _libs; do
60200 am_save_CPPFLAGS="$CPPFLAGS"
60201 am_save_LIBS="$LIBS"
60202 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
60203 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
60204 if test x$gcc_no_link = xyes; then
60205 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60208 /* end confdefs.h. */
60209 #include <stdlib.h>
60210 #include <iconv.h>
60212 main ()
60214 iconv_t cd = iconv_open("","");
60215 iconv(cd,NULL,NULL,NULL,NULL);
60216 iconv_close(cd);
60218 return 0;
60220 _ACEOF
60221 if ac_fn_c_try_link "$LINENO"; then :
60222 INCICONV="-I../libiconv/include"
60223 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
60224 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
60225 am_cv_lib_iconv=yes
60226 am_cv_func_iconv=yes
60228 rm -f core conftest.err conftest.$ac_objext \
60229 conftest$ac_exeext conftest.$ac_ext
60230 CPPFLAGS="$am_save_CPPFLAGS"
60231 LIBS="$am_save_LIBS"
60232 if test "$am_cv_func_iconv" = "yes"; then
60233 break
60235 done
60238 if test "$am_cv_func_iconv" != yes; then
60239 am_save_CPPFLAGS="$CPPFLAGS"
60240 am_save_LIBS="$LIBS"
60241 CPPFLAGS="$CPPFLAGS $INCICONV"
60242 LIBS="$LIBS $LIBICONV"
60243 if test x$gcc_no_link = xyes; then
60244 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60247 /* end confdefs.h. */
60248 #include <stdlib.h>
60249 #include <iconv.h>
60251 main ()
60253 iconv_t cd = iconv_open("","");
60254 iconv(cd,NULL,NULL,NULL,NULL);
60255 iconv_close(cd);
60257 return 0;
60259 _ACEOF
60260 if ac_fn_c_try_link "$LINENO"; then :
60261 am_cv_lib_iconv=yes
60262 am_cv_func_iconv=yes
60264 rm -f core conftest.err conftest.$ac_objext \
60265 conftest$ac_exeext conftest.$ac_ext
60266 CPPFLAGS="$am_save_CPPFLAGS"
60267 LIBS="$am_save_LIBS"
60271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
60272 $as_echo "$am_cv_func_iconv" >&6; }
60273 if test "$am_cv_func_iconv" = yes; then
60275 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
60278 if test "$am_cv_lib_iconv" = yes; then
60280 for element in $INCICONV; do
60281 haveit=
60282 for x in $CPPFLAGS; do
60284 acl_save_prefix="$prefix"
60285 prefix="$acl_final_prefix"
60286 acl_save_exec_prefix="$exec_prefix"
60287 exec_prefix="$acl_final_exec_prefix"
60288 eval x=\"$x\"
60289 exec_prefix="$acl_save_exec_prefix"
60290 prefix="$acl_save_prefix"
60292 if test "X$x" = "X$element"; then
60293 haveit=yes
60294 break
60296 done
60297 if test -z "$haveit"; then
60298 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
60300 done
60302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
60303 $as_echo_n "checking how to link with libiconv... " >&6; }
60304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
60305 $as_echo "$LIBICONV" >&6; }
60306 else
60307 LIBICONV=
60308 LTLIBICONV=
60313 if test "$am_cv_func_iconv" = yes; then
60314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
60315 $as_echo_n "checking for iconv declaration... " >&6; }
60316 if ${am_cv_proto_iconv+:} false; then :
60317 $as_echo_n "(cached) " >&6
60318 else
60320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60321 /* end confdefs.h. */
60323 #include <stdlib.h>
60324 #include <iconv.h>
60325 extern
60326 #ifdef __cplusplus
60328 #endif
60329 #if defined(__STDC__) || defined(__cplusplus)
60330 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
60331 #else
60332 size_t iconv();
60333 #endif
60336 main ()
60340 return 0;
60342 _ACEOF
60343 if ac_fn_c_try_compile "$LINENO"; then :
60344 am_cv_proto_iconv_arg1=""
60345 else
60346 am_cv_proto_iconv_arg1="const"
60348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60349 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
60352 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
60353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
60354 }$am_cv_proto_iconv" >&5
60355 $as_echo "${ac_t:-
60356 }$am_cv_proto_iconv" >&6; }
60358 cat >>confdefs.h <<_ACEOF
60359 #define ICONV_CONST $am_cv_proto_iconv_arg1
60360 _ACEOF
60365 *-mingw32*)
60367 # If we're not using GNU ld, then there's no point in even trying these
60368 # tests. Check for that first. We should have already tested for gld
60369 # by now (in libtool), but require it now just to be safe...
60370 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60371 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60375 # The name set by libtool depends on the version of libtool. Shame on us
60376 # for depending on an impl detail, but c'est la vie. Older versions used
60377 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60378 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60379 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60380 # set (hence we're using an older libtool), then set it.
60381 if test x${with_gnu_ld+set} != xset; then
60382 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60383 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60384 with_gnu_ld=no
60385 else
60386 with_gnu_ld=$ac_cv_prog_gnu_ld
60390 # Start by getting the version number. I think the libtool test already
60391 # does some of this, but throws away the result.
60392 glibcxx_ld_is_gold=no
60393 if test x"$with_gnu_ld" = x"yes"; then
60394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60395 $as_echo_n "checking for ld version... " >&6; }
60397 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60398 glibcxx_ld_is_gold=yes
60400 ldver=`$LD --version 2>/dev/null |
60401 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
60403 glibcxx_gnu_ld_version=`echo $ldver | \
60404 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60406 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60409 # Set --gc-sections.
60410 glibcxx_have_gc_sections=no
60411 if test "$glibcxx_ld_is_gold" = "yes"; then
60412 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60413 glibcxx_have_gc_sections=yes
60415 else
60416 glibcxx_gcsections_min_ld=21602
60417 if test x"$with_gnu_ld" = x"yes" &&
60418 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60419 glibcxx_have_gc_sections=yes
60422 if test "$glibcxx_have_gc_sections" = "yes"; then
60423 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60424 # NB: This flag only works reliably after 2.16.1. Configure tests
60425 # for this are difficult, so hard wire a value that should work.
60427 ac_test_CFLAGS="${CFLAGS+set}"
60428 ac_save_CFLAGS="$CFLAGS"
60429 CFLAGS='-Wl,--gc-sections'
60431 # Check for -Wl,--gc-sections
60432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60433 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60434 if test x$gcc_no_link = xyes; then
60435 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60438 /* end confdefs.h. */
60439 int one(void) { return 1; }
60440 int two(void) { return 2; }
60443 main ()
60445 two();
60447 return 0;
60449 _ACEOF
60450 if ac_fn_c_try_link "$LINENO"; then :
60451 ac_gcsections=yes
60452 else
60453 ac_gcsections=no
60455 rm -f core conftest.err conftest.$ac_objext \
60456 conftest$ac_exeext conftest.$ac_ext
60457 if test "$ac_gcsections" = "yes"; then
60458 rm -f conftest.c
60459 touch conftest.c
60460 if $CC -c conftest.c; then
60461 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60462 grep "Warning: gc-sections option ignored" > /dev/null; then
60463 ac_gcsections=no
60466 rm -f conftest.c conftest.o conftest
60468 if test "$ac_gcsections" = "yes"; then
60469 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60472 $as_echo "$ac_gcsections" >&6; }
60474 if test "$ac_test_CFLAGS" = set; then
60475 CFLAGS="$ac_save_CFLAGS"
60476 else
60477 # this is the suspicious part
60478 CFLAGS=''
60482 # Set -z,relro.
60483 # Note this is only for shared objects.
60484 ac_ld_relro=no
60485 if test x"$with_gnu_ld" = x"yes"; then
60486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60487 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60488 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60489 if test -n "$cxx_z_relo"; then
60490 OPT_LDFLAGS="-Wl,-z,relro"
60491 ac_ld_relro=yes
60493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60494 $as_echo "$ac_ld_relro" >&6; }
60497 # Set linker optimization flags.
60498 if test x"$with_gnu_ld" = x"yes"; then
60499 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60506 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60507 ac_save_CXXFLAGS="$CXXFLAGS"
60508 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60511 $as_echo_n "checking for sin in -lm... " >&6; }
60512 if ${ac_cv_lib_m_sin+:} false; then :
60513 $as_echo_n "(cached) " >&6
60514 else
60515 ac_check_lib_save_LIBS=$LIBS
60516 LIBS="-lm $LIBS"
60517 if test x$gcc_no_link = xyes; then
60518 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60521 /* end confdefs.h. */
60523 /* Override any GCC internal prototype to avoid an error.
60524 Use char because int might match the return type of a GCC
60525 builtin and then its argument prototype would still apply. */
60526 #ifdef __cplusplus
60527 extern "C"
60528 #endif
60529 char sin ();
60531 main ()
60533 return sin ();
60535 return 0;
60537 _ACEOF
60538 if ac_fn_c_try_link "$LINENO"; then :
60539 ac_cv_lib_m_sin=yes
60540 else
60541 ac_cv_lib_m_sin=no
60543 rm -f core conftest.err conftest.$ac_objext \
60544 conftest$ac_exeext conftest.$ac_ext
60545 LIBS=$ac_check_lib_save_LIBS
60547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60548 $as_echo "$ac_cv_lib_m_sin" >&6; }
60549 if test "x$ac_cv_lib_m_sin" = xyes; then :
60550 libm="-lm"
60553 ac_save_LIBS="$LIBS"
60554 LIBS="$LIBS $libm"
60558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60559 $as_echo_n "checking for isinf declaration... " >&6; }
60560 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60561 if ${glibcxx_cv_func_isinf_use+:} false; then :
60562 $as_echo_n "(cached) " >&6
60563 else
60566 ac_ext=cpp
60567 ac_cpp='$CXXCPP $CPPFLAGS'
60568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60573 /* end confdefs.h. */
60574 #include <math.h>
60575 #ifdef HAVE_IEEEFP_H
60576 #include <ieeefp.h>
60577 #endif
60580 main ()
60582 isinf(0);
60584 return 0;
60586 _ACEOF
60587 if ac_fn_cxx_try_compile "$LINENO"; then :
60588 glibcxx_cv_func_isinf_use=yes
60589 else
60590 glibcxx_cv_func_isinf_use=no
60592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60593 ac_ext=c
60594 ac_cpp='$CPP $CPPFLAGS'
60595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60604 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60606 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60607 for ac_func in isinf
60608 do :
60609 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60610 if test "x$ac_cv_func_isinf" = xyes; then :
60611 cat >>confdefs.h <<_ACEOF
60612 #define HAVE_ISINF 1
60613 _ACEOF
60616 done
60618 else
60620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60621 $as_echo_n "checking for _isinf declaration... " >&6; }
60622 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60623 if ${glibcxx_cv_func__isinf_use+:} false; then :
60624 $as_echo_n "(cached) " >&6
60625 else
60628 ac_ext=cpp
60629 ac_cpp='$CXXCPP $CPPFLAGS'
60630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60635 /* end confdefs.h. */
60636 #include <math.h>
60637 #ifdef HAVE_IEEEFP_H
60638 #include <ieeefp.h>
60639 #endif
60642 main ()
60644 _isinf(0);
60646 return 0;
60648 _ACEOF
60649 if ac_fn_cxx_try_compile "$LINENO"; then :
60650 glibcxx_cv_func__isinf_use=yes
60651 else
60652 glibcxx_cv_func__isinf_use=no
60654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60655 ac_ext=c
60656 ac_cpp='$CPP $CPPFLAGS'
60657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60666 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60668 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60669 for ac_func in _isinf
60670 do :
60671 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60672 if test "x$ac_cv_func__isinf" = xyes; then :
60673 cat >>confdefs.h <<_ACEOF
60674 #define HAVE__ISINF 1
60675 _ACEOF
60678 done
60687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60688 $as_echo_n "checking for isnan declaration... " >&6; }
60689 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60690 if ${glibcxx_cv_func_isnan_use+:} false; then :
60691 $as_echo_n "(cached) " >&6
60692 else
60695 ac_ext=cpp
60696 ac_cpp='$CXXCPP $CPPFLAGS'
60697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60702 /* end confdefs.h. */
60703 #include <math.h>
60704 #ifdef HAVE_IEEEFP_H
60705 #include <ieeefp.h>
60706 #endif
60709 main ()
60711 isnan(0);
60713 return 0;
60715 _ACEOF
60716 if ac_fn_cxx_try_compile "$LINENO"; then :
60717 glibcxx_cv_func_isnan_use=yes
60718 else
60719 glibcxx_cv_func_isnan_use=no
60721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60722 ac_ext=c
60723 ac_cpp='$CPP $CPPFLAGS'
60724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60733 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60735 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60736 for ac_func in isnan
60737 do :
60738 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60739 if test "x$ac_cv_func_isnan" = xyes; then :
60740 cat >>confdefs.h <<_ACEOF
60741 #define HAVE_ISNAN 1
60742 _ACEOF
60745 done
60747 else
60749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60750 $as_echo_n "checking for _isnan declaration... " >&6; }
60751 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60752 if ${glibcxx_cv_func__isnan_use+:} false; then :
60753 $as_echo_n "(cached) " >&6
60754 else
60757 ac_ext=cpp
60758 ac_cpp='$CXXCPP $CPPFLAGS'
60759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60764 /* end confdefs.h. */
60765 #include <math.h>
60766 #ifdef HAVE_IEEEFP_H
60767 #include <ieeefp.h>
60768 #endif
60771 main ()
60773 _isnan(0);
60775 return 0;
60777 _ACEOF
60778 if ac_fn_cxx_try_compile "$LINENO"; then :
60779 glibcxx_cv_func__isnan_use=yes
60780 else
60781 glibcxx_cv_func__isnan_use=no
60783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60784 ac_ext=c
60785 ac_cpp='$CPP $CPPFLAGS'
60786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60795 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60797 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60798 for ac_func in _isnan
60799 do :
60800 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60801 if test "x$ac_cv_func__isnan" = xyes; then :
60802 cat >>confdefs.h <<_ACEOF
60803 #define HAVE__ISNAN 1
60804 _ACEOF
60807 done
60816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60817 $as_echo_n "checking for finite declaration... " >&6; }
60818 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60819 if ${glibcxx_cv_func_finite_use+:} false; then :
60820 $as_echo_n "(cached) " >&6
60821 else
60824 ac_ext=cpp
60825 ac_cpp='$CXXCPP $CPPFLAGS'
60826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60831 /* end confdefs.h. */
60832 #include <math.h>
60833 #ifdef HAVE_IEEEFP_H
60834 #include <ieeefp.h>
60835 #endif
60838 main ()
60840 finite(0);
60842 return 0;
60844 _ACEOF
60845 if ac_fn_cxx_try_compile "$LINENO"; then :
60846 glibcxx_cv_func_finite_use=yes
60847 else
60848 glibcxx_cv_func_finite_use=no
60850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60851 ac_ext=c
60852 ac_cpp='$CPP $CPPFLAGS'
60853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60862 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60864 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60865 for ac_func in finite
60866 do :
60867 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60868 if test "x$ac_cv_func_finite" = xyes; then :
60869 cat >>confdefs.h <<_ACEOF
60870 #define HAVE_FINITE 1
60871 _ACEOF
60874 done
60876 else
60878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60879 $as_echo_n "checking for _finite declaration... " >&6; }
60880 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60881 if ${glibcxx_cv_func__finite_use+:} false; then :
60882 $as_echo_n "(cached) " >&6
60883 else
60886 ac_ext=cpp
60887 ac_cpp='$CXXCPP $CPPFLAGS'
60888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60893 /* end confdefs.h. */
60894 #include <math.h>
60895 #ifdef HAVE_IEEEFP_H
60896 #include <ieeefp.h>
60897 #endif
60900 main ()
60902 _finite(0);
60904 return 0;
60906 _ACEOF
60907 if ac_fn_cxx_try_compile "$LINENO"; then :
60908 glibcxx_cv_func__finite_use=yes
60909 else
60910 glibcxx_cv_func__finite_use=no
60912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60913 ac_ext=c
60914 ac_cpp='$CPP $CPPFLAGS'
60915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
60924 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60926 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60927 for ac_func in _finite
60928 do :
60929 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60930 if test "x$ac_cv_func__finite" = xyes; then :
60931 cat >>confdefs.h <<_ACEOF
60932 #define HAVE__FINITE 1
60933 _ACEOF
60936 done
60945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60946 $as_echo_n "checking for sincos declaration... " >&6; }
60947 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60948 if ${glibcxx_cv_func_sincos_use+:} false; then :
60949 $as_echo_n "(cached) " >&6
60950 else
60953 ac_ext=cpp
60954 ac_cpp='$CXXCPP $CPPFLAGS'
60955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60960 /* end confdefs.h. */
60961 #include <math.h>
60963 main ()
60965 sincos(0, 0, 0);
60967 return 0;
60969 _ACEOF
60970 if ac_fn_cxx_try_compile "$LINENO"; then :
60971 glibcxx_cv_func_sincos_use=yes
60972 else
60973 glibcxx_cv_func_sincos_use=no
60975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60976 ac_ext=c
60977 ac_cpp='$CPP $CPPFLAGS'
60978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60987 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60989 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60990 for ac_func in sincos
60991 do :
60992 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60993 if test "x$ac_cv_func_sincos" = xyes; then :
60994 cat >>confdefs.h <<_ACEOF
60995 #define HAVE_SINCOS 1
60996 _ACEOF
60999 done
61001 else
61003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61004 $as_echo_n "checking for _sincos declaration... " >&6; }
61005 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61006 if ${glibcxx_cv_func__sincos_use+:} false; then :
61007 $as_echo_n "(cached) " >&6
61008 else
61011 ac_ext=cpp
61012 ac_cpp='$CXXCPP $CPPFLAGS'
61013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61018 /* end confdefs.h. */
61019 #include <math.h>
61021 main ()
61023 _sincos(0, 0, 0);
61025 return 0;
61027 _ACEOF
61028 if ac_fn_cxx_try_compile "$LINENO"; then :
61029 glibcxx_cv_func__sincos_use=yes
61030 else
61031 glibcxx_cv_func__sincos_use=no
61033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61034 ac_ext=c
61035 ac_cpp='$CPP $CPPFLAGS'
61036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61045 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61047 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61048 for ac_func in _sincos
61049 do :
61050 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61051 if test "x$ac_cv_func__sincos" = xyes; then :
61052 cat >>confdefs.h <<_ACEOF
61053 #define HAVE__SINCOS 1
61054 _ACEOF
61057 done
61066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61067 $as_echo_n "checking for fpclass declaration... " >&6; }
61068 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61069 if ${glibcxx_cv_func_fpclass_use+:} false; then :
61070 $as_echo_n "(cached) " >&6
61071 else
61074 ac_ext=cpp
61075 ac_cpp='$CXXCPP $CPPFLAGS'
61076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61081 /* end confdefs.h. */
61082 #include <math.h>
61083 #ifdef HAVE_IEEEFP_H
61084 #include <ieeefp.h>
61085 #endif
61088 main ()
61090 fpclass(0);
61092 return 0;
61094 _ACEOF
61095 if ac_fn_cxx_try_compile "$LINENO"; then :
61096 glibcxx_cv_func_fpclass_use=yes
61097 else
61098 glibcxx_cv_func_fpclass_use=no
61100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61101 ac_ext=c
61102 ac_cpp='$CPP $CPPFLAGS'
61103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61112 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61114 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61115 for ac_func in fpclass
61116 do :
61117 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61118 if test "x$ac_cv_func_fpclass" = xyes; then :
61119 cat >>confdefs.h <<_ACEOF
61120 #define HAVE_FPCLASS 1
61121 _ACEOF
61124 done
61126 else
61128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
61129 $as_echo_n "checking for _fpclass declaration... " >&6; }
61130 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61131 if ${glibcxx_cv_func__fpclass_use+:} false; then :
61132 $as_echo_n "(cached) " >&6
61133 else
61136 ac_ext=cpp
61137 ac_cpp='$CXXCPP $CPPFLAGS'
61138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61143 /* end confdefs.h. */
61144 #include <math.h>
61145 #ifdef HAVE_IEEEFP_H
61146 #include <ieeefp.h>
61147 #endif
61150 main ()
61152 _fpclass(0);
61154 return 0;
61156 _ACEOF
61157 if ac_fn_cxx_try_compile "$LINENO"; then :
61158 glibcxx_cv_func__fpclass_use=yes
61159 else
61160 glibcxx_cv_func__fpclass_use=no
61162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61163 ac_ext=c
61164 ac_cpp='$CPP $CPPFLAGS'
61165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61174 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61176 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61177 for ac_func in _fpclass
61178 do :
61179 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61180 if test "x$ac_cv_func__fpclass" = xyes; then :
61181 cat >>confdefs.h <<_ACEOF
61182 #define HAVE__FPCLASS 1
61183 _ACEOF
61186 done
61195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61196 $as_echo_n "checking for qfpclass declaration... " >&6; }
61197 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61198 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
61199 $as_echo_n "(cached) " >&6
61200 else
61203 ac_ext=cpp
61204 ac_cpp='$CXXCPP $CPPFLAGS'
61205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61210 /* end confdefs.h. */
61211 #include <math.h>
61212 #ifdef HAVE_IEEEFP_H
61213 #include <ieeefp.h>
61214 #endif
61217 main ()
61219 qfpclass(0);
61221 return 0;
61223 _ACEOF
61224 if ac_fn_cxx_try_compile "$LINENO"; then :
61225 glibcxx_cv_func_qfpclass_use=yes
61226 else
61227 glibcxx_cv_func_qfpclass_use=no
61229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61230 ac_ext=c
61231 ac_cpp='$CPP $CPPFLAGS'
61232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61241 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61243 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61244 for ac_func in qfpclass
61245 do :
61246 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61247 if test "x$ac_cv_func_qfpclass" = xyes; then :
61248 cat >>confdefs.h <<_ACEOF
61249 #define HAVE_QFPCLASS 1
61250 _ACEOF
61253 done
61255 else
61257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61258 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61259 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61260 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
61261 $as_echo_n "(cached) " >&6
61262 else
61265 ac_ext=cpp
61266 ac_cpp='$CXXCPP $CPPFLAGS'
61267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61272 /* end confdefs.h. */
61273 #include <math.h>
61274 #ifdef HAVE_IEEEFP_H
61275 #include <ieeefp.h>
61276 #endif
61279 main ()
61281 _qfpclass(0);
61283 return 0;
61285 _ACEOF
61286 if ac_fn_cxx_try_compile "$LINENO"; then :
61287 glibcxx_cv_func__qfpclass_use=yes
61288 else
61289 glibcxx_cv_func__qfpclass_use=no
61291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61292 ac_ext=c
61293 ac_cpp='$CPP $CPPFLAGS'
61294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61303 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61305 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61306 for ac_func in _qfpclass
61307 do :
61308 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61309 if test "x$ac_cv_func__qfpclass" = xyes; then :
61310 cat >>confdefs.h <<_ACEOF
61311 #define HAVE__QFPCLASS 1
61312 _ACEOF
61315 done
61324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61325 $as_echo_n "checking for hypot declaration... " >&6; }
61326 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61327 if ${glibcxx_cv_func_hypot_use+:} false; then :
61328 $as_echo_n "(cached) " >&6
61329 else
61332 ac_ext=cpp
61333 ac_cpp='$CXXCPP $CPPFLAGS'
61334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61339 /* end confdefs.h. */
61340 #include <math.h>
61342 main ()
61344 hypot(0, 0);
61346 return 0;
61348 _ACEOF
61349 if ac_fn_cxx_try_compile "$LINENO"; then :
61350 glibcxx_cv_func_hypot_use=yes
61351 else
61352 glibcxx_cv_func_hypot_use=no
61354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61355 ac_ext=c
61356 ac_cpp='$CPP $CPPFLAGS'
61357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61366 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61368 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61369 for ac_func in hypot
61370 do :
61371 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61372 if test "x$ac_cv_func_hypot" = xyes; then :
61373 cat >>confdefs.h <<_ACEOF
61374 #define HAVE_HYPOT 1
61375 _ACEOF
61378 done
61380 else
61382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61383 $as_echo_n "checking for _hypot declaration... " >&6; }
61384 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61385 if ${glibcxx_cv_func__hypot_use+:} false; then :
61386 $as_echo_n "(cached) " >&6
61387 else
61390 ac_ext=cpp
61391 ac_cpp='$CXXCPP $CPPFLAGS'
61392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61397 /* end confdefs.h. */
61398 #include <math.h>
61400 main ()
61402 _hypot(0, 0);
61404 return 0;
61406 _ACEOF
61407 if ac_fn_cxx_try_compile "$LINENO"; then :
61408 glibcxx_cv_func__hypot_use=yes
61409 else
61410 glibcxx_cv_func__hypot_use=no
61412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61413 ac_ext=c
61414 ac_cpp='$CPP $CPPFLAGS'
61415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61424 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61426 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61427 for ac_func in _hypot
61428 do :
61429 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61430 if test "x$ac_cv_func__hypot" = xyes; then :
61431 cat >>confdefs.h <<_ACEOF
61432 #define HAVE__HYPOT 1
61433 _ACEOF
61436 done
61445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61446 $as_echo_n "checking for float trig functions... " >&6; }
61447 if ${glibcxx_cv_func_float_trig_use+:} false; then :
61448 $as_echo_n "(cached) " >&6
61449 else
61452 ac_ext=cpp
61453 ac_cpp='$CXXCPP $CPPFLAGS'
61454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61459 /* end confdefs.h. */
61460 #include <math.h>
61462 main ()
61464 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61466 return 0;
61468 _ACEOF
61469 if ac_fn_cxx_try_compile "$LINENO"; then :
61470 glibcxx_cv_func_float_trig_use=yes
61471 else
61472 glibcxx_cv_func_float_trig_use=no
61474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61475 ac_ext=c
61476 ac_cpp='$CPP $CPPFLAGS'
61477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61484 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61485 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61486 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61487 do :
61488 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61489 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61490 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61491 cat >>confdefs.h <<_ACEOF
61492 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61493 _ACEOF
61496 done
61498 else
61499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61500 $as_echo_n "checking for _float trig functions... " >&6; }
61501 if ${glibcxx_cv_func__float_trig_use+:} false; then :
61502 $as_echo_n "(cached) " >&6
61503 else
61506 ac_ext=cpp
61507 ac_cpp='$CXXCPP $CPPFLAGS'
61508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61513 /* end confdefs.h. */
61514 #include <math.h>
61516 main ()
61518 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61520 return 0;
61522 _ACEOF
61523 if ac_fn_cxx_try_compile "$LINENO"; then :
61524 glibcxx_cv_func__float_trig_use=yes
61525 else
61526 glibcxx_cv_func__float_trig_use=no
61528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61529 ac_ext=c
61530 ac_cpp='$CPP $CPPFLAGS'
61531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61538 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61539 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61540 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61541 do :
61542 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61543 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61544 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61545 cat >>confdefs.h <<_ACEOF
61546 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61547 _ACEOF
61550 done
61559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61560 $as_echo_n "checking for float round functions... " >&6; }
61561 if ${glibcxx_cv_func_float_round_use+:} false; then :
61562 $as_echo_n "(cached) " >&6
61563 else
61566 ac_ext=cpp
61567 ac_cpp='$CXXCPP $CPPFLAGS'
61568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61573 /* end confdefs.h. */
61574 #include <math.h>
61576 main ()
61578 ceilf (0); floorf (0);
61580 return 0;
61582 _ACEOF
61583 if ac_fn_cxx_try_compile "$LINENO"; then :
61584 glibcxx_cv_func_float_round_use=yes
61585 else
61586 glibcxx_cv_func_float_round_use=no
61588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61589 ac_ext=c
61590 ac_cpp='$CPP $CPPFLAGS'
61591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61598 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61599 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61600 for ac_func in ceilf floorf
61601 do :
61602 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61603 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61604 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61605 cat >>confdefs.h <<_ACEOF
61606 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61607 _ACEOF
61610 done
61612 else
61613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61614 $as_echo_n "checking for _float round functions... " >&6; }
61615 if ${glibcxx_cv_func__float_round_use+:} false; then :
61616 $as_echo_n "(cached) " >&6
61617 else
61620 ac_ext=cpp
61621 ac_cpp='$CXXCPP $CPPFLAGS'
61622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61627 /* end confdefs.h. */
61628 #include <math.h>
61630 main ()
61632 _ceilf (0); _floorf (0);
61634 return 0;
61636 _ACEOF
61637 if ac_fn_cxx_try_compile "$LINENO"; then :
61638 glibcxx_cv_func__float_round_use=yes
61639 else
61640 glibcxx_cv_func__float_round_use=no
61642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61643 ac_ext=c
61644 ac_cpp='$CPP $CPPFLAGS'
61645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61652 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61653 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61654 for ac_func in _ceilf _floorf
61655 do :
61656 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61657 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61658 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61659 cat >>confdefs.h <<_ACEOF
61660 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61661 _ACEOF
61664 done
61674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61675 $as_echo_n "checking for expf declaration... " >&6; }
61676 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61677 if ${glibcxx_cv_func_expf_use+:} false; then :
61678 $as_echo_n "(cached) " >&6
61679 else
61682 ac_ext=cpp
61683 ac_cpp='$CXXCPP $CPPFLAGS'
61684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61689 /* end confdefs.h. */
61690 #include <math.h>
61691 #ifdef HAVE_IEEEFP_H
61692 #include <ieeefp.h>
61693 #endif
61696 main ()
61698 expf(0);
61700 return 0;
61702 _ACEOF
61703 if ac_fn_cxx_try_compile "$LINENO"; then :
61704 glibcxx_cv_func_expf_use=yes
61705 else
61706 glibcxx_cv_func_expf_use=no
61708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61709 ac_ext=c
61710 ac_cpp='$CPP $CPPFLAGS'
61711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61720 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61722 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61723 for ac_func in expf
61724 do :
61725 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61726 if test "x$ac_cv_func_expf" = xyes; then :
61727 cat >>confdefs.h <<_ACEOF
61728 #define HAVE_EXPF 1
61729 _ACEOF
61732 done
61734 else
61736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61737 $as_echo_n "checking for _expf declaration... " >&6; }
61738 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61739 if ${glibcxx_cv_func__expf_use+:} false; then :
61740 $as_echo_n "(cached) " >&6
61741 else
61744 ac_ext=cpp
61745 ac_cpp='$CXXCPP $CPPFLAGS'
61746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61751 /* end confdefs.h. */
61752 #include <math.h>
61753 #ifdef HAVE_IEEEFP_H
61754 #include <ieeefp.h>
61755 #endif
61758 main ()
61760 _expf(0);
61762 return 0;
61764 _ACEOF
61765 if ac_fn_cxx_try_compile "$LINENO"; then :
61766 glibcxx_cv_func__expf_use=yes
61767 else
61768 glibcxx_cv_func__expf_use=no
61770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61771 ac_ext=c
61772 ac_cpp='$CPP $CPPFLAGS'
61773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61782 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61784 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61785 for ac_func in _expf
61786 do :
61787 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61788 if test "x$ac_cv_func__expf" = xyes; then :
61789 cat >>confdefs.h <<_ACEOF
61790 #define HAVE__EXPF 1
61791 _ACEOF
61794 done
61803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61804 $as_echo_n "checking for isnanf declaration... " >&6; }
61805 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61806 if ${glibcxx_cv_func_isnanf_use+:} false; then :
61807 $as_echo_n "(cached) " >&6
61808 else
61811 ac_ext=cpp
61812 ac_cpp='$CXXCPP $CPPFLAGS'
61813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61818 /* end confdefs.h. */
61819 #include <math.h>
61820 #ifdef HAVE_IEEEFP_H
61821 #include <ieeefp.h>
61822 #endif
61825 main ()
61827 isnanf(0);
61829 return 0;
61831 _ACEOF
61832 if ac_fn_cxx_try_compile "$LINENO"; then :
61833 glibcxx_cv_func_isnanf_use=yes
61834 else
61835 glibcxx_cv_func_isnanf_use=no
61837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61838 ac_ext=c
61839 ac_cpp='$CPP $CPPFLAGS'
61840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61849 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61851 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61852 for ac_func in isnanf
61853 do :
61854 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61855 if test "x$ac_cv_func_isnanf" = xyes; then :
61856 cat >>confdefs.h <<_ACEOF
61857 #define HAVE_ISNANF 1
61858 _ACEOF
61861 done
61863 else
61865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61866 $as_echo_n "checking for _isnanf declaration... " >&6; }
61867 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61868 if ${glibcxx_cv_func__isnanf_use+:} false; then :
61869 $as_echo_n "(cached) " >&6
61870 else
61873 ac_ext=cpp
61874 ac_cpp='$CXXCPP $CPPFLAGS'
61875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61880 /* end confdefs.h. */
61881 #include <math.h>
61882 #ifdef HAVE_IEEEFP_H
61883 #include <ieeefp.h>
61884 #endif
61887 main ()
61889 _isnanf(0);
61891 return 0;
61893 _ACEOF
61894 if ac_fn_cxx_try_compile "$LINENO"; then :
61895 glibcxx_cv_func__isnanf_use=yes
61896 else
61897 glibcxx_cv_func__isnanf_use=no
61899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61900 ac_ext=c
61901 ac_cpp='$CPP $CPPFLAGS'
61902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61911 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61913 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61914 for ac_func in _isnanf
61915 do :
61916 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61917 if test "x$ac_cv_func__isnanf" = xyes; then :
61918 cat >>confdefs.h <<_ACEOF
61919 #define HAVE__ISNANF 1
61920 _ACEOF
61923 done
61932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61933 $as_echo_n "checking for isinff declaration... " >&6; }
61934 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61935 if ${glibcxx_cv_func_isinff_use+:} false; then :
61936 $as_echo_n "(cached) " >&6
61937 else
61940 ac_ext=cpp
61941 ac_cpp='$CXXCPP $CPPFLAGS'
61942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61947 /* end confdefs.h. */
61948 #include <math.h>
61949 #ifdef HAVE_IEEEFP_H
61950 #include <ieeefp.h>
61951 #endif
61954 main ()
61956 isinff(0);
61958 return 0;
61960 _ACEOF
61961 if ac_fn_cxx_try_compile "$LINENO"; then :
61962 glibcxx_cv_func_isinff_use=yes
61963 else
61964 glibcxx_cv_func_isinff_use=no
61966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61967 ac_ext=c
61968 ac_cpp='$CPP $CPPFLAGS'
61969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61978 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61980 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61981 for ac_func in isinff
61982 do :
61983 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61984 if test "x$ac_cv_func_isinff" = xyes; then :
61985 cat >>confdefs.h <<_ACEOF
61986 #define HAVE_ISINFF 1
61987 _ACEOF
61990 done
61992 else
61994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61995 $as_echo_n "checking for _isinff declaration... " >&6; }
61996 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61997 if ${glibcxx_cv_func__isinff_use+:} false; then :
61998 $as_echo_n "(cached) " >&6
61999 else
62002 ac_ext=cpp
62003 ac_cpp='$CXXCPP $CPPFLAGS'
62004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62009 /* end confdefs.h. */
62010 #include <math.h>
62011 #ifdef HAVE_IEEEFP_H
62012 #include <ieeefp.h>
62013 #endif
62016 main ()
62018 _isinff(0);
62020 return 0;
62022 _ACEOF
62023 if ac_fn_cxx_try_compile "$LINENO"; then :
62024 glibcxx_cv_func__isinff_use=yes
62025 else
62026 glibcxx_cv_func__isinff_use=no
62028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62029 ac_ext=c
62030 ac_cpp='$CPP $CPPFLAGS'
62031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62040 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62042 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62043 for ac_func in _isinff
62044 do :
62045 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62046 if test "x$ac_cv_func__isinff" = xyes; then :
62047 cat >>confdefs.h <<_ACEOF
62048 #define HAVE__ISINFF 1
62049 _ACEOF
62052 done
62061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62062 $as_echo_n "checking for atan2f declaration... " >&6; }
62063 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62064 if ${glibcxx_cv_func_atan2f_use+:} false; then :
62065 $as_echo_n "(cached) " >&6
62066 else
62069 ac_ext=cpp
62070 ac_cpp='$CXXCPP $CPPFLAGS'
62071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62076 /* end confdefs.h. */
62077 #include <math.h>
62079 main ()
62081 atan2f(0, 0);
62083 return 0;
62085 _ACEOF
62086 if ac_fn_cxx_try_compile "$LINENO"; then :
62087 glibcxx_cv_func_atan2f_use=yes
62088 else
62089 glibcxx_cv_func_atan2f_use=no
62091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62092 ac_ext=c
62093 ac_cpp='$CPP $CPPFLAGS'
62094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62103 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62105 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62106 for ac_func in atan2f
62107 do :
62108 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62109 if test "x$ac_cv_func_atan2f" = xyes; then :
62110 cat >>confdefs.h <<_ACEOF
62111 #define HAVE_ATAN2F 1
62112 _ACEOF
62115 done
62117 else
62119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62120 $as_echo_n "checking for _atan2f declaration... " >&6; }
62121 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62122 if ${glibcxx_cv_func__atan2f_use+:} false; then :
62123 $as_echo_n "(cached) " >&6
62124 else
62127 ac_ext=cpp
62128 ac_cpp='$CXXCPP $CPPFLAGS'
62129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62134 /* end confdefs.h. */
62135 #include <math.h>
62137 main ()
62139 _atan2f(0, 0);
62141 return 0;
62143 _ACEOF
62144 if ac_fn_cxx_try_compile "$LINENO"; then :
62145 glibcxx_cv_func__atan2f_use=yes
62146 else
62147 glibcxx_cv_func__atan2f_use=no
62149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62150 ac_ext=c
62151 ac_cpp='$CPP $CPPFLAGS'
62152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62161 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62163 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62164 for ac_func in _atan2f
62165 do :
62166 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62167 if test "x$ac_cv_func__atan2f" = xyes; then :
62168 cat >>confdefs.h <<_ACEOF
62169 #define HAVE__ATAN2F 1
62170 _ACEOF
62173 done
62182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62183 $as_echo_n "checking for fabsf declaration... " >&6; }
62184 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62185 if ${glibcxx_cv_func_fabsf_use+:} false; then :
62186 $as_echo_n "(cached) " >&6
62187 else
62190 ac_ext=cpp
62191 ac_cpp='$CXXCPP $CPPFLAGS'
62192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62197 /* end confdefs.h. */
62198 #include <math.h>
62199 #ifdef HAVE_IEEEFP_H
62200 #include <ieeefp.h>
62201 #endif
62204 main ()
62206 fabsf(0);
62208 return 0;
62210 _ACEOF
62211 if ac_fn_cxx_try_compile "$LINENO"; then :
62212 glibcxx_cv_func_fabsf_use=yes
62213 else
62214 glibcxx_cv_func_fabsf_use=no
62216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62217 ac_ext=c
62218 ac_cpp='$CPP $CPPFLAGS'
62219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62228 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62230 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62231 for ac_func in fabsf
62232 do :
62233 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62234 if test "x$ac_cv_func_fabsf" = xyes; then :
62235 cat >>confdefs.h <<_ACEOF
62236 #define HAVE_FABSF 1
62237 _ACEOF
62240 done
62242 else
62244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62245 $as_echo_n "checking for _fabsf declaration... " >&6; }
62246 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62247 if ${glibcxx_cv_func__fabsf_use+:} false; then :
62248 $as_echo_n "(cached) " >&6
62249 else
62252 ac_ext=cpp
62253 ac_cpp='$CXXCPP $CPPFLAGS'
62254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62259 /* end confdefs.h. */
62260 #include <math.h>
62261 #ifdef HAVE_IEEEFP_H
62262 #include <ieeefp.h>
62263 #endif
62266 main ()
62268 _fabsf(0);
62270 return 0;
62272 _ACEOF
62273 if ac_fn_cxx_try_compile "$LINENO"; then :
62274 glibcxx_cv_func__fabsf_use=yes
62275 else
62276 glibcxx_cv_func__fabsf_use=no
62278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62279 ac_ext=c
62280 ac_cpp='$CPP $CPPFLAGS'
62281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62290 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62292 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62293 for ac_func in _fabsf
62294 do :
62295 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62296 if test "x$ac_cv_func__fabsf" = xyes; then :
62297 cat >>confdefs.h <<_ACEOF
62298 #define HAVE__FABSF 1
62299 _ACEOF
62302 done
62311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62312 $as_echo_n "checking for fmodf declaration... " >&6; }
62313 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62314 if ${glibcxx_cv_func_fmodf_use+:} false; then :
62315 $as_echo_n "(cached) " >&6
62316 else
62319 ac_ext=cpp
62320 ac_cpp='$CXXCPP $CPPFLAGS'
62321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62326 /* end confdefs.h. */
62327 #include <math.h>
62329 main ()
62331 fmodf(0, 0);
62333 return 0;
62335 _ACEOF
62336 if ac_fn_cxx_try_compile "$LINENO"; then :
62337 glibcxx_cv_func_fmodf_use=yes
62338 else
62339 glibcxx_cv_func_fmodf_use=no
62341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62342 ac_ext=c
62343 ac_cpp='$CPP $CPPFLAGS'
62344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62353 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62355 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62356 for ac_func in fmodf
62357 do :
62358 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62359 if test "x$ac_cv_func_fmodf" = xyes; then :
62360 cat >>confdefs.h <<_ACEOF
62361 #define HAVE_FMODF 1
62362 _ACEOF
62365 done
62367 else
62369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62370 $as_echo_n "checking for _fmodf declaration... " >&6; }
62371 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62372 if ${glibcxx_cv_func__fmodf_use+:} false; then :
62373 $as_echo_n "(cached) " >&6
62374 else
62377 ac_ext=cpp
62378 ac_cpp='$CXXCPP $CPPFLAGS'
62379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62384 /* end confdefs.h. */
62385 #include <math.h>
62387 main ()
62389 _fmodf(0, 0);
62391 return 0;
62393 _ACEOF
62394 if ac_fn_cxx_try_compile "$LINENO"; then :
62395 glibcxx_cv_func__fmodf_use=yes
62396 else
62397 glibcxx_cv_func__fmodf_use=no
62399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62400 ac_ext=c
62401 ac_cpp='$CPP $CPPFLAGS'
62402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62411 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62413 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62414 for ac_func in _fmodf
62415 do :
62416 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62417 if test "x$ac_cv_func__fmodf" = xyes; then :
62418 cat >>confdefs.h <<_ACEOF
62419 #define HAVE__FMODF 1
62420 _ACEOF
62423 done
62432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62433 $as_echo_n "checking for frexpf declaration... " >&6; }
62434 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62435 if ${glibcxx_cv_func_frexpf_use+:} false; then :
62436 $as_echo_n "(cached) " >&6
62437 else
62440 ac_ext=cpp
62441 ac_cpp='$CXXCPP $CPPFLAGS'
62442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62447 /* end confdefs.h. */
62448 #include <math.h>
62450 main ()
62452 frexpf(0, 0);
62454 return 0;
62456 _ACEOF
62457 if ac_fn_cxx_try_compile "$LINENO"; then :
62458 glibcxx_cv_func_frexpf_use=yes
62459 else
62460 glibcxx_cv_func_frexpf_use=no
62462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62463 ac_ext=c
62464 ac_cpp='$CPP $CPPFLAGS'
62465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62474 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62476 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62477 for ac_func in frexpf
62478 do :
62479 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62480 if test "x$ac_cv_func_frexpf" = xyes; then :
62481 cat >>confdefs.h <<_ACEOF
62482 #define HAVE_FREXPF 1
62483 _ACEOF
62486 done
62488 else
62490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62491 $as_echo_n "checking for _frexpf declaration... " >&6; }
62492 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62493 if ${glibcxx_cv_func__frexpf_use+:} false; then :
62494 $as_echo_n "(cached) " >&6
62495 else
62498 ac_ext=cpp
62499 ac_cpp='$CXXCPP $CPPFLAGS'
62500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62505 /* end confdefs.h. */
62506 #include <math.h>
62508 main ()
62510 _frexpf(0, 0);
62512 return 0;
62514 _ACEOF
62515 if ac_fn_cxx_try_compile "$LINENO"; then :
62516 glibcxx_cv_func__frexpf_use=yes
62517 else
62518 glibcxx_cv_func__frexpf_use=no
62520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62521 ac_ext=c
62522 ac_cpp='$CPP $CPPFLAGS'
62523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62532 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62534 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62535 for ac_func in _frexpf
62536 do :
62537 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62538 if test "x$ac_cv_func__frexpf" = xyes; then :
62539 cat >>confdefs.h <<_ACEOF
62540 #define HAVE__FREXPF 1
62541 _ACEOF
62544 done
62553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62554 $as_echo_n "checking for hypotf declaration... " >&6; }
62555 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62556 if ${glibcxx_cv_func_hypotf_use+:} false; then :
62557 $as_echo_n "(cached) " >&6
62558 else
62561 ac_ext=cpp
62562 ac_cpp='$CXXCPP $CPPFLAGS'
62563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62568 /* end confdefs.h. */
62569 #include <math.h>
62571 main ()
62573 hypotf(0, 0);
62575 return 0;
62577 _ACEOF
62578 if ac_fn_cxx_try_compile "$LINENO"; then :
62579 glibcxx_cv_func_hypotf_use=yes
62580 else
62581 glibcxx_cv_func_hypotf_use=no
62583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62584 ac_ext=c
62585 ac_cpp='$CPP $CPPFLAGS'
62586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62595 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62597 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62598 for ac_func in hypotf
62599 do :
62600 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62601 if test "x$ac_cv_func_hypotf" = xyes; then :
62602 cat >>confdefs.h <<_ACEOF
62603 #define HAVE_HYPOTF 1
62604 _ACEOF
62607 done
62609 else
62611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62612 $as_echo_n "checking for _hypotf declaration... " >&6; }
62613 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62614 if ${glibcxx_cv_func__hypotf_use+:} false; then :
62615 $as_echo_n "(cached) " >&6
62616 else
62619 ac_ext=cpp
62620 ac_cpp='$CXXCPP $CPPFLAGS'
62621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62626 /* end confdefs.h. */
62627 #include <math.h>
62629 main ()
62631 _hypotf(0, 0);
62633 return 0;
62635 _ACEOF
62636 if ac_fn_cxx_try_compile "$LINENO"; then :
62637 glibcxx_cv_func__hypotf_use=yes
62638 else
62639 glibcxx_cv_func__hypotf_use=no
62641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62642 ac_ext=c
62643 ac_cpp='$CPP $CPPFLAGS'
62644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62653 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62655 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62656 for ac_func in _hypotf
62657 do :
62658 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62659 if test "x$ac_cv_func__hypotf" = xyes; then :
62660 cat >>confdefs.h <<_ACEOF
62661 #define HAVE__HYPOTF 1
62662 _ACEOF
62665 done
62674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62675 $as_echo_n "checking for ldexpf declaration... " >&6; }
62676 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62677 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
62678 $as_echo_n "(cached) " >&6
62679 else
62682 ac_ext=cpp
62683 ac_cpp='$CXXCPP $CPPFLAGS'
62684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62689 /* end confdefs.h. */
62690 #include <math.h>
62692 main ()
62694 ldexpf(0, 0);
62696 return 0;
62698 _ACEOF
62699 if ac_fn_cxx_try_compile "$LINENO"; then :
62700 glibcxx_cv_func_ldexpf_use=yes
62701 else
62702 glibcxx_cv_func_ldexpf_use=no
62704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62705 ac_ext=c
62706 ac_cpp='$CPP $CPPFLAGS'
62707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62716 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62718 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62719 for ac_func in ldexpf
62720 do :
62721 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62722 if test "x$ac_cv_func_ldexpf" = xyes; then :
62723 cat >>confdefs.h <<_ACEOF
62724 #define HAVE_LDEXPF 1
62725 _ACEOF
62728 done
62730 else
62732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62733 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62734 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62735 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
62736 $as_echo_n "(cached) " >&6
62737 else
62740 ac_ext=cpp
62741 ac_cpp='$CXXCPP $CPPFLAGS'
62742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62747 /* end confdefs.h. */
62748 #include <math.h>
62750 main ()
62752 _ldexpf(0, 0);
62754 return 0;
62756 _ACEOF
62757 if ac_fn_cxx_try_compile "$LINENO"; then :
62758 glibcxx_cv_func__ldexpf_use=yes
62759 else
62760 glibcxx_cv_func__ldexpf_use=no
62762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62763 ac_ext=c
62764 ac_cpp='$CPP $CPPFLAGS'
62765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62774 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62776 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62777 for ac_func in _ldexpf
62778 do :
62779 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62780 if test "x$ac_cv_func__ldexpf" = xyes; then :
62781 cat >>confdefs.h <<_ACEOF
62782 #define HAVE__LDEXPF 1
62783 _ACEOF
62786 done
62795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62796 $as_echo_n "checking for logf declaration... " >&6; }
62797 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62798 if ${glibcxx_cv_func_logf_use+:} false; then :
62799 $as_echo_n "(cached) " >&6
62800 else
62803 ac_ext=cpp
62804 ac_cpp='$CXXCPP $CPPFLAGS'
62805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62810 /* end confdefs.h. */
62811 #include <math.h>
62812 #ifdef HAVE_IEEEFP_H
62813 #include <ieeefp.h>
62814 #endif
62817 main ()
62819 logf(0);
62821 return 0;
62823 _ACEOF
62824 if ac_fn_cxx_try_compile "$LINENO"; then :
62825 glibcxx_cv_func_logf_use=yes
62826 else
62827 glibcxx_cv_func_logf_use=no
62829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62830 ac_ext=c
62831 ac_cpp='$CPP $CPPFLAGS'
62832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62841 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62843 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62844 for ac_func in logf
62845 do :
62846 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62847 if test "x$ac_cv_func_logf" = xyes; then :
62848 cat >>confdefs.h <<_ACEOF
62849 #define HAVE_LOGF 1
62850 _ACEOF
62853 done
62855 else
62857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62858 $as_echo_n "checking for _logf declaration... " >&6; }
62859 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62860 if ${glibcxx_cv_func__logf_use+:} false; then :
62861 $as_echo_n "(cached) " >&6
62862 else
62865 ac_ext=cpp
62866 ac_cpp='$CXXCPP $CPPFLAGS'
62867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62872 /* end confdefs.h. */
62873 #include <math.h>
62874 #ifdef HAVE_IEEEFP_H
62875 #include <ieeefp.h>
62876 #endif
62879 main ()
62881 _logf(0);
62883 return 0;
62885 _ACEOF
62886 if ac_fn_cxx_try_compile "$LINENO"; then :
62887 glibcxx_cv_func__logf_use=yes
62888 else
62889 glibcxx_cv_func__logf_use=no
62891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62892 ac_ext=c
62893 ac_cpp='$CPP $CPPFLAGS'
62894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62903 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62905 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62906 for ac_func in _logf
62907 do :
62908 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62909 if test "x$ac_cv_func__logf" = xyes; then :
62910 cat >>confdefs.h <<_ACEOF
62911 #define HAVE__LOGF 1
62912 _ACEOF
62915 done
62924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62925 $as_echo_n "checking for log10f declaration... " >&6; }
62926 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62927 if ${glibcxx_cv_func_log10f_use+:} false; then :
62928 $as_echo_n "(cached) " >&6
62929 else
62932 ac_ext=cpp
62933 ac_cpp='$CXXCPP $CPPFLAGS'
62934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62939 /* end confdefs.h. */
62940 #include <math.h>
62941 #ifdef HAVE_IEEEFP_H
62942 #include <ieeefp.h>
62943 #endif
62946 main ()
62948 log10f(0);
62950 return 0;
62952 _ACEOF
62953 if ac_fn_cxx_try_compile "$LINENO"; then :
62954 glibcxx_cv_func_log10f_use=yes
62955 else
62956 glibcxx_cv_func_log10f_use=no
62958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62959 ac_ext=c
62960 ac_cpp='$CPP $CPPFLAGS'
62961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62970 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62972 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62973 for ac_func in log10f
62974 do :
62975 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62976 if test "x$ac_cv_func_log10f" = xyes; then :
62977 cat >>confdefs.h <<_ACEOF
62978 #define HAVE_LOG10F 1
62979 _ACEOF
62982 done
62984 else
62986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62987 $as_echo_n "checking for _log10f declaration... " >&6; }
62988 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62989 if ${glibcxx_cv_func__log10f_use+:} false; then :
62990 $as_echo_n "(cached) " >&6
62991 else
62994 ac_ext=cpp
62995 ac_cpp='$CXXCPP $CPPFLAGS'
62996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63001 /* end confdefs.h. */
63002 #include <math.h>
63003 #ifdef HAVE_IEEEFP_H
63004 #include <ieeefp.h>
63005 #endif
63008 main ()
63010 _log10f(0);
63012 return 0;
63014 _ACEOF
63015 if ac_fn_cxx_try_compile "$LINENO"; then :
63016 glibcxx_cv_func__log10f_use=yes
63017 else
63018 glibcxx_cv_func__log10f_use=no
63020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63021 ac_ext=c
63022 ac_cpp='$CPP $CPPFLAGS'
63023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63032 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63034 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63035 for ac_func in _log10f
63036 do :
63037 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63038 if test "x$ac_cv_func__log10f" = xyes; then :
63039 cat >>confdefs.h <<_ACEOF
63040 #define HAVE__LOG10F 1
63041 _ACEOF
63044 done
63053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63054 $as_echo_n "checking for modff declaration... " >&6; }
63055 if test x${glibcxx_cv_func_modff_use+set} != xset; then
63056 if ${glibcxx_cv_func_modff_use+:} false; then :
63057 $as_echo_n "(cached) " >&6
63058 else
63061 ac_ext=cpp
63062 ac_cpp='$CXXCPP $CPPFLAGS'
63063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63068 /* end confdefs.h. */
63069 #include <math.h>
63071 main ()
63073 modff(0, 0);
63075 return 0;
63077 _ACEOF
63078 if ac_fn_cxx_try_compile "$LINENO"; then :
63079 glibcxx_cv_func_modff_use=yes
63080 else
63081 glibcxx_cv_func_modff_use=no
63083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63084 ac_ext=c
63085 ac_cpp='$CPP $CPPFLAGS'
63086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63095 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
63097 if test x$glibcxx_cv_func_modff_use = x"yes"; then
63098 for ac_func in modff
63099 do :
63100 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63101 if test "x$ac_cv_func_modff" = xyes; then :
63102 cat >>confdefs.h <<_ACEOF
63103 #define HAVE_MODFF 1
63104 _ACEOF
63107 done
63109 else
63111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63112 $as_echo_n "checking for _modff declaration... " >&6; }
63113 if test x${glibcxx_cv_func__modff_use+set} != xset; then
63114 if ${glibcxx_cv_func__modff_use+:} false; then :
63115 $as_echo_n "(cached) " >&6
63116 else
63119 ac_ext=cpp
63120 ac_cpp='$CXXCPP $CPPFLAGS'
63121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63126 /* end confdefs.h. */
63127 #include <math.h>
63129 main ()
63131 _modff(0, 0);
63133 return 0;
63135 _ACEOF
63136 if ac_fn_cxx_try_compile "$LINENO"; then :
63137 glibcxx_cv_func__modff_use=yes
63138 else
63139 glibcxx_cv_func__modff_use=no
63141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63142 ac_ext=c
63143 ac_cpp='$CPP $CPPFLAGS'
63144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
63153 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
63155 if test x$glibcxx_cv_func__modff_use = x"yes"; then
63156 for ac_func in _modff
63157 do :
63158 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63159 if test "x$ac_cv_func__modff" = xyes; then :
63160 cat >>confdefs.h <<_ACEOF
63161 #define HAVE__MODFF 1
63162 _ACEOF
63165 done
63174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63175 $as_echo_n "checking for modf declaration... " >&6; }
63176 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63177 if ${glibcxx_cv_func_modf_use+:} false; then :
63178 $as_echo_n "(cached) " >&6
63179 else
63182 ac_ext=cpp
63183 ac_cpp='$CXXCPP $CPPFLAGS'
63184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63189 /* end confdefs.h. */
63190 #include <math.h>
63192 main ()
63194 modf(0, 0);
63196 return 0;
63198 _ACEOF
63199 if ac_fn_cxx_try_compile "$LINENO"; then :
63200 glibcxx_cv_func_modf_use=yes
63201 else
63202 glibcxx_cv_func_modf_use=no
63204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63205 ac_ext=c
63206 ac_cpp='$CPP $CPPFLAGS'
63207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63216 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63218 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63219 for ac_func in modf
63220 do :
63221 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63222 if test "x$ac_cv_func_modf" = xyes; then :
63223 cat >>confdefs.h <<_ACEOF
63224 #define HAVE_MODF 1
63225 _ACEOF
63228 done
63230 else
63232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63233 $as_echo_n "checking for _modf declaration... " >&6; }
63234 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63235 if ${glibcxx_cv_func__modf_use+:} false; then :
63236 $as_echo_n "(cached) " >&6
63237 else
63240 ac_ext=cpp
63241 ac_cpp='$CXXCPP $CPPFLAGS'
63242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63247 /* end confdefs.h. */
63248 #include <math.h>
63250 main ()
63252 _modf(0, 0);
63254 return 0;
63256 _ACEOF
63257 if ac_fn_cxx_try_compile "$LINENO"; then :
63258 glibcxx_cv_func__modf_use=yes
63259 else
63260 glibcxx_cv_func__modf_use=no
63262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63263 ac_ext=c
63264 ac_cpp='$CPP $CPPFLAGS'
63265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63274 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63276 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63277 for ac_func in _modf
63278 do :
63279 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63280 if test "x$ac_cv_func__modf" = xyes; then :
63281 cat >>confdefs.h <<_ACEOF
63282 #define HAVE__MODF 1
63283 _ACEOF
63286 done
63295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63296 $as_echo_n "checking for powf declaration... " >&6; }
63297 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63298 if ${glibcxx_cv_func_powf_use+:} false; then :
63299 $as_echo_n "(cached) " >&6
63300 else
63303 ac_ext=cpp
63304 ac_cpp='$CXXCPP $CPPFLAGS'
63305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63310 /* end confdefs.h. */
63311 #include <math.h>
63313 main ()
63315 powf(0, 0);
63317 return 0;
63319 _ACEOF
63320 if ac_fn_cxx_try_compile "$LINENO"; then :
63321 glibcxx_cv_func_powf_use=yes
63322 else
63323 glibcxx_cv_func_powf_use=no
63325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63326 ac_ext=c
63327 ac_cpp='$CPP $CPPFLAGS'
63328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63337 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63339 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63340 for ac_func in powf
63341 do :
63342 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63343 if test "x$ac_cv_func_powf" = xyes; then :
63344 cat >>confdefs.h <<_ACEOF
63345 #define HAVE_POWF 1
63346 _ACEOF
63349 done
63351 else
63353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63354 $as_echo_n "checking for _powf declaration... " >&6; }
63355 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63356 if ${glibcxx_cv_func__powf_use+:} false; then :
63357 $as_echo_n "(cached) " >&6
63358 else
63361 ac_ext=cpp
63362 ac_cpp='$CXXCPP $CPPFLAGS'
63363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63368 /* end confdefs.h. */
63369 #include <math.h>
63371 main ()
63373 _powf(0, 0);
63375 return 0;
63377 _ACEOF
63378 if ac_fn_cxx_try_compile "$LINENO"; then :
63379 glibcxx_cv_func__powf_use=yes
63380 else
63381 glibcxx_cv_func__powf_use=no
63383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63384 ac_ext=c
63385 ac_cpp='$CPP $CPPFLAGS'
63386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63395 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63397 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63398 for ac_func in _powf
63399 do :
63400 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63401 if test "x$ac_cv_func__powf" = xyes; then :
63402 cat >>confdefs.h <<_ACEOF
63403 #define HAVE__POWF 1
63404 _ACEOF
63407 done
63416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63417 $as_echo_n "checking for sqrtf declaration... " >&6; }
63418 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63419 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
63420 $as_echo_n "(cached) " >&6
63421 else
63424 ac_ext=cpp
63425 ac_cpp='$CXXCPP $CPPFLAGS'
63426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63431 /* end confdefs.h. */
63432 #include <math.h>
63433 #ifdef HAVE_IEEEFP_H
63434 #include <ieeefp.h>
63435 #endif
63438 main ()
63440 sqrtf(0);
63442 return 0;
63444 _ACEOF
63445 if ac_fn_cxx_try_compile "$LINENO"; then :
63446 glibcxx_cv_func_sqrtf_use=yes
63447 else
63448 glibcxx_cv_func_sqrtf_use=no
63450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63451 ac_ext=c
63452 ac_cpp='$CPP $CPPFLAGS'
63453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63462 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63464 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63465 for ac_func in sqrtf
63466 do :
63467 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63468 if test "x$ac_cv_func_sqrtf" = xyes; then :
63469 cat >>confdefs.h <<_ACEOF
63470 #define HAVE_SQRTF 1
63471 _ACEOF
63474 done
63476 else
63478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63479 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63480 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63481 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
63482 $as_echo_n "(cached) " >&6
63483 else
63486 ac_ext=cpp
63487 ac_cpp='$CXXCPP $CPPFLAGS'
63488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63493 /* end confdefs.h. */
63494 #include <math.h>
63495 #ifdef HAVE_IEEEFP_H
63496 #include <ieeefp.h>
63497 #endif
63500 main ()
63502 _sqrtf(0);
63504 return 0;
63506 _ACEOF
63507 if ac_fn_cxx_try_compile "$LINENO"; then :
63508 glibcxx_cv_func__sqrtf_use=yes
63509 else
63510 glibcxx_cv_func__sqrtf_use=no
63512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63513 ac_ext=c
63514 ac_cpp='$CPP $CPPFLAGS'
63515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63524 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63526 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63527 for ac_func in _sqrtf
63528 do :
63529 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63530 if test "x$ac_cv_func__sqrtf" = xyes; then :
63531 cat >>confdefs.h <<_ACEOF
63532 #define HAVE__SQRTF 1
63533 _ACEOF
63536 done
63545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63546 $as_echo_n "checking for sincosf declaration... " >&6; }
63547 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63548 if ${glibcxx_cv_func_sincosf_use+:} false; then :
63549 $as_echo_n "(cached) " >&6
63550 else
63553 ac_ext=cpp
63554 ac_cpp='$CXXCPP $CPPFLAGS'
63555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63560 /* end confdefs.h. */
63561 #include <math.h>
63563 main ()
63565 sincosf(0, 0, 0);
63567 return 0;
63569 _ACEOF
63570 if ac_fn_cxx_try_compile "$LINENO"; then :
63571 glibcxx_cv_func_sincosf_use=yes
63572 else
63573 glibcxx_cv_func_sincosf_use=no
63575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63576 ac_ext=c
63577 ac_cpp='$CPP $CPPFLAGS'
63578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63587 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63589 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63590 for ac_func in sincosf
63591 do :
63592 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63593 if test "x$ac_cv_func_sincosf" = xyes; then :
63594 cat >>confdefs.h <<_ACEOF
63595 #define HAVE_SINCOSF 1
63596 _ACEOF
63599 done
63601 else
63603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63604 $as_echo_n "checking for _sincosf declaration... " >&6; }
63605 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63606 if ${glibcxx_cv_func__sincosf_use+:} false; then :
63607 $as_echo_n "(cached) " >&6
63608 else
63611 ac_ext=cpp
63612 ac_cpp='$CXXCPP $CPPFLAGS'
63613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63618 /* end confdefs.h. */
63619 #include <math.h>
63621 main ()
63623 _sincosf(0, 0, 0);
63625 return 0;
63627 _ACEOF
63628 if ac_fn_cxx_try_compile "$LINENO"; then :
63629 glibcxx_cv_func__sincosf_use=yes
63630 else
63631 glibcxx_cv_func__sincosf_use=no
63633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63634 ac_ext=c
63635 ac_cpp='$CPP $CPPFLAGS'
63636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63645 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63647 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63648 for ac_func in _sincosf
63649 do :
63650 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63651 if test "x$ac_cv_func__sincosf" = xyes; then :
63652 cat >>confdefs.h <<_ACEOF
63653 #define HAVE__SINCOSF 1
63654 _ACEOF
63657 done
63666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63667 $as_echo_n "checking for finitef declaration... " >&6; }
63668 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63669 if ${glibcxx_cv_func_finitef_use+:} false; then :
63670 $as_echo_n "(cached) " >&6
63671 else
63674 ac_ext=cpp
63675 ac_cpp='$CXXCPP $CPPFLAGS'
63676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63681 /* end confdefs.h. */
63682 #include <math.h>
63683 #ifdef HAVE_IEEEFP_H
63684 #include <ieeefp.h>
63685 #endif
63688 main ()
63690 finitef(0);
63692 return 0;
63694 _ACEOF
63695 if ac_fn_cxx_try_compile "$LINENO"; then :
63696 glibcxx_cv_func_finitef_use=yes
63697 else
63698 glibcxx_cv_func_finitef_use=no
63700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63701 ac_ext=c
63702 ac_cpp='$CPP $CPPFLAGS'
63703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63712 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63714 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63715 for ac_func in finitef
63716 do :
63717 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63718 if test "x$ac_cv_func_finitef" = xyes; then :
63719 cat >>confdefs.h <<_ACEOF
63720 #define HAVE_FINITEF 1
63721 _ACEOF
63724 done
63726 else
63728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63729 $as_echo_n "checking for _finitef declaration... " >&6; }
63730 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63731 if ${glibcxx_cv_func__finitef_use+:} false; then :
63732 $as_echo_n "(cached) " >&6
63733 else
63736 ac_ext=cpp
63737 ac_cpp='$CXXCPP $CPPFLAGS'
63738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63743 /* end confdefs.h. */
63744 #include <math.h>
63745 #ifdef HAVE_IEEEFP_H
63746 #include <ieeefp.h>
63747 #endif
63750 main ()
63752 _finitef(0);
63754 return 0;
63756 _ACEOF
63757 if ac_fn_cxx_try_compile "$LINENO"; then :
63758 glibcxx_cv_func__finitef_use=yes
63759 else
63760 glibcxx_cv_func__finitef_use=no
63762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63763 ac_ext=c
63764 ac_cpp='$CPP $CPPFLAGS'
63765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63774 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63776 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63777 for ac_func in _finitef
63778 do :
63779 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63780 if test "x$ac_cv_func__finitef" = xyes; then :
63781 cat >>confdefs.h <<_ACEOF
63782 #define HAVE__FINITEF 1
63783 _ACEOF
63786 done
63795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63796 $as_echo_n "checking for long double trig functions... " >&6; }
63797 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
63798 $as_echo_n "(cached) " >&6
63799 else
63802 ac_ext=cpp
63803 ac_cpp='$CXXCPP $CPPFLAGS'
63804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63809 /* end confdefs.h. */
63810 #include <math.h>
63812 main ()
63814 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63816 return 0;
63818 _ACEOF
63819 if ac_fn_cxx_try_compile "$LINENO"; then :
63820 glibcxx_cv_func_long_double_trig_use=yes
63821 else
63822 glibcxx_cv_func_long_double_trig_use=no
63824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63825 ac_ext=c
63826 ac_cpp='$CPP $CPPFLAGS'
63827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63834 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63835 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63836 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63837 do :
63838 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63839 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63840 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
63841 cat >>confdefs.h <<_ACEOF
63842 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63843 _ACEOF
63846 done
63848 else
63849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63850 $as_echo_n "checking for _long double trig functions... " >&6; }
63851 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
63852 $as_echo_n "(cached) " >&6
63853 else
63856 ac_ext=cpp
63857 ac_cpp='$CXXCPP $CPPFLAGS'
63858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63863 /* end confdefs.h. */
63864 #include <math.h>
63866 main ()
63868 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63870 return 0;
63872 _ACEOF
63873 if ac_fn_cxx_try_compile "$LINENO"; then :
63874 glibcxx_cv_func__long_double_trig_use=yes
63875 else
63876 glibcxx_cv_func__long_double_trig_use=no
63878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63879 ac_ext=c
63880 ac_cpp='$CPP $CPPFLAGS'
63881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63888 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63889 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63890 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63891 do :
63892 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63893 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63894 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
63895 cat >>confdefs.h <<_ACEOF
63896 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63897 _ACEOF
63900 done
63909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63910 $as_echo_n "checking for long double round functions... " >&6; }
63911 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
63912 $as_echo_n "(cached) " >&6
63913 else
63916 ac_ext=cpp
63917 ac_cpp='$CXXCPP $CPPFLAGS'
63918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63923 /* end confdefs.h. */
63924 #include <math.h>
63926 main ()
63928 ceill (0); floorl (0);
63930 return 0;
63932 _ACEOF
63933 if ac_fn_cxx_try_compile "$LINENO"; then :
63934 glibcxx_cv_func_long_double_round_use=yes
63935 else
63936 glibcxx_cv_func_long_double_round_use=no
63938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63939 ac_ext=c
63940 ac_cpp='$CPP $CPPFLAGS'
63941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63948 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63949 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63950 for ac_func in ceill floorl
63951 do :
63952 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63953 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63954 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
63955 cat >>confdefs.h <<_ACEOF
63956 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63957 _ACEOF
63960 done
63962 else
63963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63964 $as_echo_n "checking for _long double round functions... " >&6; }
63965 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
63966 $as_echo_n "(cached) " >&6
63967 else
63970 ac_ext=cpp
63971 ac_cpp='$CXXCPP $CPPFLAGS'
63972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63977 /* end confdefs.h. */
63978 #include <math.h>
63980 main ()
63982 _ceill (0); _floorl (0);
63984 return 0;
63986 _ACEOF
63987 if ac_fn_cxx_try_compile "$LINENO"; then :
63988 glibcxx_cv_func__long_double_round_use=yes
63989 else
63990 glibcxx_cv_func__long_double_round_use=no
63992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63993 ac_ext=c
63994 ac_cpp='$CPP $CPPFLAGS'
63995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64002 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64003 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64004 for ac_func in _ceill _floorl
64005 do :
64006 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64007 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64008 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64009 cat >>confdefs.h <<_ACEOF
64010 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64011 _ACEOF
64014 done
64024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64025 $as_echo_n "checking for isnanl declaration... " >&6; }
64026 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64027 if ${glibcxx_cv_func_isnanl_use+:} false; then :
64028 $as_echo_n "(cached) " >&6
64029 else
64032 ac_ext=cpp
64033 ac_cpp='$CXXCPP $CPPFLAGS'
64034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64039 /* end confdefs.h. */
64040 #include <math.h>
64041 #ifdef HAVE_IEEEFP_H
64042 #include <ieeefp.h>
64043 #endif
64046 main ()
64048 isnanl(0);
64050 return 0;
64052 _ACEOF
64053 if ac_fn_cxx_try_compile "$LINENO"; then :
64054 glibcxx_cv_func_isnanl_use=yes
64055 else
64056 glibcxx_cv_func_isnanl_use=no
64058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64059 ac_ext=c
64060 ac_cpp='$CPP $CPPFLAGS'
64061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64070 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64072 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64073 for ac_func in isnanl
64074 do :
64075 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64076 if test "x$ac_cv_func_isnanl" = xyes; then :
64077 cat >>confdefs.h <<_ACEOF
64078 #define HAVE_ISNANL 1
64079 _ACEOF
64082 done
64084 else
64086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64087 $as_echo_n "checking for _isnanl declaration... " >&6; }
64088 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64089 if ${glibcxx_cv_func__isnanl_use+:} false; then :
64090 $as_echo_n "(cached) " >&6
64091 else
64094 ac_ext=cpp
64095 ac_cpp='$CXXCPP $CPPFLAGS'
64096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64101 /* end confdefs.h. */
64102 #include <math.h>
64103 #ifdef HAVE_IEEEFP_H
64104 #include <ieeefp.h>
64105 #endif
64108 main ()
64110 _isnanl(0);
64112 return 0;
64114 _ACEOF
64115 if ac_fn_cxx_try_compile "$LINENO"; then :
64116 glibcxx_cv_func__isnanl_use=yes
64117 else
64118 glibcxx_cv_func__isnanl_use=no
64120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64121 ac_ext=c
64122 ac_cpp='$CPP $CPPFLAGS'
64123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
64132 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
64134 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64135 for ac_func in _isnanl
64136 do :
64137 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
64138 if test "x$ac_cv_func__isnanl" = xyes; then :
64139 cat >>confdefs.h <<_ACEOF
64140 #define HAVE__ISNANL 1
64141 _ACEOF
64144 done
64153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64154 $as_echo_n "checking for isinfl declaration... " >&6; }
64155 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64156 if ${glibcxx_cv_func_isinfl_use+:} false; then :
64157 $as_echo_n "(cached) " >&6
64158 else
64161 ac_ext=cpp
64162 ac_cpp='$CXXCPP $CPPFLAGS'
64163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64168 /* end confdefs.h. */
64169 #include <math.h>
64170 #ifdef HAVE_IEEEFP_H
64171 #include <ieeefp.h>
64172 #endif
64175 main ()
64177 isinfl(0);
64179 return 0;
64181 _ACEOF
64182 if ac_fn_cxx_try_compile "$LINENO"; then :
64183 glibcxx_cv_func_isinfl_use=yes
64184 else
64185 glibcxx_cv_func_isinfl_use=no
64187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64188 ac_ext=c
64189 ac_cpp='$CPP $CPPFLAGS'
64190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64199 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64201 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64202 for ac_func in isinfl
64203 do :
64204 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64205 if test "x$ac_cv_func_isinfl" = xyes; then :
64206 cat >>confdefs.h <<_ACEOF
64207 #define HAVE_ISINFL 1
64208 _ACEOF
64211 done
64213 else
64215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64216 $as_echo_n "checking for _isinfl declaration... " >&6; }
64217 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64218 if ${glibcxx_cv_func__isinfl_use+:} false; then :
64219 $as_echo_n "(cached) " >&6
64220 else
64223 ac_ext=cpp
64224 ac_cpp='$CXXCPP $CPPFLAGS'
64225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64230 /* end confdefs.h. */
64231 #include <math.h>
64232 #ifdef HAVE_IEEEFP_H
64233 #include <ieeefp.h>
64234 #endif
64237 main ()
64239 _isinfl(0);
64241 return 0;
64243 _ACEOF
64244 if ac_fn_cxx_try_compile "$LINENO"; then :
64245 glibcxx_cv_func__isinfl_use=yes
64246 else
64247 glibcxx_cv_func__isinfl_use=no
64249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64250 ac_ext=c
64251 ac_cpp='$CPP $CPPFLAGS'
64252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64261 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64263 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64264 for ac_func in _isinfl
64265 do :
64266 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64267 if test "x$ac_cv_func__isinfl" = xyes; then :
64268 cat >>confdefs.h <<_ACEOF
64269 #define HAVE__ISINFL 1
64270 _ACEOF
64273 done
64282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64283 $as_echo_n "checking for atan2l declaration... " >&6; }
64284 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64285 if ${glibcxx_cv_func_atan2l_use+:} false; then :
64286 $as_echo_n "(cached) " >&6
64287 else
64290 ac_ext=cpp
64291 ac_cpp='$CXXCPP $CPPFLAGS'
64292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64297 /* end confdefs.h. */
64298 #include <math.h>
64300 main ()
64302 atan2l(0, 0);
64304 return 0;
64306 _ACEOF
64307 if ac_fn_cxx_try_compile "$LINENO"; then :
64308 glibcxx_cv_func_atan2l_use=yes
64309 else
64310 glibcxx_cv_func_atan2l_use=no
64312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64313 ac_ext=c
64314 ac_cpp='$CPP $CPPFLAGS'
64315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64324 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64326 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64327 for ac_func in atan2l
64328 do :
64329 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64330 if test "x$ac_cv_func_atan2l" = xyes; then :
64331 cat >>confdefs.h <<_ACEOF
64332 #define HAVE_ATAN2L 1
64333 _ACEOF
64336 done
64338 else
64340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64341 $as_echo_n "checking for _atan2l declaration... " >&6; }
64342 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64343 if ${glibcxx_cv_func__atan2l_use+:} false; then :
64344 $as_echo_n "(cached) " >&6
64345 else
64348 ac_ext=cpp
64349 ac_cpp='$CXXCPP $CPPFLAGS'
64350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64355 /* end confdefs.h. */
64356 #include <math.h>
64358 main ()
64360 _atan2l(0, 0);
64362 return 0;
64364 _ACEOF
64365 if ac_fn_cxx_try_compile "$LINENO"; then :
64366 glibcxx_cv_func__atan2l_use=yes
64367 else
64368 glibcxx_cv_func__atan2l_use=no
64370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64371 ac_ext=c
64372 ac_cpp='$CPP $CPPFLAGS'
64373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64382 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64384 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64385 for ac_func in _atan2l
64386 do :
64387 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64388 if test "x$ac_cv_func__atan2l" = xyes; then :
64389 cat >>confdefs.h <<_ACEOF
64390 #define HAVE__ATAN2L 1
64391 _ACEOF
64394 done
64403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64404 $as_echo_n "checking for expl declaration... " >&6; }
64405 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64406 if ${glibcxx_cv_func_expl_use+:} false; then :
64407 $as_echo_n "(cached) " >&6
64408 else
64411 ac_ext=cpp
64412 ac_cpp='$CXXCPP $CPPFLAGS'
64413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64418 /* end confdefs.h. */
64419 #include <math.h>
64420 #ifdef HAVE_IEEEFP_H
64421 #include <ieeefp.h>
64422 #endif
64425 main ()
64427 expl(0);
64429 return 0;
64431 _ACEOF
64432 if ac_fn_cxx_try_compile "$LINENO"; then :
64433 glibcxx_cv_func_expl_use=yes
64434 else
64435 glibcxx_cv_func_expl_use=no
64437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64438 ac_ext=c
64439 ac_cpp='$CPP $CPPFLAGS'
64440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64449 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64451 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64452 for ac_func in expl
64453 do :
64454 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64455 if test "x$ac_cv_func_expl" = xyes; then :
64456 cat >>confdefs.h <<_ACEOF
64457 #define HAVE_EXPL 1
64458 _ACEOF
64461 done
64463 else
64465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64466 $as_echo_n "checking for _expl declaration... " >&6; }
64467 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64468 if ${glibcxx_cv_func__expl_use+:} false; then :
64469 $as_echo_n "(cached) " >&6
64470 else
64473 ac_ext=cpp
64474 ac_cpp='$CXXCPP $CPPFLAGS'
64475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64480 /* end confdefs.h. */
64481 #include <math.h>
64482 #ifdef HAVE_IEEEFP_H
64483 #include <ieeefp.h>
64484 #endif
64487 main ()
64489 _expl(0);
64491 return 0;
64493 _ACEOF
64494 if ac_fn_cxx_try_compile "$LINENO"; then :
64495 glibcxx_cv_func__expl_use=yes
64496 else
64497 glibcxx_cv_func__expl_use=no
64499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64500 ac_ext=c
64501 ac_cpp='$CPP $CPPFLAGS'
64502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64511 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64513 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64514 for ac_func in _expl
64515 do :
64516 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64517 if test "x$ac_cv_func__expl" = xyes; then :
64518 cat >>confdefs.h <<_ACEOF
64519 #define HAVE__EXPL 1
64520 _ACEOF
64523 done
64532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64533 $as_echo_n "checking for fabsl declaration... " >&6; }
64534 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64535 if ${glibcxx_cv_func_fabsl_use+:} false; then :
64536 $as_echo_n "(cached) " >&6
64537 else
64540 ac_ext=cpp
64541 ac_cpp='$CXXCPP $CPPFLAGS'
64542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64547 /* end confdefs.h. */
64548 #include <math.h>
64549 #ifdef HAVE_IEEEFP_H
64550 #include <ieeefp.h>
64551 #endif
64554 main ()
64556 fabsl(0);
64558 return 0;
64560 _ACEOF
64561 if ac_fn_cxx_try_compile "$LINENO"; then :
64562 glibcxx_cv_func_fabsl_use=yes
64563 else
64564 glibcxx_cv_func_fabsl_use=no
64566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64567 ac_ext=c
64568 ac_cpp='$CPP $CPPFLAGS'
64569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64578 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64580 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64581 for ac_func in fabsl
64582 do :
64583 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64584 if test "x$ac_cv_func_fabsl" = xyes; then :
64585 cat >>confdefs.h <<_ACEOF
64586 #define HAVE_FABSL 1
64587 _ACEOF
64590 done
64592 else
64594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64595 $as_echo_n "checking for _fabsl declaration... " >&6; }
64596 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64597 if ${glibcxx_cv_func__fabsl_use+:} false; then :
64598 $as_echo_n "(cached) " >&6
64599 else
64602 ac_ext=cpp
64603 ac_cpp='$CXXCPP $CPPFLAGS'
64604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64609 /* end confdefs.h. */
64610 #include <math.h>
64611 #ifdef HAVE_IEEEFP_H
64612 #include <ieeefp.h>
64613 #endif
64616 main ()
64618 _fabsl(0);
64620 return 0;
64622 _ACEOF
64623 if ac_fn_cxx_try_compile "$LINENO"; then :
64624 glibcxx_cv_func__fabsl_use=yes
64625 else
64626 glibcxx_cv_func__fabsl_use=no
64628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64629 ac_ext=c
64630 ac_cpp='$CPP $CPPFLAGS'
64631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64640 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64642 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64643 for ac_func in _fabsl
64644 do :
64645 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64646 if test "x$ac_cv_func__fabsl" = xyes; then :
64647 cat >>confdefs.h <<_ACEOF
64648 #define HAVE__FABSL 1
64649 _ACEOF
64652 done
64661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64662 $as_echo_n "checking for fmodl declaration... " >&6; }
64663 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64664 if ${glibcxx_cv_func_fmodl_use+:} false; then :
64665 $as_echo_n "(cached) " >&6
64666 else
64669 ac_ext=cpp
64670 ac_cpp='$CXXCPP $CPPFLAGS'
64671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64676 /* end confdefs.h. */
64677 #include <math.h>
64679 main ()
64681 fmodl(0, 0);
64683 return 0;
64685 _ACEOF
64686 if ac_fn_cxx_try_compile "$LINENO"; then :
64687 glibcxx_cv_func_fmodl_use=yes
64688 else
64689 glibcxx_cv_func_fmodl_use=no
64691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64692 ac_ext=c
64693 ac_cpp='$CPP $CPPFLAGS'
64694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64703 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64705 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64706 for ac_func in fmodl
64707 do :
64708 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64709 if test "x$ac_cv_func_fmodl" = xyes; then :
64710 cat >>confdefs.h <<_ACEOF
64711 #define HAVE_FMODL 1
64712 _ACEOF
64715 done
64717 else
64719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64720 $as_echo_n "checking for _fmodl declaration... " >&6; }
64721 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64722 if ${glibcxx_cv_func__fmodl_use+:} false; then :
64723 $as_echo_n "(cached) " >&6
64724 else
64727 ac_ext=cpp
64728 ac_cpp='$CXXCPP $CPPFLAGS'
64729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64734 /* end confdefs.h. */
64735 #include <math.h>
64737 main ()
64739 _fmodl(0, 0);
64741 return 0;
64743 _ACEOF
64744 if ac_fn_cxx_try_compile "$LINENO"; then :
64745 glibcxx_cv_func__fmodl_use=yes
64746 else
64747 glibcxx_cv_func__fmodl_use=no
64749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64750 ac_ext=c
64751 ac_cpp='$CPP $CPPFLAGS'
64752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64761 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64763 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64764 for ac_func in _fmodl
64765 do :
64766 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64767 if test "x$ac_cv_func__fmodl" = xyes; then :
64768 cat >>confdefs.h <<_ACEOF
64769 #define HAVE__FMODL 1
64770 _ACEOF
64773 done
64782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64783 $as_echo_n "checking for frexpl declaration... " >&6; }
64784 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64785 if ${glibcxx_cv_func_frexpl_use+:} false; then :
64786 $as_echo_n "(cached) " >&6
64787 else
64790 ac_ext=cpp
64791 ac_cpp='$CXXCPP $CPPFLAGS'
64792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64797 /* end confdefs.h. */
64798 #include <math.h>
64800 main ()
64802 frexpl(0, 0);
64804 return 0;
64806 _ACEOF
64807 if ac_fn_cxx_try_compile "$LINENO"; then :
64808 glibcxx_cv_func_frexpl_use=yes
64809 else
64810 glibcxx_cv_func_frexpl_use=no
64812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64813 ac_ext=c
64814 ac_cpp='$CPP $CPPFLAGS'
64815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64824 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64826 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64827 for ac_func in frexpl
64828 do :
64829 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64830 if test "x$ac_cv_func_frexpl" = xyes; then :
64831 cat >>confdefs.h <<_ACEOF
64832 #define HAVE_FREXPL 1
64833 _ACEOF
64836 done
64838 else
64840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64841 $as_echo_n "checking for _frexpl declaration... " >&6; }
64842 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64843 if ${glibcxx_cv_func__frexpl_use+:} false; then :
64844 $as_echo_n "(cached) " >&6
64845 else
64848 ac_ext=cpp
64849 ac_cpp='$CXXCPP $CPPFLAGS'
64850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64855 /* end confdefs.h. */
64856 #include <math.h>
64858 main ()
64860 _frexpl(0, 0);
64862 return 0;
64864 _ACEOF
64865 if ac_fn_cxx_try_compile "$LINENO"; then :
64866 glibcxx_cv_func__frexpl_use=yes
64867 else
64868 glibcxx_cv_func__frexpl_use=no
64870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64871 ac_ext=c
64872 ac_cpp='$CPP $CPPFLAGS'
64873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64882 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64884 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64885 for ac_func in _frexpl
64886 do :
64887 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64888 if test "x$ac_cv_func__frexpl" = xyes; then :
64889 cat >>confdefs.h <<_ACEOF
64890 #define HAVE__FREXPL 1
64891 _ACEOF
64894 done
64903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64904 $as_echo_n "checking for hypotl declaration... " >&6; }
64905 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64906 if ${glibcxx_cv_func_hypotl_use+:} false; then :
64907 $as_echo_n "(cached) " >&6
64908 else
64911 ac_ext=cpp
64912 ac_cpp='$CXXCPP $CPPFLAGS'
64913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64918 /* end confdefs.h. */
64919 #include <math.h>
64921 main ()
64923 hypotl(0, 0);
64925 return 0;
64927 _ACEOF
64928 if ac_fn_cxx_try_compile "$LINENO"; then :
64929 glibcxx_cv_func_hypotl_use=yes
64930 else
64931 glibcxx_cv_func_hypotl_use=no
64933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64934 ac_ext=c
64935 ac_cpp='$CPP $CPPFLAGS'
64936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64945 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64947 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64948 for ac_func in hypotl
64949 do :
64950 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64951 if test "x$ac_cv_func_hypotl" = xyes; then :
64952 cat >>confdefs.h <<_ACEOF
64953 #define HAVE_HYPOTL 1
64954 _ACEOF
64957 done
64959 else
64961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64962 $as_echo_n "checking for _hypotl declaration... " >&6; }
64963 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64964 if ${glibcxx_cv_func__hypotl_use+:} false; then :
64965 $as_echo_n "(cached) " >&6
64966 else
64969 ac_ext=cpp
64970 ac_cpp='$CXXCPP $CPPFLAGS'
64971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64976 /* end confdefs.h. */
64977 #include <math.h>
64979 main ()
64981 _hypotl(0, 0);
64983 return 0;
64985 _ACEOF
64986 if ac_fn_cxx_try_compile "$LINENO"; then :
64987 glibcxx_cv_func__hypotl_use=yes
64988 else
64989 glibcxx_cv_func__hypotl_use=no
64991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64992 ac_ext=c
64993 ac_cpp='$CPP $CPPFLAGS'
64994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65003 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65005 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65006 for ac_func in _hypotl
65007 do :
65008 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65009 if test "x$ac_cv_func__hypotl" = xyes; then :
65010 cat >>confdefs.h <<_ACEOF
65011 #define HAVE__HYPOTL 1
65012 _ACEOF
65015 done
65024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65025 $as_echo_n "checking for ldexpl declaration... " >&6; }
65026 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65027 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65028 $as_echo_n "(cached) " >&6
65029 else
65032 ac_ext=cpp
65033 ac_cpp='$CXXCPP $CPPFLAGS'
65034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65039 /* end confdefs.h. */
65040 #include <math.h>
65042 main ()
65044 ldexpl(0, 0);
65046 return 0;
65048 _ACEOF
65049 if ac_fn_cxx_try_compile "$LINENO"; then :
65050 glibcxx_cv_func_ldexpl_use=yes
65051 else
65052 glibcxx_cv_func_ldexpl_use=no
65054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65055 ac_ext=c
65056 ac_cpp='$CPP $CPPFLAGS'
65057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65066 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65068 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65069 for ac_func in ldexpl
65070 do :
65071 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65072 if test "x$ac_cv_func_ldexpl" = xyes; then :
65073 cat >>confdefs.h <<_ACEOF
65074 #define HAVE_LDEXPL 1
65075 _ACEOF
65078 done
65080 else
65082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65083 $as_echo_n "checking for _ldexpl declaration... " >&6; }
65084 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65085 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
65086 $as_echo_n "(cached) " >&6
65087 else
65090 ac_ext=cpp
65091 ac_cpp='$CXXCPP $CPPFLAGS'
65092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65097 /* end confdefs.h. */
65098 #include <math.h>
65100 main ()
65102 _ldexpl(0, 0);
65104 return 0;
65106 _ACEOF
65107 if ac_fn_cxx_try_compile "$LINENO"; then :
65108 glibcxx_cv_func__ldexpl_use=yes
65109 else
65110 glibcxx_cv_func__ldexpl_use=no
65112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65113 ac_ext=c
65114 ac_cpp='$CPP $CPPFLAGS'
65115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
65124 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
65126 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65127 for ac_func in _ldexpl
65128 do :
65129 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
65130 if test "x$ac_cv_func__ldexpl" = xyes; then :
65131 cat >>confdefs.h <<_ACEOF
65132 #define HAVE__LDEXPL 1
65133 _ACEOF
65136 done
65145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
65146 $as_echo_n "checking for logl declaration... " >&6; }
65147 if test x${glibcxx_cv_func_logl_use+set} != xset; then
65148 if ${glibcxx_cv_func_logl_use+:} false; then :
65149 $as_echo_n "(cached) " >&6
65150 else
65153 ac_ext=cpp
65154 ac_cpp='$CXXCPP $CPPFLAGS'
65155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65160 /* end confdefs.h. */
65161 #include <math.h>
65162 #ifdef HAVE_IEEEFP_H
65163 #include <ieeefp.h>
65164 #endif
65167 main ()
65169 logl(0);
65171 return 0;
65173 _ACEOF
65174 if ac_fn_cxx_try_compile "$LINENO"; then :
65175 glibcxx_cv_func_logl_use=yes
65176 else
65177 glibcxx_cv_func_logl_use=no
65179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65180 ac_ext=c
65181 ac_cpp='$CPP $CPPFLAGS'
65182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65191 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65193 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65194 for ac_func in logl
65195 do :
65196 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65197 if test "x$ac_cv_func_logl" = xyes; then :
65198 cat >>confdefs.h <<_ACEOF
65199 #define HAVE_LOGL 1
65200 _ACEOF
65203 done
65205 else
65207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65208 $as_echo_n "checking for _logl declaration... " >&6; }
65209 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65210 if ${glibcxx_cv_func__logl_use+:} false; then :
65211 $as_echo_n "(cached) " >&6
65212 else
65215 ac_ext=cpp
65216 ac_cpp='$CXXCPP $CPPFLAGS'
65217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65222 /* end confdefs.h. */
65223 #include <math.h>
65224 #ifdef HAVE_IEEEFP_H
65225 #include <ieeefp.h>
65226 #endif
65229 main ()
65231 _logl(0);
65233 return 0;
65235 _ACEOF
65236 if ac_fn_cxx_try_compile "$LINENO"; then :
65237 glibcxx_cv_func__logl_use=yes
65238 else
65239 glibcxx_cv_func__logl_use=no
65241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65242 ac_ext=c
65243 ac_cpp='$CPP $CPPFLAGS'
65244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65253 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65255 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65256 for ac_func in _logl
65257 do :
65258 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65259 if test "x$ac_cv_func__logl" = xyes; then :
65260 cat >>confdefs.h <<_ACEOF
65261 #define HAVE__LOGL 1
65262 _ACEOF
65265 done
65274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65275 $as_echo_n "checking for log10l declaration... " >&6; }
65276 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65277 if ${glibcxx_cv_func_log10l_use+:} false; then :
65278 $as_echo_n "(cached) " >&6
65279 else
65282 ac_ext=cpp
65283 ac_cpp='$CXXCPP $CPPFLAGS'
65284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65289 /* end confdefs.h. */
65290 #include <math.h>
65291 #ifdef HAVE_IEEEFP_H
65292 #include <ieeefp.h>
65293 #endif
65296 main ()
65298 log10l(0);
65300 return 0;
65302 _ACEOF
65303 if ac_fn_cxx_try_compile "$LINENO"; then :
65304 glibcxx_cv_func_log10l_use=yes
65305 else
65306 glibcxx_cv_func_log10l_use=no
65308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65309 ac_ext=c
65310 ac_cpp='$CPP $CPPFLAGS'
65311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65320 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65322 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65323 for ac_func in log10l
65324 do :
65325 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65326 if test "x$ac_cv_func_log10l" = xyes; then :
65327 cat >>confdefs.h <<_ACEOF
65328 #define HAVE_LOG10L 1
65329 _ACEOF
65332 done
65334 else
65336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65337 $as_echo_n "checking for _log10l declaration... " >&6; }
65338 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65339 if ${glibcxx_cv_func__log10l_use+:} false; then :
65340 $as_echo_n "(cached) " >&6
65341 else
65344 ac_ext=cpp
65345 ac_cpp='$CXXCPP $CPPFLAGS'
65346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65351 /* end confdefs.h. */
65352 #include <math.h>
65353 #ifdef HAVE_IEEEFP_H
65354 #include <ieeefp.h>
65355 #endif
65358 main ()
65360 _log10l(0);
65362 return 0;
65364 _ACEOF
65365 if ac_fn_cxx_try_compile "$LINENO"; then :
65366 glibcxx_cv_func__log10l_use=yes
65367 else
65368 glibcxx_cv_func__log10l_use=no
65370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65371 ac_ext=c
65372 ac_cpp='$CPP $CPPFLAGS'
65373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65382 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65384 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65385 for ac_func in _log10l
65386 do :
65387 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65388 if test "x$ac_cv_func__log10l" = xyes; then :
65389 cat >>confdefs.h <<_ACEOF
65390 #define HAVE__LOG10L 1
65391 _ACEOF
65394 done
65403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65404 $as_echo_n "checking for modfl declaration... " >&6; }
65405 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65406 if ${glibcxx_cv_func_modfl_use+:} false; then :
65407 $as_echo_n "(cached) " >&6
65408 else
65411 ac_ext=cpp
65412 ac_cpp='$CXXCPP $CPPFLAGS'
65413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65418 /* end confdefs.h. */
65419 #include <math.h>
65421 main ()
65423 modfl(0, 0);
65425 return 0;
65427 _ACEOF
65428 if ac_fn_cxx_try_compile "$LINENO"; then :
65429 glibcxx_cv_func_modfl_use=yes
65430 else
65431 glibcxx_cv_func_modfl_use=no
65433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65434 ac_ext=c
65435 ac_cpp='$CPP $CPPFLAGS'
65436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65445 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65447 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65448 for ac_func in modfl
65449 do :
65450 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65451 if test "x$ac_cv_func_modfl" = xyes; then :
65452 cat >>confdefs.h <<_ACEOF
65453 #define HAVE_MODFL 1
65454 _ACEOF
65457 done
65459 else
65461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65462 $as_echo_n "checking for _modfl declaration... " >&6; }
65463 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65464 if ${glibcxx_cv_func__modfl_use+:} false; then :
65465 $as_echo_n "(cached) " >&6
65466 else
65469 ac_ext=cpp
65470 ac_cpp='$CXXCPP $CPPFLAGS'
65471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65476 /* end confdefs.h. */
65477 #include <math.h>
65479 main ()
65481 _modfl(0, 0);
65483 return 0;
65485 _ACEOF
65486 if ac_fn_cxx_try_compile "$LINENO"; then :
65487 glibcxx_cv_func__modfl_use=yes
65488 else
65489 glibcxx_cv_func__modfl_use=no
65491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65492 ac_ext=c
65493 ac_cpp='$CPP $CPPFLAGS'
65494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65503 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65505 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65506 for ac_func in _modfl
65507 do :
65508 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65509 if test "x$ac_cv_func__modfl" = xyes; then :
65510 cat >>confdefs.h <<_ACEOF
65511 #define HAVE__MODFL 1
65512 _ACEOF
65515 done
65524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65525 $as_echo_n "checking for powl declaration... " >&6; }
65526 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65527 if ${glibcxx_cv_func_powl_use+:} false; then :
65528 $as_echo_n "(cached) " >&6
65529 else
65532 ac_ext=cpp
65533 ac_cpp='$CXXCPP $CPPFLAGS'
65534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65539 /* end confdefs.h. */
65540 #include <math.h>
65542 main ()
65544 powl(0, 0);
65546 return 0;
65548 _ACEOF
65549 if ac_fn_cxx_try_compile "$LINENO"; then :
65550 glibcxx_cv_func_powl_use=yes
65551 else
65552 glibcxx_cv_func_powl_use=no
65554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65555 ac_ext=c
65556 ac_cpp='$CPP $CPPFLAGS'
65557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65566 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65568 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65569 for ac_func in powl
65570 do :
65571 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65572 if test "x$ac_cv_func_powl" = xyes; then :
65573 cat >>confdefs.h <<_ACEOF
65574 #define HAVE_POWL 1
65575 _ACEOF
65578 done
65580 else
65582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65583 $as_echo_n "checking for _powl declaration... " >&6; }
65584 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65585 if ${glibcxx_cv_func__powl_use+:} false; then :
65586 $as_echo_n "(cached) " >&6
65587 else
65590 ac_ext=cpp
65591 ac_cpp='$CXXCPP $CPPFLAGS'
65592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65597 /* end confdefs.h. */
65598 #include <math.h>
65600 main ()
65602 _powl(0, 0);
65604 return 0;
65606 _ACEOF
65607 if ac_fn_cxx_try_compile "$LINENO"; then :
65608 glibcxx_cv_func__powl_use=yes
65609 else
65610 glibcxx_cv_func__powl_use=no
65612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65613 ac_ext=c
65614 ac_cpp='$CPP $CPPFLAGS'
65615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65624 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65626 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65627 for ac_func in _powl
65628 do :
65629 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65630 if test "x$ac_cv_func__powl" = xyes; then :
65631 cat >>confdefs.h <<_ACEOF
65632 #define HAVE__POWL 1
65633 _ACEOF
65636 done
65645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65646 $as_echo_n "checking for sqrtl declaration... " >&6; }
65647 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65648 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
65649 $as_echo_n "(cached) " >&6
65650 else
65653 ac_ext=cpp
65654 ac_cpp='$CXXCPP $CPPFLAGS'
65655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65660 /* end confdefs.h. */
65661 #include <math.h>
65662 #ifdef HAVE_IEEEFP_H
65663 #include <ieeefp.h>
65664 #endif
65667 main ()
65669 sqrtl(0);
65671 return 0;
65673 _ACEOF
65674 if ac_fn_cxx_try_compile "$LINENO"; then :
65675 glibcxx_cv_func_sqrtl_use=yes
65676 else
65677 glibcxx_cv_func_sqrtl_use=no
65679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65680 ac_ext=c
65681 ac_cpp='$CPP $CPPFLAGS'
65682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65691 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65693 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65694 for ac_func in sqrtl
65695 do :
65696 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65697 if test "x$ac_cv_func_sqrtl" = xyes; then :
65698 cat >>confdefs.h <<_ACEOF
65699 #define HAVE_SQRTL 1
65700 _ACEOF
65703 done
65705 else
65707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65708 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65709 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65710 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
65711 $as_echo_n "(cached) " >&6
65712 else
65715 ac_ext=cpp
65716 ac_cpp='$CXXCPP $CPPFLAGS'
65717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65722 /* end confdefs.h. */
65723 #include <math.h>
65724 #ifdef HAVE_IEEEFP_H
65725 #include <ieeefp.h>
65726 #endif
65729 main ()
65731 _sqrtl(0);
65733 return 0;
65735 _ACEOF
65736 if ac_fn_cxx_try_compile "$LINENO"; then :
65737 glibcxx_cv_func__sqrtl_use=yes
65738 else
65739 glibcxx_cv_func__sqrtl_use=no
65741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65742 ac_ext=c
65743 ac_cpp='$CPP $CPPFLAGS'
65744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65753 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65755 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65756 for ac_func in _sqrtl
65757 do :
65758 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65759 if test "x$ac_cv_func__sqrtl" = xyes; then :
65760 cat >>confdefs.h <<_ACEOF
65761 #define HAVE__SQRTL 1
65762 _ACEOF
65765 done
65774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65775 $as_echo_n "checking for sincosl declaration... " >&6; }
65776 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65777 if ${glibcxx_cv_func_sincosl_use+:} false; then :
65778 $as_echo_n "(cached) " >&6
65779 else
65782 ac_ext=cpp
65783 ac_cpp='$CXXCPP $CPPFLAGS'
65784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65789 /* end confdefs.h. */
65790 #include <math.h>
65792 main ()
65794 sincosl(0, 0, 0);
65796 return 0;
65798 _ACEOF
65799 if ac_fn_cxx_try_compile "$LINENO"; then :
65800 glibcxx_cv_func_sincosl_use=yes
65801 else
65802 glibcxx_cv_func_sincosl_use=no
65804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65805 ac_ext=c
65806 ac_cpp='$CPP $CPPFLAGS'
65807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65816 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65818 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65819 for ac_func in sincosl
65820 do :
65821 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65822 if test "x$ac_cv_func_sincosl" = xyes; then :
65823 cat >>confdefs.h <<_ACEOF
65824 #define HAVE_SINCOSL 1
65825 _ACEOF
65828 done
65830 else
65832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65833 $as_echo_n "checking for _sincosl declaration... " >&6; }
65834 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65835 if ${glibcxx_cv_func__sincosl_use+:} false; then :
65836 $as_echo_n "(cached) " >&6
65837 else
65840 ac_ext=cpp
65841 ac_cpp='$CXXCPP $CPPFLAGS'
65842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65847 /* end confdefs.h. */
65848 #include <math.h>
65850 main ()
65852 _sincosl(0, 0, 0);
65854 return 0;
65856 _ACEOF
65857 if ac_fn_cxx_try_compile "$LINENO"; then :
65858 glibcxx_cv_func__sincosl_use=yes
65859 else
65860 glibcxx_cv_func__sincosl_use=no
65862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65863 ac_ext=c
65864 ac_cpp='$CPP $CPPFLAGS'
65865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65874 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65876 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65877 for ac_func in _sincosl
65878 do :
65879 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65880 if test "x$ac_cv_func__sincosl" = xyes; then :
65881 cat >>confdefs.h <<_ACEOF
65882 #define HAVE__SINCOSL 1
65883 _ACEOF
65886 done
65895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65896 $as_echo_n "checking for finitel declaration... " >&6; }
65897 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65898 if ${glibcxx_cv_func_finitel_use+:} false; then :
65899 $as_echo_n "(cached) " >&6
65900 else
65903 ac_ext=cpp
65904 ac_cpp='$CXXCPP $CPPFLAGS'
65905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65910 /* end confdefs.h. */
65911 #include <math.h>
65912 #ifdef HAVE_IEEEFP_H
65913 #include <ieeefp.h>
65914 #endif
65917 main ()
65919 finitel(0);
65921 return 0;
65923 _ACEOF
65924 if ac_fn_cxx_try_compile "$LINENO"; then :
65925 glibcxx_cv_func_finitel_use=yes
65926 else
65927 glibcxx_cv_func_finitel_use=no
65929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65930 ac_ext=c
65931 ac_cpp='$CPP $CPPFLAGS'
65932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65941 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65943 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65944 for ac_func in finitel
65945 do :
65946 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65947 if test "x$ac_cv_func_finitel" = xyes; then :
65948 cat >>confdefs.h <<_ACEOF
65949 #define HAVE_FINITEL 1
65950 _ACEOF
65953 done
65955 else
65957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65958 $as_echo_n "checking for _finitel declaration... " >&6; }
65959 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65960 if ${glibcxx_cv_func__finitel_use+:} false; then :
65961 $as_echo_n "(cached) " >&6
65962 else
65965 ac_ext=cpp
65966 ac_cpp='$CXXCPP $CPPFLAGS'
65967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65972 /* end confdefs.h. */
65973 #include <math.h>
65974 #ifdef HAVE_IEEEFP_H
65975 #include <ieeefp.h>
65976 #endif
65979 main ()
65981 _finitel(0);
65983 return 0;
65985 _ACEOF
65986 if ac_fn_cxx_try_compile "$LINENO"; then :
65987 glibcxx_cv_func__finitel_use=yes
65988 else
65989 glibcxx_cv_func__finitel_use=no
65991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65992 ac_ext=c
65993 ac_cpp='$CPP $CPPFLAGS'
65994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66003 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66005 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66006 for ac_func in _finitel
66007 do :
66008 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66009 if test "x$ac_cv_func__finitel" = xyes; then :
66010 cat >>confdefs.h <<_ACEOF
66011 #define HAVE__FINITEL 1
66012 _ACEOF
66015 done
66023 LIBS="$ac_save_LIBS"
66024 CXXFLAGS="$ac_save_CXXFLAGS"
66027 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66028 ac_save_CXXFLAGS="$CXXFLAGS"
66029 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66033 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
66034 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66035 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
66036 $as_echo_n "(cached) " >&6
66037 else
66040 ac_ext=cpp
66041 ac_cpp='$CXXCPP $CPPFLAGS'
66042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66047 /* end confdefs.h. */
66048 #include <stdlib.h>
66050 main ()
66052 at_quick_exit(0);
66054 return 0;
66056 _ACEOF
66057 if ac_fn_cxx_try_compile "$LINENO"; then :
66058 glibcxx_cv_func_at_quick_exit_use=yes
66059 else
66060 glibcxx_cv_func_at_quick_exit_use=no
66062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66063 ac_ext=c
66064 ac_cpp='$CPP $CPPFLAGS'
66065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66074 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66075 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66076 for ac_func in at_quick_exit
66077 do :
66078 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66079 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66080 cat >>confdefs.h <<_ACEOF
66081 #define HAVE_AT_QUICK_EXIT 1
66082 _ACEOF
66085 done
66090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66091 $as_echo_n "checking for quick_exit declaration... " >&6; }
66092 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66093 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66094 $as_echo_n "(cached) " >&6
66095 else
66098 ac_ext=cpp
66099 ac_cpp='$CXXCPP $CPPFLAGS'
66100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66105 /* end confdefs.h. */
66106 #include <stdlib.h>
66108 main ()
66110 quick_exit(0);
66112 return 0;
66114 _ACEOF
66115 if ac_fn_cxx_try_compile "$LINENO"; then :
66116 glibcxx_cv_func_quick_exit_use=yes
66117 else
66118 glibcxx_cv_func_quick_exit_use=no
66120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66121 ac_ext=c
66122 ac_cpp='$CPP $CPPFLAGS'
66123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
66132 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
66133 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
66134 for ac_func in quick_exit
66135 do :
66136 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
66137 if test "x$ac_cv_func_quick_exit" = xyes; then :
66138 cat >>confdefs.h <<_ACEOF
66139 #define HAVE_QUICK_EXIT 1
66140 _ACEOF
66143 done
66148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
66149 $as_echo_n "checking for strtold declaration... " >&6; }
66150 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
66151 if ${glibcxx_cv_func_strtold_use+:} false; then :
66152 $as_echo_n "(cached) " >&6
66153 else
66156 ac_ext=cpp
66157 ac_cpp='$CXXCPP $CPPFLAGS'
66158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66163 /* end confdefs.h. */
66164 #include <stdlib.h>
66166 main ()
66168 strtold(0, 0);
66170 return 0;
66172 _ACEOF
66173 if ac_fn_cxx_try_compile "$LINENO"; then :
66174 glibcxx_cv_func_strtold_use=yes
66175 else
66176 glibcxx_cv_func_strtold_use=no
66178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66179 ac_ext=c
66180 ac_cpp='$CPP $CPPFLAGS'
66181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66190 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66191 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66192 for ac_func in strtold
66193 do :
66194 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66195 if test "x$ac_cv_func_strtold" = xyes; then :
66196 cat >>confdefs.h <<_ACEOF
66197 #define HAVE_STRTOLD 1
66198 _ACEOF
66201 done
66208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66209 $as_echo_n "checking for strtof declaration... " >&6; }
66210 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66211 if ${glibcxx_cv_func_strtof_use+:} false; then :
66212 $as_echo_n "(cached) " >&6
66213 else
66216 ac_ext=cpp
66217 ac_cpp='$CXXCPP $CPPFLAGS'
66218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66223 /* end confdefs.h. */
66224 #include <stdlib.h>
66226 main ()
66228 strtof(0, 0);
66230 return 0;
66232 _ACEOF
66233 if ac_fn_cxx_try_compile "$LINENO"; then :
66234 glibcxx_cv_func_strtof_use=yes
66235 else
66236 glibcxx_cv_func_strtof_use=no
66238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66239 ac_ext=c
66240 ac_cpp='$CPP $CPPFLAGS'
66241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66250 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66251 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66252 for ac_func in strtof
66253 do :
66254 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66255 if test "x$ac_cv_func_strtof" = xyes; then :
66256 cat >>confdefs.h <<_ACEOF
66257 #define HAVE_STRTOF 1
66258 _ACEOF
66261 done
66268 CXXFLAGS="$ac_save_CXXFLAGS"
66270 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66271 do :
66272 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66273 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66274 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66275 cat >>confdefs.h <<_ACEOF
66276 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66277 _ACEOF
66280 done
66282 for ac_func in _wfopen
66283 do :
66284 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
66285 if test "x$ac_cv_func__wfopen" = xyes; then :
66286 cat >>confdefs.h <<_ACEOF
66287 #define HAVE__WFOPEN 1
66288 _ACEOF
66291 done
66294 *-netbsd* | *-openbsd*)
66295 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66298 # If we're not using GNU ld, then there's no point in even trying these
66299 # tests. Check for that first. We should have already tested for gld
66300 # by now (in libtool), but require it now just to be safe...
66301 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66302 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66306 # The name set by libtool depends on the version of libtool. Shame on us
66307 # for depending on an impl detail, but c'est la vie. Older versions used
66308 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66309 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66310 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66311 # set (hence we're using an older libtool), then set it.
66312 if test x${with_gnu_ld+set} != xset; then
66313 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66314 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66315 with_gnu_ld=no
66316 else
66317 with_gnu_ld=$ac_cv_prog_gnu_ld
66321 # Start by getting the version number. I think the libtool test already
66322 # does some of this, but throws away the result.
66323 glibcxx_ld_is_gold=no
66324 if test x"$with_gnu_ld" = x"yes"; then
66325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66326 $as_echo_n "checking for ld version... " >&6; }
66328 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66329 glibcxx_ld_is_gold=yes
66331 ldver=`$LD --version 2>/dev/null |
66332 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
66334 glibcxx_gnu_ld_version=`echo $ldver | \
66335 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66337 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66340 # Set --gc-sections.
66341 glibcxx_have_gc_sections=no
66342 if test "$glibcxx_ld_is_gold" = "yes"; then
66343 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66344 glibcxx_have_gc_sections=yes
66346 else
66347 glibcxx_gcsections_min_ld=21602
66348 if test x"$with_gnu_ld" = x"yes" &&
66349 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66350 glibcxx_have_gc_sections=yes
66353 if test "$glibcxx_have_gc_sections" = "yes"; then
66354 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66355 # NB: This flag only works reliably after 2.16.1. Configure tests
66356 # for this are difficult, so hard wire a value that should work.
66358 ac_test_CFLAGS="${CFLAGS+set}"
66359 ac_save_CFLAGS="$CFLAGS"
66360 CFLAGS='-Wl,--gc-sections'
66362 # Check for -Wl,--gc-sections
66363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66364 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66365 if test x$gcc_no_link = xyes; then
66366 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66369 /* end confdefs.h. */
66370 int one(void) { return 1; }
66371 int two(void) { return 2; }
66374 main ()
66376 two();
66378 return 0;
66380 _ACEOF
66381 if ac_fn_c_try_link "$LINENO"; then :
66382 ac_gcsections=yes
66383 else
66384 ac_gcsections=no
66386 rm -f core conftest.err conftest.$ac_objext \
66387 conftest$ac_exeext conftest.$ac_ext
66388 if test "$ac_gcsections" = "yes"; then
66389 rm -f conftest.c
66390 touch conftest.c
66391 if $CC -c conftest.c; then
66392 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66393 grep "Warning: gc-sections option ignored" > /dev/null; then
66394 ac_gcsections=no
66397 rm -f conftest.c conftest.o conftest
66399 if test "$ac_gcsections" = "yes"; then
66400 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66403 $as_echo "$ac_gcsections" >&6; }
66405 if test "$ac_test_CFLAGS" = set; then
66406 CFLAGS="$ac_save_CFLAGS"
66407 else
66408 # this is the suspicious part
66409 CFLAGS=''
66413 # Set -z,relro.
66414 # Note this is only for shared objects.
66415 ac_ld_relro=no
66416 if test x"$with_gnu_ld" = x"yes"; then
66417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66418 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66419 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66420 if test -n "$cxx_z_relo"; then
66421 OPT_LDFLAGS="-Wl,-z,relro"
66422 ac_ld_relro=yes
66424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66425 $as_echo "$ac_ld_relro" >&6; }
66428 # Set linker optimization flags.
66429 if test x"$with_gnu_ld" = x"yes"; then
66430 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66436 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66438 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66440 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66442 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66444 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66446 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66448 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66450 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66452 if test x"long_double_math_on_this_cpu" = x"yes"; then
66453 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66455 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66457 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66460 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66461 do :
66462 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66463 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66464 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66465 cat >>confdefs.h <<_ACEOF
66466 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66467 _ACEOF
66470 done
66473 *-qnx6.1* | *-qnx6.2*)
66474 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66477 # If we're not using GNU ld, then there's no point in even trying these
66478 # tests. Check for that first. We should have already tested for gld
66479 # by now (in libtool), but require it now just to be safe...
66480 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66481 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66485 # The name set by libtool depends on the version of libtool. Shame on us
66486 # for depending on an impl detail, but c'est la vie. Older versions used
66487 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66488 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66489 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66490 # set (hence we're using an older libtool), then set it.
66491 if test x${with_gnu_ld+set} != xset; then
66492 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66493 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66494 with_gnu_ld=no
66495 else
66496 with_gnu_ld=$ac_cv_prog_gnu_ld
66500 # Start by getting the version number. I think the libtool test already
66501 # does some of this, but throws away the result.
66502 glibcxx_ld_is_gold=no
66503 if test x"$with_gnu_ld" = x"yes"; then
66504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66505 $as_echo_n "checking for ld version... " >&6; }
66507 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66508 glibcxx_ld_is_gold=yes
66510 ldver=`$LD --version 2>/dev/null |
66511 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
66513 glibcxx_gnu_ld_version=`echo $ldver | \
66514 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66516 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66519 # Set --gc-sections.
66520 glibcxx_have_gc_sections=no
66521 if test "$glibcxx_ld_is_gold" = "yes"; then
66522 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66523 glibcxx_have_gc_sections=yes
66525 else
66526 glibcxx_gcsections_min_ld=21602
66527 if test x"$with_gnu_ld" = x"yes" &&
66528 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66529 glibcxx_have_gc_sections=yes
66532 if test "$glibcxx_have_gc_sections" = "yes"; then
66533 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66534 # NB: This flag only works reliably after 2.16.1. Configure tests
66535 # for this are difficult, so hard wire a value that should work.
66537 ac_test_CFLAGS="${CFLAGS+set}"
66538 ac_save_CFLAGS="$CFLAGS"
66539 CFLAGS='-Wl,--gc-sections'
66541 # Check for -Wl,--gc-sections
66542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66543 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66544 if test x$gcc_no_link = xyes; then
66545 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66548 /* end confdefs.h. */
66549 int one(void) { return 1; }
66550 int two(void) { return 2; }
66553 main ()
66555 two();
66557 return 0;
66559 _ACEOF
66560 if ac_fn_c_try_link "$LINENO"; then :
66561 ac_gcsections=yes
66562 else
66563 ac_gcsections=no
66565 rm -f core conftest.err conftest.$ac_objext \
66566 conftest$ac_exeext conftest.$ac_ext
66567 if test "$ac_gcsections" = "yes"; then
66568 rm -f conftest.c
66569 touch conftest.c
66570 if $CC -c conftest.c; then
66571 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66572 grep "Warning: gc-sections option ignored" > /dev/null; then
66573 ac_gcsections=no
66576 rm -f conftest.c conftest.o conftest
66578 if test "$ac_gcsections" = "yes"; then
66579 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66582 $as_echo "$ac_gcsections" >&6; }
66584 if test "$ac_test_CFLAGS" = set; then
66585 CFLAGS="$ac_save_CFLAGS"
66586 else
66587 # this is the suspicious part
66588 CFLAGS=''
66592 # Set -z,relro.
66593 # Note this is only for shared objects.
66594 ac_ld_relro=no
66595 if test x"$with_gnu_ld" = x"yes"; then
66596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66597 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66598 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66599 if test -n "$cxx_z_relo"; then
66600 OPT_LDFLAGS="-Wl,-z,relro"
66601 ac_ld_relro=yes
66603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66604 $as_echo "$ac_ld_relro" >&6; }
66607 # Set linker optimization flags.
66608 if test x"$with_gnu_ld" = x"yes"; then
66609 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66615 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66617 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66619 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66621 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66623 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66625 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66627 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66629 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66631 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66633 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66635 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66637 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66640 *-rtems*)
66642 # All these tests are for C++; save the language and the compiler flags.
66643 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66644 # found in GLIBCXX_CONFIGURE.
66646 ac_ext=cpp
66647 ac_cpp='$CXXCPP $CPPFLAGS'
66648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66652 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66653 ac_save_CXXFLAGS="$CXXFLAGS"
66655 # Check for -ffunction-sections -fdata-sections
66656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66657 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66658 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66660 /* end confdefs.h. */
66661 int foo; void bar() { };
66663 main ()
66667 return 0;
66669 _ACEOF
66670 if ac_fn_cxx_try_compile "$LINENO"; then :
66671 ac_fdsections=yes
66672 else
66673 ac_fdsections=no
66675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66676 if test "$ac_test_CXXFLAGS" = set; then
66677 CXXFLAGS="$ac_save_CXXFLAGS"
66678 else
66679 # this is the suspicious part
66680 CXXFLAGS=''
66682 if test x"$ac_fdsections" = x"yes"; then
66683 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66686 $as_echo "$ac_fdsections" >&6; }
66688 ac_ext=c
66689 ac_cpp='$CPP $CPPFLAGS'
66690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66697 # If we're not using GNU ld, then there's no point in even trying these
66698 # tests. Check for that first. We should have already tested for gld
66699 # by now (in libtool), but require it now just to be safe...
66700 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66701 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66705 # The name set by libtool depends on the version of libtool. Shame on us
66706 # for depending on an impl detail, but c'est la vie. Older versions used
66707 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66708 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66709 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66710 # set (hence we're using an older libtool), then set it.
66711 if test x${with_gnu_ld+set} != xset; then
66712 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66713 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66714 with_gnu_ld=no
66715 else
66716 with_gnu_ld=$ac_cv_prog_gnu_ld
66720 # Start by getting the version number. I think the libtool test already
66721 # does some of this, but throws away the result.
66722 glibcxx_ld_is_gold=no
66723 if test x"$with_gnu_ld" = x"yes"; then
66724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66725 $as_echo_n "checking for ld version... " >&6; }
66727 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66728 glibcxx_ld_is_gold=yes
66730 ldver=`$LD --version 2>/dev/null |
66731 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
66733 glibcxx_gnu_ld_version=`echo $ldver | \
66734 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66736 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66739 # Set --gc-sections.
66740 glibcxx_have_gc_sections=no
66741 if test "$glibcxx_ld_is_gold" = "yes"; then
66742 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66743 glibcxx_have_gc_sections=yes
66745 else
66746 glibcxx_gcsections_min_ld=21602
66747 if test x"$with_gnu_ld" = x"yes" &&
66748 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66749 glibcxx_have_gc_sections=yes
66752 if test "$glibcxx_have_gc_sections" = "yes"; then
66753 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66754 # NB: This flag only works reliably after 2.16.1. Configure tests
66755 # for this are difficult, so hard wire a value that should work.
66757 ac_test_CFLAGS="${CFLAGS+set}"
66758 ac_save_CFLAGS="$CFLAGS"
66759 CFLAGS='-Wl,--gc-sections'
66761 # Check for -Wl,--gc-sections
66762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66763 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66764 if test x$gcc_no_link = xyes; then
66765 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66768 /* end confdefs.h. */
66769 int one(void) { return 1; }
66770 int two(void) { return 2; }
66773 main ()
66775 two();
66777 return 0;
66779 _ACEOF
66780 if ac_fn_c_try_link "$LINENO"; then :
66781 ac_gcsections=yes
66782 else
66783 ac_gcsections=no
66785 rm -f core conftest.err conftest.$ac_objext \
66786 conftest$ac_exeext conftest.$ac_ext
66787 if test "$ac_gcsections" = "yes"; then
66788 rm -f conftest.c
66789 touch conftest.c
66790 if $CC -c conftest.c; then
66791 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66792 grep "Warning: gc-sections option ignored" > /dev/null; then
66793 ac_gcsections=no
66796 rm -f conftest.c conftest.o conftest
66798 if test "$ac_gcsections" = "yes"; then
66799 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66802 $as_echo "$ac_gcsections" >&6; }
66804 if test "$ac_test_CFLAGS" = set; then
66805 CFLAGS="$ac_save_CFLAGS"
66806 else
66807 # this is the suspicious part
66808 CFLAGS=''
66812 # Set -z,relro.
66813 # Note this is only for shared objects.
66814 ac_ld_relro=no
66815 if test x"$with_gnu_ld" = x"yes"; then
66816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66817 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66818 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66819 if test -n "$cxx_z_relo"; then
66820 OPT_LDFLAGS="-Wl,-z,relro"
66821 ac_ld_relro=yes
66823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66824 $as_echo "$ac_ld_relro" >&6; }
66827 # Set linker optimization flags.
66828 if test x"$with_gnu_ld" = x"yes"; then
66829 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66836 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66837 ac_save_CXXFLAGS="$CXXFLAGS"
66838 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66841 $as_echo_n "checking for sin in -lm... " >&6; }
66842 if ${ac_cv_lib_m_sin+:} false; then :
66843 $as_echo_n "(cached) " >&6
66844 else
66845 ac_check_lib_save_LIBS=$LIBS
66846 LIBS="-lm $LIBS"
66847 if test x$gcc_no_link = xyes; then
66848 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66851 /* end confdefs.h. */
66853 /* Override any GCC internal prototype to avoid an error.
66854 Use char because int might match the return type of a GCC
66855 builtin and then its argument prototype would still apply. */
66856 #ifdef __cplusplus
66857 extern "C"
66858 #endif
66859 char sin ();
66861 main ()
66863 return sin ();
66865 return 0;
66867 _ACEOF
66868 if ac_fn_c_try_link "$LINENO"; then :
66869 ac_cv_lib_m_sin=yes
66870 else
66871 ac_cv_lib_m_sin=no
66873 rm -f core conftest.err conftest.$ac_objext \
66874 conftest$ac_exeext conftest.$ac_ext
66875 LIBS=$ac_check_lib_save_LIBS
66877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66878 $as_echo "$ac_cv_lib_m_sin" >&6; }
66879 if test "x$ac_cv_lib_m_sin" = xyes; then :
66880 libm="-lm"
66883 ac_save_LIBS="$LIBS"
66884 LIBS="$LIBS $libm"
66888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66889 $as_echo_n "checking for isinf declaration... " >&6; }
66890 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66891 if ${glibcxx_cv_func_isinf_use+:} false; then :
66892 $as_echo_n "(cached) " >&6
66893 else
66896 ac_ext=cpp
66897 ac_cpp='$CXXCPP $CPPFLAGS'
66898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66903 /* end confdefs.h. */
66904 #include <math.h>
66905 #ifdef HAVE_IEEEFP_H
66906 #include <ieeefp.h>
66907 #endif
66910 main ()
66912 isinf(0);
66914 return 0;
66916 _ACEOF
66917 if ac_fn_cxx_try_compile "$LINENO"; then :
66918 glibcxx_cv_func_isinf_use=yes
66919 else
66920 glibcxx_cv_func_isinf_use=no
66922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66923 ac_ext=c
66924 ac_cpp='$CPP $CPPFLAGS'
66925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66934 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66936 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66937 for ac_func in isinf
66938 do :
66939 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66940 if test "x$ac_cv_func_isinf" = xyes; then :
66941 cat >>confdefs.h <<_ACEOF
66942 #define HAVE_ISINF 1
66943 _ACEOF
66946 done
66948 else
66950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66951 $as_echo_n "checking for _isinf declaration... " >&6; }
66952 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66953 if ${glibcxx_cv_func__isinf_use+:} false; then :
66954 $as_echo_n "(cached) " >&6
66955 else
66958 ac_ext=cpp
66959 ac_cpp='$CXXCPP $CPPFLAGS'
66960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66965 /* end confdefs.h. */
66966 #include <math.h>
66967 #ifdef HAVE_IEEEFP_H
66968 #include <ieeefp.h>
66969 #endif
66972 main ()
66974 _isinf(0);
66976 return 0;
66978 _ACEOF
66979 if ac_fn_cxx_try_compile "$LINENO"; then :
66980 glibcxx_cv_func__isinf_use=yes
66981 else
66982 glibcxx_cv_func__isinf_use=no
66984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66985 ac_ext=c
66986 ac_cpp='$CPP $CPPFLAGS'
66987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66996 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66998 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66999 for ac_func in _isinf
67000 do :
67001 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
67002 if test "x$ac_cv_func__isinf" = xyes; then :
67003 cat >>confdefs.h <<_ACEOF
67004 #define HAVE__ISINF 1
67005 _ACEOF
67008 done
67017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
67018 $as_echo_n "checking for isnan declaration... " >&6; }
67019 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
67020 if ${glibcxx_cv_func_isnan_use+:} false; then :
67021 $as_echo_n "(cached) " >&6
67022 else
67025 ac_ext=cpp
67026 ac_cpp='$CXXCPP $CPPFLAGS'
67027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67032 /* end confdefs.h. */
67033 #include <math.h>
67034 #ifdef HAVE_IEEEFP_H
67035 #include <ieeefp.h>
67036 #endif
67039 main ()
67041 isnan(0);
67043 return 0;
67045 _ACEOF
67046 if ac_fn_cxx_try_compile "$LINENO"; then :
67047 glibcxx_cv_func_isnan_use=yes
67048 else
67049 glibcxx_cv_func_isnan_use=no
67051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67052 ac_ext=c
67053 ac_cpp='$CPP $CPPFLAGS'
67054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
67063 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
67065 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
67066 for ac_func in isnan
67067 do :
67068 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
67069 if test "x$ac_cv_func_isnan" = xyes; then :
67070 cat >>confdefs.h <<_ACEOF
67071 #define HAVE_ISNAN 1
67072 _ACEOF
67075 done
67077 else
67079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
67080 $as_echo_n "checking for _isnan declaration... " >&6; }
67081 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
67082 if ${glibcxx_cv_func__isnan_use+:} false; then :
67083 $as_echo_n "(cached) " >&6
67084 else
67087 ac_ext=cpp
67088 ac_cpp='$CXXCPP $CPPFLAGS'
67089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67094 /* end confdefs.h. */
67095 #include <math.h>
67096 #ifdef HAVE_IEEEFP_H
67097 #include <ieeefp.h>
67098 #endif
67101 main ()
67103 _isnan(0);
67105 return 0;
67107 _ACEOF
67108 if ac_fn_cxx_try_compile "$LINENO"; then :
67109 glibcxx_cv_func__isnan_use=yes
67110 else
67111 glibcxx_cv_func__isnan_use=no
67113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67114 ac_ext=c
67115 ac_cpp='$CPP $CPPFLAGS'
67116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
67125 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
67127 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
67128 for ac_func in _isnan
67129 do :
67130 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
67131 if test "x$ac_cv_func__isnan" = xyes; then :
67132 cat >>confdefs.h <<_ACEOF
67133 #define HAVE__ISNAN 1
67134 _ACEOF
67137 done
67146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
67147 $as_echo_n "checking for finite declaration... " >&6; }
67148 if test x${glibcxx_cv_func_finite_use+set} != xset; then
67149 if ${glibcxx_cv_func_finite_use+:} false; then :
67150 $as_echo_n "(cached) " >&6
67151 else
67154 ac_ext=cpp
67155 ac_cpp='$CXXCPP $CPPFLAGS'
67156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67161 /* end confdefs.h. */
67162 #include <math.h>
67163 #ifdef HAVE_IEEEFP_H
67164 #include <ieeefp.h>
67165 #endif
67168 main ()
67170 finite(0);
67172 return 0;
67174 _ACEOF
67175 if ac_fn_cxx_try_compile "$LINENO"; then :
67176 glibcxx_cv_func_finite_use=yes
67177 else
67178 glibcxx_cv_func_finite_use=no
67180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67181 ac_ext=c
67182 ac_cpp='$CPP $CPPFLAGS'
67183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67192 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67194 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67195 for ac_func in finite
67196 do :
67197 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67198 if test "x$ac_cv_func_finite" = xyes; then :
67199 cat >>confdefs.h <<_ACEOF
67200 #define HAVE_FINITE 1
67201 _ACEOF
67204 done
67206 else
67208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67209 $as_echo_n "checking for _finite declaration... " >&6; }
67210 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67211 if ${glibcxx_cv_func__finite_use+:} false; then :
67212 $as_echo_n "(cached) " >&6
67213 else
67216 ac_ext=cpp
67217 ac_cpp='$CXXCPP $CPPFLAGS'
67218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67223 /* end confdefs.h. */
67224 #include <math.h>
67225 #ifdef HAVE_IEEEFP_H
67226 #include <ieeefp.h>
67227 #endif
67230 main ()
67232 _finite(0);
67234 return 0;
67236 _ACEOF
67237 if ac_fn_cxx_try_compile "$LINENO"; then :
67238 glibcxx_cv_func__finite_use=yes
67239 else
67240 glibcxx_cv_func__finite_use=no
67242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67243 ac_ext=c
67244 ac_cpp='$CPP $CPPFLAGS'
67245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67254 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67256 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67257 for ac_func in _finite
67258 do :
67259 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67260 if test "x$ac_cv_func__finite" = xyes; then :
67261 cat >>confdefs.h <<_ACEOF
67262 #define HAVE__FINITE 1
67263 _ACEOF
67266 done
67275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67276 $as_echo_n "checking for sincos declaration... " >&6; }
67277 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67278 if ${glibcxx_cv_func_sincos_use+:} false; then :
67279 $as_echo_n "(cached) " >&6
67280 else
67283 ac_ext=cpp
67284 ac_cpp='$CXXCPP $CPPFLAGS'
67285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67290 /* end confdefs.h. */
67291 #include <math.h>
67293 main ()
67295 sincos(0, 0, 0);
67297 return 0;
67299 _ACEOF
67300 if ac_fn_cxx_try_compile "$LINENO"; then :
67301 glibcxx_cv_func_sincos_use=yes
67302 else
67303 glibcxx_cv_func_sincos_use=no
67305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67306 ac_ext=c
67307 ac_cpp='$CPP $CPPFLAGS'
67308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67317 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67319 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67320 for ac_func in sincos
67321 do :
67322 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67323 if test "x$ac_cv_func_sincos" = xyes; then :
67324 cat >>confdefs.h <<_ACEOF
67325 #define HAVE_SINCOS 1
67326 _ACEOF
67329 done
67331 else
67333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67334 $as_echo_n "checking for _sincos declaration... " >&6; }
67335 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67336 if ${glibcxx_cv_func__sincos_use+:} false; then :
67337 $as_echo_n "(cached) " >&6
67338 else
67341 ac_ext=cpp
67342 ac_cpp='$CXXCPP $CPPFLAGS'
67343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67348 /* end confdefs.h. */
67349 #include <math.h>
67351 main ()
67353 _sincos(0, 0, 0);
67355 return 0;
67357 _ACEOF
67358 if ac_fn_cxx_try_compile "$LINENO"; then :
67359 glibcxx_cv_func__sincos_use=yes
67360 else
67361 glibcxx_cv_func__sincos_use=no
67363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67364 ac_ext=c
67365 ac_cpp='$CPP $CPPFLAGS'
67366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67375 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67377 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67378 for ac_func in _sincos
67379 do :
67380 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67381 if test "x$ac_cv_func__sincos" = xyes; then :
67382 cat >>confdefs.h <<_ACEOF
67383 #define HAVE__SINCOS 1
67384 _ACEOF
67387 done
67396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67397 $as_echo_n "checking for fpclass declaration... " >&6; }
67398 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67399 if ${glibcxx_cv_func_fpclass_use+:} false; then :
67400 $as_echo_n "(cached) " >&6
67401 else
67404 ac_ext=cpp
67405 ac_cpp='$CXXCPP $CPPFLAGS'
67406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67411 /* end confdefs.h. */
67412 #include <math.h>
67413 #ifdef HAVE_IEEEFP_H
67414 #include <ieeefp.h>
67415 #endif
67418 main ()
67420 fpclass(0);
67422 return 0;
67424 _ACEOF
67425 if ac_fn_cxx_try_compile "$LINENO"; then :
67426 glibcxx_cv_func_fpclass_use=yes
67427 else
67428 glibcxx_cv_func_fpclass_use=no
67430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67431 ac_ext=c
67432 ac_cpp='$CPP $CPPFLAGS'
67433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67442 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67444 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67445 for ac_func in fpclass
67446 do :
67447 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67448 if test "x$ac_cv_func_fpclass" = xyes; then :
67449 cat >>confdefs.h <<_ACEOF
67450 #define HAVE_FPCLASS 1
67451 _ACEOF
67454 done
67456 else
67458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67459 $as_echo_n "checking for _fpclass declaration... " >&6; }
67460 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67461 if ${glibcxx_cv_func__fpclass_use+:} false; then :
67462 $as_echo_n "(cached) " >&6
67463 else
67466 ac_ext=cpp
67467 ac_cpp='$CXXCPP $CPPFLAGS'
67468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67473 /* end confdefs.h. */
67474 #include <math.h>
67475 #ifdef HAVE_IEEEFP_H
67476 #include <ieeefp.h>
67477 #endif
67480 main ()
67482 _fpclass(0);
67484 return 0;
67486 _ACEOF
67487 if ac_fn_cxx_try_compile "$LINENO"; then :
67488 glibcxx_cv_func__fpclass_use=yes
67489 else
67490 glibcxx_cv_func__fpclass_use=no
67492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67493 ac_ext=c
67494 ac_cpp='$CPP $CPPFLAGS'
67495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67504 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67506 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67507 for ac_func in _fpclass
67508 do :
67509 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67510 if test "x$ac_cv_func__fpclass" = xyes; then :
67511 cat >>confdefs.h <<_ACEOF
67512 #define HAVE__FPCLASS 1
67513 _ACEOF
67516 done
67525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67526 $as_echo_n "checking for qfpclass declaration... " >&6; }
67527 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67528 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
67529 $as_echo_n "(cached) " >&6
67530 else
67533 ac_ext=cpp
67534 ac_cpp='$CXXCPP $CPPFLAGS'
67535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67540 /* end confdefs.h. */
67541 #include <math.h>
67542 #ifdef HAVE_IEEEFP_H
67543 #include <ieeefp.h>
67544 #endif
67547 main ()
67549 qfpclass(0);
67551 return 0;
67553 _ACEOF
67554 if ac_fn_cxx_try_compile "$LINENO"; then :
67555 glibcxx_cv_func_qfpclass_use=yes
67556 else
67557 glibcxx_cv_func_qfpclass_use=no
67559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67560 ac_ext=c
67561 ac_cpp='$CPP $CPPFLAGS'
67562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67571 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67573 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67574 for ac_func in qfpclass
67575 do :
67576 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67577 if test "x$ac_cv_func_qfpclass" = xyes; then :
67578 cat >>confdefs.h <<_ACEOF
67579 #define HAVE_QFPCLASS 1
67580 _ACEOF
67583 done
67585 else
67587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67588 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67589 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67590 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
67591 $as_echo_n "(cached) " >&6
67592 else
67595 ac_ext=cpp
67596 ac_cpp='$CXXCPP $CPPFLAGS'
67597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67602 /* end confdefs.h. */
67603 #include <math.h>
67604 #ifdef HAVE_IEEEFP_H
67605 #include <ieeefp.h>
67606 #endif
67609 main ()
67611 _qfpclass(0);
67613 return 0;
67615 _ACEOF
67616 if ac_fn_cxx_try_compile "$LINENO"; then :
67617 glibcxx_cv_func__qfpclass_use=yes
67618 else
67619 glibcxx_cv_func__qfpclass_use=no
67621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67622 ac_ext=c
67623 ac_cpp='$CPP $CPPFLAGS'
67624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67633 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67635 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67636 for ac_func in _qfpclass
67637 do :
67638 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67639 if test "x$ac_cv_func__qfpclass" = xyes; then :
67640 cat >>confdefs.h <<_ACEOF
67641 #define HAVE__QFPCLASS 1
67642 _ACEOF
67645 done
67654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67655 $as_echo_n "checking for hypot declaration... " >&6; }
67656 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67657 if ${glibcxx_cv_func_hypot_use+:} false; then :
67658 $as_echo_n "(cached) " >&6
67659 else
67662 ac_ext=cpp
67663 ac_cpp='$CXXCPP $CPPFLAGS'
67664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67669 /* end confdefs.h. */
67670 #include <math.h>
67672 main ()
67674 hypot(0, 0);
67676 return 0;
67678 _ACEOF
67679 if ac_fn_cxx_try_compile "$LINENO"; then :
67680 glibcxx_cv_func_hypot_use=yes
67681 else
67682 glibcxx_cv_func_hypot_use=no
67684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67685 ac_ext=c
67686 ac_cpp='$CPP $CPPFLAGS'
67687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67696 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67698 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67699 for ac_func in hypot
67700 do :
67701 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67702 if test "x$ac_cv_func_hypot" = xyes; then :
67703 cat >>confdefs.h <<_ACEOF
67704 #define HAVE_HYPOT 1
67705 _ACEOF
67708 done
67710 else
67712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67713 $as_echo_n "checking for _hypot declaration... " >&6; }
67714 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67715 if ${glibcxx_cv_func__hypot_use+:} false; then :
67716 $as_echo_n "(cached) " >&6
67717 else
67720 ac_ext=cpp
67721 ac_cpp='$CXXCPP $CPPFLAGS'
67722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67727 /* end confdefs.h. */
67728 #include <math.h>
67730 main ()
67732 _hypot(0, 0);
67734 return 0;
67736 _ACEOF
67737 if ac_fn_cxx_try_compile "$LINENO"; then :
67738 glibcxx_cv_func__hypot_use=yes
67739 else
67740 glibcxx_cv_func__hypot_use=no
67742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67743 ac_ext=c
67744 ac_cpp='$CPP $CPPFLAGS'
67745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67754 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67756 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67757 for ac_func in _hypot
67758 do :
67759 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67760 if test "x$ac_cv_func__hypot" = xyes; then :
67761 cat >>confdefs.h <<_ACEOF
67762 #define HAVE__HYPOT 1
67763 _ACEOF
67766 done
67775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67776 $as_echo_n "checking for float trig functions... " >&6; }
67777 if ${glibcxx_cv_func_float_trig_use+:} false; then :
67778 $as_echo_n "(cached) " >&6
67779 else
67782 ac_ext=cpp
67783 ac_cpp='$CXXCPP $CPPFLAGS'
67784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67789 /* end confdefs.h. */
67790 #include <math.h>
67792 main ()
67794 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67796 return 0;
67798 _ACEOF
67799 if ac_fn_cxx_try_compile "$LINENO"; then :
67800 glibcxx_cv_func_float_trig_use=yes
67801 else
67802 glibcxx_cv_func_float_trig_use=no
67804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67805 ac_ext=c
67806 ac_cpp='$CPP $CPPFLAGS'
67807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67814 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67815 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67816 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67817 do :
67818 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67819 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67820 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67821 cat >>confdefs.h <<_ACEOF
67822 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67823 _ACEOF
67826 done
67828 else
67829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67830 $as_echo_n "checking for _float trig functions... " >&6; }
67831 if ${glibcxx_cv_func__float_trig_use+:} false; then :
67832 $as_echo_n "(cached) " >&6
67833 else
67836 ac_ext=cpp
67837 ac_cpp='$CXXCPP $CPPFLAGS'
67838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67843 /* end confdefs.h. */
67844 #include <math.h>
67846 main ()
67848 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67850 return 0;
67852 _ACEOF
67853 if ac_fn_cxx_try_compile "$LINENO"; then :
67854 glibcxx_cv_func__float_trig_use=yes
67855 else
67856 glibcxx_cv_func__float_trig_use=no
67858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67859 ac_ext=c
67860 ac_cpp='$CPP $CPPFLAGS'
67861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67868 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67869 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67870 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67871 do :
67872 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67873 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67874 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67875 cat >>confdefs.h <<_ACEOF
67876 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67877 _ACEOF
67880 done
67889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67890 $as_echo_n "checking for float round functions... " >&6; }
67891 if ${glibcxx_cv_func_float_round_use+:} false; then :
67892 $as_echo_n "(cached) " >&6
67893 else
67896 ac_ext=cpp
67897 ac_cpp='$CXXCPP $CPPFLAGS'
67898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67903 /* end confdefs.h. */
67904 #include <math.h>
67906 main ()
67908 ceilf (0); floorf (0);
67910 return 0;
67912 _ACEOF
67913 if ac_fn_cxx_try_compile "$LINENO"; then :
67914 glibcxx_cv_func_float_round_use=yes
67915 else
67916 glibcxx_cv_func_float_round_use=no
67918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67919 ac_ext=c
67920 ac_cpp='$CPP $CPPFLAGS'
67921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67928 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67929 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67930 for ac_func in ceilf floorf
67931 do :
67932 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67933 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67934 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67935 cat >>confdefs.h <<_ACEOF
67936 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67937 _ACEOF
67940 done
67942 else
67943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67944 $as_echo_n "checking for _float round functions... " >&6; }
67945 if ${glibcxx_cv_func__float_round_use+:} false; then :
67946 $as_echo_n "(cached) " >&6
67947 else
67950 ac_ext=cpp
67951 ac_cpp='$CXXCPP $CPPFLAGS'
67952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67957 /* end confdefs.h. */
67958 #include <math.h>
67960 main ()
67962 _ceilf (0); _floorf (0);
67964 return 0;
67966 _ACEOF
67967 if ac_fn_cxx_try_compile "$LINENO"; then :
67968 glibcxx_cv_func__float_round_use=yes
67969 else
67970 glibcxx_cv_func__float_round_use=no
67972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67973 ac_ext=c
67974 ac_cpp='$CPP $CPPFLAGS'
67975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67982 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67983 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67984 for ac_func in _ceilf _floorf
67985 do :
67986 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67987 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67988 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67989 cat >>confdefs.h <<_ACEOF
67990 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67991 _ACEOF
67994 done
68004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
68005 $as_echo_n "checking for expf declaration... " >&6; }
68006 if test x${glibcxx_cv_func_expf_use+set} != xset; then
68007 if ${glibcxx_cv_func_expf_use+:} false; then :
68008 $as_echo_n "(cached) " >&6
68009 else
68012 ac_ext=cpp
68013 ac_cpp='$CXXCPP $CPPFLAGS'
68014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68019 /* end confdefs.h. */
68020 #include <math.h>
68021 #ifdef HAVE_IEEEFP_H
68022 #include <ieeefp.h>
68023 #endif
68026 main ()
68028 expf(0);
68030 return 0;
68032 _ACEOF
68033 if ac_fn_cxx_try_compile "$LINENO"; then :
68034 glibcxx_cv_func_expf_use=yes
68035 else
68036 glibcxx_cv_func_expf_use=no
68038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68039 ac_ext=c
68040 ac_cpp='$CPP $CPPFLAGS'
68041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
68050 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
68052 if test x$glibcxx_cv_func_expf_use = x"yes"; then
68053 for ac_func in expf
68054 do :
68055 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
68056 if test "x$ac_cv_func_expf" = xyes; then :
68057 cat >>confdefs.h <<_ACEOF
68058 #define HAVE_EXPF 1
68059 _ACEOF
68062 done
68064 else
68066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
68067 $as_echo_n "checking for _expf declaration... " >&6; }
68068 if test x${glibcxx_cv_func__expf_use+set} != xset; then
68069 if ${glibcxx_cv_func__expf_use+:} false; then :
68070 $as_echo_n "(cached) " >&6
68071 else
68074 ac_ext=cpp
68075 ac_cpp='$CXXCPP $CPPFLAGS'
68076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68081 /* end confdefs.h. */
68082 #include <math.h>
68083 #ifdef HAVE_IEEEFP_H
68084 #include <ieeefp.h>
68085 #endif
68088 main ()
68090 _expf(0);
68092 return 0;
68094 _ACEOF
68095 if ac_fn_cxx_try_compile "$LINENO"; then :
68096 glibcxx_cv_func__expf_use=yes
68097 else
68098 glibcxx_cv_func__expf_use=no
68100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68101 ac_ext=c
68102 ac_cpp='$CPP $CPPFLAGS'
68103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
68112 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
68114 if test x$glibcxx_cv_func__expf_use = x"yes"; then
68115 for ac_func in _expf
68116 do :
68117 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
68118 if test "x$ac_cv_func__expf" = xyes; then :
68119 cat >>confdefs.h <<_ACEOF
68120 #define HAVE__EXPF 1
68121 _ACEOF
68124 done
68133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
68134 $as_echo_n "checking for isnanf declaration... " >&6; }
68135 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68136 if ${glibcxx_cv_func_isnanf_use+:} false; then :
68137 $as_echo_n "(cached) " >&6
68138 else
68141 ac_ext=cpp
68142 ac_cpp='$CXXCPP $CPPFLAGS'
68143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68148 /* end confdefs.h. */
68149 #include <math.h>
68150 #ifdef HAVE_IEEEFP_H
68151 #include <ieeefp.h>
68152 #endif
68155 main ()
68157 isnanf(0);
68159 return 0;
68161 _ACEOF
68162 if ac_fn_cxx_try_compile "$LINENO"; then :
68163 glibcxx_cv_func_isnanf_use=yes
68164 else
68165 glibcxx_cv_func_isnanf_use=no
68167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68168 ac_ext=c
68169 ac_cpp='$CPP $CPPFLAGS'
68170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68179 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68181 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68182 for ac_func in isnanf
68183 do :
68184 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68185 if test "x$ac_cv_func_isnanf" = xyes; then :
68186 cat >>confdefs.h <<_ACEOF
68187 #define HAVE_ISNANF 1
68188 _ACEOF
68191 done
68193 else
68195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68196 $as_echo_n "checking for _isnanf declaration... " >&6; }
68197 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68198 if ${glibcxx_cv_func__isnanf_use+:} false; then :
68199 $as_echo_n "(cached) " >&6
68200 else
68203 ac_ext=cpp
68204 ac_cpp='$CXXCPP $CPPFLAGS'
68205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68210 /* end confdefs.h. */
68211 #include <math.h>
68212 #ifdef HAVE_IEEEFP_H
68213 #include <ieeefp.h>
68214 #endif
68217 main ()
68219 _isnanf(0);
68221 return 0;
68223 _ACEOF
68224 if ac_fn_cxx_try_compile "$LINENO"; then :
68225 glibcxx_cv_func__isnanf_use=yes
68226 else
68227 glibcxx_cv_func__isnanf_use=no
68229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68230 ac_ext=c
68231 ac_cpp='$CPP $CPPFLAGS'
68232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68241 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68243 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68244 for ac_func in _isnanf
68245 do :
68246 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68247 if test "x$ac_cv_func__isnanf" = xyes; then :
68248 cat >>confdefs.h <<_ACEOF
68249 #define HAVE__ISNANF 1
68250 _ACEOF
68253 done
68262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68263 $as_echo_n "checking for isinff declaration... " >&6; }
68264 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68265 if ${glibcxx_cv_func_isinff_use+:} false; then :
68266 $as_echo_n "(cached) " >&6
68267 else
68270 ac_ext=cpp
68271 ac_cpp='$CXXCPP $CPPFLAGS'
68272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68277 /* end confdefs.h. */
68278 #include <math.h>
68279 #ifdef HAVE_IEEEFP_H
68280 #include <ieeefp.h>
68281 #endif
68284 main ()
68286 isinff(0);
68288 return 0;
68290 _ACEOF
68291 if ac_fn_cxx_try_compile "$LINENO"; then :
68292 glibcxx_cv_func_isinff_use=yes
68293 else
68294 glibcxx_cv_func_isinff_use=no
68296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68297 ac_ext=c
68298 ac_cpp='$CPP $CPPFLAGS'
68299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68308 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68310 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68311 for ac_func in isinff
68312 do :
68313 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68314 if test "x$ac_cv_func_isinff" = xyes; then :
68315 cat >>confdefs.h <<_ACEOF
68316 #define HAVE_ISINFF 1
68317 _ACEOF
68320 done
68322 else
68324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68325 $as_echo_n "checking for _isinff declaration... " >&6; }
68326 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68327 if ${glibcxx_cv_func__isinff_use+:} false; then :
68328 $as_echo_n "(cached) " >&6
68329 else
68332 ac_ext=cpp
68333 ac_cpp='$CXXCPP $CPPFLAGS'
68334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68339 /* end confdefs.h. */
68340 #include <math.h>
68341 #ifdef HAVE_IEEEFP_H
68342 #include <ieeefp.h>
68343 #endif
68346 main ()
68348 _isinff(0);
68350 return 0;
68352 _ACEOF
68353 if ac_fn_cxx_try_compile "$LINENO"; then :
68354 glibcxx_cv_func__isinff_use=yes
68355 else
68356 glibcxx_cv_func__isinff_use=no
68358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68359 ac_ext=c
68360 ac_cpp='$CPP $CPPFLAGS'
68361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68370 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68372 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68373 for ac_func in _isinff
68374 do :
68375 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68376 if test "x$ac_cv_func__isinff" = xyes; then :
68377 cat >>confdefs.h <<_ACEOF
68378 #define HAVE__ISINFF 1
68379 _ACEOF
68382 done
68391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68392 $as_echo_n "checking for atan2f declaration... " >&6; }
68393 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68394 if ${glibcxx_cv_func_atan2f_use+:} false; then :
68395 $as_echo_n "(cached) " >&6
68396 else
68399 ac_ext=cpp
68400 ac_cpp='$CXXCPP $CPPFLAGS'
68401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68406 /* end confdefs.h. */
68407 #include <math.h>
68409 main ()
68411 atan2f(0, 0);
68413 return 0;
68415 _ACEOF
68416 if ac_fn_cxx_try_compile "$LINENO"; then :
68417 glibcxx_cv_func_atan2f_use=yes
68418 else
68419 glibcxx_cv_func_atan2f_use=no
68421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68422 ac_ext=c
68423 ac_cpp='$CPP $CPPFLAGS'
68424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68433 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68435 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68436 for ac_func in atan2f
68437 do :
68438 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68439 if test "x$ac_cv_func_atan2f" = xyes; then :
68440 cat >>confdefs.h <<_ACEOF
68441 #define HAVE_ATAN2F 1
68442 _ACEOF
68445 done
68447 else
68449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68450 $as_echo_n "checking for _atan2f declaration... " >&6; }
68451 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68452 if ${glibcxx_cv_func__atan2f_use+:} false; then :
68453 $as_echo_n "(cached) " >&6
68454 else
68457 ac_ext=cpp
68458 ac_cpp='$CXXCPP $CPPFLAGS'
68459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68464 /* end confdefs.h. */
68465 #include <math.h>
68467 main ()
68469 _atan2f(0, 0);
68471 return 0;
68473 _ACEOF
68474 if ac_fn_cxx_try_compile "$LINENO"; then :
68475 glibcxx_cv_func__atan2f_use=yes
68476 else
68477 glibcxx_cv_func__atan2f_use=no
68479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68480 ac_ext=c
68481 ac_cpp='$CPP $CPPFLAGS'
68482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68491 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68493 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68494 for ac_func in _atan2f
68495 do :
68496 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68497 if test "x$ac_cv_func__atan2f" = xyes; then :
68498 cat >>confdefs.h <<_ACEOF
68499 #define HAVE__ATAN2F 1
68500 _ACEOF
68503 done
68512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68513 $as_echo_n "checking for fabsf declaration... " >&6; }
68514 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68515 if ${glibcxx_cv_func_fabsf_use+:} false; then :
68516 $as_echo_n "(cached) " >&6
68517 else
68520 ac_ext=cpp
68521 ac_cpp='$CXXCPP $CPPFLAGS'
68522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68527 /* end confdefs.h. */
68528 #include <math.h>
68529 #ifdef HAVE_IEEEFP_H
68530 #include <ieeefp.h>
68531 #endif
68534 main ()
68536 fabsf(0);
68538 return 0;
68540 _ACEOF
68541 if ac_fn_cxx_try_compile "$LINENO"; then :
68542 glibcxx_cv_func_fabsf_use=yes
68543 else
68544 glibcxx_cv_func_fabsf_use=no
68546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68547 ac_ext=c
68548 ac_cpp='$CPP $CPPFLAGS'
68549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68558 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68560 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68561 for ac_func in fabsf
68562 do :
68563 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68564 if test "x$ac_cv_func_fabsf" = xyes; then :
68565 cat >>confdefs.h <<_ACEOF
68566 #define HAVE_FABSF 1
68567 _ACEOF
68570 done
68572 else
68574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68575 $as_echo_n "checking for _fabsf declaration... " >&6; }
68576 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68577 if ${glibcxx_cv_func__fabsf_use+:} false; then :
68578 $as_echo_n "(cached) " >&6
68579 else
68582 ac_ext=cpp
68583 ac_cpp='$CXXCPP $CPPFLAGS'
68584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68589 /* end confdefs.h. */
68590 #include <math.h>
68591 #ifdef HAVE_IEEEFP_H
68592 #include <ieeefp.h>
68593 #endif
68596 main ()
68598 _fabsf(0);
68600 return 0;
68602 _ACEOF
68603 if ac_fn_cxx_try_compile "$LINENO"; then :
68604 glibcxx_cv_func__fabsf_use=yes
68605 else
68606 glibcxx_cv_func__fabsf_use=no
68608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68609 ac_ext=c
68610 ac_cpp='$CPP $CPPFLAGS'
68611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68620 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68622 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68623 for ac_func in _fabsf
68624 do :
68625 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68626 if test "x$ac_cv_func__fabsf" = xyes; then :
68627 cat >>confdefs.h <<_ACEOF
68628 #define HAVE__FABSF 1
68629 _ACEOF
68632 done
68641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68642 $as_echo_n "checking for fmodf declaration... " >&6; }
68643 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68644 if ${glibcxx_cv_func_fmodf_use+:} false; then :
68645 $as_echo_n "(cached) " >&6
68646 else
68649 ac_ext=cpp
68650 ac_cpp='$CXXCPP $CPPFLAGS'
68651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68656 /* end confdefs.h. */
68657 #include <math.h>
68659 main ()
68661 fmodf(0, 0);
68663 return 0;
68665 _ACEOF
68666 if ac_fn_cxx_try_compile "$LINENO"; then :
68667 glibcxx_cv_func_fmodf_use=yes
68668 else
68669 glibcxx_cv_func_fmodf_use=no
68671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68672 ac_ext=c
68673 ac_cpp='$CPP $CPPFLAGS'
68674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68683 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68685 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68686 for ac_func in fmodf
68687 do :
68688 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68689 if test "x$ac_cv_func_fmodf" = xyes; then :
68690 cat >>confdefs.h <<_ACEOF
68691 #define HAVE_FMODF 1
68692 _ACEOF
68695 done
68697 else
68699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68700 $as_echo_n "checking for _fmodf declaration... " >&6; }
68701 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68702 if ${glibcxx_cv_func__fmodf_use+:} false; then :
68703 $as_echo_n "(cached) " >&6
68704 else
68707 ac_ext=cpp
68708 ac_cpp='$CXXCPP $CPPFLAGS'
68709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68714 /* end confdefs.h. */
68715 #include <math.h>
68717 main ()
68719 _fmodf(0, 0);
68721 return 0;
68723 _ACEOF
68724 if ac_fn_cxx_try_compile "$LINENO"; then :
68725 glibcxx_cv_func__fmodf_use=yes
68726 else
68727 glibcxx_cv_func__fmodf_use=no
68729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68730 ac_ext=c
68731 ac_cpp='$CPP $CPPFLAGS'
68732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68741 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68743 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68744 for ac_func in _fmodf
68745 do :
68746 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68747 if test "x$ac_cv_func__fmodf" = xyes; then :
68748 cat >>confdefs.h <<_ACEOF
68749 #define HAVE__FMODF 1
68750 _ACEOF
68753 done
68762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68763 $as_echo_n "checking for frexpf declaration... " >&6; }
68764 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68765 if ${glibcxx_cv_func_frexpf_use+:} false; then :
68766 $as_echo_n "(cached) " >&6
68767 else
68770 ac_ext=cpp
68771 ac_cpp='$CXXCPP $CPPFLAGS'
68772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68777 /* end confdefs.h. */
68778 #include <math.h>
68780 main ()
68782 frexpf(0, 0);
68784 return 0;
68786 _ACEOF
68787 if ac_fn_cxx_try_compile "$LINENO"; then :
68788 glibcxx_cv_func_frexpf_use=yes
68789 else
68790 glibcxx_cv_func_frexpf_use=no
68792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68793 ac_ext=c
68794 ac_cpp='$CPP $CPPFLAGS'
68795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68804 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68806 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68807 for ac_func in frexpf
68808 do :
68809 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68810 if test "x$ac_cv_func_frexpf" = xyes; then :
68811 cat >>confdefs.h <<_ACEOF
68812 #define HAVE_FREXPF 1
68813 _ACEOF
68816 done
68818 else
68820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68821 $as_echo_n "checking for _frexpf declaration... " >&6; }
68822 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68823 if ${glibcxx_cv_func__frexpf_use+:} false; then :
68824 $as_echo_n "(cached) " >&6
68825 else
68828 ac_ext=cpp
68829 ac_cpp='$CXXCPP $CPPFLAGS'
68830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68835 /* end confdefs.h. */
68836 #include <math.h>
68838 main ()
68840 _frexpf(0, 0);
68842 return 0;
68844 _ACEOF
68845 if ac_fn_cxx_try_compile "$LINENO"; then :
68846 glibcxx_cv_func__frexpf_use=yes
68847 else
68848 glibcxx_cv_func__frexpf_use=no
68850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68851 ac_ext=c
68852 ac_cpp='$CPP $CPPFLAGS'
68853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68862 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68864 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68865 for ac_func in _frexpf
68866 do :
68867 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68868 if test "x$ac_cv_func__frexpf" = xyes; then :
68869 cat >>confdefs.h <<_ACEOF
68870 #define HAVE__FREXPF 1
68871 _ACEOF
68874 done
68883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68884 $as_echo_n "checking for hypotf declaration... " >&6; }
68885 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68886 if ${glibcxx_cv_func_hypotf_use+:} false; then :
68887 $as_echo_n "(cached) " >&6
68888 else
68891 ac_ext=cpp
68892 ac_cpp='$CXXCPP $CPPFLAGS'
68893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68898 /* end confdefs.h. */
68899 #include <math.h>
68901 main ()
68903 hypotf(0, 0);
68905 return 0;
68907 _ACEOF
68908 if ac_fn_cxx_try_compile "$LINENO"; then :
68909 glibcxx_cv_func_hypotf_use=yes
68910 else
68911 glibcxx_cv_func_hypotf_use=no
68913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68914 ac_ext=c
68915 ac_cpp='$CPP $CPPFLAGS'
68916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68925 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68927 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68928 for ac_func in hypotf
68929 do :
68930 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68931 if test "x$ac_cv_func_hypotf" = xyes; then :
68932 cat >>confdefs.h <<_ACEOF
68933 #define HAVE_HYPOTF 1
68934 _ACEOF
68937 done
68939 else
68941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68942 $as_echo_n "checking for _hypotf declaration... " >&6; }
68943 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68944 if ${glibcxx_cv_func__hypotf_use+:} false; then :
68945 $as_echo_n "(cached) " >&6
68946 else
68949 ac_ext=cpp
68950 ac_cpp='$CXXCPP $CPPFLAGS'
68951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68956 /* end confdefs.h. */
68957 #include <math.h>
68959 main ()
68961 _hypotf(0, 0);
68963 return 0;
68965 _ACEOF
68966 if ac_fn_cxx_try_compile "$LINENO"; then :
68967 glibcxx_cv_func__hypotf_use=yes
68968 else
68969 glibcxx_cv_func__hypotf_use=no
68971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68972 ac_ext=c
68973 ac_cpp='$CPP $CPPFLAGS'
68974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68983 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68985 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68986 for ac_func in _hypotf
68987 do :
68988 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68989 if test "x$ac_cv_func__hypotf" = xyes; then :
68990 cat >>confdefs.h <<_ACEOF
68991 #define HAVE__HYPOTF 1
68992 _ACEOF
68995 done
69004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
69005 $as_echo_n "checking for ldexpf declaration... " >&6; }
69006 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
69007 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
69008 $as_echo_n "(cached) " >&6
69009 else
69012 ac_ext=cpp
69013 ac_cpp='$CXXCPP $CPPFLAGS'
69014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69019 /* end confdefs.h. */
69020 #include <math.h>
69022 main ()
69024 ldexpf(0, 0);
69026 return 0;
69028 _ACEOF
69029 if ac_fn_cxx_try_compile "$LINENO"; then :
69030 glibcxx_cv_func_ldexpf_use=yes
69031 else
69032 glibcxx_cv_func_ldexpf_use=no
69034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69035 ac_ext=c
69036 ac_cpp='$CPP $CPPFLAGS'
69037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
69046 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
69048 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
69049 for ac_func in ldexpf
69050 do :
69051 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
69052 if test "x$ac_cv_func_ldexpf" = xyes; then :
69053 cat >>confdefs.h <<_ACEOF
69054 #define HAVE_LDEXPF 1
69055 _ACEOF
69058 done
69060 else
69062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
69063 $as_echo_n "checking for _ldexpf declaration... " >&6; }
69064 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
69065 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
69066 $as_echo_n "(cached) " >&6
69067 else
69070 ac_ext=cpp
69071 ac_cpp='$CXXCPP $CPPFLAGS'
69072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69077 /* end confdefs.h. */
69078 #include <math.h>
69080 main ()
69082 _ldexpf(0, 0);
69084 return 0;
69086 _ACEOF
69087 if ac_fn_cxx_try_compile "$LINENO"; then :
69088 glibcxx_cv_func__ldexpf_use=yes
69089 else
69090 glibcxx_cv_func__ldexpf_use=no
69092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69093 ac_ext=c
69094 ac_cpp='$CPP $CPPFLAGS'
69095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
69104 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
69106 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
69107 for ac_func in _ldexpf
69108 do :
69109 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
69110 if test "x$ac_cv_func__ldexpf" = xyes; then :
69111 cat >>confdefs.h <<_ACEOF
69112 #define HAVE__LDEXPF 1
69113 _ACEOF
69116 done
69125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
69126 $as_echo_n "checking for logf declaration... " >&6; }
69127 if test x${glibcxx_cv_func_logf_use+set} != xset; then
69128 if ${glibcxx_cv_func_logf_use+:} false; then :
69129 $as_echo_n "(cached) " >&6
69130 else
69133 ac_ext=cpp
69134 ac_cpp='$CXXCPP $CPPFLAGS'
69135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69140 /* end confdefs.h. */
69141 #include <math.h>
69142 #ifdef HAVE_IEEEFP_H
69143 #include <ieeefp.h>
69144 #endif
69147 main ()
69149 logf(0);
69151 return 0;
69153 _ACEOF
69154 if ac_fn_cxx_try_compile "$LINENO"; then :
69155 glibcxx_cv_func_logf_use=yes
69156 else
69157 glibcxx_cv_func_logf_use=no
69159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69160 ac_ext=c
69161 ac_cpp='$CPP $CPPFLAGS'
69162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69171 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
69173 if test x$glibcxx_cv_func_logf_use = x"yes"; then
69174 for ac_func in logf
69175 do :
69176 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69177 if test "x$ac_cv_func_logf" = xyes; then :
69178 cat >>confdefs.h <<_ACEOF
69179 #define HAVE_LOGF 1
69180 _ACEOF
69183 done
69185 else
69187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69188 $as_echo_n "checking for _logf declaration... " >&6; }
69189 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69190 if ${glibcxx_cv_func__logf_use+:} false; then :
69191 $as_echo_n "(cached) " >&6
69192 else
69195 ac_ext=cpp
69196 ac_cpp='$CXXCPP $CPPFLAGS'
69197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69202 /* end confdefs.h. */
69203 #include <math.h>
69204 #ifdef HAVE_IEEEFP_H
69205 #include <ieeefp.h>
69206 #endif
69209 main ()
69211 _logf(0);
69213 return 0;
69215 _ACEOF
69216 if ac_fn_cxx_try_compile "$LINENO"; then :
69217 glibcxx_cv_func__logf_use=yes
69218 else
69219 glibcxx_cv_func__logf_use=no
69221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69222 ac_ext=c
69223 ac_cpp='$CPP $CPPFLAGS'
69224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69233 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69235 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69236 for ac_func in _logf
69237 do :
69238 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69239 if test "x$ac_cv_func__logf" = xyes; then :
69240 cat >>confdefs.h <<_ACEOF
69241 #define HAVE__LOGF 1
69242 _ACEOF
69245 done
69254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69255 $as_echo_n "checking for log10f declaration... " >&6; }
69256 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69257 if ${glibcxx_cv_func_log10f_use+:} false; then :
69258 $as_echo_n "(cached) " >&6
69259 else
69262 ac_ext=cpp
69263 ac_cpp='$CXXCPP $CPPFLAGS'
69264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69269 /* end confdefs.h. */
69270 #include <math.h>
69271 #ifdef HAVE_IEEEFP_H
69272 #include <ieeefp.h>
69273 #endif
69276 main ()
69278 log10f(0);
69280 return 0;
69282 _ACEOF
69283 if ac_fn_cxx_try_compile "$LINENO"; then :
69284 glibcxx_cv_func_log10f_use=yes
69285 else
69286 glibcxx_cv_func_log10f_use=no
69288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69289 ac_ext=c
69290 ac_cpp='$CPP $CPPFLAGS'
69291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69300 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69302 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69303 for ac_func in log10f
69304 do :
69305 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69306 if test "x$ac_cv_func_log10f" = xyes; then :
69307 cat >>confdefs.h <<_ACEOF
69308 #define HAVE_LOG10F 1
69309 _ACEOF
69312 done
69314 else
69316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69317 $as_echo_n "checking for _log10f declaration... " >&6; }
69318 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69319 if ${glibcxx_cv_func__log10f_use+:} false; then :
69320 $as_echo_n "(cached) " >&6
69321 else
69324 ac_ext=cpp
69325 ac_cpp='$CXXCPP $CPPFLAGS'
69326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69331 /* end confdefs.h. */
69332 #include <math.h>
69333 #ifdef HAVE_IEEEFP_H
69334 #include <ieeefp.h>
69335 #endif
69338 main ()
69340 _log10f(0);
69342 return 0;
69344 _ACEOF
69345 if ac_fn_cxx_try_compile "$LINENO"; then :
69346 glibcxx_cv_func__log10f_use=yes
69347 else
69348 glibcxx_cv_func__log10f_use=no
69350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69351 ac_ext=c
69352 ac_cpp='$CPP $CPPFLAGS'
69353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69362 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69364 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69365 for ac_func in _log10f
69366 do :
69367 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69368 if test "x$ac_cv_func__log10f" = xyes; then :
69369 cat >>confdefs.h <<_ACEOF
69370 #define HAVE__LOG10F 1
69371 _ACEOF
69374 done
69383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69384 $as_echo_n "checking for modff declaration... " >&6; }
69385 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69386 if ${glibcxx_cv_func_modff_use+:} false; then :
69387 $as_echo_n "(cached) " >&6
69388 else
69391 ac_ext=cpp
69392 ac_cpp='$CXXCPP $CPPFLAGS'
69393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69398 /* end confdefs.h. */
69399 #include <math.h>
69401 main ()
69403 modff(0, 0);
69405 return 0;
69407 _ACEOF
69408 if ac_fn_cxx_try_compile "$LINENO"; then :
69409 glibcxx_cv_func_modff_use=yes
69410 else
69411 glibcxx_cv_func_modff_use=no
69413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69414 ac_ext=c
69415 ac_cpp='$CPP $CPPFLAGS'
69416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69425 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69427 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69428 for ac_func in modff
69429 do :
69430 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69431 if test "x$ac_cv_func_modff" = xyes; then :
69432 cat >>confdefs.h <<_ACEOF
69433 #define HAVE_MODFF 1
69434 _ACEOF
69437 done
69439 else
69441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69442 $as_echo_n "checking for _modff declaration... " >&6; }
69443 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69444 if ${glibcxx_cv_func__modff_use+:} false; then :
69445 $as_echo_n "(cached) " >&6
69446 else
69449 ac_ext=cpp
69450 ac_cpp='$CXXCPP $CPPFLAGS'
69451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69456 /* end confdefs.h. */
69457 #include <math.h>
69459 main ()
69461 _modff(0, 0);
69463 return 0;
69465 _ACEOF
69466 if ac_fn_cxx_try_compile "$LINENO"; then :
69467 glibcxx_cv_func__modff_use=yes
69468 else
69469 glibcxx_cv_func__modff_use=no
69471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69472 ac_ext=c
69473 ac_cpp='$CPP $CPPFLAGS'
69474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69483 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69485 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69486 for ac_func in _modff
69487 do :
69488 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69489 if test "x$ac_cv_func__modff" = xyes; then :
69490 cat >>confdefs.h <<_ACEOF
69491 #define HAVE__MODFF 1
69492 _ACEOF
69495 done
69504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69505 $as_echo_n "checking for modf declaration... " >&6; }
69506 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69507 if ${glibcxx_cv_func_modf_use+:} false; then :
69508 $as_echo_n "(cached) " >&6
69509 else
69512 ac_ext=cpp
69513 ac_cpp='$CXXCPP $CPPFLAGS'
69514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69519 /* end confdefs.h. */
69520 #include <math.h>
69522 main ()
69524 modf(0, 0);
69526 return 0;
69528 _ACEOF
69529 if ac_fn_cxx_try_compile "$LINENO"; then :
69530 glibcxx_cv_func_modf_use=yes
69531 else
69532 glibcxx_cv_func_modf_use=no
69534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69535 ac_ext=c
69536 ac_cpp='$CPP $CPPFLAGS'
69537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69546 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69548 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69549 for ac_func in modf
69550 do :
69551 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69552 if test "x$ac_cv_func_modf" = xyes; then :
69553 cat >>confdefs.h <<_ACEOF
69554 #define HAVE_MODF 1
69555 _ACEOF
69558 done
69560 else
69562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69563 $as_echo_n "checking for _modf declaration... " >&6; }
69564 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69565 if ${glibcxx_cv_func__modf_use+:} false; then :
69566 $as_echo_n "(cached) " >&6
69567 else
69570 ac_ext=cpp
69571 ac_cpp='$CXXCPP $CPPFLAGS'
69572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69577 /* end confdefs.h. */
69578 #include <math.h>
69580 main ()
69582 _modf(0, 0);
69584 return 0;
69586 _ACEOF
69587 if ac_fn_cxx_try_compile "$LINENO"; then :
69588 glibcxx_cv_func__modf_use=yes
69589 else
69590 glibcxx_cv_func__modf_use=no
69592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69593 ac_ext=c
69594 ac_cpp='$CPP $CPPFLAGS'
69595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69604 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69606 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69607 for ac_func in _modf
69608 do :
69609 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69610 if test "x$ac_cv_func__modf" = xyes; then :
69611 cat >>confdefs.h <<_ACEOF
69612 #define HAVE__MODF 1
69613 _ACEOF
69616 done
69625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69626 $as_echo_n "checking for powf declaration... " >&6; }
69627 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69628 if ${glibcxx_cv_func_powf_use+:} false; then :
69629 $as_echo_n "(cached) " >&6
69630 else
69633 ac_ext=cpp
69634 ac_cpp='$CXXCPP $CPPFLAGS'
69635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69640 /* end confdefs.h. */
69641 #include <math.h>
69643 main ()
69645 powf(0, 0);
69647 return 0;
69649 _ACEOF
69650 if ac_fn_cxx_try_compile "$LINENO"; then :
69651 glibcxx_cv_func_powf_use=yes
69652 else
69653 glibcxx_cv_func_powf_use=no
69655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69656 ac_ext=c
69657 ac_cpp='$CPP $CPPFLAGS'
69658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69667 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69669 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69670 for ac_func in powf
69671 do :
69672 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69673 if test "x$ac_cv_func_powf" = xyes; then :
69674 cat >>confdefs.h <<_ACEOF
69675 #define HAVE_POWF 1
69676 _ACEOF
69679 done
69681 else
69683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69684 $as_echo_n "checking for _powf declaration... " >&6; }
69685 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69686 if ${glibcxx_cv_func__powf_use+:} false; then :
69687 $as_echo_n "(cached) " >&6
69688 else
69691 ac_ext=cpp
69692 ac_cpp='$CXXCPP $CPPFLAGS'
69693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69698 /* end confdefs.h. */
69699 #include <math.h>
69701 main ()
69703 _powf(0, 0);
69705 return 0;
69707 _ACEOF
69708 if ac_fn_cxx_try_compile "$LINENO"; then :
69709 glibcxx_cv_func__powf_use=yes
69710 else
69711 glibcxx_cv_func__powf_use=no
69713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69714 ac_ext=c
69715 ac_cpp='$CPP $CPPFLAGS'
69716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69725 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69727 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69728 for ac_func in _powf
69729 do :
69730 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69731 if test "x$ac_cv_func__powf" = xyes; then :
69732 cat >>confdefs.h <<_ACEOF
69733 #define HAVE__POWF 1
69734 _ACEOF
69737 done
69746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69747 $as_echo_n "checking for sqrtf declaration... " >&6; }
69748 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69749 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
69750 $as_echo_n "(cached) " >&6
69751 else
69754 ac_ext=cpp
69755 ac_cpp='$CXXCPP $CPPFLAGS'
69756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69761 /* end confdefs.h. */
69762 #include <math.h>
69763 #ifdef HAVE_IEEEFP_H
69764 #include <ieeefp.h>
69765 #endif
69768 main ()
69770 sqrtf(0);
69772 return 0;
69774 _ACEOF
69775 if ac_fn_cxx_try_compile "$LINENO"; then :
69776 glibcxx_cv_func_sqrtf_use=yes
69777 else
69778 glibcxx_cv_func_sqrtf_use=no
69780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69781 ac_ext=c
69782 ac_cpp='$CPP $CPPFLAGS'
69783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69792 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69794 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69795 for ac_func in sqrtf
69796 do :
69797 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69798 if test "x$ac_cv_func_sqrtf" = xyes; then :
69799 cat >>confdefs.h <<_ACEOF
69800 #define HAVE_SQRTF 1
69801 _ACEOF
69804 done
69806 else
69808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69809 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69810 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69811 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
69812 $as_echo_n "(cached) " >&6
69813 else
69816 ac_ext=cpp
69817 ac_cpp='$CXXCPP $CPPFLAGS'
69818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69823 /* end confdefs.h. */
69824 #include <math.h>
69825 #ifdef HAVE_IEEEFP_H
69826 #include <ieeefp.h>
69827 #endif
69830 main ()
69832 _sqrtf(0);
69834 return 0;
69836 _ACEOF
69837 if ac_fn_cxx_try_compile "$LINENO"; then :
69838 glibcxx_cv_func__sqrtf_use=yes
69839 else
69840 glibcxx_cv_func__sqrtf_use=no
69842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69843 ac_ext=c
69844 ac_cpp='$CPP $CPPFLAGS'
69845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69854 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69856 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69857 for ac_func in _sqrtf
69858 do :
69859 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69860 if test "x$ac_cv_func__sqrtf" = xyes; then :
69861 cat >>confdefs.h <<_ACEOF
69862 #define HAVE__SQRTF 1
69863 _ACEOF
69866 done
69875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69876 $as_echo_n "checking for sincosf declaration... " >&6; }
69877 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69878 if ${glibcxx_cv_func_sincosf_use+:} false; then :
69879 $as_echo_n "(cached) " >&6
69880 else
69883 ac_ext=cpp
69884 ac_cpp='$CXXCPP $CPPFLAGS'
69885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69890 /* end confdefs.h. */
69891 #include <math.h>
69893 main ()
69895 sincosf(0, 0, 0);
69897 return 0;
69899 _ACEOF
69900 if ac_fn_cxx_try_compile "$LINENO"; then :
69901 glibcxx_cv_func_sincosf_use=yes
69902 else
69903 glibcxx_cv_func_sincosf_use=no
69905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69906 ac_ext=c
69907 ac_cpp='$CPP $CPPFLAGS'
69908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69917 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69919 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69920 for ac_func in sincosf
69921 do :
69922 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69923 if test "x$ac_cv_func_sincosf" = xyes; then :
69924 cat >>confdefs.h <<_ACEOF
69925 #define HAVE_SINCOSF 1
69926 _ACEOF
69929 done
69931 else
69933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69934 $as_echo_n "checking for _sincosf declaration... " >&6; }
69935 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69936 if ${glibcxx_cv_func__sincosf_use+:} false; then :
69937 $as_echo_n "(cached) " >&6
69938 else
69941 ac_ext=cpp
69942 ac_cpp='$CXXCPP $CPPFLAGS'
69943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69948 /* end confdefs.h. */
69949 #include <math.h>
69951 main ()
69953 _sincosf(0, 0, 0);
69955 return 0;
69957 _ACEOF
69958 if ac_fn_cxx_try_compile "$LINENO"; then :
69959 glibcxx_cv_func__sincosf_use=yes
69960 else
69961 glibcxx_cv_func__sincosf_use=no
69963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69964 ac_ext=c
69965 ac_cpp='$CPP $CPPFLAGS'
69966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69975 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69977 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69978 for ac_func in _sincosf
69979 do :
69980 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69981 if test "x$ac_cv_func__sincosf" = xyes; then :
69982 cat >>confdefs.h <<_ACEOF
69983 #define HAVE__SINCOSF 1
69984 _ACEOF
69987 done
69996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69997 $as_echo_n "checking for finitef declaration... " >&6; }
69998 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69999 if ${glibcxx_cv_func_finitef_use+:} false; then :
70000 $as_echo_n "(cached) " >&6
70001 else
70004 ac_ext=cpp
70005 ac_cpp='$CXXCPP $CPPFLAGS'
70006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70011 /* end confdefs.h. */
70012 #include <math.h>
70013 #ifdef HAVE_IEEEFP_H
70014 #include <ieeefp.h>
70015 #endif
70018 main ()
70020 finitef(0);
70022 return 0;
70024 _ACEOF
70025 if ac_fn_cxx_try_compile "$LINENO"; then :
70026 glibcxx_cv_func_finitef_use=yes
70027 else
70028 glibcxx_cv_func_finitef_use=no
70030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70031 ac_ext=c
70032 ac_cpp='$CPP $CPPFLAGS'
70033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
70042 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
70044 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
70045 for ac_func in finitef
70046 do :
70047 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
70048 if test "x$ac_cv_func_finitef" = xyes; then :
70049 cat >>confdefs.h <<_ACEOF
70050 #define HAVE_FINITEF 1
70051 _ACEOF
70054 done
70056 else
70058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
70059 $as_echo_n "checking for _finitef declaration... " >&6; }
70060 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
70061 if ${glibcxx_cv_func__finitef_use+:} false; then :
70062 $as_echo_n "(cached) " >&6
70063 else
70066 ac_ext=cpp
70067 ac_cpp='$CXXCPP $CPPFLAGS'
70068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70073 /* end confdefs.h. */
70074 #include <math.h>
70075 #ifdef HAVE_IEEEFP_H
70076 #include <ieeefp.h>
70077 #endif
70080 main ()
70082 _finitef(0);
70084 return 0;
70086 _ACEOF
70087 if ac_fn_cxx_try_compile "$LINENO"; then :
70088 glibcxx_cv_func__finitef_use=yes
70089 else
70090 glibcxx_cv_func__finitef_use=no
70092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70093 ac_ext=c
70094 ac_cpp='$CPP $CPPFLAGS'
70095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
70104 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
70106 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
70107 for ac_func in _finitef
70108 do :
70109 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
70110 if test "x$ac_cv_func__finitef" = xyes; then :
70111 cat >>confdefs.h <<_ACEOF
70112 #define HAVE__FINITEF 1
70113 _ACEOF
70116 done
70125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
70126 $as_echo_n "checking for long double trig functions... " >&6; }
70127 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
70128 $as_echo_n "(cached) " >&6
70129 else
70132 ac_ext=cpp
70133 ac_cpp='$CXXCPP $CPPFLAGS'
70134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70139 /* end confdefs.h. */
70140 #include <math.h>
70142 main ()
70144 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
70146 return 0;
70148 _ACEOF
70149 if ac_fn_cxx_try_compile "$LINENO"; then :
70150 glibcxx_cv_func_long_double_trig_use=yes
70151 else
70152 glibcxx_cv_func_long_double_trig_use=no
70154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70155 ac_ext=c
70156 ac_cpp='$CPP $CPPFLAGS'
70157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70164 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70165 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70166 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70167 do :
70168 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70169 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70170 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70171 cat >>confdefs.h <<_ACEOF
70172 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70173 _ACEOF
70176 done
70178 else
70179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70180 $as_echo_n "checking for _long double trig functions... " >&6; }
70181 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
70182 $as_echo_n "(cached) " >&6
70183 else
70186 ac_ext=cpp
70187 ac_cpp='$CXXCPP $CPPFLAGS'
70188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70193 /* end confdefs.h. */
70194 #include <math.h>
70196 main ()
70198 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70200 return 0;
70202 _ACEOF
70203 if ac_fn_cxx_try_compile "$LINENO"; then :
70204 glibcxx_cv_func__long_double_trig_use=yes
70205 else
70206 glibcxx_cv_func__long_double_trig_use=no
70208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70209 ac_ext=c
70210 ac_cpp='$CPP $CPPFLAGS'
70211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70218 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70219 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70220 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70221 do :
70222 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70223 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70224 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70225 cat >>confdefs.h <<_ACEOF
70226 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70227 _ACEOF
70230 done
70239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70240 $as_echo_n "checking for long double round functions... " >&6; }
70241 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
70242 $as_echo_n "(cached) " >&6
70243 else
70246 ac_ext=cpp
70247 ac_cpp='$CXXCPP $CPPFLAGS'
70248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70253 /* end confdefs.h. */
70254 #include <math.h>
70256 main ()
70258 ceill (0); floorl (0);
70260 return 0;
70262 _ACEOF
70263 if ac_fn_cxx_try_compile "$LINENO"; then :
70264 glibcxx_cv_func_long_double_round_use=yes
70265 else
70266 glibcxx_cv_func_long_double_round_use=no
70268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70269 ac_ext=c
70270 ac_cpp='$CPP $CPPFLAGS'
70271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70278 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70279 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70280 for ac_func in ceill floorl
70281 do :
70282 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70283 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70284 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70285 cat >>confdefs.h <<_ACEOF
70286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70287 _ACEOF
70290 done
70292 else
70293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70294 $as_echo_n "checking for _long double round functions... " >&6; }
70295 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
70296 $as_echo_n "(cached) " >&6
70297 else
70300 ac_ext=cpp
70301 ac_cpp='$CXXCPP $CPPFLAGS'
70302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70307 /* end confdefs.h. */
70308 #include <math.h>
70310 main ()
70312 _ceill (0); _floorl (0);
70314 return 0;
70316 _ACEOF
70317 if ac_fn_cxx_try_compile "$LINENO"; then :
70318 glibcxx_cv_func__long_double_round_use=yes
70319 else
70320 glibcxx_cv_func__long_double_round_use=no
70322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70323 ac_ext=c
70324 ac_cpp='$CPP $CPPFLAGS'
70325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70332 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70333 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70334 for ac_func in _ceill _floorl
70335 do :
70336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70338 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70339 cat >>confdefs.h <<_ACEOF
70340 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70341 _ACEOF
70344 done
70354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70355 $as_echo_n "checking for isnanl declaration... " >&6; }
70356 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70357 if ${glibcxx_cv_func_isnanl_use+:} false; then :
70358 $as_echo_n "(cached) " >&6
70359 else
70362 ac_ext=cpp
70363 ac_cpp='$CXXCPP $CPPFLAGS'
70364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70369 /* end confdefs.h. */
70370 #include <math.h>
70371 #ifdef HAVE_IEEEFP_H
70372 #include <ieeefp.h>
70373 #endif
70376 main ()
70378 isnanl(0);
70380 return 0;
70382 _ACEOF
70383 if ac_fn_cxx_try_compile "$LINENO"; then :
70384 glibcxx_cv_func_isnanl_use=yes
70385 else
70386 glibcxx_cv_func_isnanl_use=no
70388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70389 ac_ext=c
70390 ac_cpp='$CPP $CPPFLAGS'
70391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70400 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70402 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70403 for ac_func in isnanl
70404 do :
70405 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70406 if test "x$ac_cv_func_isnanl" = xyes; then :
70407 cat >>confdefs.h <<_ACEOF
70408 #define HAVE_ISNANL 1
70409 _ACEOF
70412 done
70414 else
70416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70417 $as_echo_n "checking for _isnanl declaration... " >&6; }
70418 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70419 if ${glibcxx_cv_func__isnanl_use+:} false; then :
70420 $as_echo_n "(cached) " >&6
70421 else
70424 ac_ext=cpp
70425 ac_cpp='$CXXCPP $CPPFLAGS'
70426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70431 /* end confdefs.h. */
70432 #include <math.h>
70433 #ifdef HAVE_IEEEFP_H
70434 #include <ieeefp.h>
70435 #endif
70438 main ()
70440 _isnanl(0);
70442 return 0;
70444 _ACEOF
70445 if ac_fn_cxx_try_compile "$LINENO"; then :
70446 glibcxx_cv_func__isnanl_use=yes
70447 else
70448 glibcxx_cv_func__isnanl_use=no
70450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70451 ac_ext=c
70452 ac_cpp='$CPP $CPPFLAGS'
70453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70462 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70464 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70465 for ac_func in _isnanl
70466 do :
70467 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70468 if test "x$ac_cv_func__isnanl" = xyes; then :
70469 cat >>confdefs.h <<_ACEOF
70470 #define HAVE__ISNANL 1
70471 _ACEOF
70474 done
70483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70484 $as_echo_n "checking for isinfl declaration... " >&6; }
70485 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70486 if ${glibcxx_cv_func_isinfl_use+:} false; then :
70487 $as_echo_n "(cached) " >&6
70488 else
70491 ac_ext=cpp
70492 ac_cpp='$CXXCPP $CPPFLAGS'
70493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70498 /* end confdefs.h. */
70499 #include <math.h>
70500 #ifdef HAVE_IEEEFP_H
70501 #include <ieeefp.h>
70502 #endif
70505 main ()
70507 isinfl(0);
70509 return 0;
70511 _ACEOF
70512 if ac_fn_cxx_try_compile "$LINENO"; then :
70513 glibcxx_cv_func_isinfl_use=yes
70514 else
70515 glibcxx_cv_func_isinfl_use=no
70517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70518 ac_ext=c
70519 ac_cpp='$CPP $CPPFLAGS'
70520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70529 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70531 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70532 for ac_func in isinfl
70533 do :
70534 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70535 if test "x$ac_cv_func_isinfl" = xyes; then :
70536 cat >>confdefs.h <<_ACEOF
70537 #define HAVE_ISINFL 1
70538 _ACEOF
70541 done
70543 else
70545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70546 $as_echo_n "checking for _isinfl declaration... " >&6; }
70547 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70548 if ${glibcxx_cv_func__isinfl_use+:} false; then :
70549 $as_echo_n "(cached) " >&6
70550 else
70553 ac_ext=cpp
70554 ac_cpp='$CXXCPP $CPPFLAGS'
70555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70560 /* end confdefs.h. */
70561 #include <math.h>
70562 #ifdef HAVE_IEEEFP_H
70563 #include <ieeefp.h>
70564 #endif
70567 main ()
70569 _isinfl(0);
70571 return 0;
70573 _ACEOF
70574 if ac_fn_cxx_try_compile "$LINENO"; then :
70575 glibcxx_cv_func__isinfl_use=yes
70576 else
70577 glibcxx_cv_func__isinfl_use=no
70579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70580 ac_ext=c
70581 ac_cpp='$CPP $CPPFLAGS'
70582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70591 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70593 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70594 for ac_func in _isinfl
70595 do :
70596 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70597 if test "x$ac_cv_func__isinfl" = xyes; then :
70598 cat >>confdefs.h <<_ACEOF
70599 #define HAVE__ISINFL 1
70600 _ACEOF
70603 done
70612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70613 $as_echo_n "checking for atan2l declaration... " >&6; }
70614 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70615 if ${glibcxx_cv_func_atan2l_use+:} false; then :
70616 $as_echo_n "(cached) " >&6
70617 else
70620 ac_ext=cpp
70621 ac_cpp='$CXXCPP $CPPFLAGS'
70622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70627 /* end confdefs.h. */
70628 #include <math.h>
70630 main ()
70632 atan2l(0, 0);
70634 return 0;
70636 _ACEOF
70637 if ac_fn_cxx_try_compile "$LINENO"; then :
70638 glibcxx_cv_func_atan2l_use=yes
70639 else
70640 glibcxx_cv_func_atan2l_use=no
70642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70643 ac_ext=c
70644 ac_cpp='$CPP $CPPFLAGS'
70645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70654 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70656 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70657 for ac_func in atan2l
70658 do :
70659 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70660 if test "x$ac_cv_func_atan2l" = xyes; then :
70661 cat >>confdefs.h <<_ACEOF
70662 #define HAVE_ATAN2L 1
70663 _ACEOF
70666 done
70668 else
70670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70671 $as_echo_n "checking for _atan2l declaration... " >&6; }
70672 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70673 if ${glibcxx_cv_func__atan2l_use+:} false; then :
70674 $as_echo_n "(cached) " >&6
70675 else
70678 ac_ext=cpp
70679 ac_cpp='$CXXCPP $CPPFLAGS'
70680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70685 /* end confdefs.h. */
70686 #include <math.h>
70688 main ()
70690 _atan2l(0, 0);
70692 return 0;
70694 _ACEOF
70695 if ac_fn_cxx_try_compile "$LINENO"; then :
70696 glibcxx_cv_func__atan2l_use=yes
70697 else
70698 glibcxx_cv_func__atan2l_use=no
70700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70701 ac_ext=c
70702 ac_cpp='$CPP $CPPFLAGS'
70703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70712 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70714 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70715 for ac_func in _atan2l
70716 do :
70717 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70718 if test "x$ac_cv_func__atan2l" = xyes; then :
70719 cat >>confdefs.h <<_ACEOF
70720 #define HAVE__ATAN2L 1
70721 _ACEOF
70724 done
70733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70734 $as_echo_n "checking for expl declaration... " >&6; }
70735 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70736 if ${glibcxx_cv_func_expl_use+:} false; then :
70737 $as_echo_n "(cached) " >&6
70738 else
70741 ac_ext=cpp
70742 ac_cpp='$CXXCPP $CPPFLAGS'
70743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70748 /* end confdefs.h. */
70749 #include <math.h>
70750 #ifdef HAVE_IEEEFP_H
70751 #include <ieeefp.h>
70752 #endif
70755 main ()
70757 expl(0);
70759 return 0;
70761 _ACEOF
70762 if ac_fn_cxx_try_compile "$LINENO"; then :
70763 glibcxx_cv_func_expl_use=yes
70764 else
70765 glibcxx_cv_func_expl_use=no
70767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70768 ac_ext=c
70769 ac_cpp='$CPP $CPPFLAGS'
70770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70779 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70781 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70782 for ac_func in expl
70783 do :
70784 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70785 if test "x$ac_cv_func_expl" = xyes; then :
70786 cat >>confdefs.h <<_ACEOF
70787 #define HAVE_EXPL 1
70788 _ACEOF
70791 done
70793 else
70795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70796 $as_echo_n "checking for _expl declaration... " >&6; }
70797 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70798 if ${glibcxx_cv_func__expl_use+:} false; then :
70799 $as_echo_n "(cached) " >&6
70800 else
70803 ac_ext=cpp
70804 ac_cpp='$CXXCPP $CPPFLAGS'
70805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70810 /* end confdefs.h. */
70811 #include <math.h>
70812 #ifdef HAVE_IEEEFP_H
70813 #include <ieeefp.h>
70814 #endif
70817 main ()
70819 _expl(0);
70821 return 0;
70823 _ACEOF
70824 if ac_fn_cxx_try_compile "$LINENO"; then :
70825 glibcxx_cv_func__expl_use=yes
70826 else
70827 glibcxx_cv_func__expl_use=no
70829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70830 ac_ext=c
70831 ac_cpp='$CPP $CPPFLAGS'
70832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70841 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70843 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70844 for ac_func in _expl
70845 do :
70846 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70847 if test "x$ac_cv_func__expl" = xyes; then :
70848 cat >>confdefs.h <<_ACEOF
70849 #define HAVE__EXPL 1
70850 _ACEOF
70853 done
70862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70863 $as_echo_n "checking for fabsl declaration... " >&6; }
70864 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70865 if ${glibcxx_cv_func_fabsl_use+:} false; then :
70866 $as_echo_n "(cached) " >&6
70867 else
70870 ac_ext=cpp
70871 ac_cpp='$CXXCPP $CPPFLAGS'
70872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70877 /* end confdefs.h. */
70878 #include <math.h>
70879 #ifdef HAVE_IEEEFP_H
70880 #include <ieeefp.h>
70881 #endif
70884 main ()
70886 fabsl(0);
70888 return 0;
70890 _ACEOF
70891 if ac_fn_cxx_try_compile "$LINENO"; then :
70892 glibcxx_cv_func_fabsl_use=yes
70893 else
70894 glibcxx_cv_func_fabsl_use=no
70896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70897 ac_ext=c
70898 ac_cpp='$CPP $CPPFLAGS'
70899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70908 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70910 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70911 for ac_func in fabsl
70912 do :
70913 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70914 if test "x$ac_cv_func_fabsl" = xyes; then :
70915 cat >>confdefs.h <<_ACEOF
70916 #define HAVE_FABSL 1
70917 _ACEOF
70920 done
70922 else
70924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70925 $as_echo_n "checking for _fabsl declaration... " >&6; }
70926 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70927 if ${glibcxx_cv_func__fabsl_use+:} false; then :
70928 $as_echo_n "(cached) " >&6
70929 else
70932 ac_ext=cpp
70933 ac_cpp='$CXXCPP $CPPFLAGS'
70934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70939 /* end confdefs.h. */
70940 #include <math.h>
70941 #ifdef HAVE_IEEEFP_H
70942 #include <ieeefp.h>
70943 #endif
70946 main ()
70948 _fabsl(0);
70950 return 0;
70952 _ACEOF
70953 if ac_fn_cxx_try_compile "$LINENO"; then :
70954 glibcxx_cv_func__fabsl_use=yes
70955 else
70956 glibcxx_cv_func__fabsl_use=no
70958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70959 ac_ext=c
70960 ac_cpp='$CPP $CPPFLAGS'
70961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70970 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70972 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70973 for ac_func in _fabsl
70974 do :
70975 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70976 if test "x$ac_cv_func__fabsl" = xyes; then :
70977 cat >>confdefs.h <<_ACEOF
70978 #define HAVE__FABSL 1
70979 _ACEOF
70982 done
70991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70992 $as_echo_n "checking for fmodl declaration... " >&6; }
70993 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70994 if ${glibcxx_cv_func_fmodl_use+:} false; then :
70995 $as_echo_n "(cached) " >&6
70996 else
70999 ac_ext=cpp
71000 ac_cpp='$CXXCPP $CPPFLAGS'
71001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71006 /* end confdefs.h. */
71007 #include <math.h>
71009 main ()
71011 fmodl(0, 0);
71013 return 0;
71015 _ACEOF
71016 if ac_fn_cxx_try_compile "$LINENO"; then :
71017 glibcxx_cv_func_fmodl_use=yes
71018 else
71019 glibcxx_cv_func_fmodl_use=no
71021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71022 ac_ext=c
71023 ac_cpp='$CPP $CPPFLAGS'
71024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
71033 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
71035 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
71036 for ac_func in fmodl
71037 do :
71038 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
71039 if test "x$ac_cv_func_fmodl" = xyes; then :
71040 cat >>confdefs.h <<_ACEOF
71041 #define HAVE_FMODL 1
71042 _ACEOF
71045 done
71047 else
71049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
71050 $as_echo_n "checking for _fmodl declaration... " >&6; }
71051 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
71052 if ${glibcxx_cv_func__fmodl_use+:} false; then :
71053 $as_echo_n "(cached) " >&6
71054 else
71057 ac_ext=cpp
71058 ac_cpp='$CXXCPP $CPPFLAGS'
71059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71064 /* end confdefs.h. */
71065 #include <math.h>
71067 main ()
71069 _fmodl(0, 0);
71071 return 0;
71073 _ACEOF
71074 if ac_fn_cxx_try_compile "$LINENO"; then :
71075 glibcxx_cv_func__fmodl_use=yes
71076 else
71077 glibcxx_cv_func__fmodl_use=no
71079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71080 ac_ext=c
71081 ac_cpp='$CPP $CPPFLAGS'
71082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
71091 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
71093 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
71094 for ac_func in _fmodl
71095 do :
71096 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
71097 if test "x$ac_cv_func__fmodl" = xyes; then :
71098 cat >>confdefs.h <<_ACEOF
71099 #define HAVE__FMODL 1
71100 _ACEOF
71103 done
71112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
71113 $as_echo_n "checking for frexpl declaration... " >&6; }
71114 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
71115 if ${glibcxx_cv_func_frexpl_use+:} false; then :
71116 $as_echo_n "(cached) " >&6
71117 else
71120 ac_ext=cpp
71121 ac_cpp='$CXXCPP $CPPFLAGS'
71122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71127 /* end confdefs.h. */
71128 #include <math.h>
71130 main ()
71132 frexpl(0, 0);
71134 return 0;
71136 _ACEOF
71137 if ac_fn_cxx_try_compile "$LINENO"; then :
71138 glibcxx_cv_func_frexpl_use=yes
71139 else
71140 glibcxx_cv_func_frexpl_use=no
71142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71143 ac_ext=c
71144 ac_cpp='$CPP $CPPFLAGS'
71145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
71154 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
71156 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
71157 for ac_func in frexpl
71158 do :
71159 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71160 if test "x$ac_cv_func_frexpl" = xyes; then :
71161 cat >>confdefs.h <<_ACEOF
71162 #define HAVE_FREXPL 1
71163 _ACEOF
71166 done
71168 else
71170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71171 $as_echo_n "checking for _frexpl declaration... " >&6; }
71172 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71173 if ${glibcxx_cv_func__frexpl_use+:} false; then :
71174 $as_echo_n "(cached) " >&6
71175 else
71178 ac_ext=cpp
71179 ac_cpp='$CXXCPP $CPPFLAGS'
71180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71185 /* end confdefs.h. */
71186 #include <math.h>
71188 main ()
71190 _frexpl(0, 0);
71192 return 0;
71194 _ACEOF
71195 if ac_fn_cxx_try_compile "$LINENO"; then :
71196 glibcxx_cv_func__frexpl_use=yes
71197 else
71198 glibcxx_cv_func__frexpl_use=no
71200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71201 ac_ext=c
71202 ac_cpp='$CPP $CPPFLAGS'
71203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71212 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71214 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71215 for ac_func in _frexpl
71216 do :
71217 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71218 if test "x$ac_cv_func__frexpl" = xyes; then :
71219 cat >>confdefs.h <<_ACEOF
71220 #define HAVE__FREXPL 1
71221 _ACEOF
71224 done
71233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71234 $as_echo_n "checking for hypotl declaration... " >&6; }
71235 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71236 if ${glibcxx_cv_func_hypotl_use+:} false; then :
71237 $as_echo_n "(cached) " >&6
71238 else
71241 ac_ext=cpp
71242 ac_cpp='$CXXCPP $CPPFLAGS'
71243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71248 /* end confdefs.h. */
71249 #include <math.h>
71251 main ()
71253 hypotl(0, 0);
71255 return 0;
71257 _ACEOF
71258 if ac_fn_cxx_try_compile "$LINENO"; then :
71259 glibcxx_cv_func_hypotl_use=yes
71260 else
71261 glibcxx_cv_func_hypotl_use=no
71263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71264 ac_ext=c
71265 ac_cpp='$CPP $CPPFLAGS'
71266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71275 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71277 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71278 for ac_func in hypotl
71279 do :
71280 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71281 if test "x$ac_cv_func_hypotl" = xyes; then :
71282 cat >>confdefs.h <<_ACEOF
71283 #define HAVE_HYPOTL 1
71284 _ACEOF
71287 done
71289 else
71291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71292 $as_echo_n "checking for _hypotl declaration... " >&6; }
71293 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71294 if ${glibcxx_cv_func__hypotl_use+:} false; then :
71295 $as_echo_n "(cached) " >&6
71296 else
71299 ac_ext=cpp
71300 ac_cpp='$CXXCPP $CPPFLAGS'
71301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71306 /* end confdefs.h. */
71307 #include <math.h>
71309 main ()
71311 _hypotl(0, 0);
71313 return 0;
71315 _ACEOF
71316 if ac_fn_cxx_try_compile "$LINENO"; then :
71317 glibcxx_cv_func__hypotl_use=yes
71318 else
71319 glibcxx_cv_func__hypotl_use=no
71321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71322 ac_ext=c
71323 ac_cpp='$CPP $CPPFLAGS'
71324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71333 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71335 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71336 for ac_func in _hypotl
71337 do :
71338 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71339 if test "x$ac_cv_func__hypotl" = xyes; then :
71340 cat >>confdefs.h <<_ACEOF
71341 #define HAVE__HYPOTL 1
71342 _ACEOF
71345 done
71354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71355 $as_echo_n "checking for ldexpl declaration... " >&6; }
71356 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71357 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
71358 $as_echo_n "(cached) " >&6
71359 else
71362 ac_ext=cpp
71363 ac_cpp='$CXXCPP $CPPFLAGS'
71364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71369 /* end confdefs.h. */
71370 #include <math.h>
71372 main ()
71374 ldexpl(0, 0);
71376 return 0;
71378 _ACEOF
71379 if ac_fn_cxx_try_compile "$LINENO"; then :
71380 glibcxx_cv_func_ldexpl_use=yes
71381 else
71382 glibcxx_cv_func_ldexpl_use=no
71384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71385 ac_ext=c
71386 ac_cpp='$CPP $CPPFLAGS'
71387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71396 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71398 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71399 for ac_func in ldexpl
71400 do :
71401 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71402 if test "x$ac_cv_func_ldexpl" = xyes; then :
71403 cat >>confdefs.h <<_ACEOF
71404 #define HAVE_LDEXPL 1
71405 _ACEOF
71408 done
71410 else
71412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71413 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71414 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71415 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
71416 $as_echo_n "(cached) " >&6
71417 else
71420 ac_ext=cpp
71421 ac_cpp='$CXXCPP $CPPFLAGS'
71422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71427 /* end confdefs.h. */
71428 #include <math.h>
71430 main ()
71432 _ldexpl(0, 0);
71434 return 0;
71436 _ACEOF
71437 if ac_fn_cxx_try_compile "$LINENO"; then :
71438 glibcxx_cv_func__ldexpl_use=yes
71439 else
71440 glibcxx_cv_func__ldexpl_use=no
71442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71443 ac_ext=c
71444 ac_cpp='$CPP $CPPFLAGS'
71445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71454 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71456 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71457 for ac_func in _ldexpl
71458 do :
71459 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71460 if test "x$ac_cv_func__ldexpl" = xyes; then :
71461 cat >>confdefs.h <<_ACEOF
71462 #define HAVE__LDEXPL 1
71463 _ACEOF
71466 done
71475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71476 $as_echo_n "checking for logl declaration... " >&6; }
71477 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71478 if ${glibcxx_cv_func_logl_use+:} false; then :
71479 $as_echo_n "(cached) " >&6
71480 else
71483 ac_ext=cpp
71484 ac_cpp='$CXXCPP $CPPFLAGS'
71485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71490 /* end confdefs.h. */
71491 #include <math.h>
71492 #ifdef HAVE_IEEEFP_H
71493 #include <ieeefp.h>
71494 #endif
71497 main ()
71499 logl(0);
71501 return 0;
71503 _ACEOF
71504 if ac_fn_cxx_try_compile "$LINENO"; then :
71505 glibcxx_cv_func_logl_use=yes
71506 else
71507 glibcxx_cv_func_logl_use=no
71509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71510 ac_ext=c
71511 ac_cpp='$CPP $CPPFLAGS'
71512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71521 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71523 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71524 for ac_func in logl
71525 do :
71526 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71527 if test "x$ac_cv_func_logl" = xyes; then :
71528 cat >>confdefs.h <<_ACEOF
71529 #define HAVE_LOGL 1
71530 _ACEOF
71533 done
71535 else
71537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71538 $as_echo_n "checking for _logl declaration... " >&6; }
71539 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71540 if ${glibcxx_cv_func__logl_use+:} false; then :
71541 $as_echo_n "(cached) " >&6
71542 else
71545 ac_ext=cpp
71546 ac_cpp='$CXXCPP $CPPFLAGS'
71547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71552 /* end confdefs.h. */
71553 #include <math.h>
71554 #ifdef HAVE_IEEEFP_H
71555 #include <ieeefp.h>
71556 #endif
71559 main ()
71561 _logl(0);
71563 return 0;
71565 _ACEOF
71566 if ac_fn_cxx_try_compile "$LINENO"; then :
71567 glibcxx_cv_func__logl_use=yes
71568 else
71569 glibcxx_cv_func__logl_use=no
71571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71572 ac_ext=c
71573 ac_cpp='$CPP $CPPFLAGS'
71574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71583 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71585 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71586 for ac_func in _logl
71587 do :
71588 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71589 if test "x$ac_cv_func__logl" = xyes; then :
71590 cat >>confdefs.h <<_ACEOF
71591 #define HAVE__LOGL 1
71592 _ACEOF
71595 done
71604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71605 $as_echo_n "checking for log10l declaration... " >&6; }
71606 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71607 if ${glibcxx_cv_func_log10l_use+:} false; then :
71608 $as_echo_n "(cached) " >&6
71609 else
71612 ac_ext=cpp
71613 ac_cpp='$CXXCPP $CPPFLAGS'
71614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71619 /* end confdefs.h. */
71620 #include <math.h>
71621 #ifdef HAVE_IEEEFP_H
71622 #include <ieeefp.h>
71623 #endif
71626 main ()
71628 log10l(0);
71630 return 0;
71632 _ACEOF
71633 if ac_fn_cxx_try_compile "$LINENO"; then :
71634 glibcxx_cv_func_log10l_use=yes
71635 else
71636 glibcxx_cv_func_log10l_use=no
71638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71639 ac_ext=c
71640 ac_cpp='$CPP $CPPFLAGS'
71641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71650 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71652 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71653 for ac_func in log10l
71654 do :
71655 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71656 if test "x$ac_cv_func_log10l" = xyes; then :
71657 cat >>confdefs.h <<_ACEOF
71658 #define HAVE_LOG10L 1
71659 _ACEOF
71662 done
71664 else
71666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71667 $as_echo_n "checking for _log10l declaration... " >&6; }
71668 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71669 if ${glibcxx_cv_func__log10l_use+:} false; then :
71670 $as_echo_n "(cached) " >&6
71671 else
71674 ac_ext=cpp
71675 ac_cpp='$CXXCPP $CPPFLAGS'
71676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71681 /* end confdefs.h. */
71682 #include <math.h>
71683 #ifdef HAVE_IEEEFP_H
71684 #include <ieeefp.h>
71685 #endif
71688 main ()
71690 _log10l(0);
71692 return 0;
71694 _ACEOF
71695 if ac_fn_cxx_try_compile "$LINENO"; then :
71696 glibcxx_cv_func__log10l_use=yes
71697 else
71698 glibcxx_cv_func__log10l_use=no
71700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71701 ac_ext=c
71702 ac_cpp='$CPP $CPPFLAGS'
71703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71712 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71714 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71715 for ac_func in _log10l
71716 do :
71717 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71718 if test "x$ac_cv_func__log10l" = xyes; then :
71719 cat >>confdefs.h <<_ACEOF
71720 #define HAVE__LOG10L 1
71721 _ACEOF
71724 done
71733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71734 $as_echo_n "checking for modfl declaration... " >&6; }
71735 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71736 if ${glibcxx_cv_func_modfl_use+:} false; then :
71737 $as_echo_n "(cached) " >&6
71738 else
71741 ac_ext=cpp
71742 ac_cpp='$CXXCPP $CPPFLAGS'
71743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71748 /* end confdefs.h. */
71749 #include <math.h>
71751 main ()
71753 modfl(0, 0);
71755 return 0;
71757 _ACEOF
71758 if ac_fn_cxx_try_compile "$LINENO"; then :
71759 glibcxx_cv_func_modfl_use=yes
71760 else
71761 glibcxx_cv_func_modfl_use=no
71763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71764 ac_ext=c
71765 ac_cpp='$CPP $CPPFLAGS'
71766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71775 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71777 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71778 for ac_func in modfl
71779 do :
71780 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71781 if test "x$ac_cv_func_modfl" = xyes; then :
71782 cat >>confdefs.h <<_ACEOF
71783 #define HAVE_MODFL 1
71784 _ACEOF
71787 done
71789 else
71791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71792 $as_echo_n "checking for _modfl declaration... " >&6; }
71793 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71794 if ${glibcxx_cv_func__modfl_use+:} false; then :
71795 $as_echo_n "(cached) " >&6
71796 else
71799 ac_ext=cpp
71800 ac_cpp='$CXXCPP $CPPFLAGS'
71801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71806 /* end confdefs.h. */
71807 #include <math.h>
71809 main ()
71811 _modfl(0, 0);
71813 return 0;
71815 _ACEOF
71816 if ac_fn_cxx_try_compile "$LINENO"; then :
71817 glibcxx_cv_func__modfl_use=yes
71818 else
71819 glibcxx_cv_func__modfl_use=no
71821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71822 ac_ext=c
71823 ac_cpp='$CPP $CPPFLAGS'
71824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71833 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71835 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71836 for ac_func in _modfl
71837 do :
71838 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71839 if test "x$ac_cv_func__modfl" = xyes; then :
71840 cat >>confdefs.h <<_ACEOF
71841 #define HAVE__MODFL 1
71842 _ACEOF
71845 done
71854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71855 $as_echo_n "checking for powl declaration... " >&6; }
71856 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71857 if ${glibcxx_cv_func_powl_use+:} false; then :
71858 $as_echo_n "(cached) " >&6
71859 else
71862 ac_ext=cpp
71863 ac_cpp='$CXXCPP $CPPFLAGS'
71864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71869 /* end confdefs.h. */
71870 #include <math.h>
71872 main ()
71874 powl(0, 0);
71876 return 0;
71878 _ACEOF
71879 if ac_fn_cxx_try_compile "$LINENO"; then :
71880 glibcxx_cv_func_powl_use=yes
71881 else
71882 glibcxx_cv_func_powl_use=no
71884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71885 ac_ext=c
71886 ac_cpp='$CPP $CPPFLAGS'
71887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71896 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71898 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71899 for ac_func in powl
71900 do :
71901 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71902 if test "x$ac_cv_func_powl" = xyes; then :
71903 cat >>confdefs.h <<_ACEOF
71904 #define HAVE_POWL 1
71905 _ACEOF
71908 done
71910 else
71912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71913 $as_echo_n "checking for _powl declaration... " >&6; }
71914 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71915 if ${glibcxx_cv_func__powl_use+:} false; then :
71916 $as_echo_n "(cached) " >&6
71917 else
71920 ac_ext=cpp
71921 ac_cpp='$CXXCPP $CPPFLAGS'
71922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71927 /* end confdefs.h. */
71928 #include <math.h>
71930 main ()
71932 _powl(0, 0);
71934 return 0;
71936 _ACEOF
71937 if ac_fn_cxx_try_compile "$LINENO"; then :
71938 glibcxx_cv_func__powl_use=yes
71939 else
71940 glibcxx_cv_func__powl_use=no
71942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71943 ac_ext=c
71944 ac_cpp='$CPP $CPPFLAGS'
71945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71954 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71956 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71957 for ac_func in _powl
71958 do :
71959 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71960 if test "x$ac_cv_func__powl" = xyes; then :
71961 cat >>confdefs.h <<_ACEOF
71962 #define HAVE__POWL 1
71963 _ACEOF
71966 done
71975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71976 $as_echo_n "checking for sqrtl declaration... " >&6; }
71977 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71978 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
71979 $as_echo_n "(cached) " >&6
71980 else
71983 ac_ext=cpp
71984 ac_cpp='$CXXCPP $CPPFLAGS'
71985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71990 /* end confdefs.h. */
71991 #include <math.h>
71992 #ifdef HAVE_IEEEFP_H
71993 #include <ieeefp.h>
71994 #endif
71997 main ()
71999 sqrtl(0);
72001 return 0;
72003 _ACEOF
72004 if ac_fn_cxx_try_compile "$LINENO"; then :
72005 glibcxx_cv_func_sqrtl_use=yes
72006 else
72007 glibcxx_cv_func_sqrtl_use=no
72009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72010 ac_ext=c
72011 ac_cpp='$CPP $CPPFLAGS'
72012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
72021 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
72023 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
72024 for ac_func in sqrtl
72025 do :
72026 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
72027 if test "x$ac_cv_func_sqrtl" = xyes; then :
72028 cat >>confdefs.h <<_ACEOF
72029 #define HAVE_SQRTL 1
72030 _ACEOF
72033 done
72035 else
72037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
72038 $as_echo_n "checking for _sqrtl declaration... " >&6; }
72039 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
72040 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
72041 $as_echo_n "(cached) " >&6
72042 else
72045 ac_ext=cpp
72046 ac_cpp='$CXXCPP $CPPFLAGS'
72047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72052 /* end confdefs.h. */
72053 #include <math.h>
72054 #ifdef HAVE_IEEEFP_H
72055 #include <ieeefp.h>
72056 #endif
72059 main ()
72061 _sqrtl(0);
72063 return 0;
72065 _ACEOF
72066 if ac_fn_cxx_try_compile "$LINENO"; then :
72067 glibcxx_cv_func__sqrtl_use=yes
72068 else
72069 glibcxx_cv_func__sqrtl_use=no
72071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72072 ac_ext=c
72073 ac_cpp='$CPP $CPPFLAGS'
72074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
72083 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
72085 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
72086 for ac_func in _sqrtl
72087 do :
72088 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
72089 if test "x$ac_cv_func__sqrtl" = xyes; then :
72090 cat >>confdefs.h <<_ACEOF
72091 #define HAVE__SQRTL 1
72092 _ACEOF
72095 done
72104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
72105 $as_echo_n "checking for sincosl declaration... " >&6; }
72106 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
72107 if ${glibcxx_cv_func_sincosl_use+:} false; then :
72108 $as_echo_n "(cached) " >&6
72109 else
72112 ac_ext=cpp
72113 ac_cpp='$CXXCPP $CPPFLAGS'
72114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72119 /* end confdefs.h. */
72120 #include <math.h>
72122 main ()
72124 sincosl(0, 0, 0);
72126 return 0;
72128 _ACEOF
72129 if ac_fn_cxx_try_compile "$LINENO"; then :
72130 glibcxx_cv_func_sincosl_use=yes
72131 else
72132 glibcxx_cv_func_sincosl_use=no
72134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72135 ac_ext=c
72136 ac_cpp='$CPP $CPPFLAGS'
72137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
72146 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
72148 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
72149 for ac_func in sincosl
72150 do :
72151 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
72152 if test "x$ac_cv_func_sincosl" = xyes; then :
72153 cat >>confdefs.h <<_ACEOF
72154 #define HAVE_SINCOSL 1
72155 _ACEOF
72158 done
72160 else
72162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72163 $as_echo_n "checking for _sincosl declaration... " >&6; }
72164 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72165 if ${glibcxx_cv_func__sincosl_use+:} false; then :
72166 $as_echo_n "(cached) " >&6
72167 else
72170 ac_ext=cpp
72171 ac_cpp='$CXXCPP $CPPFLAGS'
72172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72177 /* end confdefs.h. */
72178 #include <math.h>
72180 main ()
72182 _sincosl(0, 0, 0);
72184 return 0;
72186 _ACEOF
72187 if ac_fn_cxx_try_compile "$LINENO"; then :
72188 glibcxx_cv_func__sincosl_use=yes
72189 else
72190 glibcxx_cv_func__sincosl_use=no
72192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72193 ac_ext=c
72194 ac_cpp='$CPP $CPPFLAGS'
72195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72204 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72206 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72207 for ac_func in _sincosl
72208 do :
72209 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72210 if test "x$ac_cv_func__sincosl" = xyes; then :
72211 cat >>confdefs.h <<_ACEOF
72212 #define HAVE__SINCOSL 1
72213 _ACEOF
72216 done
72225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72226 $as_echo_n "checking for finitel declaration... " >&6; }
72227 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72228 if ${glibcxx_cv_func_finitel_use+:} false; then :
72229 $as_echo_n "(cached) " >&6
72230 else
72233 ac_ext=cpp
72234 ac_cpp='$CXXCPP $CPPFLAGS'
72235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72240 /* end confdefs.h. */
72241 #include <math.h>
72242 #ifdef HAVE_IEEEFP_H
72243 #include <ieeefp.h>
72244 #endif
72247 main ()
72249 finitel(0);
72251 return 0;
72253 _ACEOF
72254 if ac_fn_cxx_try_compile "$LINENO"; then :
72255 glibcxx_cv_func_finitel_use=yes
72256 else
72257 glibcxx_cv_func_finitel_use=no
72259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72260 ac_ext=c
72261 ac_cpp='$CPP $CPPFLAGS'
72262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72271 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72273 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72274 for ac_func in finitel
72275 do :
72276 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72277 if test "x$ac_cv_func_finitel" = xyes; then :
72278 cat >>confdefs.h <<_ACEOF
72279 #define HAVE_FINITEL 1
72280 _ACEOF
72283 done
72285 else
72287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72288 $as_echo_n "checking for _finitel declaration... " >&6; }
72289 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72290 if ${glibcxx_cv_func__finitel_use+:} false; then :
72291 $as_echo_n "(cached) " >&6
72292 else
72295 ac_ext=cpp
72296 ac_cpp='$CXXCPP $CPPFLAGS'
72297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72302 /* end confdefs.h. */
72303 #include <math.h>
72304 #ifdef HAVE_IEEEFP_H
72305 #include <ieeefp.h>
72306 #endif
72309 main ()
72311 _finitel(0);
72313 return 0;
72315 _ACEOF
72316 if ac_fn_cxx_try_compile "$LINENO"; then :
72317 glibcxx_cv_func__finitel_use=yes
72318 else
72319 glibcxx_cv_func__finitel_use=no
72321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72322 ac_ext=c
72323 ac_cpp='$CPP $CPPFLAGS'
72324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72333 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72335 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72336 for ac_func in _finitel
72337 do :
72338 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72339 if test "x$ac_cv_func__finitel" = xyes; then :
72340 cat >>confdefs.h <<_ACEOF
72341 #define HAVE__FINITEL 1
72342 _ACEOF
72345 done
72353 LIBS="$ac_save_LIBS"
72354 CXXFLAGS="$ac_save_CXXFLAGS"
72357 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72358 ac_save_CXXFLAGS="$CXXFLAGS"
72359 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72363 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72364 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72365 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
72366 $as_echo_n "(cached) " >&6
72367 else
72370 ac_ext=cpp
72371 ac_cpp='$CXXCPP $CPPFLAGS'
72372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72377 /* end confdefs.h. */
72378 #include <stdlib.h>
72380 main ()
72382 at_quick_exit(0);
72384 return 0;
72386 _ACEOF
72387 if ac_fn_cxx_try_compile "$LINENO"; then :
72388 glibcxx_cv_func_at_quick_exit_use=yes
72389 else
72390 glibcxx_cv_func_at_quick_exit_use=no
72392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72393 ac_ext=c
72394 ac_cpp='$CPP $CPPFLAGS'
72395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72404 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72405 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72406 for ac_func in at_quick_exit
72407 do :
72408 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72409 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
72410 cat >>confdefs.h <<_ACEOF
72411 #define HAVE_AT_QUICK_EXIT 1
72412 _ACEOF
72415 done
72420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72421 $as_echo_n "checking for quick_exit declaration... " >&6; }
72422 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72423 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
72424 $as_echo_n "(cached) " >&6
72425 else
72428 ac_ext=cpp
72429 ac_cpp='$CXXCPP $CPPFLAGS'
72430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72435 /* end confdefs.h. */
72436 #include <stdlib.h>
72438 main ()
72440 quick_exit(0);
72442 return 0;
72444 _ACEOF
72445 if ac_fn_cxx_try_compile "$LINENO"; then :
72446 glibcxx_cv_func_quick_exit_use=yes
72447 else
72448 glibcxx_cv_func_quick_exit_use=no
72450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72451 ac_ext=c
72452 ac_cpp='$CPP $CPPFLAGS'
72453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72462 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72463 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72464 for ac_func in quick_exit
72465 do :
72466 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72467 if test "x$ac_cv_func_quick_exit" = xyes; then :
72468 cat >>confdefs.h <<_ACEOF
72469 #define HAVE_QUICK_EXIT 1
72470 _ACEOF
72473 done
72478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72479 $as_echo_n "checking for strtold declaration... " >&6; }
72480 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72481 if ${glibcxx_cv_func_strtold_use+:} false; then :
72482 $as_echo_n "(cached) " >&6
72483 else
72486 ac_ext=cpp
72487 ac_cpp='$CXXCPP $CPPFLAGS'
72488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72493 /* end confdefs.h. */
72494 #include <stdlib.h>
72496 main ()
72498 strtold(0, 0);
72500 return 0;
72502 _ACEOF
72503 if ac_fn_cxx_try_compile "$LINENO"; then :
72504 glibcxx_cv_func_strtold_use=yes
72505 else
72506 glibcxx_cv_func_strtold_use=no
72508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72509 ac_ext=c
72510 ac_cpp='$CPP $CPPFLAGS'
72511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72520 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72521 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72522 for ac_func in strtold
72523 do :
72524 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72525 if test "x$ac_cv_func_strtold" = xyes; then :
72526 cat >>confdefs.h <<_ACEOF
72527 #define HAVE_STRTOLD 1
72528 _ACEOF
72531 done
72538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72539 $as_echo_n "checking for strtof declaration... " >&6; }
72540 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72541 if ${glibcxx_cv_func_strtof_use+:} false; then :
72542 $as_echo_n "(cached) " >&6
72543 else
72546 ac_ext=cpp
72547 ac_cpp='$CXXCPP $CPPFLAGS'
72548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72553 /* end confdefs.h. */
72554 #include <stdlib.h>
72556 main ()
72558 strtof(0, 0);
72560 return 0;
72562 _ACEOF
72563 if ac_fn_cxx_try_compile "$LINENO"; then :
72564 glibcxx_cv_func_strtof_use=yes
72565 else
72566 glibcxx_cv_func_strtof_use=no
72568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72569 ac_ext=c
72570 ac_cpp='$CPP $CPPFLAGS'
72571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72580 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72581 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72582 for ac_func in strtof
72583 do :
72584 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72585 if test "x$ac_cv_func_strtof" = xyes; then :
72586 cat >>confdefs.h <<_ACEOF
72587 #define HAVE_STRTOF 1
72588 _ACEOF
72591 done
72598 CXXFLAGS="$ac_save_CXXFLAGS"
72601 *-tpf)
72602 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72603 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72605 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72607 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72609 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72611 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72613 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72615 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72617 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72619 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72621 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72623 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72625 if test x"long_double_math_on_this_cpu" = x"yes"; then
72626 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72628 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72630 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72632 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72636 *-*vms*)
72637 # Check for available headers.
72638 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72640 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72641 ac_save_CXXFLAGS="$CXXFLAGS"
72642 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72645 $as_echo_n "checking for sin in -lm... " >&6; }
72646 if ${ac_cv_lib_m_sin+:} false; then :
72647 $as_echo_n "(cached) " >&6
72648 else
72649 ac_check_lib_save_LIBS=$LIBS
72650 LIBS="-lm $LIBS"
72651 if test x$gcc_no_link = xyes; then
72652 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72655 /* end confdefs.h. */
72657 /* Override any GCC internal prototype to avoid an error.
72658 Use char because int might match the return type of a GCC
72659 builtin and then its argument prototype would still apply. */
72660 #ifdef __cplusplus
72661 extern "C"
72662 #endif
72663 char sin ();
72665 main ()
72667 return sin ();
72669 return 0;
72671 _ACEOF
72672 if ac_fn_c_try_link "$LINENO"; then :
72673 ac_cv_lib_m_sin=yes
72674 else
72675 ac_cv_lib_m_sin=no
72677 rm -f core conftest.err conftest.$ac_objext \
72678 conftest$ac_exeext conftest.$ac_ext
72679 LIBS=$ac_check_lib_save_LIBS
72681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72682 $as_echo "$ac_cv_lib_m_sin" >&6; }
72683 if test "x$ac_cv_lib_m_sin" = xyes; then :
72684 libm="-lm"
72687 ac_save_LIBS="$LIBS"
72688 LIBS="$LIBS $libm"
72692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72693 $as_echo_n "checking for isinf declaration... " >&6; }
72694 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72695 if ${glibcxx_cv_func_isinf_use+:} false; then :
72696 $as_echo_n "(cached) " >&6
72697 else
72700 ac_ext=cpp
72701 ac_cpp='$CXXCPP $CPPFLAGS'
72702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72707 /* end confdefs.h. */
72708 #include <math.h>
72709 #ifdef HAVE_IEEEFP_H
72710 #include <ieeefp.h>
72711 #endif
72714 main ()
72716 isinf(0);
72718 return 0;
72720 _ACEOF
72721 if ac_fn_cxx_try_compile "$LINENO"; then :
72722 glibcxx_cv_func_isinf_use=yes
72723 else
72724 glibcxx_cv_func_isinf_use=no
72726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72727 ac_ext=c
72728 ac_cpp='$CPP $CPPFLAGS'
72729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72738 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72740 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72741 for ac_func in isinf
72742 do :
72743 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72744 if test "x$ac_cv_func_isinf" = xyes; then :
72745 cat >>confdefs.h <<_ACEOF
72746 #define HAVE_ISINF 1
72747 _ACEOF
72750 done
72752 else
72754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72755 $as_echo_n "checking for _isinf declaration... " >&6; }
72756 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72757 if ${glibcxx_cv_func__isinf_use+:} false; then :
72758 $as_echo_n "(cached) " >&6
72759 else
72762 ac_ext=cpp
72763 ac_cpp='$CXXCPP $CPPFLAGS'
72764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72769 /* end confdefs.h. */
72770 #include <math.h>
72771 #ifdef HAVE_IEEEFP_H
72772 #include <ieeefp.h>
72773 #endif
72776 main ()
72778 _isinf(0);
72780 return 0;
72782 _ACEOF
72783 if ac_fn_cxx_try_compile "$LINENO"; then :
72784 glibcxx_cv_func__isinf_use=yes
72785 else
72786 glibcxx_cv_func__isinf_use=no
72788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72789 ac_ext=c
72790 ac_cpp='$CPP $CPPFLAGS'
72791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72800 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72802 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72803 for ac_func in _isinf
72804 do :
72805 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72806 if test "x$ac_cv_func__isinf" = xyes; then :
72807 cat >>confdefs.h <<_ACEOF
72808 #define HAVE__ISINF 1
72809 _ACEOF
72812 done
72821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72822 $as_echo_n "checking for isnan declaration... " >&6; }
72823 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72824 if ${glibcxx_cv_func_isnan_use+:} false; then :
72825 $as_echo_n "(cached) " >&6
72826 else
72829 ac_ext=cpp
72830 ac_cpp='$CXXCPP $CPPFLAGS'
72831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72836 /* end confdefs.h. */
72837 #include <math.h>
72838 #ifdef HAVE_IEEEFP_H
72839 #include <ieeefp.h>
72840 #endif
72843 main ()
72845 isnan(0);
72847 return 0;
72849 _ACEOF
72850 if ac_fn_cxx_try_compile "$LINENO"; then :
72851 glibcxx_cv_func_isnan_use=yes
72852 else
72853 glibcxx_cv_func_isnan_use=no
72855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72856 ac_ext=c
72857 ac_cpp='$CPP $CPPFLAGS'
72858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72867 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72869 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72870 for ac_func in isnan
72871 do :
72872 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72873 if test "x$ac_cv_func_isnan" = xyes; then :
72874 cat >>confdefs.h <<_ACEOF
72875 #define HAVE_ISNAN 1
72876 _ACEOF
72879 done
72881 else
72883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72884 $as_echo_n "checking for _isnan declaration... " >&6; }
72885 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72886 if ${glibcxx_cv_func__isnan_use+:} false; then :
72887 $as_echo_n "(cached) " >&6
72888 else
72891 ac_ext=cpp
72892 ac_cpp='$CXXCPP $CPPFLAGS'
72893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72898 /* end confdefs.h. */
72899 #include <math.h>
72900 #ifdef HAVE_IEEEFP_H
72901 #include <ieeefp.h>
72902 #endif
72905 main ()
72907 _isnan(0);
72909 return 0;
72911 _ACEOF
72912 if ac_fn_cxx_try_compile "$LINENO"; then :
72913 glibcxx_cv_func__isnan_use=yes
72914 else
72915 glibcxx_cv_func__isnan_use=no
72917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72918 ac_ext=c
72919 ac_cpp='$CPP $CPPFLAGS'
72920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72929 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72931 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72932 for ac_func in _isnan
72933 do :
72934 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72935 if test "x$ac_cv_func__isnan" = xyes; then :
72936 cat >>confdefs.h <<_ACEOF
72937 #define HAVE__ISNAN 1
72938 _ACEOF
72941 done
72950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72951 $as_echo_n "checking for finite declaration... " >&6; }
72952 if test x${glibcxx_cv_func_finite_use+set} != xset; then
72953 if ${glibcxx_cv_func_finite_use+:} false; then :
72954 $as_echo_n "(cached) " >&6
72955 else
72958 ac_ext=cpp
72959 ac_cpp='$CXXCPP $CPPFLAGS'
72960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72965 /* end confdefs.h. */
72966 #include <math.h>
72967 #ifdef HAVE_IEEEFP_H
72968 #include <ieeefp.h>
72969 #endif
72972 main ()
72974 finite(0);
72976 return 0;
72978 _ACEOF
72979 if ac_fn_cxx_try_compile "$LINENO"; then :
72980 glibcxx_cv_func_finite_use=yes
72981 else
72982 glibcxx_cv_func_finite_use=no
72984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72985 ac_ext=c
72986 ac_cpp='$CPP $CPPFLAGS'
72987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72996 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
72998 if test x$glibcxx_cv_func_finite_use = x"yes"; then
72999 for ac_func in finite
73000 do :
73001 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
73002 if test "x$ac_cv_func_finite" = xyes; then :
73003 cat >>confdefs.h <<_ACEOF
73004 #define HAVE_FINITE 1
73005 _ACEOF
73008 done
73010 else
73012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
73013 $as_echo_n "checking for _finite declaration... " >&6; }
73014 if test x${glibcxx_cv_func__finite_use+set} != xset; then
73015 if ${glibcxx_cv_func__finite_use+:} false; then :
73016 $as_echo_n "(cached) " >&6
73017 else
73020 ac_ext=cpp
73021 ac_cpp='$CXXCPP $CPPFLAGS'
73022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73027 /* end confdefs.h. */
73028 #include <math.h>
73029 #ifdef HAVE_IEEEFP_H
73030 #include <ieeefp.h>
73031 #endif
73034 main ()
73036 _finite(0);
73038 return 0;
73040 _ACEOF
73041 if ac_fn_cxx_try_compile "$LINENO"; then :
73042 glibcxx_cv_func__finite_use=yes
73043 else
73044 glibcxx_cv_func__finite_use=no
73046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73047 ac_ext=c
73048 ac_cpp='$CPP $CPPFLAGS'
73049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
73058 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
73060 if test x$glibcxx_cv_func__finite_use = x"yes"; then
73061 for ac_func in _finite
73062 do :
73063 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
73064 if test "x$ac_cv_func__finite" = xyes; then :
73065 cat >>confdefs.h <<_ACEOF
73066 #define HAVE__FINITE 1
73067 _ACEOF
73070 done
73079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
73080 $as_echo_n "checking for sincos declaration... " >&6; }
73081 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
73082 if ${glibcxx_cv_func_sincos_use+:} false; then :
73083 $as_echo_n "(cached) " >&6
73084 else
73087 ac_ext=cpp
73088 ac_cpp='$CXXCPP $CPPFLAGS'
73089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73094 /* end confdefs.h. */
73095 #include <math.h>
73097 main ()
73099 sincos(0, 0, 0);
73101 return 0;
73103 _ACEOF
73104 if ac_fn_cxx_try_compile "$LINENO"; then :
73105 glibcxx_cv_func_sincos_use=yes
73106 else
73107 glibcxx_cv_func_sincos_use=no
73109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73110 ac_ext=c
73111 ac_cpp='$CPP $CPPFLAGS'
73112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
73121 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
73123 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
73124 for ac_func in sincos
73125 do :
73126 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
73127 if test "x$ac_cv_func_sincos" = xyes; then :
73128 cat >>confdefs.h <<_ACEOF
73129 #define HAVE_SINCOS 1
73130 _ACEOF
73133 done
73135 else
73137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
73138 $as_echo_n "checking for _sincos declaration... " >&6; }
73139 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
73140 if ${glibcxx_cv_func__sincos_use+:} false; then :
73141 $as_echo_n "(cached) " >&6
73142 else
73145 ac_ext=cpp
73146 ac_cpp='$CXXCPP $CPPFLAGS'
73147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73152 /* end confdefs.h. */
73153 #include <math.h>
73155 main ()
73157 _sincos(0, 0, 0);
73159 return 0;
73161 _ACEOF
73162 if ac_fn_cxx_try_compile "$LINENO"; then :
73163 glibcxx_cv_func__sincos_use=yes
73164 else
73165 glibcxx_cv_func__sincos_use=no
73167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73168 ac_ext=c
73169 ac_cpp='$CPP $CPPFLAGS'
73170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
73179 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
73181 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
73182 for ac_func in _sincos
73183 do :
73184 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
73185 if test "x$ac_cv_func__sincos" = xyes; then :
73186 cat >>confdefs.h <<_ACEOF
73187 #define HAVE__SINCOS 1
73188 _ACEOF
73191 done
73200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
73201 $as_echo_n "checking for fpclass declaration... " >&6; }
73202 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
73203 if ${glibcxx_cv_func_fpclass_use+:} false; then :
73204 $as_echo_n "(cached) " >&6
73205 else
73208 ac_ext=cpp
73209 ac_cpp='$CXXCPP $CPPFLAGS'
73210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73215 /* end confdefs.h. */
73216 #include <math.h>
73217 #ifdef HAVE_IEEEFP_H
73218 #include <ieeefp.h>
73219 #endif
73222 main ()
73224 fpclass(0);
73226 return 0;
73228 _ACEOF
73229 if ac_fn_cxx_try_compile "$LINENO"; then :
73230 glibcxx_cv_func_fpclass_use=yes
73231 else
73232 glibcxx_cv_func_fpclass_use=no
73234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73235 ac_ext=c
73236 ac_cpp='$CPP $CPPFLAGS'
73237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
73246 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73248 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73249 for ac_func in fpclass
73250 do :
73251 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73252 if test "x$ac_cv_func_fpclass" = xyes; then :
73253 cat >>confdefs.h <<_ACEOF
73254 #define HAVE_FPCLASS 1
73255 _ACEOF
73258 done
73260 else
73262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73263 $as_echo_n "checking for _fpclass declaration... " >&6; }
73264 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73265 if ${glibcxx_cv_func__fpclass_use+:} false; then :
73266 $as_echo_n "(cached) " >&6
73267 else
73270 ac_ext=cpp
73271 ac_cpp='$CXXCPP $CPPFLAGS'
73272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73277 /* end confdefs.h. */
73278 #include <math.h>
73279 #ifdef HAVE_IEEEFP_H
73280 #include <ieeefp.h>
73281 #endif
73284 main ()
73286 _fpclass(0);
73288 return 0;
73290 _ACEOF
73291 if ac_fn_cxx_try_compile "$LINENO"; then :
73292 glibcxx_cv_func__fpclass_use=yes
73293 else
73294 glibcxx_cv_func__fpclass_use=no
73296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73297 ac_ext=c
73298 ac_cpp='$CPP $CPPFLAGS'
73299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73308 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73310 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73311 for ac_func in _fpclass
73312 do :
73313 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73314 if test "x$ac_cv_func__fpclass" = xyes; then :
73315 cat >>confdefs.h <<_ACEOF
73316 #define HAVE__FPCLASS 1
73317 _ACEOF
73320 done
73329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73330 $as_echo_n "checking for qfpclass declaration... " >&6; }
73331 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73332 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
73333 $as_echo_n "(cached) " >&6
73334 else
73337 ac_ext=cpp
73338 ac_cpp='$CXXCPP $CPPFLAGS'
73339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73344 /* end confdefs.h. */
73345 #include <math.h>
73346 #ifdef HAVE_IEEEFP_H
73347 #include <ieeefp.h>
73348 #endif
73351 main ()
73353 qfpclass(0);
73355 return 0;
73357 _ACEOF
73358 if ac_fn_cxx_try_compile "$LINENO"; then :
73359 glibcxx_cv_func_qfpclass_use=yes
73360 else
73361 glibcxx_cv_func_qfpclass_use=no
73363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73364 ac_ext=c
73365 ac_cpp='$CPP $CPPFLAGS'
73366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73375 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73377 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73378 for ac_func in qfpclass
73379 do :
73380 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73381 if test "x$ac_cv_func_qfpclass" = xyes; then :
73382 cat >>confdefs.h <<_ACEOF
73383 #define HAVE_QFPCLASS 1
73384 _ACEOF
73387 done
73389 else
73391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73392 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73393 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73394 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
73395 $as_echo_n "(cached) " >&6
73396 else
73399 ac_ext=cpp
73400 ac_cpp='$CXXCPP $CPPFLAGS'
73401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73406 /* end confdefs.h. */
73407 #include <math.h>
73408 #ifdef HAVE_IEEEFP_H
73409 #include <ieeefp.h>
73410 #endif
73413 main ()
73415 _qfpclass(0);
73417 return 0;
73419 _ACEOF
73420 if ac_fn_cxx_try_compile "$LINENO"; then :
73421 glibcxx_cv_func__qfpclass_use=yes
73422 else
73423 glibcxx_cv_func__qfpclass_use=no
73425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73426 ac_ext=c
73427 ac_cpp='$CPP $CPPFLAGS'
73428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73437 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73439 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73440 for ac_func in _qfpclass
73441 do :
73442 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73443 if test "x$ac_cv_func__qfpclass" = xyes; then :
73444 cat >>confdefs.h <<_ACEOF
73445 #define HAVE__QFPCLASS 1
73446 _ACEOF
73449 done
73458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73459 $as_echo_n "checking for hypot declaration... " >&6; }
73460 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73461 if ${glibcxx_cv_func_hypot_use+:} false; then :
73462 $as_echo_n "(cached) " >&6
73463 else
73466 ac_ext=cpp
73467 ac_cpp='$CXXCPP $CPPFLAGS'
73468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73473 /* end confdefs.h. */
73474 #include <math.h>
73476 main ()
73478 hypot(0, 0);
73480 return 0;
73482 _ACEOF
73483 if ac_fn_cxx_try_compile "$LINENO"; then :
73484 glibcxx_cv_func_hypot_use=yes
73485 else
73486 glibcxx_cv_func_hypot_use=no
73488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73489 ac_ext=c
73490 ac_cpp='$CPP $CPPFLAGS'
73491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73500 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73502 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73503 for ac_func in hypot
73504 do :
73505 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73506 if test "x$ac_cv_func_hypot" = xyes; then :
73507 cat >>confdefs.h <<_ACEOF
73508 #define HAVE_HYPOT 1
73509 _ACEOF
73512 done
73514 else
73516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73517 $as_echo_n "checking for _hypot declaration... " >&6; }
73518 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73519 if ${glibcxx_cv_func__hypot_use+:} false; then :
73520 $as_echo_n "(cached) " >&6
73521 else
73524 ac_ext=cpp
73525 ac_cpp='$CXXCPP $CPPFLAGS'
73526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73531 /* end confdefs.h. */
73532 #include <math.h>
73534 main ()
73536 _hypot(0, 0);
73538 return 0;
73540 _ACEOF
73541 if ac_fn_cxx_try_compile "$LINENO"; then :
73542 glibcxx_cv_func__hypot_use=yes
73543 else
73544 glibcxx_cv_func__hypot_use=no
73546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73547 ac_ext=c
73548 ac_cpp='$CPP $CPPFLAGS'
73549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73558 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73560 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73561 for ac_func in _hypot
73562 do :
73563 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73564 if test "x$ac_cv_func__hypot" = xyes; then :
73565 cat >>confdefs.h <<_ACEOF
73566 #define HAVE__HYPOT 1
73567 _ACEOF
73570 done
73579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73580 $as_echo_n "checking for float trig functions... " >&6; }
73581 if ${glibcxx_cv_func_float_trig_use+:} false; then :
73582 $as_echo_n "(cached) " >&6
73583 else
73586 ac_ext=cpp
73587 ac_cpp='$CXXCPP $CPPFLAGS'
73588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73593 /* end confdefs.h. */
73594 #include <math.h>
73596 main ()
73598 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73600 return 0;
73602 _ACEOF
73603 if ac_fn_cxx_try_compile "$LINENO"; then :
73604 glibcxx_cv_func_float_trig_use=yes
73605 else
73606 glibcxx_cv_func_float_trig_use=no
73608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73609 ac_ext=c
73610 ac_cpp='$CPP $CPPFLAGS'
73611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73618 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73619 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73620 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73621 do :
73622 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73623 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73624 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
73625 cat >>confdefs.h <<_ACEOF
73626 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73627 _ACEOF
73630 done
73632 else
73633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73634 $as_echo_n "checking for _float trig functions... " >&6; }
73635 if ${glibcxx_cv_func__float_trig_use+:} false; then :
73636 $as_echo_n "(cached) " >&6
73637 else
73640 ac_ext=cpp
73641 ac_cpp='$CXXCPP $CPPFLAGS'
73642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73647 /* end confdefs.h. */
73648 #include <math.h>
73650 main ()
73652 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73654 return 0;
73656 _ACEOF
73657 if ac_fn_cxx_try_compile "$LINENO"; then :
73658 glibcxx_cv_func__float_trig_use=yes
73659 else
73660 glibcxx_cv_func__float_trig_use=no
73662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73663 ac_ext=c
73664 ac_cpp='$CPP $CPPFLAGS'
73665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73672 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73673 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73674 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73675 do :
73676 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73677 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73678 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
73679 cat >>confdefs.h <<_ACEOF
73680 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73681 _ACEOF
73684 done
73693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73694 $as_echo_n "checking for float round functions... " >&6; }
73695 if ${glibcxx_cv_func_float_round_use+:} false; then :
73696 $as_echo_n "(cached) " >&6
73697 else
73700 ac_ext=cpp
73701 ac_cpp='$CXXCPP $CPPFLAGS'
73702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73707 /* end confdefs.h. */
73708 #include <math.h>
73710 main ()
73712 ceilf (0); floorf (0);
73714 return 0;
73716 _ACEOF
73717 if ac_fn_cxx_try_compile "$LINENO"; then :
73718 glibcxx_cv_func_float_round_use=yes
73719 else
73720 glibcxx_cv_func_float_round_use=no
73722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73723 ac_ext=c
73724 ac_cpp='$CPP $CPPFLAGS'
73725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73732 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73733 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73734 for ac_func in ceilf floorf
73735 do :
73736 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73737 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73738 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
73739 cat >>confdefs.h <<_ACEOF
73740 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73741 _ACEOF
73744 done
73746 else
73747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73748 $as_echo_n "checking for _float round functions... " >&6; }
73749 if ${glibcxx_cv_func__float_round_use+:} false; then :
73750 $as_echo_n "(cached) " >&6
73751 else
73754 ac_ext=cpp
73755 ac_cpp='$CXXCPP $CPPFLAGS'
73756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73761 /* end confdefs.h. */
73762 #include <math.h>
73764 main ()
73766 _ceilf (0); _floorf (0);
73768 return 0;
73770 _ACEOF
73771 if ac_fn_cxx_try_compile "$LINENO"; then :
73772 glibcxx_cv_func__float_round_use=yes
73773 else
73774 glibcxx_cv_func__float_round_use=no
73776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73777 ac_ext=c
73778 ac_cpp='$CPP $CPPFLAGS'
73779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73786 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73787 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73788 for ac_func in _ceilf _floorf
73789 do :
73790 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73791 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73792 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
73793 cat >>confdefs.h <<_ACEOF
73794 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73795 _ACEOF
73798 done
73808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73809 $as_echo_n "checking for expf declaration... " >&6; }
73810 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73811 if ${glibcxx_cv_func_expf_use+:} false; then :
73812 $as_echo_n "(cached) " >&6
73813 else
73816 ac_ext=cpp
73817 ac_cpp='$CXXCPP $CPPFLAGS'
73818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73823 /* end confdefs.h. */
73824 #include <math.h>
73825 #ifdef HAVE_IEEEFP_H
73826 #include <ieeefp.h>
73827 #endif
73830 main ()
73832 expf(0);
73834 return 0;
73836 _ACEOF
73837 if ac_fn_cxx_try_compile "$LINENO"; then :
73838 glibcxx_cv_func_expf_use=yes
73839 else
73840 glibcxx_cv_func_expf_use=no
73842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73843 ac_ext=c
73844 ac_cpp='$CPP $CPPFLAGS'
73845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73854 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73856 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73857 for ac_func in expf
73858 do :
73859 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73860 if test "x$ac_cv_func_expf" = xyes; then :
73861 cat >>confdefs.h <<_ACEOF
73862 #define HAVE_EXPF 1
73863 _ACEOF
73866 done
73868 else
73870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73871 $as_echo_n "checking for _expf declaration... " >&6; }
73872 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73873 if ${glibcxx_cv_func__expf_use+:} false; then :
73874 $as_echo_n "(cached) " >&6
73875 else
73878 ac_ext=cpp
73879 ac_cpp='$CXXCPP $CPPFLAGS'
73880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73885 /* end confdefs.h. */
73886 #include <math.h>
73887 #ifdef HAVE_IEEEFP_H
73888 #include <ieeefp.h>
73889 #endif
73892 main ()
73894 _expf(0);
73896 return 0;
73898 _ACEOF
73899 if ac_fn_cxx_try_compile "$LINENO"; then :
73900 glibcxx_cv_func__expf_use=yes
73901 else
73902 glibcxx_cv_func__expf_use=no
73904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73905 ac_ext=c
73906 ac_cpp='$CPP $CPPFLAGS'
73907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73916 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73918 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73919 for ac_func in _expf
73920 do :
73921 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73922 if test "x$ac_cv_func__expf" = xyes; then :
73923 cat >>confdefs.h <<_ACEOF
73924 #define HAVE__EXPF 1
73925 _ACEOF
73928 done
73937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73938 $as_echo_n "checking for isnanf declaration... " >&6; }
73939 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73940 if ${glibcxx_cv_func_isnanf_use+:} false; then :
73941 $as_echo_n "(cached) " >&6
73942 else
73945 ac_ext=cpp
73946 ac_cpp='$CXXCPP $CPPFLAGS'
73947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73952 /* end confdefs.h. */
73953 #include <math.h>
73954 #ifdef HAVE_IEEEFP_H
73955 #include <ieeefp.h>
73956 #endif
73959 main ()
73961 isnanf(0);
73963 return 0;
73965 _ACEOF
73966 if ac_fn_cxx_try_compile "$LINENO"; then :
73967 glibcxx_cv_func_isnanf_use=yes
73968 else
73969 glibcxx_cv_func_isnanf_use=no
73971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73972 ac_ext=c
73973 ac_cpp='$CPP $CPPFLAGS'
73974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
73983 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73985 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73986 for ac_func in isnanf
73987 do :
73988 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73989 if test "x$ac_cv_func_isnanf" = xyes; then :
73990 cat >>confdefs.h <<_ACEOF
73991 #define HAVE_ISNANF 1
73992 _ACEOF
73995 done
73997 else
73999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
74000 $as_echo_n "checking for _isnanf declaration... " >&6; }
74001 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
74002 if ${glibcxx_cv_func__isnanf_use+:} false; then :
74003 $as_echo_n "(cached) " >&6
74004 else
74007 ac_ext=cpp
74008 ac_cpp='$CXXCPP $CPPFLAGS'
74009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74014 /* end confdefs.h. */
74015 #include <math.h>
74016 #ifdef HAVE_IEEEFP_H
74017 #include <ieeefp.h>
74018 #endif
74021 main ()
74023 _isnanf(0);
74025 return 0;
74027 _ACEOF
74028 if ac_fn_cxx_try_compile "$LINENO"; then :
74029 glibcxx_cv_func__isnanf_use=yes
74030 else
74031 glibcxx_cv_func__isnanf_use=no
74033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74034 ac_ext=c
74035 ac_cpp='$CPP $CPPFLAGS'
74036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
74045 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
74047 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
74048 for ac_func in _isnanf
74049 do :
74050 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
74051 if test "x$ac_cv_func__isnanf" = xyes; then :
74052 cat >>confdefs.h <<_ACEOF
74053 #define HAVE__ISNANF 1
74054 _ACEOF
74057 done
74066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
74067 $as_echo_n "checking for isinff declaration... " >&6; }
74068 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
74069 if ${glibcxx_cv_func_isinff_use+:} false; then :
74070 $as_echo_n "(cached) " >&6
74071 else
74074 ac_ext=cpp
74075 ac_cpp='$CXXCPP $CPPFLAGS'
74076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74081 /* end confdefs.h. */
74082 #include <math.h>
74083 #ifdef HAVE_IEEEFP_H
74084 #include <ieeefp.h>
74085 #endif
74088 main ()
74090 isinff(0);
74092 return 0;
74094 _ACEOF
74095 if ac_fn_cxx_try_compile "$LINENO"; then :
74096 glibcxx_cv_func_isinff_use=yes
74097 else
74098 glibcxx_cv_func_isinff_use=no
74100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74101 ac_ext=c
74102 ac_cpp='$CPP $CPPFLAGS'
74103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
74112 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
74114 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
74115 for ac_func in isinff
74116 do :
74117 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
74118 if test "x$ac_cv_func_isinff" = xyes; then :
74119 cat >>confdefs.h <<_ACEOF
74120 #define HAVE_ISINFF 1
74121 _ACEOF
74124 done
74126 else
74128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
74129 $as_echo_n "checking for _isinff declaration... " >&6; }
74130 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
74131 if ${glibcxx_cv_func__isinff_use+:} false; then :
74132 $as_echo_n "(cached) " >&6
74133 else
74136 ac_ext=cpp
74137 ac_cpp='$CXXCPP $CPPFLAGS'
74138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74143 /* end confdefs.h. */
74144 #include <math.h>
74145 #ifdef HAVE_IEEEFP_H
74146 #include <ieeefp.h>
74147 #endif
74150 main ()
74152 _isinff(0);
74154 return 0;
74156 _ACEOF
74157 if ac_fn_cxx_try_compile "$LINENO"; then :
74158 glibcxx_cv_func__isinff_use=yes
74159 else
74160 glibcxx_cv_func__isinff_use=no
74162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74163 ac_ext=c
74164 ac_cpp='$CPP $CPPFLAGS'
74165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
74174 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
74176 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
74177 for ac_func in _isinff
74178 do :
74179 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
74180 if test "x$ac_cv_func__isinff" = xyes; then :
74181 cat >>confdefs.h <<_ACEOF
74182 #define HAVE__ISINFF 1
74183 _ACEOF
74186 done
74195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
74196 $as_echo_n "checking for atan2f declaration... " >&6; }
74197 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
74198 if ${glibcxx_cv_func_atan2f_use+:} false; then :
74199 $as_echo_n "(cached) " >&6
74200 else
74203 ac_ext=cpp
74204 ac_cpp='$CXXCPP $CPPFLAGS'
74205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74210 /* end confdefs.h. */
74211 #include <math.h>
74213 main ()
74215 atan2f(0, 0);
74217 return 0;
74219 _ACEOF
74220 if ac_fn_cxx_try_compile "$LINENO"; then :
74221 glibcxx_cv_func_atan2f_use=yes
74222 else
74223 glibcxx_cv_func_atan2f_use=no
74225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74226 ac_ext=c
74227 ac_cpp='$CPP $CPPFLAGS'
74228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
74237 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
74239 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74240 for ac_func in atan2f
74241 do :
74242 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74243 if test "x$ac_cv_func_atan2f" = xyes; then :
74244 cat >>confdefs.h <<_ACEOF
74245 #define HAVE_ATAN2F 1
74246 _ACEOF
74249 done
74251 else
74253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74254 $as_echo_n "checking for _atan2f declaration... " >&6; }
74255 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74256 if ${glibcxx_cv_func__atan2f_use+:} false; then :
74257 $as_echo_n "(cached) " >&6
74258 else
74261 ac_ext=cpp
74262 ac_cpp='$CXXCPP $CPPFLAGS'
74263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74268 /* end confdefs.h. */
74269 #include <math.h>
74271 main ()
74273 _atan2f(0, 0);
74275 return 0;
74277 _ACEOF
74278 if ac_fn_cxx_try_compile "$LINENO"; then :
74279 glibcxx_cv_func__atan2f_use=yes
74280 else
74281 glibcxx_cv_func__atan2f_use=no
74283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74284 ac_ext=c
74285 ac_cpp='$CPP $CPPFLAGS'
74286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74295 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74297 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74298 for ac_func in _atan2f
74299 do :
74300 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74301 if test "x$ac_cv_func__atan2f" = xyes; then :
74302 cat >>confdefs.h <<_ACEOF
74303 #define HAVE__ATAN2F 1
74304 _ACEOF
74307 done
74316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74317 $as_echo_n "checking for fabsf declaration... " >&6; }
74318 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74319 if ${glibcxx_cv_func_fabsf_use+:} false; then :
74320 $as_echo_n "(cached) " >&6
74321 else
74324 ac_ext=cpp
74325 ac_cpp='$CXXCPP $CPPFLAGS'
74326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74331 /* end confdefs.h. */
74332 #include <math.h>
74333 #ifdef HAVE_IEEEFP_H
74334 #include <ieeefp.h>
74335 #endif
74338 main ()
74340 fabsf(0);
74342 return 0;
74344 _ACEOF
74345 if ac_fn_cxx_try_compile "$LINENO"; then :
74346 glibcxx_cv_func_fabsf_use=yes
74347 else
74348 glibcxx_cv_func_fabsf_use=no
74350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74351 ac_ext=c
74352 ac_cpp='$CPP $CPPFLAGS'
74353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74362 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74364 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74365 for ac_func in fabsf
74366 do :
74367 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74368 if test "x$ac_cv_func_fabsf" = xyes; then :
74369 cat >>confdefs.h <<_ACEOF
74370 #define HAVE_FABSF 1
74371 _ACEOF
74374 done
74376 else
74378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74379 $as_echo_n "checking for _fabsf declaration... " >&6; }
74380 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74381 if ${glibcxx_cv_func__fabsf_use+:} false; then :
74382 $as_echo_n "(cached) " >&6
74383 else
74386 ac_ext=cpp
74387 ac_cpp='$CXXCPP $CPPFLAGS'
74388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74393 /* end confdefs.h. */
74394 #include <math.h>
74395 #ifdef HAVE_IEEEFP_H
74396 #include <ieeefp.h>
74397 #endif
74400 main ()
74402 _fabsf(0);
74404 return 0;
74406 _ACEOF
74407 if ac_fn_cxx_try_compile "$LINENO"; then :
74408 glibcxx_cv_func__fabsf_use=yes
74409 else
74410 glibcxx_cv_func__fabsf_use=no
74412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74413 ac_ext=c
74414 ac_cpp='$CPP $CPPFLAGS'
74415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74424 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74426 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74427 for ac_func in _fabsf
74428 do :
74429 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74430 if test "x$ac_cv_func__fabsf" = xyes; then :
74431 cat >>confdefs.h <<_ACEOF
74432 #define HAVE__FABSF 1
74433 _ACEOF
74436 done
74445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74446 $as_echo_n "checking for fmodf declaration... " >&6; }
74447 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74448 if ${glibcxx_cv_func_fmodf_use+:} false; then :
74449 $as_echo_n "(cached) " >&6
74450 else
74453 ac_ext=cpp
74454 ac_cpp='$CXXCPP $CPPFLAGS'
74455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74460 /* end confdefs.h. */
74461 #include <math.h>
74463 main ()
74465 fmodf(0, 0);
74467 return 0;
74469 _ACEOF
74470 if ac_fn_cxx_try_compile "$LINENO"; then :
74471 glibcxx_cv_func_fmodf_use=yes
74472 else
74473 glibcxx_cv_func_fmodf_use=no
74475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74476 ac_ext=c
74477 ac_cpp='$CPP $CPPFLAGS'
74478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74487 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74489 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74490 for ac_func in fmodf
74491 do :
74492 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74493 if test "x$ac_cv_func_fmodf" = xyes; then :
74494 cat >>confdefs.h <<_ACEOF
74495 #define HAVE_FMODF 1
74496 _ACEOF
74499 done
74501 else
74503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74504 $as_echo_n "checking for _fmodf declaration... " >&6; }
74505 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74506 if ${glibcxx_cv_func__fmodf_use+:} false; then :
74507 $as_echo_n "(cached) " >&6
74508 else
74511 ac_ext=cpp
74512 ac_cpp='$CXXCPP $CPPFLAGS'
74513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74518 /* end confdefs.h. */
74519 #include <math.h>
74521 main ()
74523 _fmodf(0, 0);
74525 return 0;
74527 _ACEOF
74528 if ac_fn_cxx_try_compile "$LINENO"; then :
74529 glibcxx_cv_func__fmodf_use=yes
74530 else
74531 glibcxx_cv_func__fmodf_use=no
74533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74534 ac_ext=c
74535 ac_cpp='$CPP $CPPFLAGS'
74536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74545 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74547 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74548 for ac_func in _fmodf
74549 do :
74550 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74551 if test "x$ac_cv_func__fmodf" = xyes; then :
74552 cat >>confdefs.h <<_ACEOF
74553 #define HAVE__FMODF 1
74554 _ACEOF
74557 done
74566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74567 $as_echo_n "checking for frexpf declaration... " >&6; }
74568 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74569 if ${glibcxx_cv_func_frexpf_use+:} false; then :
74570 $as_echo_n "(cached) " >&6
74571 else
74574 ac_ext=cpp
74575 ac_cpp='$CXXCPP $CPPFLAGS'
74576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74581 /* end confdefs.h. */
74582 #include <math.h>
74584 main ()
74586 frexpf(0, 0);
74588 return 0;
74590 _ACEOF
74591 if ac_fn_cxx_try_compile "$LINENO"; then :
74592 glibcxx_cv_func_frexpf_use=yes
74593 else
74594 glibcxx_cv_func_frexpf_use=no
74596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74597 ac_ext=c
74598 ac_cpp='$CPP $CPPFLAGS'
74599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74608 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74610 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74611 for ac_func in frexpf
74612 do :
74613 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74614 if test "x$ac_cv_func_frexpf" = xyes; then :
74615 cat >>confdefs.h <<_ACEOF
74616 #define HAVE_FREXPF 1
74617 _ACEOF
74620 done
74622 else
74624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74625 $as_echo_n "checking for _frexpf declaration... " >&6; }
74626 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74627 if ${glibcxx_cv_func__frexpf_use+:} false; then :
74628 $as_echo_n "(cached) " >&6
74629 else
74632 ac_ext=cpp
74633 ac_cpp='$CXXCPP $CPPFLAGS'
74634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74639 /* end confdefs.h. */
74640 #include <math.h>
74642 main ()
74644 _frexpf(0, 0);
74646 return 0;
74648 _ACEOF
74649 if ac_fn_cxx_try_compile "$LINENO"; then :
74650 glibcxx_cv_func__frexpf_use=yes
74651 else
74652 glibcxx_cv_func__frexpf_use=no
74654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74655 ac_ext=c
74656 ac_cpp='$CPP $CPPFLAGS'
74657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74666 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74668 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74669 for ac_func in _frexpf
74670 do :
74671 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74672 if test "x$ac_cv_func__frexpf" = xyes; then :
74673 cat >>confdefs.h <<_ACEOF
74674 #define HAVE__FREXPF 1
74675 _ACEOF
74678 done
74687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74688 $as_echo_n "checking for hypotf declaration... " >&6; }
74689 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74690 if ${glibcxx_cv_func_hypotf_use+:} false; then :
74691 $as_echo_n "(cached) " >&6
74692 else
74695 ac_ext=cpp
74696 ac_cpp='$CXXCPP $CPPFLAGS'
74697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74702 /* end confdefs.h. */
74703 #include <math.h>
74705 main ()
74707 hypotf(0, 0);
74709 return 0;
74711 _ACEOF
74712 if ac_fn_cxx_try_compile "$LINENO"; then :
74713 glibcxx_cv_func_hypotf_use=yes
74714 else
74715 glibcxx_cv_func_hypotf_use=no
74717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74718 ac_ext=c
74719 ac_cpp='$CPP $CPPFLAGS'
74720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74729 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74731 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74732 for ac_func in hypotf
74733 do :
74734 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74735 if test "x$ac_cv_func_hypotf" = xyes; then :
74736 cat >>confdefs.h <<_ACEOF
74737 #define HAVE_HYPOTF 1
74738 _ACEOF
74741 done
74743 else
74745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74746 $as_echo_n "checking for _hypotf declaration... " >&6; }
74747 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74748 if ${glibcxx_cv_func__hypotf_use+:} false; then :
74749 $as_echo_n "(cached) " >&6
74750 else
74753 ac_ext=cpp
74754 ac_cpp='$CXXCPP $CPPFLAGS'
74755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74760 /* end confdefs.h. */
74761 #include <math.h>
74763 main ()
74765 _hypotf(0, 0);
74767 return 0;
74769 _ACEOF
74770 if ac_fn_cxx_try_compile "$LINENO"; then :
74771 glibcxx_cv_func__hypotf_use=yes
74772 else
74773 glibcxx_cv_func__hypotf_use=no
74775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74776 ac_ext=c
74777 ac_cpp='$CPP $CPPFLAGS'
74778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74787 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74789 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74790 for ac_func in _hypotf
74791 do :
74792 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74793 if test "x$ac_cv_func__hypotf" = xyes; then :
74794 cat >>confdefs.h <<_ACEOF
74795 #define HAVE__HYPOTF 1
74796 _ACEOF
74799 done
74808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74809 $as_echo_n "checking for ldexpf declaration... " >&6; }
74810 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74811 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
74812 $as_echo_n "(cached) " >&6
74813 else
74816 ac_ext=cpp
74817 ac_cpp='$CXXCPP $CPPFLAGS'
74818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74823 /* end confdefs.h. */
74824 #include <math.h>
74826 main ()
74828 ldexpf(0, 0);
74830 return 0;
74832 _ACEOF
74833 if ac_fn_cxx_try_compile "$LINENO"; then :
74834 glibcxx_cv_func_ldexpf_use=yes
74835 else
74836 glibcxx_cv_func_ldexpf_use=no
74838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74839 ac_ext=c
74840 ac_cpp='$CPP $CPPFLAGS'
74841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74850 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74852 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74853 for ac_func in ldexpf
74854 do :
74855 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74856 if test "x$ac_cv_func_ldexpf" = xyes; then :
74857 cat >>confdefs.h <<_ACEOF
74858 #define HAVE_LDEXPF 1
74859 _ACEOF
74862 done
74864 else
74866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74867 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74868 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74869 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
74870 $as_echo_n "(cached) " >&6
74871 else
74874 ac_ext=cpp
74875 ac_cpp='$CXXCPP $CPPFLAGS'
74876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74881 /* end confdefs.h. */
74882 #include <math.h>
74884 main ()
74886 _ldexpf(0, 0);
74888 return 0;
74890 _ACEOF
74891 if ac_fn_cxx_try_compile "$LINENO"; then :
74892 glibcxx_cv_func__ldexpf_use=yes
74893 else
74894 glibcxx_cv_func__ldexpf_use=no
74896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74897 ac_ext=c
74898 ac_cpp='$CPP $CPPFLAGS'
74899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74908 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74910 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74911 for ac_func in _ldexpf
74912 do :
74913 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74914 if test "x$ac_cv_func__ldexpf" = xyes; then :
74915 cat >>confdefs.h <<_ACEOF
74916 #define HAVE__LDEXPF 1
74917 _ACEOF
74920 done
74929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74930 $as_echo_n "checking for logf declaration... " >&6; }
74931 if test x${glibcxx_cv_func_logf_use+set} != xset; then
74932 if ${glibcxx_cv_func_logf_use+:} false; then :
74933 $as_echo_n "(cached) " >&6
74934 else
74937 ac_ext=cpp
74938 ac_cpp='$CXXCPP $CPPFLAGS'
74939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74944 /* end confdefs.h. */
74945 #include <math.h>
74946 #ifdef HAVE_IEEEFP_H
74947 #include <ieeefp.h>
74948 #endif
74951 main ()
74953 logf(0);
74955 return 0;
74957 _ACEOF
74958 if ac_fn_cxx_try_compile "$LINENO"; then :
74959 glibcxx_cv_func_logf_use=yes
74960 else
74961 glibcxx_cv_func_logf_use=no
74963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74964 ac_ext=c
74965 ac_cpp='$CPP $CPPFLAGS'
74966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
74975 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
74977 if test x$glibcxx_cv_func_logf_use = x"yes"; then
74978 for ac_func in logf
74979 do :
74980 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74981 if test "x$ac_cv_func_logf" = xyes; then :
74982 cat >>confdefs.h <<_ACEOF
74983 #define HAVE_LOGF 1
74984 _ACEOF
74987 done
74989 else
74991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74992 $as_echo_n "checking for _logf declaration... " >&6; }
74993 if test x${glibcxx_cv_func__logf_use+set} != xset; then
74994 if ${glibcxx_cv_func__logf_use+:} false; then :
74995 $as_echo_n "(cached) " >&6
74996 else
74999 ac_ext=cpp
75000 ac_cpp='$CXXCPP $CPPFLAGS'
75001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75006 /* end confdefs.h. */
75007 #include <math.h>
75008 #ifdef HAVE_IEEEFP_H
75009 #include <ieeefp.h>
75010 #endif
75013 main ()
75015 _logf(0);
75017 return 0;
75019 _ACEOF
75020 if ac_fn_cxx_try_compile "$LINENO"; then :
75021 glibcxx_cv_func__logf_use=yes
75022 else
75023 glibcxx_cv_func__logf_use=no
75025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75026 ac_ext=c
75027 ac_cpp='$CPP $CPPFLAGS'
75028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
75037 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
75039 if test x$glibcxx_cv_func__logf_use = x"yes"; then
75040 for ac_func in _logf
75041 do :
75042 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
75043 if test "x$ac_cv_func__logf" = xyes; then :
75044 cat >>confdefs.h <<_ACEOF
75045 #define HAVE__LOGF 1
75046 _ACEOF
75049 done
75058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
75059 $as_echo_n "checking for log10f declaration... " >&6; }
75060 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
75061 if ${glibcxx_cv_func_log10f_use+:} false; then :
75062 $as_echo_n "(cached) " >&6
75063 else
75066 ac_ext=cpp
75067 ac_cpp='$CXXCPP $CPPFLAGS'
75068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75073 /* end confdefs.h. */
75074 #include <math.h>
75075 #ifdef HAVE_IEEEFP_H
75076 #include <ieeefp.h>
75077 #endif
75080 main ()
75082 log10f(0);
75084 return 0;
75086 _ACEOF
75087 if ac_fn_cxx_try_compile "$LINENO"; then :
75088 glibcxx_cv_func_log10f_use=yes
75089 else
75090 glibcxx_cv_func_log10f_use=no
75092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75093 ac_ext=c
75094 ac_cpp='$CPP $CPPFLAGS'
75095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
75104 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
75106 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
75107 for ac_func in log10f
75108 do :
75109 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
75110 if test "x$ac_cv_func_log10f" = xyes; then :
75111 cat >>confdefs.h <<_ACEOF
75112 #define HAVE_LOG10F 1
75113 _ACEOF
75116 done
75118 else
75120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
75121 $as_echo_n "checking for _log10f declaration... " >&6; }
75122 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
75123 if ${glibcxx_cv_func__log10f_use+:} false; then :
75124 $as_echo_n "(cached) " >&6
75125 else
75128 ac_ext=cpp
75129 ac_cpp='$CXXCPP $CPPFLAGS'
75130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75135 /* end confdefs.h. */
75136 #include <math.h>
75137 #ifdef HAVE_IEEEFP_H
75138 #include <ieeefp.h>
75139 #endif
75142 main ()
75144 _log10f(0);
75146 return 0;
75148 _ACEOF
75149 if ac_fn_cxx_try_compile "$LINENO"; then :
75150 glibcxx_cv_func__log10f_use=yes
75151 else
75152 glibcxx_cv_func__log10f_use=no
75154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75155 ac_ext=c
75156 ac_cpp='$CPP $CPPFLAGS'
75157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
75166 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
75168 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
75169 for ac_func in _log10f
75170 do :
75171 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
75172 if test "x$ac_cv_func__log10f" = xyes; then :
75173 cat >>confdefs.h <<_ACEOF
75174 #define HAVE__LOG10F 1
75175 _ACEOF
75178 done
75187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
75188 $as_echo_n "checking for modff declaration... " >&6; }
75189 if test x${glibcxx_cv_func_modff_use+set} != xset; then
75190 if ${glibcxx_cv_func_modff_use+:} false; then :
75191 $as_echo_n "(cached) " >&6
75192 else
75195 ac_ext=cpp
75196 ac_cpp='$CXXCPP $CPPFLAGS'
75197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75202 /* end confdefs.h. */
75203 #include <math.h>
75205 main ()
75207 modff(0, 0);
75209 return 0;
75211 _ACEOF
75212 if ac_fn_cxx_try_compile "$LINENO"; then :
75213 glibcxx_cv_func_modff_use=yes
75214 else
75215 glibcxx_cv_func_modff_use=no
75217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75218 ac_ext=c
75219 ac_cpp='$CPP $CPPFLAGS'
75220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
75229 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
75231 if test x$glibcxx_cv_func_modff_use = x"yes"; then
75232 for ac_func in modff
75233 do :
75234 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
75235 if test "x$ac_cv_func_modff" = xyes; then :
75236 cat >>confdefs.h <<_ACEOF
75237 #define HAVE_MODFF 1
75238 _ACEOF
75241 done
75243 else
75245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75246 $as_echo_n "checking for _modff declaration... " >&6; }
75247 if test x${glibcxx_cv_func__modff_use+set} != xset; then
75248 if ${glibcxx_cv_func__modff_use+:} false; then :
75249 $as_echo_n "(cached) " >&6
75250 else
75253 ac_ext=cpp
75254 ac_cpp='$CXXCPP $CPPFLAGS'
75255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75260 /* end confdefs.h. */
75261 #include <math.h>
75263 main ()
75265 _modff(0, 0);
75267 return 0;
75269 _ACEOF
75270 if ac_fn_cxx_try_compile "$LINENO"; then :
75271 glibcxx_cv_func__modff_use=yes
75272 else
75273 glibcxx_cv_func__modff_use=no
75275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75276 ac_ext=c
75277 ac_cpp='$CPP $CPPFLAGS'
75278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75287 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75289 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75290 for ac_func in _modff
75291 do :
75292 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75293 if test "x$ac_cv_func__modff" = xyes; then :
75294 cat >>confdefs.h <<_ACEOF
75295 #define HAVE__MODFF 1
75296 _ACEOF
75299 done
75308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75309 $as_echo_n "checking for modf declaration... " >&6; }
75310 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75311 if ${glibcxx_cv_func_modf_use+:} false; then :
75312 $as_echo_n "(cached) " >&6
75313 else
75316 ac_ext=cpp
75317 ac_cpp='$CXXCPP $CPPFLAGS'
75318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75323 /* end confdefs.h. */
75324 #include <math.h>
75326 main ()
75328 modf(0, 0);
75330 return 0;
75332 _ACEOF
75333 if ac_fn_cxx_try_compile "$LINENO"; then :
75334 glibcxx_cv_func_modf_use=yes
75335 else
75336 glibcxx_cv_func_modf_use=no
75338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75339 ac_ext=c
75340 ac_cpp='$CPP $CPPFLAGS'
75341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75350 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75352 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75353 for ac_func in modf
75354 do :
75355 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75356 if test "x$ac_cv_func_modf" = xyes; then :
75357 cat >>confdefs.h <<_ACEOF
75358 #define HAVE_MODF 1
75359 _ACEOF
75362 done
75364 else
75366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75367 $as_echo_n "checking for _modf declaration... " >&6; }
75368 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75369 if ${glibcxx_cv_func__modf_use+:} false; then :
75370 $as_echo_n "(cached) " >&6
75371 else
75374 ac_ext=cpp
75375 ac_cpp='$CXXCPP $CPPFLAGS'
75376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75381 /* end confdefs.h. */
75382 #include <math.h>
75384 main ()
75386 _modf(0, 0);
75388 return 0;
75390 _ACEOF
75391 if ac_fn_cxx_try_compile "$LINENO"; then :
75392 glibcxx_cv_func__modf_use=yes
75393 else
75394 glibcxx_cv_func__modf_use=no
75396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75397 ac_ext=c
75398 ac_cpp='$CPP $CPPFLAGS'
75399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75408 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75410 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75411 for ac_func in _modf
75412 do :
75413 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75414 if test "x$ac_cv_func__modf" = xyes; then :
75415 cat >>confdefs.h <<_ACEOF
75416 #define HAVE__MODF 1
75417 _ACEOF
75420 done
75429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75430 $as_echo_n "checking for powf declaration... " >&6; }
75431 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75432 if ${glibcxx_cv_func_powf_use+:} false; then :
75433 $as_echo_n "(cached) " >&6
75434 else
75437 ac_ext=cpp
75438 ac_cpp='$CXXCPP $CPPFLAGS'
75439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75444 /* end confdefs.h. */
75445 #include <math.h>
75447 main ()
75449 powf(0, 0);
75451 return 0;
75453 _ACEOF
75454 if ac_fn_cxx_try_compile "$LINENO"; then :
75455 glibcxx_cv_func_powf_use=yes
75456 else
75457 glibcxx_cv_func_powf_use=no
75459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75460 ac_ext=c
75461 ac_cpp='$CPP $CPPFLAGS'
75462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75471 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75473 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75474 for ac_func in powf
75475 do :
75476 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75477 if test "x$ac_cv_func_powf" = xyes; then :
75478 cat >>confdefs.h <<_ACEOF
75479 #define HAVE_POWF 1
75480 _ACEOF
75483 done
75485 else
75487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75488 $as_echo_n "checking for _powf declaration... " >&6; }
75489 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75490 if ${glibcxx_cv_func__powf_use+:} false; then :
75491 $as_echo_n "(cached) " >&6
75492 else
75495 ac_ext=cpp
75496 ac_cpp='$CXXCPP $CPPFLAGS'
75497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75502 /* end confdefs.h. */
75503 #include <math.h>
75505 main ()
75507 _powf(0, 0);
75509 return 0;
75511 _ACEOF
75512 if ac_fn_cxx_try_compile "$LINENO"; then :
75513 glibcxx_cv_func__powf_use=yes
75514 else
75515 glibcxx_cv_func__powf_use=no
75517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75518 ac_ext=c
75519 ac_cpp='$CPP $CPPFLAGS'
75520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75529 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75531 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75532 for ac_func in _powf
75533 do :
75534 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75535 if test "x$ac_cv_func__powf" = xyes; then :
75536 cat >>confdefs.h <<_ACEOF
75537 #define HAVE__POWF 1
75538 _ACEOF
75541 done
75550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75551 $as_echo_n "checking for sqrtf declaration... " >&6; }
75552 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75553 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
75554 $as_echo_n "(cached) " >&6
75555 else
75558 ac_ext=cpp
75559 ac_cpp='$CXXCPP $CPPFLAGS'
75560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75565 /* end confdefs.h. */
75566 #include <math.h>
75567 #ifdef HAVE_IEEEFP_H
75568 #include <ieeefp.h>
75569 #endif
75572 main ()
75574 sqrtf(0);
75576 return 0;
75578 _ACEOF
75579 if ac_fn_cxx_try_compile "$LINENO"; then :
75580 glibcxx_cv_func_sqrtf_use=yes
75581 else
75582 glibcxx_cv_func_sqrtf_use=no
75584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75585 ac_ext=c
75586 ac_cpp='$CPP $CPPFLAGS'
75587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75596 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75598 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75599 for ac_func in sqrtf
75600 do :
75601 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75602 if test "x$ac_cv_func_sqrtf" = xyes; then :
75603 cat >>confdefs.h <<_ACEOF
75604 #define HAVE_SQRTF 1
75605 _ACEOF
75608 done
75610 else
75612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75613 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75614 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75615 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
75616 $as_echo_n "(cached) " >&6
75617 else
75620 ac_ext=cpp
75621 ac_cpp='$CXXCPP $CPPFLAGS'
75622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75627 /* end confdefs.h. */
75628 #include <math.h>
75629 #ifdef HAVE_IEEEFP_H
75630 #include <ieeefp.h>
75631 #endif
75634 main ()
75636 _sqrtf(0);
75638 return 0;
75640 _ACEOF
75641 if ac_fn_cxx_try_compile "$LINENO"; then :
75642 glibcxx_cv_func__sqrtf_use=yes
75643 else
75644 glibcxx_cv_func__sqrtf_use=no
75646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75647 ac_ext=c
75648 ac_cpp='$CPP $CPPFLAGS'
75649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75658 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75660 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75661 for ac_func in _sqrtf
75662 do :
75663 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75664 if test "x$ac_cv_func__sqrtf" = xyes; then :
75665 cat >>confdefs.h <<_ACEOF
75666 #define HAVE__SQRTF 1
75667 _ACEOF
75670 done
75679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75680 $as_echo_n "checking for sincosf declaration... " >&6; }
75681 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75682 if ${glibcxx_cv_func_sincosf_use+:} false; then :
75683 $as_echo_n "(cached) " >&6
75684 else
75687 ac_ext=cpp
75688 ac_cpp='$CXXCPP $CPPFLAGS'
75689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75694 /* end confdefs.h. */
75695 #include <math.h>
75697 main ()
75699 sincosf(0, 0, 0);
75701 return 0;
75703 _ACEOF
75704 if ac_fn_cxx_try_compile "$LINENO"; then :
75705 glibcxx_cv_func_sincosf_use=yes
75706 else
75707 glibcxx_cv_func_sincosf_use=no
75709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75710 ac_ext=c
75711 ac_cpp='$CPP $CPPFLAGS'
75712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75721 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75723 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75724 for ac_func in sincosf
75725 do :
75726 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75727 if test "x$ac_cv_func_sincosf" = xyes; then :
75728 cat >>confdefs.h <<_ACEOF
75729 #define HAVE_SINCOSF 1
75730 _ACEOF
75733 done
75735 else
75737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75738 $as_echo_n "checking for _sincosf declaration... " >&6; }
75739 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75740 if ${glibcxx_cv_func__sincosf_use+:} false; then :
75741 $as_echo_n "(cached) " >&6
75742 else
75745 ac_ext=cpp
75746 ac_cpp='$CXXCPP $CPPFLAGS'
75747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75752 /* end confdefs.h. */
75753 #include <math.h>
75755 main ()
75757 _sincosf(0, 0, 0);
75759 return 0;
75761 _ACEOF
75762 if ac_fn_cxx_try_compile "$LINENO"; then :
75763 glibcxx_cv_func__sincosf_use=yes
75764 else
75765 glibcxx_cv_func__sincosf_use=no
75767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75768 ac_ext=c
75769 ac_cpp='$CPP $CPPFLAGS'
75770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75779 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75781 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75782 for ac_func in _sincosf
75783 do :
75784 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75785 if test "x$ac_cv_func__sincosf" = xyes; then :
75786 cat >>confdefs.h <<_ACEOF
75787 #define HAVE__SINCOSF 1
75788 _ACEOF
75791 done
75800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75801 $as_echo_n "checking for finitef declaration... " >&6; }
75802 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75803 if ${glibcxx_cv_func_finitef_use+:} false; then :
75804 $as_echo_n "(cached) " >&6
75805 else
75808 ac_ext=cpp
75809 ac_cpp='$CXXCPP $CPPFLAGS'
75810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75815 /* end confdefs.h. */
75816 #include <math.h>
75817 #ifdef HAVE_IEEEFP_H
75818 #include <ieeefp.h>
75819 #endif
75822 main ()
75824 finitef(0);
75826 return 0;
75828 _ACEOF
75829 if ac_fn_cxx_try_compile "$LINENO"; then :
75830 glibcxx_cv_func_finitef_use=yes
75831 else
75832 glibcxx_cv_func_finitef_use=no
75834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75835 ac_ext=c
75836 ac_cpp='$CPP $CPPFLAGS'
75837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75846 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75848 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75849 for ac_func in finitef
75850 do :
75851 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75852 if test "x$ac_cv_func_finitef" = xyes; then :
75853 cat >>confdefs.h <<_ACEOF
75854 #define HAVE_FINITEF 1
75855 _ACEOF
75858 done
75860 else
75862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75863 $as_echo_n "checking for _finitef declaration... " >&6; }
75864 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75865 if ${glibcxx_cv_func__finitef_use+:} false; then :
75866 $as_echo_n "(cached) " >&6
75867 else
75870 ac_ext=cpp
75871 ac_cpp='$CXXCPP $CPPFLAGS'
75872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75877 /* end confdefs.h. */
75878 #include <math.h>
75879 #ifdef HAVE_IEEEFP_H
75880 #include <ieeefp.h>
75881 #endif
75884 main ()
75886 _finitef(0);
75888 return 0;
75890 _ACEOF
75891 if ac_fn_cxx_try_compile "$LINENO"; then :
75892 glibcxx_cv_func__finitef_use=yes
75893 else
75894 glibcxx_cv_func__finitef_use=no
75896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75897 ac_ext=c
75898 ac_cpp='$CPP $CPPFLAGS'
75899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75908 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75910 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75911 for ac_func in _finitef
75912 do :
75913 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75914 if test "x$ac_cv_func__finitef" = xyes; then :
75915 cat >>confdefs.h <<_ACEOF
75916 #define HAVE__FINITEF 1
75917 _ACEOF
75920 done
75929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75930 $as_echo_n "checking for long double trig functions... " >&6; }
75931 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
75932 $as_echo_n "(cached) " >&6
75933 else
75936 ac_ext=cpp
75937 ac_cpp='$CXXCPP $CPPFLAGS'
75938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75943 /* end confdefs.h. */
75944 #include <math.h>
75946 main ()
75948 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75950 return 0;
75952 _ACEOF
75953 if ac_fn_cxx_try_compile "$LINENO"; then :
75954 glibcxx_cv_func_long_double_trig_use=yes
75955 else
75956 glibcxx_cv_func_long_double_trig_use=no
75958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75959 ac_ext=c
75960 ac_cpp='$CPP $CPPFLAGS'
75961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75968 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75969 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75970 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75971 do :
75972 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75973 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75974 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
75975 cat >>confdefs.h <<_ACEOF
75976 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75977 _ACEOF
75980 done
75982 else
75983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75984 $as_echo_n "checking for _long double trig functions... " >&6; }
75985 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
75986 $as_echo_n "(cached) " >&6
75987 else
75990 ac_ext=cpp
75991 ac_cpp='$CXXCPP $CPPFLAGS'
75992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75997 /* end confdefs.h. */
75998 #include <math.h>
76000 main ()
76002 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
76004 return 0;
76006 _ACEOF
76007 if ac_fn_cxx_try_compile "$LINENO"; then :
76008 glibcxx_cv_func__long_double_trig_use=yes
76009 else
76010 glibcxx_cv_func__long_double_trig_use=no
76012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76013 ac_ext=c
76014 ac_cpp='$CPP $CPPFLAGS'
76015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
76022 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
76023 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
76024 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
76025 do :
76026 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76027 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76028 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76029 cat >>confdefs.h <<_ACEOF
76030 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76031 _ACEOF
76034 done
76043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
76044 $as_echo_n "checking for long double round functions... " >&6; }
76045 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
76046 $as_echo_n "(cached) " >&6
76047 else
76050 ac_ext=cpp
76051 ac_cpp='$CXXCPP $CPPFLAGS'
76052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76057 /* end confdefs.h. */
76058 #include <math.h>
76060 main ()
76062 ceill (0); floorl (0);
76064 return 0;
76066 _ACEOF
76067 if ac_fn_cxx_try_compile "$LINENO"; then :
76068 glibcxx_cv_func_long_double_round_use=yes
76069 else
76070 glibcxx_cv_func_long_double_round_use=no
76072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76073 ac_ext=c
76074 ac_cpp='$CPP $CPPFLAGS'
76075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
76082 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
76083 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
76084 for ac_func in ceill floorl
76085 do :
76086 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76087 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76088 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76089 cat >>confdefs.h <<_ACEOF
76090 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76091 _ACEOF
76094 done
76096 else
76097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
76098 $as_echo_n "checking for _long double round functions... " >&6; }
76099 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
76100 $as_echo_n "(cached) " >&6
76101 else
76104 ac_ext=cpp
76105 ac_cpp='$CXXCPP $CPPFLAGS'
76106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76111 /* end confdefs.h. */
76112 #include <math.h>
76114 main ()
76116 _ceill (0); _floorl (0);
76118 return 0;
76120 _ACEOF
76121 if ac_fn_cxx_try_compile "$LINENO"; then :
76122 glibcxx_cv_func__long_double_round_use=yes
76123 else
76124 glibcxx_cv_func__long_double_round_use=no
76126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76127 ac_ext=c
76128 ac_cpp='$CPP $CPPFLAGS'
76129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
76136 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
76137 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
76138 for ac_func in _ceill _floorl
76139 do :
76140 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76141 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76142 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76143 cat >>confdefs.h <<_ACEOF
76144 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76145 _ACEOF
76148 done
76158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
76159 $as_echo_n "checking for isnanl declaration... " >&6; }
76160 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
76161 if ${glibcxx_cv_func_isnanl_use+:} false; then :
76162 $as_echo_n "(cached) " >&6
76163 else
76166 ac_ext=cpp
76167 ac_cpp='$CXXCPP $CPPFLAGS'
76168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76173 /* end confdefs.h. */
76174 #include <math.h>
76175 #ifdef HAVE_IEEEFP_H
76176 #include <ieeefp.h>
76177 #endif
76180 main ()
76182 isnanl(0);
76184 return 0;
76186 _ACEOF
76187 if ac_fn_cxx_try_compile "$LINENO"; then :
76188 glibcxx_cv_func_isnanl_use=yes
76189 else
76190 glibcxx_cv_func_isnanl_use=no
76192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76193 ac_ext=c
76194 ac_cpp='$CPP $CPPFLAGS'
76195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
76204 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
76206 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76207 for ac_func in isnanl
76208 do :
76209 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
76210 if test "x$ac_cv_func_isnanl" = xyes; then :
76211 cat >>confdefs.h <<_ACEOF
76212 #define HAVE_ISNANL 1
76213 _ACEOF
76216 done
76218 else
76220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
76221 $as_echo_n "checking for _isnanl declaration... " >&6; }
76222 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76223 if ${glibcxx_cv_func__isnanl_use+:} false; then :
76224 $as_echo_n "(cached) " >&6
76225 else
76228 ac_ext=cpp
76229 ac_cpp='$CXXCPP $CPPFLAGS'
76230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76235 /* end confdefs.h. */
76236 #include <math.h>
76237 #ifdef HAVE_IEEEFP_H
76238 #include <ieeefp.h>
76239 #endif
76242 main ()
76244 _isnanl(0);
76246 return 0;
76248 _ACEOF
76249 if ac_fn_cxx_try_compile "$LINENO"; then :
76250 glibcxx_cv_func__isnanl_use=yes
76251 else
76252 glibcxx_cv_func__isnanl_use=no
76254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76255 ac_ext=c
76256 ac_cpp='$CPP $CPPFLAGS'
76257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76266 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76268 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76269 for ac_func in _isnanl
76270 do :
76271 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76272 if test "x$ac_cv_func__isnanl" = xyes; then :
76273 cat >>confdefs.h <<_ACEOF
76274 #define HAVE__ISNANL 1
76275 _ACEOF
76278 done
76287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76288 $as_echo_n "checking for isinfl declaration... " >&6; }
76289 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76290 if ${glibcxx_cv_func_isinfl_use+:} false; then :
76291 $as_echo_n "(cached) " >&6
76292 else
76295 ac_ext=cpp
76296 ac_cpp='$CXXCPP $CPPFLAGS'
76297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76302 /* end confdefs.h. */
76303 #include <math.h>
76304 #ifdef HAVE_IEEEFP_H
76305 #include <ieeefp.h>
76306 #endif
76309 main ()
76311 isinfl(0);
76313 return 0;
76315 _ACEOF
76316 if ac_fn_cxx_try_compile "$LINENO"; then :
76317 glibcxx_cv_func_isinfl_use=yes
76318 else
76319 glibcxx_cv_func_isinfl_use=no
76321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76322 ac_ext=c
76323 ac_cpp='$CPP $CPPFLAGS'
76324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76333 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76335 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76336 for ac_func in isinfl
76337 do :
76338 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76339 if test "x$ac_cv_func_isinfl" = xyes; then :
76340 cat >>confdefs.h <<_ACEOF
76341 #define HAVE_ISINFL 1
76342 _ACEOF
76345 done
76347 else
76349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76350 $as_echo_n "checking for _isinfl declaration... " >&6; }
76351 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76352 if ${glibcxx_cv_func__isinfl_use+:} false; then :
76353 $as_echo_n "(cached) " >&6
76354 else
76357 ac_ext=cpp
76358 ac_cpp='$CXXCPP $CPPFLAGS'
76359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76364 /* end confdefs.h. */
76365 #include <math.h>
76366 #ifdef HAVE_IEEEFP_H
76367 #include <ieeefp.h>
76368 #endif
76371 main ()
76373 _isinfl(0);
76375 return 0;
76377 _ACEOF
76378 if ac_fn_cxx_try_compile "$LINENO"; then :
76379 glibcxx_cv_func__isinfl_use=yes
76380 else
76381 glibcxx_cv_func__isinfl_use=no
76383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76384 ac_ext=c
76385 ac_cpp='$CPP $CPPFLAGS'
76386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76395 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76397 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76398 for ac_func in _isinfl
76399 do :
76400 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76401 if test "x$ac_cv_func__isinfl" = xyes; then :
76402 cat >>confdefs.h <<_ACEOF
76403 #define HAVE__ISINFL 1
76404 _ACEOF
76407 done
76416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76417 $as_echo_n "checking for atan2l declaration... " >&6; }
76418 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76419 if ${glibcxx_cv_func_atan2l_use+:} false; then :
76420 $as_echo_n "(cached) " >&6
76421 else
76424 ac_ext=cpp
76425 ac_cpp='$CXXCPP $CPPFLAGS'
76426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76431 /* end confdefs.h. */
76432 #include <math.h>
76434 main ()
76436 atan2l(0, 0);
76438 return 0;
76440 _ACEOF
76441 if ac_fn_cxx_try_compile "$LINENO"; then :
76442 glibcxx_cv_func_atan2l_use=yes
76443 else
76444 glibcxx_cv_func_atan2l_use=no
76446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76447 ac_ext=c
76448 ac_cpp='$CPP $CPPFLAGS'
76449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76458 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76460 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76461 for ac_func in atan2l
76462 do :
76463 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76464 if test "x$ac_cv_func_atan2l" = xyes; then :
76465 cat >>confdefs.h <<_ACEOF
76466 #define HAVE_ATAN2L 1
76467 _ACEOF
76470 done
76472 else
76474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76475 $as_echo_n "checking for _atan2l declaration... " >&6; }
76476 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76477 if ${glibcxx_cv_func__atan2l_use+:} false; then :
76478 $as_echo_n "(cached) " >&6
76479 else
76482 ac_ext=cpp
76483 ac_cpp='$CXXCPP $CPPFLAGS'
76484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76489 /* end confdefs.h. */
76490 #include <math.h>
76492 main ()
76494 _atan2l(0, 0);
76496 return 0;
76498 _ACEOF
76499 if ac_fn_cxx_try_compile "$LINENO"; then :
76500 glibcxx_cv_func__atan2l_use=yes
76501 else
76502 glibcxx_cv_func__atan2l_use=no
76504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76505 ac_ext=c
76506 ac_cpp='$CPP $CPPFLAGS'
76507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76516 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76518 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76519 for ac_func in _atan2l
76520 do :
76521 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76522 if test "x$ac_cv_func__atan2l" = xyes; then :
76523 cat >>confdefs.h <<_ACEOF
76524 #define HAVE__ATAN2L 1
76525 _ACEOF
76528 done
76537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76538 $as_echo_n "checking for expl declaration... " >&6; }
76539 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76540 if ${glibcxx_cv_func_expl_use+:} false; then :
76541 $as_echo_n "(cached) " >&6
76542 else
76545 ac_ext=cpp
76546 ac_cpp='$CXXCPP $CPPFLAGS'
76547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76552 /* end confdefs.h. */
76553 #include <math.h>
76554 #ifdef HAVE_IEEEFP_H
76555 #include <ieeefp.h>
76556 #endif
76559 main ()
76561 expl(0);
76563 return 0;
76565 _ACEOF
76566 if ac_fn_cxx_try_compile "$LINENO"; then :
76567 glibcxx_cv_func_expl_use=yes
76568 else
76569 glibcxx_cv_func_expl_use=no
76571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76572 ac_ext=c
76573 ac_cpp='$CPP $CPPFLAGS'
76574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76583 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76585 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76586 for ac_func in expl
76587 do :
76588 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76589 if test "x$ac_cv_func_expl" = xyes; then :
76590 cat >>confdefs.h <<_ACEOF
76591 #define HAVE_EXPL 1
76592 _ACEOF
76595 done
76597 else
76599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76600 $as_echo_n "checking for _expl declaration... " >&6; }
76601 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76602 if ${glibcxx_cv_func__expl_use+:} false; then :
76603 $as_echo_n "(cached) " >&6
76604 else
76607 ac_ext=cpp
76608 ac_cpp='$CXXCPP $CPPFLAGS'
76609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76614 /* end confdefs.h. */
76615 #include <math.h>
76616 #ifdef HAVE_IEEEFP_H
76617 #include <ieeefp.h>
76618 #endif
76621 main ()
76623 _expl(0);
76625 return 0;
76627 _ACEOF
76628 if ac_fn_cxx_try_compile "$LINENO"; then :
76629 glibcxx_cv_func__expl_use=yes
76630 else
76631 glibcxx_cv_func__expl_use=no
76633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76634 ac_ext=c
76635 ac_cpp='$CPP $CPPFLAGS'
76636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76645 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76647 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76648 for ac_func in _expl
76649 do :
76650 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76651 if test "x$ac_cv_func__expl" = xyes; then :
76652 cat >>confdefs.h <<_ACEOF
76653 #define HAVE__EXPL 1
76654 _ACEOF
76657 done
76666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76667 $as_echo_n "checking for fabsl declaration... " >&6; }
76668 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76669 if ${glibcxx_cv_func_fabsl_use+:} false; then :
76670 $as_echo_n "(cached) " >&6
76671 else
76674 ac_ext=cpp
76675 ac_cpp='$CXXCPP $CPPFLAGS'
76676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76681 /* end confdefs.h. */
76682 #include <math.h>
76683 #ifdef HAVE_IEEEFP_H
76684 #include <ieeefp.h>
76685 #endif
76688 main ()
76690 fabsl(0);
76692 return 0;
76694 _ACEOF
76695 if ac_fn_cxx_try_compile "$LINENO"; then :
76696 glibcxx_cv_func_fabsl_use=yes
76697 else
76698 glibcxx_cv_func_fabsl_use=no
76700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76701 ac_ext=c
76702 ac_cpp='$CPP $CPPFLAGS'
76703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76712 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76714 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76715 for ac_func in fabsl
76716 do :
76717 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76718 if test "x$ac_cv_func_fabsl" = xyes; then :
76719 cat >>confdefs.h <<_ACEOF
76720 #define HAVE_FABSL 1
76721 _ACEOF
76724 done
76726 else
76728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76729 $as_echo_n "checking for _fabsl declaration... " >&6; }
76730 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76731 if ${glibcxx_cv_func__fabsl_use+:} false; then :
76732 $as_echo_n "(cached) " >&6
76733 else
76736 ac_ext=cpp
76737 ac_cpp='$CXXCPP $CPPFLAGS'
76738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76743 /* end confdefs.h. */
76744 #include <math.h>
76745 #ifdef HAVE_IEEEFP_H
76746 #include <ieeefp.h>
76747 #endif
76750 main ()
76752 _fabsl(0);
76754 return 0;
76756 _ACEOF
76757 if ac_fn_cxx_try_compile "$LINENO"; then :
76758 glibcxx_cv_func__fabsl_use=yes
76759 else
76760 glibcxx_cv_func__fabsl_use=no
76762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76763 ac_ext=c
76764 ac_cpp='$CPP $CPPFLAGS'
76765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76774 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76776 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76777 for ac_func in _fabsl
76778 do :
76779 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76780 if test "x$ac_cv_func__fabsl" = xyes; then :
76781 cat >>confdefs.h <<_ACEOF
76782 #define HAVE__FABSL 1
76783 _ACEOF
76786 done
76795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76796 $as_echo_n "checking for fmodl declaration... " >&6; }
76797 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76798 if ${glibcxx_cv_func_fmodl_use+:} false; then :
76799 $as_echo_n "(cached) " >&6
76800 else
76803 ac_ext=cpp
76804 ac_cpp='$CXXCPP $CPPFLAGS'
76805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76810 /* end confdefs.h. */
76811 #include <math.h>
76813 main ()
76815 fmodl(0, 0);
76817 return 0;
76819 _ACEOF
76820 if ac_fn_cxx_try_compile "$LINENO"; then :
76821 glibcxx_cv_func_fmodl_use=yes
76822 else
76823 glibcxx_cv_func_fmodl_use=no
76825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76826 ac_ext=c
76827 ac_cpp='$CPP $CPPFLAGS'
76828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76837 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76839 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76840 for ac_func in fmodl
76841 do :
76842 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76843 if test "x$ac_cv_func_fmodl" = xyes; then :
76844 cat >>confdefs.h <<_ACEOF
76845 #define HAVE_FMODL 1
76846 _ACEOF
76849 done
76851 else
76853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76854 $as_echo_n "checking for _fmodl declaration... " >&6; }
76855 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76856 if ${glibcxx_cv_func__fmodl_use+:} false; then :
76857 $as_echo_n "(cached) " >&6
76858 else
76861 ac_ext=cpp
76862 ac_cpp='$CXXCPP $CPPFLAGS'
76863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76868 /* end confdefs.h. */
76869 #include <math.h>
76871 main ()
76873 _fmodl(0, 0);
76875 return 0;
76877 _ACEOF
76878 if ac_fn_cxx_try_compile "$LINENO"; then :
76879 glibcxx_cv_func__fmodl_use=yes
76880 else
76881 glibcxx_cv_func__fmodl_use=no
76883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76884 ac_ext=c
76885 ac_cpp='$CPP $CPPFLAGS'
76886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76895 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76897 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76898 for ac_func in _fmodl
76899 do :
76900 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76901 if test "x$ac_cv_func__fmodl" = xyes; then :
76902 cat >>confdefs.h <<_ACEOF
76903 #define HAVE__FMODL 1
76904 _ACEOF
76907 done
76916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76917 $as_echo_n "checking for frexpl declaration... " >&6; }
76918 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76919 if ${glibcxx_cv_func_frexpl_use+:} false; then :
76920 $as_echo_n "(cached) " >&6
76921 else
76924 ac_ext=cpp
76925 ac_cpp='$CXXCPP $CPPFLAGS'
76926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76931 /* end confdefs.h. */
76932 #include <math.h>
76934 main ()
76936 frexpl(0, 0);
76938 return 0;
76940 _ACEOF
76941 if ac_fn_cxx_try_compile "$LINENO"; then :
76942 glibcxx_cv_func_frexpl_use=yes
76943 else
76944 glibcxx_cv_func_frexpl_use=no
76946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76947 ac_ext=c
76948 ac_cpp='$CPP $CPPFLAGS'
76949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76958 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76960 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76961 for ac_func in frexpl
76962 do :
76963 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76964 if test "x$ac_cv_func_frexpl" = xyes; then :
76965 cat >>confdefs.h <<_ACEOF
76966 #define HAVE_FREXPL 1
76967 _ACEOF
76970 done
76972 else
76974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76975 $as_echo_n "checking for _frexpl declaration... " >&6; }
76976 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76977 if ${glibcxx_cv_func__frexpl_use+:} false; then :
76978 $as_echo_n "(cached) " >&6
76979 else
76982 ac_ext=cpp
76983 ac_cpp='$CXXCPP $CPPFLAGS'
76984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76989 /* end confdefs.h. */
76990 #include <math.h>
76992 main ()
76994 _frexpl(0, 0);
76996 return 0;
76998 _ACEOF
76999 if ac_fn_cxx_try_compile "$LINENO"; then :
77000 glibcxx_cv_func__frexpl_use=yes
77001 else
77002 glibcxx_cv_func__frexpl_use=no
77004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77005 ac_ext=c
77006 ac_cpp='$CPP $CPPFLAGS'
77007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
77016 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
77018 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
77019 for ac_func in _frexpl
77020 do :
77021 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
77022 if test "x$ac_cv_func__frexpl" = xyes; then :
77023 cat >>confdefs.h <<_ACEOF
77024 #define HAVE__FREXPL 1
77025 _ACEOF
77028 done
77037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
77038 $as_echo_n "checking for hypotl declaration... " >&6; }
77039 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
77040 if ${glibcxx_cv_func_hypotl_use+:} false; then :
77041 $as_echo_n "(cached) " >&6
77042 else
77045 ac_ext=cpp
77046 ac_cpp='$CXXCPP $CPPFLAGS'
77047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77052 /* end confdefs.h. */
77053 #include <math.h>
77055 main ()
77057 hypotl(0, 0);
77059 return 0;
77061 _ACEOF
77062 if ac_fn_cxx_try_compile "$LINENO"; then :
77063 glibcxx_cv_func_hypotl_use=yes
77064 else
77065 glibcxx_cv_func_hypotl_use=no
77067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77068 ac_ext=c
77069 ac_cpp='$CPP $CPPFLAGS'
77070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
77079 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
77081 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
77082 for ac_func in hypotl
77083 do :
77084 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
77085 if test "x$ac_cv_func_hypotl" = xyes; then :
77086 cat >>confdefs.h <<_ACEOF
77087 #define HAVE_HYPOTL 1
77088 _ACEOF
77091 done
77093 else
77095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
77096 $as_echo_n "checking for _hypotl declaration... " >&6; }
77097 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
77098 if ${glibcxx_cv_func__hypotl_use+:} false; then :
77099 $as_echo_n "(cached) " >&6
77100 else
77103 ac_ext=cpp
77104 ac_cpp='$CXXCPP $CPPFLAGS'
77105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77110 /* end confdefs.h. */
77111 #include <math.h>
77113 main ()
77115 _hypotl(0, 0);
77117 return 0;
77119 _ACEOF
77120 if ac_fn_cxx_try_compile "$LINENO"; then :
77121 glibcxx_cv_func__hypotl_use=yes
77122 else
77123 glibcxx_cv_func__hypotl_use=no
77125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77126 ac_ext=c
77127 ac_cpp='$CPP $CPPFLAGS'
77128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
77137 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
77139 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
77140 for ac_func in _hypotl
77141 do :
77142 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
77143 if test "x$ac_cv_func__hypotl" = xyes; then :
77144 cat >>confdefs.h <<_ACEOF
77145 #define HAVE__HYPOTL 1
77146 _ACEOF
77149 done
77158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
77159 $as_echo_n "checking for ldexpl declaration... " >&6; }
77160 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
77161 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
77162 $as_echo_n "(cached) " >&6
77163 else
77166 ac_ext=cpp
77167 ac_cpp='$CXXCPP $CPPFLAGS'
77168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77173 /* end confdefs.h. */
77174 #include <math.h>
77176 main ()
77178 ldexpl(0, 0);
77180 return 0;
77182 _ACEOF
77183 if ac_fn_cxx_try_compile "$LINENO"; then :
77184 glibcxx_cv_func_ldexpl_use=yes
77185 else
77186 glibcxx_cv_func_ldexpl_use=no
77188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77189 ac_ext=c
77190 ac_cpp='$CPP $CPPFLAGS'
77191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
77200 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
77202 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77203 for ac_func in ldexpl
77204 do :
77205 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
77206 if test "x$ac_cv_func_ldexpl" = xyes; then :
77207 cat >>confdefs.h <<_ACEOF
77208 #define HAVE_LDEXPL 1
77209 _ACEOF
77212 done
77214 else
77216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
77217 $as_echo_n "checking for _ldexpl declaration... " >&6; }
77218 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77219 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
77220 $as_echo_n "(cached) " >&6
77221 else
77224 ac_ext=cpp
77225 ac_cpp='$CXXCPP $CPPFLAGS'
77226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77231 /* end confdefs.h. */
77232 #include <math.h>
77234 main ()
77236 _ldexpl(0, 0);
77238 return 0;
77240 _ACEOF
77241 if ac_fn_cxx_try_compile "$LINENO"; then :
77242 glibcxx_cv_func__ldexpl_use=yes
77243 else
77244 glibcxx_cv_func__ldexpl_use=no
77246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77247 ac_ext=c
77248 ac_cpp='$CPP $CPPFLAGS'
77249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77258 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77260 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77261 for ac_func in _ldexpl
77262 do :
77263 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77264 if test "x$ac_cv_func__ldexpl" = xyes; then :
77265 cat >>confdefs.h <<_ACEOF
77266 #define HAVE__LDEXPL 1
77267 _ACEOF
77270 done
77279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77280 $as_echo_n "checking for logl declaration... " >&6; }
77281 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77282 if ${glibcxx_cv_func_logl_use+:} false; then :
77283 $as_echo_n "(cached) " >&6
77284 else
77287 ac_ext=cpp
77288 ac_cpp='$CXXCPP $CPPFLAGS'
77289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77294 /* end confdefs.h. */
77295 #include <math.h>
77296 #ifdef HAVE_IEEEFP_H
77297 #include <ieeefp.h>
77298 #endif
77301 main ()
77303 logl(0);
77305 return 0;
77307 _ACEOF
77308 if ac_fn_cxx_try_compile "$LINENO"; then :
77309 glibcxx_cv_func_logl_use=yes
77310 else
77311 glibcxx_cv_func_logl_use=no
77313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77314 ac_ext=c
77315 ac_cpp='$CPP $CPPFLAGS'
77316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77325 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77327 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77328 for ac_func in logl
77329 do :
77330 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77331 if test "x$ac_cv_func_logl" = xyes; then :
77332 cat >>confdefs.h <<_ACEOF
77333 #define HAVE_LOGL 1
77334 _ACEOF
77337 done
77339 else
77341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77342 $as_echo_n "checking for _logl declaration... " >&6; }
77343 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77344 if ${glibcxx_cv_func__logl_use+:} false; then :
77345 $as_echo_n "(cached) " >&6
77346 else
77349 ac_ext=cpp
77350 ac_cpp='$CXXCPP $CPPFLAGS'
77351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77356 /* end confdefs.h. */
77357 #include <math.h>
77358 #ifdef HAVE_IEEEFP_H
77359 #include <ieeefp.h>
77360 #endif
77363 main ()
77365 _logl(0);
77367 return 0;
77369 _ACEOF
77370 if ac_fn_cxx_try_compile "$LINENO"; then :
77371 glibcxx_cv_func__logl_use=yes
77372 else
77373 glibcxx_cv_func__logl_use=no
77375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77376 ac_ext=c
77377 ac_cpp='$CPP $CPPFLAGS'
77378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77387 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77389 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77390 for ac_func in _logl
77391 do :
77392 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77393 if test "x$ac_cv_func__logl" = xyes; then :
77394 cat >>confdefs.h <<_ACEOF
77395 #define HAVE__LOGL 1
77396 _ACEOF
77399 done
77408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77409 $as_echo_n "checking for log10l declaration... " >&6; }
77410 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77411 if ${glibcxx_cv_func_log10l_use+:} false; then :
77412 $as_echo_n "(cached) " >&6
77413 else
77416 ac_ext=cpp
77417 ac_cpp='$CXXCPP $CPPFLAGS'
77418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77423 /* end confdefs.h. */
77424 #include <math.h>
77425 #ifdef HAVE_IEEEFP_H
77426 #include <ieeefp.h>
77427 #endif
77430 main ()
77432 log10l(0);
77434 return 0;
77436 _ACEOF
77437 if ac_fn_cxx_try_compile "$LINENO"; then :
77438 glibcxx_cv_func_log10l_use=yes
77439 else
77440 glibcxx_cv_func_log10l_use=no
77442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77443 ac_ext=c
77444 ac_cpp='$CPP $CPPFLAGS'
77445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77454 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77456 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77457 for ac_func in log10l
77458 do :
77459 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77460 if test "x$ac_cv_func_log10l" = xyes; then :
77461 cat >>confdefs.h <<_ACEOF
77462 #define HAVE_LOG10L 1
77463 _ACEOF
77466 done
77468 else
77470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77471 $as_echo_n "checking for _log10l declaration... " >&6; }
77472 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77473 if ${glibcxx_cv_func__log10l_use+:} false; then :
77474 $as_echo_n "(cached) " >&6
77475 else
77478 ac_ext=cpp
77479 ac_cpp='$CXXCPP $CPPFLAGS'
77480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77485 /* end confdefs.h. */
77486 #include <math.h>
77487 #ifdef HAVE_IEEEFP_H
77488 #include <ieeefp.h>
77489 #endif
77492 main ()
77494 _log10l(0);
77496 return 0;
77498 _ACEOF
77499 if ac_fn_cxx_try_compile "$LINENO"; then :
77500 glibcxx_cv_func__log10l_use=yes
77501 else
77502 glibcxx_cv_func__log10l_use=no
77504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77505 ac_ext=c
77506 ac_cpp='$CPP $CPPFLAGS'
77507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77516 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77518 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77519 for ac_func in _log10l
77520 do :
77521 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77522 if test "x$ac_cv_func__log10l" = xyes; then :
77523 cat >>confdefs.h <<_ACEOF
77524 #define HAVE__LOG10L 1
77525 _ACEOF
77528 done
77537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77538 $as_echo_n "checking for modfl declaration... " >&6; }
77539 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77540 if ${glibcxx_cv_func_modfl_use+:} false; then :
77541 $as_echo_n "(cached) " >&6
77542 else
77545 ac_ext=cpp
77546 ac_cpp='$CXXCPP $CPPFLAGS'
77547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77552 /* end confdefs.h. */
77553 #include <math.h>
77555 main ()
77557 modfl(0, 0);
77559 return 0;
77561 _ACEOF
77562 if ac_fn_cxx_try_compile "$LINENO"; then :
77563 glibcxx_cv_func_modfl_use=yes
77564 else
77565 glibcxx_cv_func_modfl_use=no
77567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77568 ac_ext=c
77569 ac_cpp='$CPP $CPPFLAGS'
77570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77579 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77581 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77582 for ac_func in modfl
77583 do :
77584 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77585 if test "x$ac_cv_func_modfl" = xyes; then :
77586 cat >>confdefs.h <<_ACEOF
77587 #define HAVE_MODFL 1
77588 _ACEOF
77591 done
77593 else
77595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77596 $as_echo_n "checking for _modfl declaration... " >&6; }
77597 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77598 if ${glibcxx_cv_func__modfl_use+:} false; then :
77599 $as_echo_n "(cached) " >&6
77600 else
77603 ac_ext=cpp
77604 ac_cpp='$CXXCPP $CPPFLAGS'
77605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77610 /* end confdefs.h. */
77611 #include <math.h>
77613 main ()
77615 _modfl(0, 0);
77617 return 0;
77619 _ACEOF
77620 if ac_fn_cxx_try_compile "$LINENO"; then :
77621 glibcxx_cv_func__modfl_use=yes
77622 else
77623 glibcxx_cv_func__modfl_use=no
77625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77626 ac_ext=c
77627 ac_cpp='$CPP $CPPFLAGS'
77628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77637 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77639 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77640 for ac_func in _modfl
77641 do :
77642 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77643 if test "x$ac_cv_func__modfl" = xyes; then :
77644 cat >>confdefs.h <<_ACEOF
77645 #define HAVE__MODFL 1
77646 _ACEOF
77649 done
77658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77659 $as_echo_n "checking for powl declaration... " >&6; }
77660 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77661 if ${glibcxx_cv_func_powl_use+:} false; then :
77662 $as_echo_n "(cached) " >&6
77663 else
77666 ac_ext=cpp
77667 ac_cpp='$CXXCPP $CPPFLAGS'
77668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77673 /* end confdefs.h. */
77674 #include <math.h>
77676 main ()
77678 powl(0, 0);
77680 return 0;
77682 _ACEOF
77683 if ac_fn_cxx_try_compile "$LINENO"; then :
77684 glibcxx_cv_func_powl_use=yes
77685 else
77686 glibcxx_cv_func_powl_use=no
77688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77689 ac_ext=c
77690 ac_cpp='$CPP $CPPFLAGS'
77691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77700 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77702 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77703 for ac_func in powl
77704 do :
77705 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77706 if test "x$ac_cv_func_powl" = xyes; then :
77707 cat >>confdefs.h <<_ACEOF
77708 #define HAVE_POWL 1
77709 _ACEOF
77712 done
77714 else
77716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77717 $as_echo_n "checking for _powl declaration... " >&6; }
77718 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77719 if ${glibcxx_cv_func__powl_use+:} false; then :
77720 $as_echo_n "(cached) " >&6
77721 else
77724 ac_ext=cpp
77725 ac_cpp='$CXXCPP $CPPFLAGS'
77726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77731 /* end confdefs.h. */
77732 #include <math.h>
77734 main ()
77736 _powl(0, 0);
77738 return 0;
77740 _ACEOF
77741 if ac_fn_cxx_try_compile "$LINENO"; then :
77742 glibcxx_cv_func__powl_use=yes
77743 else
77744 glibcxx_cv_func__powl_use=no
77746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77747 ac_ext=c
77748 ac_cpp='$CPP $CPPFLAGS'
77749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77758 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77760 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77761 for ac_func in _powl
77762 do :
77763 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77764 if test "x$ac_cv_func__powl" = xyes; then :
77765 cat >>confdefs.h <<_ACEOF
77766 #define HAVE__POWL 1
77767 _ACEOF
77770 done
77779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77780 $as_echo_n "checking for sqrtl declaration... " >&6; }
77781 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77782 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
77783 $as_echo_n "(cached) " >&6
77784 else
77787 ac_ext=cpp
77788 ac_cpp='$CXXCPP $CPPFLAGS'
77789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77794 /* end confdefs.h. */
77795 #include <math.h>
77796 #ifdef HAVE_IEEEFP_H
77797 #include <ieeefp.h>
77798 #endif
77801 main ()
77803 sqrtl(0);
77805 return 0;
77807 _ACEOF
77808 if ac_fn_cxx_try_compile "$LINENO"; then :
77809 glibcxx_cv_func_sqrtl_use=yes
77810 else
77811 glibcxx_cv_func_sqrtl_use=no
77813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77814 ac_ext=c
77815 ac_cpp='$CPP $CPPFLAGS'
77816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77825 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77827 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77828 for ac_func in sqrtl
77829 do :
77830 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77831 if test "x$ac_cv_func_sqrtl" = xyes; then :
77832 cat >>confdefs.h <<_ACEOF
77833 #define HAVE_SQRTL 1
77834 _ACEOF
77837 done
77839 else
77841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77842 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77843 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77844 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
77845 $as_echo_n "(cached) " >&6
77846 else
77849 ac_ext=cpp
77850 ac_cpp='$CXXCPP $CPPFLAGS'
77851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77856 /* end confdefs.h. */
77857 #include <math.h>
77858 #ifdef HAVE_IEEEFP_H
77859 #include <ieeefp.h>
77860 #endif
77863 main ()
77865 _sqrtl(0);
77867 return 0;
77869 _ACEOF
77870 if ac_fn_cxx_try_compile "$LINENO"; then :
77871 glibcxx_cv_func__sqrtl_use=yes
77872 else
77873 glibcxx_cv_func__sqrtl_use=no
77875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77876 ac_ext=c
77877 ac_cpp='$CPP $CPPFLAGS'
77878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77887 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77889 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77890 for ac_func in _sqrtl
77891 do :
77892 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77893 if test "x$ac_cv_func__sqrtl" = xyes; then :
77894 cat >>confdefs.h <<_ACEOF
77895 #define HAVE__SQRTL 1
77896 _ACEOF
77899 done
77908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77909 $as_echo_n "checking for sincosl declaration... " >&6; }
77910 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77911 if ${glibcxx_cv_func_sincosl_use+:} false; then :
77912 $as_echo_n "(cached) " >&6
77913 else
77916 ac_ext=cpp
77917 ac_cpp='$CXXCPP $CPPFLAGS'
77918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77923 /* end confdefs.h. */
77924 #include <math.h>
77926 main ()
77928 sincosl(0, 0, 0);
77930 return 0;
77932 _ACEOF
77933 if ac_fn_cxx_try_compile "$LINENO"; then :
77934 glibcxx_cv_func_sincosl_use=yes
77935 else
77936 glibcxx_cv_func_sincosl_use=no
77938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77939 ac_ext=c
77940 ac_cpp='$CPP $CPPFLAGS'
77941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77950 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77952 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77953 for ac_func in sincosl
77954 do :
77955 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77956 if test "x$ac_cv_func_sincosl" = xyes; then :
77957 cat >>confdefs.h <<_ACEOF
77958 #define HAVE_SINCOSL 1
77959 _ACEOF
77962 done
77964 else
77966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77967 $as_echo_n "checking for _sincosl declaration... " >&6; }
77968 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77969 if ${glibcxx_cv_func__sincosl_use+:} false; then :
77970 $as_echo_n "(cached) " >&6
77971 else
77974 ac_ext=cpp
77975 ac_cpp='$CXXCPP $CPPFLAGS'
77976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77981 /* end confdefs.h. */
77982 #include <math.h>
77984 main ()
77986 _sincosl(0, 0, 0);
77988 return 0;
77990 _ACEOF
77991 if ac_fn_cxx_try_compile "$LINENO"; then :
77992 glibcxx_cv_func__sincosl_use=yes
77993 else
77994 glibcxx_cv_func__sincosl_use=no
77996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77997 ac_ext=c
77998 ac_cpp='$CPP $CPPFLAGS'
77999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
78008 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
78010 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
78011 for ac_func in _sincosl
78012 do :
78013 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
78014 if test "x$ac_cv_func__sincosl" = xyes; then :
78015 cat >>confdefs.h <<_ACEOF
78016 #define HAVE__SINCOSL 1
78017 _ACEOF
78020 done
78029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
78030 $as_echo_n "checking for finitel declaration... " >&6; }
78031 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
78032 if ${glibcxx_cv_func_finitel_use+:} false; then :
78033 $as_echo_n "(cached) " >&6
78034 else
78037 ac_ext=cpp
78038 ac_cpp='$CXXCPP $CPPFLAGS'
78039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78044 /* end confdefs.h. */
78045 #include <math.h>
78046 #ifdef HAVE_IEEEFP_H
78047 #include <ieeefp.h>
78048 #endif
78051 main ()
78053 finitel(0);
78055 return 0;
78057 _ACEOF
78058 if ac_fn_cxx_try_compile "$LINENO"; then :
78059 glibcxx_cv_func_finitel_use=yes
78060 else
78061 glibcxx_cv_func_finitel_use=no
78063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78064 ac_ext=c
78065 ac_cpp='$CPP $CPPFLAGS'
78066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
78075 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
78077 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
78078 for ac_func in finitel
78079 do :
78080 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
78081 if test "x$ac_cv_func_finitel" = xyes; then :
78082 cat >>confdefs.h <<_ACEOF
78083 #define HAVE_FINITEL 1
78084 _ACEOF
78087 done
78089 else
78091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
78092 $as_echo_n "checking for _finitel declaration... " >&6; }
78093 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
78094 if ${glibcxx_cv_func__finitel_use+:} false; then :
78095 $as_echo_n "(cached) " >&6
78096 else
78099 ac_ext=cpp
78100 ac_cpp='$CXXCPP $CPPFLAGS'
78101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78106 /* end confdefs.h. */
78107 #include <math.h>
78108 #ifdef HAVE_IEEEFP_H
78109 #include <ieeefp.h>
78110 #endif
78113 main ()
78115 _finitel(0);
78117 return 0;
78119 _ACEOF
78120 if ac_fn_cxx_try_compile "$LINENO"; then :
78121 glibcxx_cv_func__finitel_use=yes
78122 else
78123 glibcxx_cv_func__finitel_use=no
78125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78126 ac_ext=c
78127 ac_cpp='$CPP $CPPFLAGS'
78128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
78137 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
78139 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
78140 for ac_func in _finitel
78141 do :
78142 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
78143 if test "x$ac_cv_func__finitel" = xyes; then :
78144 cat >>confdefs.h <<_ACEOF
78145 #define HAVE__FINITEL 1
78146 _ACEOF
78149 done
78157 LIBS="$ac_save_LIBS"
78158 CXXFLAGS="$ac_save_CXXFLAGS"
78161 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78162 ac_save_CXXFLAGS="$CXXFLAGS"
78163 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
78167 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
78168 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
78169 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
78170 $as_echo_n "(cached) " >&6
78171 else
78174 ac_ext=cpp
78175 ac_cpp='$CXXCPP $CPPFLAGS'
78176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78181 /* end confdefs.h. */
78182 #include <stdlib.h>
78184 main ()
78186 at_quick_exit(0);
78188 return 0;
78190 _ACEOF
78191 if ac_fn_cxx_try_compile "$LINENO"; then :
78192 glibcxx_cv_func_at_quick_exit_use=yes
78193 else
78194 glibcxx_cv_func_at_quick_exit_use=no
78196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78197 ac_ext=c
78198 ac_cpp='$CPP $CPPFLAGS'
78199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
78208 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
78209 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
78210 for ac_func in at_quick_exit
78211 do :
78212 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
78213 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
78214 cat >>confdefs.h <<_ACEOF
78215 #define HAVE_AT_QUICK_EXIT 1
78216 _ACEOF
78219 done
78224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
78225 $as_echo_n "checking for quick_exit declaration... " >&6; }
78226 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
78227 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
78228 $as_echo_n "(cached) " >&6
78229 else
78232 ac_ext=cpp
78233 ac_cpp='$CXXCPP $CPPFLAGS'
78234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78239 /* end confdefs.h. */
78240 #include <stdlib.h>
78242 main ()
78244 quick_exit(0);
78246 return 0;
78248 _ACEOF
78249 if ac_fn_cxx_try_compile "$LINENO"; then :
78250 glibcxx_cv_func_quick_exit_use=yes
78251 else
78252 glibcxx_cv_func_quick_exit_use=no
78254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78255 ac_ext=c
78256 ac_cpp='$CPP $CPPFLAGS'
78257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78266 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78267 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78268 for ac_func in quick_exit
78269 do :
78270 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78271 if test "x$ac_cv_func_quick_exit" = xyes; then :
78272 cat >>confdefs.h <<_ACEOF
78273 #define HAVE_QUICK_EXIT 1
78274 _ACEOF
78277 done
78282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78283 $as_echo_n "checking for strtold declaration... " >&6; }
78284 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78285 if ${glibcxx_cv_func_strtold_use+:} false; then :
78286 $as_echo_n "(cached) " >&6
78287 else
78290 ac_ext=cpp
78291 ac_cpp='$CXXCPP $CPPFLAGS'
78292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78297 /* end confdefs.h. */
78298 #include <stdlib.h>
78300 main ()
78302 strtold(0, 0);
78304 return 0;
78306 _ACEOF
78307 if ac_fn_cxx_try_compile "$LINENO"; then :
78308 glibcxx_cv_func_strtold_use=yes
78309 else
78310 glibcxx_cv_func_strtold_use=no
78312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78313 ac_ext=c
78314 ac_cpp='$CPP $CPPFLAGS'
78315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78324 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78325 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78326 for ac_func in strtold
78327 do :
78328 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78329 if test "x$ac_cv_func_strtold" = xyes; then :
78330 cat >>confdefs.h <<_ACEOF
78331 #define HAVE_STRTOLD 1
78332 _ACEOF
78335 done
78342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78343 $as_echo_n "checking for strtof declaration... " >&6; }
78344 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78345 if ${glibcxx_cv_func_strtof_use+:} false; then :
78346 $as_echo_n "(cached) " >&6
78347 else
78350 ac_ext=cpp
78351 ac_cpp='$CXXCPP $CPPFLAGS'
78352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78357 /* end confdefs.h. */
78358 #include <stdlib.h>
78360 main ()
78362 strtof(0, 0);
78364 return 0;
78366 _ACEOF
78367 if ac_fn_cxx_try_compile "$LINENO"; then :
78368 glibcxx_cv_func_strtof_use=yes
78369 else
78370 glibcxx_cv_func_strtof_use=no
78372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78373 ac_ext=c
78374 ac_cpp='$CPP $CPPFLAGS'
78375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78384 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78385 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78386 for ac_func in strtof
78387 do :
78388 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78389 if test "x$ac_cv_func_strtof" = xyes; then :
78390 cat >>confdefs.h <<_ACEOF
78391 #define HAVE_STRTOF 1
78392 _ACEOF
78395 done
78402 CXXFLAGS="$ac_save_CXXFLAGS"
78405 *-vxworks)
78406 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78408 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78410 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78412 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78414 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78416 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78418 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78420 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78422 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78424 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78426 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78428 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78430 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78432 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78434 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78436 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78438 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78440 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78442 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78444 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78448 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
78450 esac
78454 # At some point, we should differentiate between architectures
78455 # like x86, which have long double versions, and alpha/powerpc/etc.,
78456 # which don't. For the time being, punt.
78457 if test x"long_double_math_on_this_cpu" = x"yes"; then
78458 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78460 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78462 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78464 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78466 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78468 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78470 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78472 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78474 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78476 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78478 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78480 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78482 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78484 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78486 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78488 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78490 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78492 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78494 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78496 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78498 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78500 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78502 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78507 # Check for _Unwind_GetIPInfo.
78510 # Check whether --with-system-libunwind was given.
78511 if test "${with_system_libunwind+set}" = set; then :
78512 withval=$with_system_libunwind;
78515 # If system-libunwind was not specifically set, pick a default setting.
78516 if test x$with_system_libunwind = x; then
78517 case ${target} in
78518 ia64-*-hpux*) with_system_libunwind=yes ;;
78519 *) with_system_libunwind=no ;;
78520 esac
78522 # Based on system-libunwind and target, do we have ipinfo?
78523 if test x$with_system_libunwind = xyes; then
78524 case ${target} in
78525 ia64-*-*) have_unwind_getipinfo=no ;;
78526 *) have_unwind_getipinfo=yes ;;
78527 esac
78528 else
78529 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78531 case ${target} in
78532 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78533 *) have_unwind_getipinfo=yes ;;
78534 esac
78538 if test x$have_unwind_getipinfo = xyes; then
78540 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78545 # Check whether --enable-linux-futex was given.
78546 if test "${enable_linux_futex+set}" = set; then :
78547 enableval=$enable_linux_futex;
78548 case "$enableval" in
78549 yes|no|default) ;;
78550 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78551 esac
78553 else
78554 enable_linux_futex=default
78558 case "$target" in
78559 *-linux*)
78560 case "$enable_linux_futex" in
78561 default)
78562 # If headers don't have gettid/futex syscalls definition, then
78563 # default to no, otherwise there will be compile time failures.
78564 # Otherwise, default to yes. If we don't detect we are
78565 # compiled/linked against NPTL and not cross-compiling, check
78566 # if programs are run by default against NPTL and if not, issue
78567 # a warning.
78568 enable_linux_futex=no
78569 if test x$gcc_no_link = xyes; then
78570 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78573 /* end confdefs.h. */
78574 #include <sys/syscall.h>
78575 int lk;
78577 main ()
78579 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78581 return 0;
78583 _ACEOF
78584 if ac_fn_c_try_link "$LINENO"; then :
78585 save_LIBS="$LIBS"
78586 LIBS="-lpthread $LIBS"
78587 if test x$gcc_no_link = xyes; then
78588 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78591 /* end confdefs.h. */
78592 #ifndef _GNU_SOURCE
78593 #define _GNU_SOURCE 1
78594 #endif
78595 #include <pthread.h>
78596 pthread_t th; void *status;
78598 main ()
78600 pthread_tryjoin_np (th, &status);
78602 return 0;
78604 _ACEOF
78605 if ac_fn_c_try_link "$LINENO"; then :
78606 enable_linux_futex=yes
78607 else
78608 if test x$cross_compiling = xno; then
78609 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78610 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78612 If so, please configure with --disable-linux-futex" >&5
78613 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78614 If so, please configure with --disable-linux-futex" >&2;}
78617 enable_linux_futex=yes
78619 rm -f core conftest.err conftest.$ac_objext \
78620 conftest$ac_exeext conftest.$ac_ext
78621 LIBS="$save_LIBS"
78623 rm -f core conftest.err conftest.$ac_objext \
78624 conftest$ac_exeext conftest.$ac_ext
78626 yes)
78627 if test x$gcc_no_link = xyes; then
78628 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78631 /* end confdefs.h. */
78632 #include <sys/syscall.h>
78633 int lk;
78635 main ()
78637 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78639 return 0;
78641 _ACEOF
78642 if ac_fn_c_try_link "$LINENO"; then :
78644 else
78645 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78647 rm -f core conftest.err conftest.$ac_objext \
78648 conftest$ac_exeext conftest.$ac_ext
78650 esac
78653 enable_linux_futex=no
78655 esac
78656 if test x$enable_linux_futex = xyes; then
78658 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78665 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78667 acx_cv_header_stdint=stddef.h
78668 acx_cv_header_stdint_kind="(already complete)"
78669 for i in stdint.h $inttype_headers; do
78670 unset ac_cv_type_uintptr_t
78671 unset ac_cv_type_uintmax_t
78672 unset ac_cv_type_int_least32_t
78673 unset ac_cv_type_int_fast32_t
78674 unset ac_cv_type_uint64_t
78675 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78676 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78677 #include <$i>
78679 if test "x$ac_cv_type_uintmax_t" = xyes; then :
78680 acx_cv_header_stdint=$i
78681 else
78682 continue
78685 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78686 #include <$i>
78688 if test "x$ac_cv_type_uintptr_t" = xyes; then :
78690 else
78691 acx_cv_header_stdint_kind="(mostly complete)"
78694 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78695 #include <$i>
78697 if test "x$ac_cv_type_int_least32_t" = xyes; then :
78699 else
78700 acx_cv_header_stdint_kind="(mostly complete)"
78703 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78704 #include <$i>
78706 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
78708 else
78709 acx_cv_header_stdint_kind="(mostly complete)"
78712 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78713 #include <$i>
78715 if test "x$ac_cv_type_uint64_t" = xyes; then :
78717 else
78718 acx_cv_header_stdint_kind="(lacks uint64_t)"
78721 break
78722 done
78723 if test "$acx_cv_header_stdint" = stddef.h; then
78724 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78725 for i in stdint.h $inttype_headers; do
78726 unset ac_cv_type_uintptr_t
78727 unset ac_cv_type_uint32_t
78728 unset ac_cv_type_uint64_t
78729 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78730 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78731 #include <$i>
78733 if test "x$ac_cv_type_uint32_t" = xyes; then :
78734 acx_cv_header_stdint=$i
78735 else
78736 continue
78739 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78740 #include <$i>
78742 if test "x$ac_cv_type_uint64_t" = xyes; then :
78746 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78747 #include <$i>
78749 if test "x$ac_cv_type_uintptr_t" = xyes; then :
78753 break
78754 done
78756 if test "$acx_cv_header_stdint" = stddef.h; then
78757 acx_cv_header_stdint_kind="(u_intXX_t style)"
78758 for i in sys/types.h $inttype_headers; do
78759 unset ac_cv_type_u_int32_t
78760 unset ac_cv_type_u_int64_t
78761 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78762 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78763 #include <$i>
78765 if test "x$ac_cv_type_u_int32_t" = xyes; then :
78766 acx_cv_header_stdint=$i
78767 else
78768 continue
78771 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78772 #include <$i>
78774 if test "x$ac_cv_type_u_int64_t" = xyes; then :
78778 break
78779 done
78781 if test "$acx_cv_header_stdint" = stddef.h; then
78782 acx_cv_header_stdint_kind="(using manual detection)"
78785 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78786 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78787 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78788 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78789 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78791 # ----------------- Summarize what we found so far
78793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78794 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78796 case `$as_basename -- include/gstdint.h ||
78797 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78798 Xinclude/gstdint.h : 'X\(//\)$' \| \
78799 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78800 $as_echo X/include/gstdint.h |
78801 sed '/^.*\/\([^/][^/]*\)\/*$/{
78802 s//\1/
78805 /^X\/\(\/\/\)$/{
78806 s//\1/
78809 /^X\/\(\/\).*/{
78810 s//\1/
78813 s/.*/./; q'` in
78814 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78815 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78816 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78817 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78818 *) ;;
78819 esac
78821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78822 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78824 # ----------------- done included file, check C basic types --------
78826 # Lacking an uintptr_t? Test size of void *
78827 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78828 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78829 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78830 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78831 # This bug is HP SR number 8606223364.
78832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78833 $as_echo_n "checking size of void *... " >&6; }
78834 if ${ac_cv_sizeof_void_p+:} false; then :
78835 $as_echo_n "(cached) " >&6
78836 else
78837 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78839 else
78840 if test "$ac_cv_type_void_p" = yes; then
78841 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78842 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78843 as_fn_error 77 "cannot compute sizeof (void *)
78844 See \`config.log' for more details" "$LINENO" 5; }
78845 else
78846 ac_cv_sizeof_void_p=0
78851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78852 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78856 cat >>confdefs.h <<_ACEOF
78857 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78858 _ACEOF
78861 esac
78863 # Lacking an uint64_t? Test size of long
78864 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78865 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78866 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78867 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78868 # This bug is HP SR number 8606223364.
78869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78870 $as_echo_n "checking size of long... " >&6; }
78871 if ${ac_cv_sizeof_long+:} false; then :
78872 $as_echo_n "(cached) " >&6
78873 else
78874 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78876 else
78877 if test "$ac_cv_type_long" = yes; then
78878 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78879 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78880 as_fn_error 77 "cannot compute sizeof (long)
78881 See \`config.log' for more details" "$LINENO" 5; }
78882 else
78883 ac_cv_sizeof_long=0
78888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78889 $as_echo "$ac_cv_sizeof_long" >&6; }
78893 cat >>confdefs.h <<_ACEOF
78894 #define SIZEOF_LONG $ac_cv_sizeof_long
78895 _ACEOF
78898 esac
78900 if test $acx_cv_header_stdint = stddef.h; then
78901 # Lacking a good header? Test size of everything and deduce all types.
78902 # The cast to long int works around a bug in the HP C Compiler
78903 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78904 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78905 # This bug is HP SR number 8606223364.
78906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78907 $as_echo_n "checking size of int... " >&6; }
78908 if ${ac_cv_sizeof_int+:} false; then :
78909 $as_echo_n "(cached) " >&6
78910 else
78911 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78913 else
78914 if test "$ac_cv_type_int" = yes; then
78915 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78917 as_fn_error 77 "cannot compute sizeof (int)
78918 See \`config.log' for more details" "$LINENO" 5; }
78919 else
78920 ac_cv_sizeof_int=0
78925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78926 $as_echo "$ac_cv_sizeof_int" >&6; }
78930 cat >>confdefs.h <<_ACEOF
78931 #define SIZEOF_INT $ac_cv_sizeof_int
78932 _ACEOF
78935 # The cast to long int works around a bug in the HP C Compiler
78936 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78937 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78938 # This bug is HP SR number 8606223364.
78939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78940 $as_echo_n "checking size of short... " >&6; }
78941 if ${ac_cv_sizeof_short+:} false; then :
78942 $as_echo_n "(cached) " >&6
78943 else
78944 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
78946 else
78947 if test "$ac_cv_type_short" = yes; then
78948 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78950 as_fn_error 77 "cannot compute sizeof (short)
78951 See \`config.log' for more details" "$LINENO" 5; }
78952 else
78953 ac_cv_sizeof_short=0
78958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78959 $as_echo "$ac_cv_sizeof_short" >&6; }
78963 cat >>confdefs.h <<_ACEOF
78964 #define SIZEOF_SHORT $ac_cv_sizeof_short
78965 _ACEOF
78968 # The cast to long int works around a bug in the HP C Compiler
78969 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78970 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78971 # This bug is HP SR number 8606223364.
78972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78973 $as_echo_n "checking size of char... " >&6; }
78974 if ${ac_cv_sizeof_char+:} false; then :
78975 $as_echo_n "(cached) " >&6
78976 else
78977 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
78979 else
78980 if test "$ac_cv_type_char" = yes; then
78981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78983 as_fn_error 77 "cannot compute sizeof (char)
78984 See \`config.log' for more details" "$LINENO" 5; }
78985 else
78986 ac_cv_sizeof_char=0
78991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78992 $as_echo "$ac_cv_sizeof_char" >&6; }
78996 cat >>confdefs.h <<_ACEOF
78997 #define SIZEOF_CHAR $ac_cv_sizeof_char
78998 _ACEOF
79002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
79003 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
79004 case "$ac_cv_sizeof_char" in
79005 1) acx_cv_type_int8_t=char ;;
79006 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
79007 esac
79008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
79009 $as_echo "$acx_cv_type_int8_t" >&6; }
79011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
79012 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
79013 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
79014 2:*) acx_cv_type_int16_t=int ;;
79015 *:2) acx_cv_type_int16_t=short ;;
79016 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
79017 esac
79018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
79019 $as_echo "$acx_cv_type_int16_t" >&6; }
79021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
79022 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
79023 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
79024 4:*) acx_cv_type_int32_t=int ;;
79025 *:4) acx_cv_type_int32_t=long ;;
79026 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
79027 esac
79028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
79029 $as_echo "$acx_cv_type_int32_t" >&6; }
79032 # These tests are here to make the output prettier
79034 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
79035 case "$ac_cv_sizeof_long" in
79036 8) acx_cv_type_int64_t=long ;;
79037 esac
79038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
79039 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
79040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
79041 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
79044 # Now we can use the above types
79046 if test "$ac_cv_type_uintptr_t" != yes; then
79047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
79048 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
79049 case $ac_cv_sizeof_void_p in
79050 2) acx_cv_type_intptr_t=int16_t ;;
79051 4) acx_cv_type_intptr_t=int32_t ;;
79052 8) acx_cv_type_intptr_t=int64_t ;;
79053 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
79054 esac
79055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
79056 $as_echo "$acx_cv_type_intptr_t" >&6; }
79059 # ----------------- done all checks, emit header -------------
79060 ac_config_commands="$ac_config_commands include/gstdint.h"
79066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
79067 $as_echo_n "checking for GNU c++filt... " >&6; }
79068 if ${ac_cv_path_CXXFILT+:} false; then :
79069 $as_echo_n "(cached) " >&6
79070 else
79071 if test -z "$CXXFILT"; then
79072 ac_path_CXXFILT_found=false
79073 # Loop through the user's path and test for each of PROGNAME-LIST
79074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79075 for as_dir in $PATH
79077 IFS=$as_save_IFS
79078 test -z "$as_dir" && as_dir=.
79079 for ac_prog in c++filt gc++filt; do
79080 for ac_exec_ext in '' $ac_executable_extensions; do
79081 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
79082 as_fn_executable_p "$ac_path_CXXFILT" || continue
79083 # Check for GNU $ac_path_CXXFILT
79084 case `"$ac_path_CXXFILT" --version 2>&1` in
79085 *GNU*)
79086 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
79087 esac
79089 $ac_path_CXXFILT_found && break 3
79090 done
79091 done
79092 done
79093 IFS=$as_save_IFS
79094 if test -z "$ac_cv_path_CXXFILT"; then
79097 else
79098 ac_cv_path_CXXFILT=$CXXFILT
79102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
79103 $as_echo "$ac_cv_path_CXXFILT" >&6; }
79104 CXXFILT=$ac_cv_path_CXXFILT
79108 # Check whether --enable-symvers was given.
79109 if test "${enable_symvers+set}" = set; then :
79110 enableval=$enable_symvers;
79111 case "$enableval" in
79112 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
79113 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
79114 esac
79116 else
79117 enable_symvers=yes
79122 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
79123 # don't know enough about $LD to do tricks...
79125 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
79126 # with extern "C++" in version scripts.
79129 # Turn a 'yes' into a suitable default.
79130 if test x$enable_symvers = xyes ; then
79131 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
79132 enable_symvers=no
79133 else
79134 if test $with_gnu_ld = yes ; then
79135 case ${target_os} in
79136 hpux*)
79137 enable_symvers=no ;;
79139 enable_symvers=gnu ;;
79140 esac
79141 else
79142 case ${target_os} in
79143 darwin*)
79144 enable_symvers=darwin ;;
79145 # Sun symbol versioning exists since Solaris 2.5.
79146 solaris2.[5-9]* | solaris2.1[0-9]*)
79147 # make_sunver.pl needs GNU c++filt to support extern "C++" in
79148 # version scripts, so disable symbol versioning if none can be
79149 # found.
79150 if test -z "$ac_cv_path_CXXFILT"; then
79151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79152 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
79154 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
79155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79156 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79157 enable_symvers=no
79158 else
79159 enable_symvers=sun
79163 enable_symvers=no ;;
79164 esac
79169 # Check to see if 'darwin' or 'darwin-export' can win.
79170 if test x$enable_symvers = xdarwin-export ; then
79171 enable_symvers=darwin
79174 # Check if 'sun' was requested on non-Solaris 2 platforms.
79175 if test x$enable_symvers = xsun ; then
79176 case ${target_os} in
79177 solaris2*)
79178 # All fine.
79181 # Unlikely to work.
79182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79183 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
79185 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
79186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79187 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79188 enable_symvers=no
79190 esac
79193 # Check to see if 'gnu' can win.
79194 if test $enable_symvers = gnu ||
79195 test $enable_symvers = gnu-versioned-namespace ||
79196 test $enable_symvers = sun; then
79197 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
79198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
79199 $as_echo_n "checking for shared libgcc... " >&6; }
79200 ac_save_CFLAGS="$CFLAGS"
79201 CFLAGS=' -lgcc_s'
79202 if test x$gcc_no_link = xyes; then
79203 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79206 /* end confdefs.h. */
79209 main ()
79211 return 0;
79213 return 0;
79215 _ACEOF
79216 if ac_fn_c_try_link "$LINENO"; then :
79217 glibcxx_shared_libgcc=yes
79218 else
79219 glibcxx_shared_libgcc=no
79221 rm -f core conftest.err conftest.$ac_objext \
79222 conftest$ac_exeext conftest.$ac_ext
79223 CFLAGS="$ac_save_CFLAGS"
79224 if test $glibcxx_shared_libgcc = no; then
79225 cat > conftest.c <<EOF
79226 int main (void) { return 0; }
79228 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
79229 -shared -shared-libgcc -o conftest.so \
79230 conftest.c -v 2>&1 >/dev/null \
79231 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79232 rm -f conftest.c conftest.so
79233 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79234 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79235 if test x$gcc_no_link = xyes; then
79236 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79239 /* end confdefs.h. */
79242 main ()
79244 return 0;
79246 return 0;
79248 _ACEOF
79249 if ac_fn_c_try_link "$LINENO"; then :
79250 glibcxx_shared_libgcc=yes
79252 rm -f core conftest.err conftest.$ac_objext \
79253 conftest$ac_exeext conftest.$ac_ext
79254 CFLAGS="$ac_save_CFLAGS"
79257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79258 $as_echo "$glibcxx_shared_libgcc" >&6; }
79260 # For GNU ld, we need at least this version. The format is described in
79261 # GLIBCXX_CHECK_LINKER_FEATURES above.
79262 glibcxx_min_gnu_ld_version=21400
79264 # If no shared libgcc, can't win.
79265 if test $glibcxx_shared_libgcc != yes; then
79266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79267 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79269 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79271 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79272 enable_symvers=no
79273 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79274 : All interesting versions of Sun ld support sun style symbol versioning.
79275 elif test $with_gnu_ld != yes ; then
79276 # just fail for now
79277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79278 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79280 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79282 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79283 enable_symvers=no
79284 elif test $glibcxx_ld_is_gold = yes ; then
79285 : All versions of gold support symbol versioning.
79286 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79287 # The right tools, the right setup, but too old. Fallbacks?
79288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79289 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79291 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79293 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79295 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79297 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79298 enable_symvers=no
79302 # For libtool versioning info, format is CURRENT:REVISION:AGE
79303 libtool_VERSION=6:26:0
79305 # Everything parsed; figure out what files and settings to use.
79306 case $enable_symvers in
79308 SYMVER_FILE=config/abi/pre/none.ver
79310 gnu)
79311 SYMVER_FILE=config/abi/pre/gnu.ver
79313 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79316 gnu-versioned-namespace)
79317 libtool_VERSION=8:0:0
79318 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79320 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79323 darwin)
79324 SYMVER_FILE=config/abi/pre/gnu.ver
79326 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79329 sun)
79330 SYMVER_FILE=config/abi/pre/gnu.ver
79332 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79335 esac
79337 if test x$enable_symvers != xno ; then
79339 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79344 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79345 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
79346 $as_echo_n "(cached) " >&6
79347 else
79349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79350 /* end confdefs.h. */
79351 void foo (void); __asm (".symver foo, bar@SYMVER");
79353 main ()
79357 return 0;
79359 _ACEOF
79360 if ac_fn_c_try_compile "$LINENO"; then :
79361 glibcxx_cv_have_as_symver_directive=yes
79362 else
79363 glibcxx_cv_have_as_symver_directive=no
79365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79368 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79369 if test $glibcxx_cv_have_as_symver_directive = yes; then
79371 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79382 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79383 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79385 if test $enable_symvers != no ; then
79386 case ${target_os} in
79387 # The Solaris 2 runtime linker doesn't support the GNU extension of
79388 # binding the same symbol to different versions
79389 solaris2*)
79391 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79394 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79397 esac
79400 # Now, set up compatibility support, if any.
79401 # In addition, need this to deal with std::size_t mangling in
79402 # src/compatibility.cc. In a perfect world, could use
79403 # typeid(std::size_t).name()[0] to do direct substitution.
79404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79405 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79406 ac_save_CFLAGS="$CFLAGS"
79407 CFLAGS="-Werror"
79408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79409 /* end confdefs.h. */
79412 main ()
79414 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79416 return 0;
79418 _ACEOF
79419 if ac_fn_c_try_compile "$LINENO"; then :
79420 glibcxx_size_t_is_i=yes
79421 else
79422 glibcxx_size_t_is_i=no
79424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79425 CFLAGS=$ac_save_CFLAGS
79426 if test "$glibcxx_size_t_is_i" = yes; then
79428 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79432 $as_echo "$glibcxx_size_t_is_i" >&6; }
79434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79435 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79436 ac_save_CFLAGS="$CFLAGS"
79437 CFLAGS="-Werror"
79438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79439 /* end confdefs.h. */
79442 main ()
79444 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79446 return 0;
79448 _ACEOF
79449 if ac_fn_c_try_compile "$LINENO"; then :
79450 glibcxx_ptrdiff_t_is_i=yes
79451 else
79452 glibcxx_ptrdiff_t_is_i=no
79454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79455 CFLAGS=$ac_save_CFLAGS
79456 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79458 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79462 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79467 # Check whether --enable-libstdcxx-visibility was given.
79468 if test "${enable_libstdcxx_visibility+set}" = set; then :
79469 enableval=$enable_libstdcxx_visibility;
79470 case "$enableval" in
79471 yes|no) ;;
79472 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79473 esac
79475 else
79476 enable_libstdcxx_visibility=yes
79481 if test x$enable_libstdcxx_visibility = xyes ; then
79482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79483 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79484 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
79485 $as_echo_n "(cached) " >&6
79486 else
79488 save_CFLAGS="$CFLAGS"
79489 CFLAGS="$CFLAGS -Werror"
79490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79491 /* end confdefs.h. */
79492 void __attribute__((visibility("hidden"))) foo(void) { }
79494 main ()
79498 return 0;
79500 _ACEOF
79501 if ac_fn_c_try_compile "$LINENO"; then :
79502 glibcxx_cv_have_attribute_visibility=yes
79503 else
79504 glibcxx_cv_have_attribute_visibility=no
79506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79507 CFLAGS="$save_CFLAGS"
79509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79510 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79511 if test $glibcxx_cv_have_attribute_visibility = no; then
79512 enable_libstdcxx_visibility=no
79517 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79518 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79522 # Check whether --enable-libstdcxx-dual-abi was given.
79523 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79524 enableval=$enable_libstdcxx_dual_abi;
79525 case "$enableval" in
79526 yes|no) ;;
79527 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79528 esac
79530 else
79531 enable_libstdcxx_dual_abi=yes
79535 if test x$enable_symvers = xgnu-versioned-namespace; then
79536 # gnu-versioned-namespace is incompatible with the dual ABI.
79537 enable_libstdcxx_dual_abi="no"
79539 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79540 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79541 $as_echo "$as_me: dual ABI is disabled" >&6;}
79542 default_libstdcxx_abi="gcc4-compatible"
79547 if test x$enable_libstdcxx_dual_abi = xyes; then
79548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79549 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79551 # Check whether --with-default-libstdcxx-abi was given.
79552 if test "${with_default_libstdcxx_abi+set}" = set; then :
79553 withval=$with_default_libstdcxx_abi; case "$withval" in
79554 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79555 new|cxx11) default_libstdcxx_abi="new" ;;
79556 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79557 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79558 esac
79560 else
79561 default_libstdcxx_abi="new"
79564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79565 $as_echo "${default_libstdcxx_abi}" >&6; }
79567 if test $default_libstdcxx_abi = "new"; then
79568 glibcxx_cxx11_abi=1
79569 glibcxx_cxx98_abi=0
79570 else
79571 glibcxx_cxx11_abi=0
79572 glibcxx_cxx98_abi=1
79578 ac_ldbl_compat=no
79579 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79580 case "$target" in
79581 powerpc*-*-linux* | \
79582 sparc*-*-linux* | \
79583 s390*-*-linux* | \
79584 alpha*-*-linux*)
79585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79586 /* end confdefs.h. */
79589 main ()
79592 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79593 #error no need for long double compatibility
79594 #endif
79597 return 0;
79599 _ACEOF
79600 if ac_fn_c_try_compile "$LINENO"; then :
79601 ac_ldbl_compat=yes
79602 else
79603 ac_ldbl_compat=no
79605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79606 if test "$ac_ldbl_compat" = yes; then
79608 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79610 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79611 case "$target" in
79612 powerpc*-*-linux*)
79613 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
79614 esac
79616 esac
79620 # Check if assembler supports disabling hardware capability support.
79622 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
79624 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79625 # with a different meaning.
79626 case ${target_os} in
79627 solaris2*)
79628 ac_save_CFLAGS="$CFLAGS"
79629 CFLAGS="$CFLAGS -Wa,-nH"
79631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79632 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79634 /* end confdefs.h. */
79637 main ()
79639 return 0;
79641 return 0;
79643 _ACEOF
79644 if ac_fn_c_try_compile "$LINENO"; then :
79645 ac_hwcap_flags=yes
79646 else
79647 ac_hwcap_flags=no
79649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79650 if test "$ac_hwcap_flags" = "yes"; then
79651 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
79653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79654 $as_echo "$ac_hwcap_flags" >&6; }
79656 CFLAGS="$ac_save_CFLAGS"
79658 esac
79663 # Check if assembler supports rdrand opcode.
79665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79666 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79667 if ${ac_cv_x86_rdrand+:} false; then :
79668 $as_echo_n "(cached) " >&6
79669 else
79671 ac_cv_x86_rdrand=no
79672 case "$target" in
79673 i?86-*-* | \
79674 x86_64-*-*)
79675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79676 /* end confdefs.h. */
79679 main ()
79681 asm("rdrand %eax");
79683 return 0;
79685 _ACEOF
79686 if ac_fn_c_try_compile "$LINENO"; then :
79687 ac_cv_x86_rdrand=yes
79688 else
79689 ac_cv_x86_rdrand=no
79691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79692 esac
79696 if test $ac_cv_x86_rdrand = yes; then
79698 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79702 $as_echo "$ac_cv_x86_rdrand" >&6; }
79705 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79707 # Do checks for resource limit functions.
79709 setrlimit_have_headers=yes
79710 for ac_header in unistd.h sys/time.h sys/resource.h
79711 do :
79712 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79713 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79714 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
79715 cat >>confdefs.h <<_ACEOF
79716 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79717 _ACEOF
79719 else
79720 setrlimit_have_headers=no
79723 done
79725 # If don't have the headers, then we can't run the tests now, and we
79726 # won't be seeing any of these during testsuite compilation.
79727 if test $setrlimit_have_headers = yes; then
79728 # Can't do these in a loop, else the resulting syntax is wrong.
79730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79731 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79733 /* end confdefs.h. */
79734 #include <unistd.h>
79735 #include <sys/time.h>
79736 #include <sys/resource.h>
79739 main ()
79741 int f = RLIMIT_DATA ;
79743 return 0;
79745 _ACEOF
79746 if ac_fn_c_try_compile "$LINENO"; then :
79747 glibcxx_mresult=1
79748 else
79749 glibcxx_mresult=0
79751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79753 cat >>confdefs.h <<_ACEOF
79754 #define HAVE_LIMIT_DATA $glibcxx_mresult
79755 _ACEOF
79757 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79759 $as_echo "$res" >&6; }
79762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79763 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79765 /* end confdefs.h. */
79766 #include <unistd.h>
79767 #include <sys/time.h>
79768 #include <sys/resource.h>
79771 main ()
79773 int f = RLIMIT_RSS ;
79775 return 0;
79777 _ACEOF
79778 if ac_fn_c_try_compile "$LINENO"; then :
79779 glibcxx_mresult=1
79780 else
79781 glibcxx_mresult=0
79783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79785 cat >>confdefs.h <<_ACEOF
79786 #define HAVE_LIMIT_RSS $glibcxx_mresult
79787 _ACEOF
79789 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79791 $as_echo "$res" >&6; }
79794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79795 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79797 /* end confdefs.h. */
79798 #include <unistd.h>
79799 #include <sys/time.h>
79800 #include <sys/resource.h>
79803 main ()
79805 int f = RLIMIT_VMEM ;
79807 return 0;
79809 _ACEOF
79810 if ac_fn_c_try_compile "$LINENO"; then :
79811 glibcxx_mresult=1
79812 else
79813 glibcxx_mresult=0
79815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79817 cat >>confdefs.h <<_ACEOF
79818 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79819 _ACEOF
79821 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79823 $as_echo "$res" >&6; }
79826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79827 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79829 /* end confdefs.h. */
79830 #include <unistd.h>
79831 #include <sys/time.h>
79832 #include <sys/resource.h>
79835 main ()
79837 int f = RLIMIT_AS ;
79839 return 0;
79841 _ACEOF
79842 if ac_fn_c_try_compile "$LINENO"; then :
79843 glibcxx_mresult=1
79844 else
79845 glibcxx_mresult=0
79847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79849 cat >>confdefs.h <<_ACEOF
79850 #define HAVE_LIMIT_AS $glibcxx_mresult
79851 _ACEOF
79853 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79855 $as_echo "$res" >&6; }
79858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79859 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79861 /* end confdefs.h. */
79862 #include <unistd.h>
79863 #include <sys/time.h>
79864 #include <sys/resource.h>
79867 main ()
79869 int f = RLIMIT_FSIZE ;
79871 return 0;
79873 _ACEOF
79874 if ac_fn_c_try_compile "$LINENO"; then :
79875 glibcxx_mresult=1
79876 else
79877 glibcxx_mresult=0
79879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79881 cat >>confdefs.h <<_ACEOF
79882 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79883 _ACEOF
79885 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79887 $as_echo "$res" >&6; }
79890 # Check for rlimit, setrlimit.
79891 if ${glibcxx_cv_setrlimit+:} false; then :
79892 $as_echo_n "(cached) " >&6
79893 else
79895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79896 /* end confdefs.h. */
79897 #include <unistd.h>
79898 #include <sys/time.h>
79899 #include <sys/resource.h>
79902 main ()
79904 struct rlimit r;
79905 setrlimit(0, &r);
79907 return 0;
79909 _ACEOF
79910 if ac_fn_c_try_compile "$LINENO"; then :
79911 glibcxx_cv_setrlimit=yes
79912 else
79913 glibcxx_cv_setrlimit=no
79915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79922 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79923 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79924 ac_res_limits=yes
79926 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79928 else
79929 ac_res_limits=no
79931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79932 $as_echo "$ac_res_limits" >&6; }
79935 if $GLIBCXX_IS_NATIVE ; then
79936 # Look for setenv, so that extended locale tests can be performed.
79938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79939 $as_echo_n "checking for setenv declaration... " >&6; }
79940 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79941 if ${glibcxx_cv_func_setenv_use+:} false; then :
79942 $as_echo_n "(cached) " >&6
79943 else
79946 ac_ext=cpp
79947 ac_cpp='$CXXCPP $CPPFLAGS'
79948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79953 /* end confdefs.h. */
79954 #include <stdlib.h>
79956 main ()
79958 setenv(0, 0, 0);
79960 return 0;
79962 _ACEOF
79963 if ac_fn_cxx_try_compile "$LINENO"; then :
79964 glibcxx_cv_func_setenv_use=yes
79965 else
79966 glibcxx_cv_func_setenv_use=no
79968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79969 ac_ext=c
79970 ac_cpp='$CPP $CPPFLAGS'
79971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79980 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79981 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79982 for ac_func in setenv
79983 do :
79984 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79985 if test "x$ac_cv_func_setenv" = xyes; then :
79986 cat >>confdefs.h <<_ACEOF
79987 #define HAVE_SETENV 1
79988 _ACEOF
79991 done
79997 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79998 test $enable_symvers != no; then
79999 case "$host" in
80000 *-*-cygwin*)
80001 enable_abi_check=no ;;
80003 enable_abi_check=yes ;;
80004 esac
80005 else
80006 # Only build this as native, since automake does not understand
80007 # CXX_FOR_BUILD.
80008 enable_abi_check=no
80011 # Export file names for ABI checking.
80012 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
80014 baseline_subdir_switch="$abi_baseline_subdir_switch"
80018 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
80020 # Check whether --enable-libstdcxx-threads was given.
80021 if test "${enable_libstdcxx_threads+set}" = set; then :
80022 enableval=$enable_libstdcxx_threads;
80023 case "$enableval" in
80024 yes|no) ;;
80025 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
80026 esac
80028 else
80029 enable_libstdcxx_threads=auto
80034 if test x$enable_libstdcxx_threads = xauto ||
80035 test x$enable_libstdcxx_threads = xyes; then
80038 ac_ext=cpp
80039 ac_cpp='$CXXCPP $CPPFLAGS'
80040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80045 ac_save_CXXFLAGS="$CXXFLAGS"
80046 CXXFLAGS="$CXXFLAGS -fno-exceptions \
80047 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
80049 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
80050 case $target_thread_file in
80051 posix)
80052 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
80053 esac
80055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
80056 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
80058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80059 /* end confdefs.h. */
80060 #include <unistd.h>
80062 main ()
80065 // In case of POSIX threads check _POSIX_TIMEOUTS.
80066 #if (defined(_PTHREADS) \
80067 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
80068 #error
80069 #endif
80072 return 0;
80074 _ACEOF
80075 if ac_fn_cxx_try_compile "$LINENO"; then :
80076 ac_gthread_use_mutex_timedlock=1
80077 else
80078 ac_gthread_use_mutex_timedlock=0
80080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80083 cat >>confdefs.h <<_ACEOF
80084 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
80085 _ACEOF
80088 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
80089 else res_mutex_timedlock=no ; fi
80090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
80091 $as_echo "$res_mutex_timedlock" >&6; }
80093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
80094 $as_echo_n "checking for gthreads library... " >&6; }
80096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80097 /* end confdefs.h. */
80098 #include "gthr.h"
80100 main ()
80103 #ifndef __GTHREADS_CXX0X
80104 #error
80105 #endif
80108 return 0;
80110 _ACEOF
80111 if ac_fn_cxx_try_compile "$LINENO"; then :
80112 ac_has_gthreads=yes
80113 else
80114 ac_has_gthreads=no
80116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80117 else
80118 ac_has_gthreads=no
80121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
80122 $as_echo "$ac_has_gthreads" >&6; }
80124 if test x"$ac_has_gthreads" = x"yes"; then
80126 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
80129 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
80130 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
80132 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
80134 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
80140 CXXFLAGS="$ac_save_CXXFLAGS"
80141 ac_ext=c
80142 ac_cpp='$CPP $CPPFLAGS'
80143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80149 # For Filesystem TS.
80150 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
80151 do :
80152 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
80153 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
80154 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
80155 cat >>confdefs.h <<_ACEOF
80156 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
80157 _ACEOF
80161 done
80164 # Check whether --enable-libstdcxx-filesystem-ts was given.
80165 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
80166 enableval=$enable_libstdcxx_filesystem_ts;
80167 case "$enableval" in
80168 yes|no|auto) ;;
80169 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
80170 esac
80172 else
80173 enable_libstdcxx_filesystem_ts=auto
80178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
80179 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
80180 if test x"$ac_cv_header_dirent_h" != x"yes"; then
80181 enable_libstdcxx_filesystem_ts=no
80183 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
80184 case "${target_os}" in
80185 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
80186 enable_libstdcxx_filesystem_ts=yes
80188 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
80189 enable_libstdcxx_filesystem_ts=yes
80191 rtems*)
80192 enable_libstdcxx_filesystem_ts=yes
80194 solaris*)
80195 enable_libstdcxx_filesystem_ts=yes
80198 enable_libstdcxx_filesystem_ts=no
80200 esac
80202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
80203 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
80206 if test $enable_libstdcxx_filesystem_ts = yes; then
80208 ac_ext=cpp
80209 ac_cpp='$CXXCPP $CPPFLAGS'
80210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80214 ac_save_CXXFLAGS="$CXXFLAGS"
80215 CXXFLAGS="$CXXFLAGS -fno-exceptions"
80216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
80217 $as_echo_n "checking for struct dirent.d_type... " >&6; }
80218 if ${glibcxx_cv_dirent_d_type+:} false; then :
80219 $as_echo_n "(cached) " >&6
80220 else
80221 if test x$gcc_no_link = xyes; then
80222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80223 /* end confdefs.h. */
80224 #include <dirent.h>
80226 main ()
80229 struct dirent d;
80230 if (sizeof d.d_type) return 0;
80233 return 0;
80235 _ACEOF
80236 if ac_fn_cxx_try_compile "$LINENO"; then :
80237 glibcxx_cv_dirent_d_type=yes
80238 else
80239 glibcxx_cv_dirent_d_type=no
80241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80242 else
80243 if test x$gcc_no_link = xyes; then
80244 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80247 /* end confdefs.h. */
80248 #include <dirent.h>
80250 main ()
80253 struct dirent d;
80254 if (sizeof d.d_type) return 0;
80257 return 0;
80259 _ACEOF
80260 if ac_fn_cxx_try_link "$LINENO"; then :
80261 glibcxx_cv_dirent_d_type=yes
80262 else
80263 glibcxx_cv_dirent_d_type=no
80265 rm -f core conftest.err conftest.$ac_objext \
80266 conftest$ac_exeext conftest.$ac_ext
80271 if test $glibcxx_cv_dirent_d_type = yes; then
80273 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80277 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80279 $as_echo_n "checking for realpath... " >&6; }
80280 if ${glibcxx_cv_realpath+:} false; then :
80281 $as_echo_n "(cached) " >&6
80282 else
80283 if test x$gcc_no_link = xyes; then
80284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80285 /* end confdefs.h. */
80287 #include <limits.h>
80288 #include <stdlib.h>
80289 #include <unistd.h>
80292 main ()
80295 #if _XOPEN_VERSION < 500
80296 #error
80297 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80298 char *tmp = realpath((const char*)NULL, (char*)NULL);
80299 #else
80300 #error
80301 #endif
80304 return 0;
80306 _ACEOF
80307 if ac_fn_cxx_try_compile "$LINENO"; then :
80308 glibcxx_cv_realpath=yes
80309 else
80310 glibcxx_cv_realpath=no
80312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80313 else
80314 if test x$gcc_no_link = xyes; then
80315 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80318 /* end confdefs.h. */
80320 #include <limits.h>
80321 #include <stdlib.h>
80322 #include <unistd.h>
80325 main ()
80328 #if _XOPEN_VERSION < 500
80329 #error
80330 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80331 char *tmp = realpath((const char*)NULL, (char*)NULL);
80332 #else
80333 #error
80334 #endif
80337 return 0;
80339 _ACEOF
80340 if ac_fn_cxx_try_link "$LINENO"; then :
80341 glibcxx_cv_realpath=yes
80342 else
80343 glibcxx_cv_realpath=no
80345 rm -f core conftest.err conftest.$ac_objext \
80346 conftest$ac_exeext conftest.$ac_ext
80351 if test $glibcxx_cv_realpath = yes; then
80353 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80357 $as_echo "$glibcxx_cv_realpath" >&6; }
80358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80359 $as_echo_n "checking for utimensat... " >&6; }
80360 if ${glibcxx_cv_utimensat+:} false; then :
80361 $as_echo_n "(cached) " >&6
80362 else
80363 if test x$gcc_no_link = xyes; then
80364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80365 /* end confdefs.h. */
80367 #include <fcntl.h>
80368 #include <sys/stat.h>
80371 main ()
80374 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80375 int i = utimensat(AT_FDCWD, "path", ts, 0);
80378 return 0;
80380 _ACEOF
80381 if ac_fn_cxx_try_compile "$LINENO"; then :
80382 glibcxx_cv_utimensat=yes
80383 else
80384 glibcxx_cv_utimensat=no
80386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80387 else
80388 if test x$gcc_no_link = xyes; then
80389 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80392 /* end confdefs.h. */
80394 #include <fcntl.h>
80395 #include <sys/stat.h>
80398 main ()
80401 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80402 int i = utimensat(AT_FDCWD, "path", ts, 0);
80405 return 0;
80407 _ACEOF
80408 if ac_fn_cxx_try_link "$LINENO"; then :
80409 glibcxx_cv_utimensat=yes
80410 else
80411 glibcxx_cv_utimensat=no
80413 rm -f core conftest.err conftest.$ac_objext \
80414 conftest$ac_exeext conftest.$ac_ext
80419 if test $glibcxx_cv_utimensat = yes; then
80421 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80425 $as_echo "$glibcxx_cv_utimensat" >&6; }
80426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80427 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80428 if ${glibcxx_cv_st_mtim+:} false; then :
80429 $as_echo_n "(cached) " >&6
80430 else
80431 if test x$gcc_no_link = xyes; then
80432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80433 /* end confdefs.h. */
80434 #include <sys/stat.h>
80436 main ()
80439 struct stat st;
80440 return st.st_mtim.tv_nsec;
80443 return 0;
80445 _ACEOF
80446 if ac_fn_cxx_try_compile "$LINENO"; then :
80447 glibcxx_cv_st_mtim=yes
80448 else
80449 glibcxx_cv_st_mtim=no
80451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80452 else
80453 if test x$gcc_no_link = xyes; then
80454 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80457 /* end confdefs.h. */
80458 #include <sys/stat.h>
80460 main ()
80463 struct stat st;
80464 return st.st_mtim.tv_nsec;
80467 return 0;
80469 _ACEOF
80470 if ac_fn_cxx_try_link "$LINENO"; then :
80471 glibcxx_cv_st_mtim=yes
80472 else
80473 glibcxx_cv_st_mtim=no
80475 rm -f core conftest.err conftest.$ac_objext \
80476 conftest$ac_exeext conftest.$ac_ext
80481 if test $glibcxx_cv_st_mtim = yes; then
80483 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80487 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80489 $as_echo_n "checking for fchmod... " >&6; }
80490 if ${glibcxx_cv_fchmod+:} false; then :
80491 $as_echo_n "(cached) " >&6
80492 else
80493 if test x$gcc_no_link = xyes; then
80494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80495 /* end confdefs.h. */
80496 #include <sys/stat.h>
80498 main ()
80500 fchmod(1, S_IWUSR);
80502 return 0;
80504 _ACEOF
80505 if ac_fn_cxx_try_compile "$LINENO"; then :
80506 glibcxx_cv_fchmod=yes
80507 else
80508 glibcxx_cv_fchmod=no
80510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80511 else
80512 if test x$gcc_no_link = xyes; then
80513 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80516 /* end confdefs.h. */
80517 #include <sys/stat.h>
80519 main ()
80521 fchmod(1, S_IWUSR);
80523 return 0;
80525 _ACEOF
80526 if ac_fn_cxx_try_link "$LINENO"; then :
80527 glibcxx_cv_fchmod=yes
80528 else
80529 glibcxx_cv_fchmod=no
80531 rm -f core conftest.err conftest.$ac_objext \
80532 conftest$ac_exeext conftest.$ac_ext
80537 if test $glibcxx_cv_fchmod = yes; then
80539 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80543 $as_echo "$glibcxx_cv_fchmod" >&6; }
80544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80545 $as_echo_n "checking for fchmodat... " >&6; }
80546 if ${glibcxx_cv_fchmodat+:} false; then :
80547 $as_echo_n "(cached) " >&6
80548 else
80549 if test x$gcc_no_link = xyes; then
80550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80551 /* end confdefs.h. */
80553 #include <fcntl.h>
80554 #include <sys/stat.h>
80557 main ()
80559 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80561 return 0;
80563 _ACEOF
80564 if ac_fn_cxx_try_compile "$LINENO"; then :
80565 glibcxx_cv_fchmodat=yes
80566 else
80567 glibcxx_cv_fchmodat=no
80569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80570 else
80571 if test x$gcc_no_link = xyes; then
80572 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80575 /* end confdefs.h. */
80577 #include <fcntl.h>
80578 #include <sys/stat.h>
80581 main ()
80583 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80585 return 0;
80587 _ACEOF
80588 if ac_fn_cxx_try_link "$LINENO"; then :
80589 glibcxx_cv_fchmodat=yes
80590 else
80591 glibcxx_cv_fchmodat=no
80593 rm -f core conftest.err conftest.$ac_objext \
80594 conftest$ac_exeext conftest.$ac_ext
80599 if test $glibcxx_cv_fchmodat = yes; then
80601 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80605 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80607 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80608 if ${glibcxx_cv_sendfile+:} false; then :
80609 $as_echo_n "(cached) " >&6
80610 else
80611 case "${target_os}" in
80612 gnu* | linux* | solaris*)
80613 if test x$gcc_no_link = xyes; then
80614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80615 /* end confdefs.h. */
80616 #include <sys/sendfile.h>
80618 main ()
80620 sendfile(1, 2, (off_t*)0, sizeof 1);
80622 return 0;
80624 _ACEOF
80625 if ac_fn_cxx_try_compile "$LINENO"; then :
80626 glibcxx_cv_sendfile=yes
80627 else
80628 glibcxx_cv_sendfile=no
80630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80631 else
80632 if test x$gcc_no_link = xyes; then
80633 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80636 /* end confdefs.h. */
80637 #include <sys/sendfile.h>
80639 main ()
80641 sendfile(1, 2, (off_t*)0, sizeof 1);
80643 return 0;
80645 _ACEOF
80646 if ac_fn_cxx_try_link "$LINENO"; then :
80647 glibcxx_cv_sendfile=yes
80648 else
80649 glibcxx_cv_sendfile=no
80651 rm -f core conftest.err conftest.$ac_objext \
80652 conftest$ac_exeext conftest.$ac_ext
80656 glibcxx_cv_sendfile=no
80658 esac
80662 if test $glibcxx_cv_sendfile = yes; then
80664 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80668 $as_echo "$glibcxx_cv_sendfile" >&6; }
80669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
80670 $as_echo_n "checking for link... " >&6; }
80671 if ${glibcxx_cv_link+:} false; then :
80672 $as_echo_n "(cached) " >&6
80673 else
80674 if test x$gcc_no_link = xyes; then
80675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80676 /* end confdefs.h. */
80677 #include <unistd.h>
80679 main ()
80681 link("", "");
80683 return 0;
80685 _ACEOF
80686 if ac_fn_cxx_try_compile "$LINENO"; then :
80687 glibcxx_cv_link=yes
80688 else
80689 glibcxx_cv_link=no
80691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80692 else
80693 if test x$gcc_no_link = xyes; then
80694 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80697 /* end confdefs.h. */
80698 #include <unistd.h>
80700 main ()
80702 link("", "");
80704 return 0;
80706 _ACEOF
80707 if ac_fn_cxx_try_link "$LINENO"; then :
80708 glibcxx_cv_link=yes
80709 else
80710 glibcxx_cv_link=no
80712 rm -f core conftest.err conftest.$ac_objext \
80713 conftest$ac_exeext conftest.$ac_ext
80718 if test $glibcxx_cv_link = yes; then
80720 $as_echo "#define HAVE_LINK 1" >>confdefs.h
80723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
80724 $as_echo "$glibcxx_cv_link" >&6; }
80725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
80726 $as_echo_n "checking for readlink... " >&6; }
80727 if ${glibcxx_cv_readlink+:} false; then :
80728 $as_echo_n "(cached) " >&6
80729 else
80730 if test x$gcc_no_link = xyes; then
80731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80732 /* end confdefs.h. */
80733 #include <unistd.h>
80735 main ()
80737 char buf[32]; readlink("", buf, sizeof(buf));
80739 return 0;
80741 _ACEOF
80742 if ac_fn_cxx_try_compile "$LINENO"; then :
80743 glibcxx_cv_readlink=yes
80744 else
80745 glibcxx_cv_readlink=no
80747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80748 else
80749 if test x$gcc_no_link = xyes; then
80750 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80753 /* end confdefs.h. */
80754 #include <unistd.h>
80756 main ()
80758 char buf[32]; readlink("", buf, sizeof(buf));
80760 return 0;
80762 _ACEOF
80763 if ac_fn_cxx_try_link "$LINENO"; then :
80764 glibcxx_cv_readlink=yes
80765 else
80766 glibcxx_cv_readlink=no
80768 rm -f core conftest.err conftest.$ac_objext \
80769 conftest$ac_exeext conftest.$ac_ext
80774 if test $glibcxx_cv_readlink = yes; then
80776 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
80779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
80780 $as_echo "$glibcxx_cv_readlink" >&6; }
80781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
80782 $as_echo_n "checking for symlink... " >&6; }
80783 if ${glibcxx_cv_symlink+:} false; then :
80784 $as_echo_n "(cached) " >&6
80785 else
80786 if test x$gcc_no_link = xyes; then
80787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80788 /* end confdefs.h. */
80789 #include <unistd.h>
80791 main ()
80793 symlink("", "");
80795 return 0;
80797 _ACEOF
80798 if ac_fn_cxx_try_compile "$LINENO"; then :
80799 glibcxx_cv_symlink=yes
80800 else
80801 glibcxx_cv_symlink=no
80803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80804 else
80805 if test x$gcc_no_link = xyes; then
80806 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80809 /* end confdefs.h. */
80810 #include <unistd.h>
80812 main ()
80814 symlink("", "");
80816 return 0;
80818 _ACEOF
80819 if ac_fn_cxx_try_link "$LINENO"; then :
80820 glibcxx_cv_symlink=yes
80821 else
80822 glibcxx_cv_symlink=no
80824 rm -f core conftest.err conftest.$ac_objext \
80825 conftest$ac_exeext conftest.$ac_ext
80830 if test $glibcxx_cv_symlink = yes; then
80832 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
80835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
80836 $as_echo "$glibcxx_cv_symlink" >&6; }
80837 CXXFLAGS="$ac_save_CXXFLAGS"
80838 ac_ext=c
80839 ac_cpp='$CPP $CPPFLAGS'
80840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80847 # For Networking TS.
80848 for ac_header in fcntl.h sys/ioctl.h sys/socket.h sys/uio.h poll.h netdb.h arpa/inet.h netinet/in.h netinet/tcp.h
80849 do :
80850 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
80851 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
80852 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
80853 cat >>confdefs.h <<_ACEOF
80854 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
80855 _ACEOF
80859 done
80862 # For Transactional Memory TS
80864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80865 $as_echo_n "checking how size_t is mangled... " >&6; }
80866 if ${glibcxx_cv_size_t_mangling+:} false; then :
80867 $as_echo_n "(cached) " >&6
80868 else
80870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80871 /* end confdefs.h. */
80874 main ()
80876 extern __SIZE_TYPE__ x; extern unsigned long x;
80878 return 0;
80880 _ACEOF
80881 if ac_fn_c_try_compile "$LINENO"; then :
80882 glibcxx_cv_size_t_mangling=m
80883 else
80885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80886 /* end confdefs.h. */
80889 main ()
80891 extern __SIZE_TYPE__ x; extern unsigned int x;
80893 return 0;
80895 _ACEOF
80896 if ac_fn_c_try_compile "$LINENO"; then :
80897 glibcxx_cv_size_t_mangling=j
80898 else
80900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80901 /* end confdefs.h. */
80904 main ()
80906 extern __SIZE_TYPE__ x; extern unsigned long long x;
80908 return 0;
80910 _ACEOF
80911 if ac_fn_c_try_compile "$LINENO"; then :
80912 glibcxx_cv_size_t_mangling=y
80913 else
80915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80916 /* end confdefs.h. */
80919 main ()
80921 extern __SIZE_TYPE__ x; extern unsigned short x;
80923 return 0;
80925 _ACEOF
80926 if ac_fn_c_try_compile "$LINENO"; then :
80927 glibcxx_cv_size_t_mangling=t
80928 else
80930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80931 /* end confdefs.h. */
80934 main ()
80936 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
80938 return 0;
80940 _ACEOF
80941 if ac_fn_c_try_compile "$LINENO"; then :
80942 glibcxx_cv_size_t_mangling=u6uint20
80943 else
80944 glibcxx_cv_size_t_mangling=x
80946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80962 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80963 if test $glibcxx_cv_size_t_mangling = x; then
80964 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
80967 cat >>confdefs.h <<_ACEOF
80968 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80969 _ACEOF
80973 # Check which release added std::exception_ptr for the target
80975 if test $enable_symvers != no; then
80976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
80977 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
80978 case ${target} in
80979 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
80980 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
80981 ac_exception_ptr_since_gcc46=yes
80984 # If the value of this macro changes then we will need to hardcode
80985 # yes/no here for additional targets based on the original value.
80986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80987 /* end confdefs.h. */
80990 main ()
80993 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
80994 # error atomic int not always lock free
80995 #endif
80998 return 0;
81000 _ACEOF
81001 if ac_fn_c_try_compile "$LINENO"; then :
81002 ac_exception_ptr_since_gcc46=yes
81003 else
81004 ac_exception_ptr_since_gcc46=no
81006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81008 esac
81009 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
81011 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
81013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
81014 $as_echo "4.6.0" >&6; }
81015 else
81016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
81017 $as_echo "7.1.0" >&6; }
81022 # Define documentation rules conditionally.
81024 # See if makeinfo has been installed and is modern enough
81025 # that we can use it.
81027 # Extract the first word of "makeinfo", so it can be a program name with args.
81028 set dummy makeinfo; ac_word=$2
81029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81030 $as_echo_n "checking for $ac_word... " >&6; }
81031 if ${ac_cv_prog_MAKEINFO+:} false; then :
81032 $as_echo_n "(cached) " >&6
81033 else
81034 if test -n "$MAKEINFO"; then
81035 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
81036 else
81037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81038 for as_dir in $PATH
81040 IFS=$as_save_IFS
81041 test -z "$as_dir" && as_dir=.
81042 for ac_exec_ext in '' $ac_executable_extensions; do
81043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81044 ac_cv_prog_MAKEINFO="makeinfo"
81045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81046 break 2
81048 done
81049 done
81050 IFS=$as_save_IFS
81054 MAKEINFO=$ac_cv_prog_MAKEINFO
81055 if test -n "$MAKEINFO"; then
81056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
81057 $as_echo "$MAKEINFO" >&6; }
81058 else
81059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81060 $as_echo "no" >&6; }
81064 if test -n "$MAKEINFO"; then
81065 # Found it, now check the version.
81066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
81067 $as_echo_n "checking for modern makeinfo... " >&6; }
81068 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
81069 $as_echo_n "(cached) " >&6
81070 else
81071 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
81072 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
81074 case $ac_prog_version in
81075 '') gcc_cv_prog_makeinfo_modern=no;;
81076 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
81077 *) gcc_cv_prog_makeinfo_modern=no;;
81078 esac
81081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
81082 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
81083 else
81084 gcc_cv_prog_makeinfo_modern=no
81086 if test $gcc_cv_prog_makeinfo_modern = no; then
81087 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
81090 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
81091 BUILD_INFO_TRUE=
81092 BUILD_INFO_FALSE='#'
81093 else
81094 BUILD_INFO_TRUE='#'
81095 BUILD_INFO_FALSE=
81099 # Check for doxygen
81100 # Extract the first word of "doxygen", so it can be a program name with args.
81101 set dummy doxygen; ac_word=$2
81102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81103 $as_echo_n "checking for $ac_word... " >&6; }
81104 if ${ac_cv_prog_DOXYGEN+:} false; then :
81105 $as_echo_n "(cached) " >&6
81106 else
81107 if test -n "$DOXYGEN"; then
81108 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
81109 else
81110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81111 for as_dir in $PATH
81113 IFS=$as_save_IFS
81114 test -z "$as_dir" && as_dir=.
81115 for ac_exec_ext in '' $ac_executable_extensions; do
81116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81117 ac_cv_prog_DOXYGEN="yes"
81118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81119 break 2
81121 done
81122 done
81123 IFS=$as_save_IFS
81125 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
81128 DOXYGEN=$ac_cv_prog_DOXYGEN
81129 if test -n "$DOXYGEN"; then
81130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
81131 $as_echo "$DOXYGEN" >&6; }
81132 else
81133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81134 $as_echo "no" >&6; }
81138 # Extract the first word of "dot", so it can be a program name with args.
81139 set dummy dot; ac_word=$2
81140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81141 $as_echo_n "checking for $ac_word... " >&6; }
81142 if ${ac_cv_prog_DOT+:} false; then :
81143 $as_echo_n "(cached) " >&6
81144 else
81145 if test -n "$DOT"; then
81146 ac_cv_prog_DOT="$DOT" # Let the user override the test.
81147 else
81148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81149 for as_dir in $PATH
81151 IFS=$as_save_IFS
81152 test -z "$as_dir" && as_dir=.
81153 for ac_exec_ext in '' $ac_executable_extensions; do
81154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81155 ac_cv_prog_DOT="yes"
81156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81157 break 2
81159 done
81160 done
81161 IFS=$as_save_IFS
81163 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
81166 DOT=$ac_cv_prog_DOT
81167 if test -n "$DOT"; then
81168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
81169 $as_echo "$DOT" >&6; }
81170 else
81171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81172 $as_echo "no" >&6; }
81177 # Check for docbook
81178 # Extract the first word of "xsltproc", so it can be a program name with args.
81179 set dummy xsltproc; ac_word=$2
81180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81181 $as_echo_n "checking for $ac_word... " >&6; }
81182 if ${ac_cv_prog_XSLTPROC+:} false; then :
81183 $as_echo_n "(cached) " >&6
81184 else
81185 if test -n "$XSLTPROC"; then
81186 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
81187 else
81188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81189 for as_dir in $PATH
81191 IFS=$as_save_IFS
81192 test -z "$as_dir" && as_dir=.
81193 for ac_exec_ext in '' $ac_executable_extensions; do
81194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81195 ac_cv_prog_XSLTPROC="yes"
81196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81197 break 2
81199 done
81200 done
81201 IFS=$as_save_IFS
81203 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
81206 XSLTPROC=$ac_cv_prog_XSLTPROC
81207 if test -n "$XSLTPROC"; then
81208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
81209 $as_echo "$XSLTPROC" >&6; }
81210 else
81211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81212 $as_echo "no" >&6; }
81216 # Extract the first word of "xmllint", so it can be a program name with args.
81217 set dummy xmllint; ac_word=$2
81218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81219 $as_echo_n "checking for $ac_word... " >&6; }
81220 if ${ac_cv_prog_XMLLINT+:} false; then :
81221 $as_echo_n "(cached) " >&6
81222 else
81223 if test -n "$XMLLINT"; then
81224 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
81225 else
81226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81227 for as_dir in $PATH
81229 IFS=$as_save_IFS
81230 test -z "$as_dir" && as_dir=.
81231 for ac_exec_ext in '' $ac_executable_extensions; do
81232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81233 ac_cv_prog_XMLLINT="yes"
81234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81235 break 2
81237 done
81238 done
81239 IFS=$as_save_IFS
81241 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
81244 XMLLINT=$ac_cv_prog_XMLLINT
81245 if test -n "$XMLLINT"; then
81246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
81247 $as_echo "$XMLLINT" >&6; }
81248 else
81249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81250 $as_echo "no" >&6; }
81256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
81257 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
81258 glibcxx_stylesheets=no
81259 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude http://docbook.sourceforge.net/release/xsl-ns/current/xhtml-1_1/docbook.xsl - 2>/dev/null; then
81260 glibcxx_stylesheets=yes
81262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
81263 $as_echo "$glibcxx_stylesheets" >&6; }
81265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
81266 $as_echo_n "checking for local stylesheet directory... " >&6; }
81267 glibcxx_local_stylesheets=no
81268 if test x"$glibcxx_stylesheets" = x"yes"; then
81269 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
81270 glibcxx_local_stylesheets=yes
81271 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
81273 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
81274 glibcxx_local_stylesheets=yes
81275 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
81277 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
81278 glibcxx_local_stylesheets=yes
81279 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
81282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
81283 $as_echo "$glibcxx_local_stylesheets" >&6; }
81285 if test x"$glibcxx_local_stylesheets" = x"yes"; then
81287 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
81288 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
81289 else
81290 glibcxx_stylesheets=no
81293 # Check for epub3 dependencies.
81294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
81295 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
81296 glibcxx_epub_stylesheets=no
81297 if test x"$glibcxx_local_stylesheets" = x"yes"; then
81298 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
81299 glibcxx_epub_stylesheets=yes
81302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
81303 $as_echo "$glibcxx_epub_stylesheets" >&6; }
81304 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
81305 BUILD_EPUB_TRUE=
81306 BUILD_EPUB_FALSE='#'
81307 else
81308 BUILD_EPUB_TRUE='#'
81309 BUILD_EPUB_FALSE=
81315 # Check for xml/html dependencies.
81316 if test $ac_cv_prog_DOXYGEN = "yes" &&
81317 test $ac_cv_prog_DOT = "yes" &&
81318 test $ac_cv_prog_XSLTPROC = "yes" &&
81319 test $ac_cv_prog_XMLLINT = "yes" &&
81320 test $glibcxx_stylesheets = "yes"; then
81321 BUILD_XML_TRUE=
81322 BUILD_XML_FALSE='#'
81323 else
81324 BUILD_XML_TRUE='#'
81325 BUILD_XML_FALSE=
81329 if test $ac_cv_prog_DOXYGEN = "yes" &&
81330 test $ac_cv_prog_DOT = "yes" &&
81331 test $ac_cv_prog_XSLTPROC = "yes" &&
81332 test $ac_cv_prog_XMLLINT = "yes" &&
81333 test $glibcxx_stylesheets = "yes"; then
81334 BUILD_HTML_TRUE=
81335 BUILD_HTML_FALSE='#'
81336 else
81337 BUILD_HTML_TRUE='#'
81338 BUILD_HTML_FALSE=
81342 # Check for man dependencies.
81343 if test $ac_cv_prog_DOXYGEN = "yes" &&
81344 test $ac_cv_prog_DOT = "yes"; then
81345 BUILD_MAN_TRUE=
81346 BUILD_MAN_FALSE='#'
81347 else
81348 BUILD_MAN_TRUE='#'
81349 BUILD_MAN_FALSE=
81353 # Check for pdf dependencies.
81354 # Extract the first word of "dblatex", so it can be a program name with args.
81355 set dummy dblatex; ac_word=$2
81356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81357 $as_echo_n "checking for $ac_word... " >&6; }
81358 if ${ac_cv_prog_DBLATEX+:} false; then :
81359 $as_echo_n "(cached) " >&6
81360 else
81361 if test -n "$DBLATEX"; then
81362 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
81363 else
81364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81365 for as_dir in $PATH
81367 IFS=$as_save_IFS
81368 test -z "$as_dir" && as_dir=.
81369 for ac_exec_ext in '' $ac_executable_extensions; do
81370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81371 ac_cv_prog_DBLATEX="yes"
81372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81373 break 2
81375 done
81376 done
81377 IFS=$as_save_IFS
81379 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
81382 DBLATEX=$ac_cv_prog_DBLATEX
81383 if test -n "$DBLATEX"; then
81384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
81385 $as_echo "$DBLATEX" >&6; }
81386 else
81387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81388 $as_echo "no" >&6; }
81392 # Extract the first word of "pdflatex", so it can be a program name with args.
81393 set dummy pdflatex; ac_word=$2
81394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81395 $as_echo_n "checking for $ac_word... " >&6; }
81396 if ${ac_cv_prog_PDFLATEX+:} false; then :
81397 $as_echo_n "(cached) " >&6
81398 else
81399 if test -n "$PDFLATEX"; then
81400 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
81401 else
81402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81403 for as_dir in $PATH
81405 IFS=$as_save_IFS
81406 test -z "$as_dir" && as_dir=.
81407 for ac_exec_ext in '' $ac_executable_extensions; do
81408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81409 ac_cv_prog_PDFLATEX="yes"
81410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81411 break 2
81413 done
81414 done
81415 IFS=$as_save_IFS
81417 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
81420 PDFLATEX=$ac_cv_prog_PDFLATEX
81421 if test -n "$PDFLATEX"; then
81422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
81423 $as_echo "$PDFLATEX" >&6; }
81424 else
81425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81426 $as_echo "no" >&6; }
81430 if test $ac_cv_prog_DBLATEX = "yes" &&
81431 test $ac_cv_prog_PDFLATEX = "yes"; then
81432 BUILD_PDF_TRUE=
81433 BUILD_PDF_FALSE='#'
81434 else
81435 BUILD_PDF_TRUE='#'
81436 BUILD_PDF_FALSE=
81440 case "$build" in
81441 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
81442 * ) glibcxx_include_dir_notparallel=no ;;
81443 esac
81444 if test $glibcxx_include_dir_notparallel = "yes"; then
81445 INCLUDE_DIR_NOTPARALLEL_TRUE=
81446 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
81447 else
81448 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
81449 INCLUDE_DIR_NOTPARALLEL_FALSE=
81453 # Propagate the target-specific source directories through the build chain.
81454 ATOMICITY_SRCDIR=config/${atomicity_dir}
81455 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
81456 ATOMIC_FLAGS=${atomic_flags}
81457 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
81458 OS_INC_SRCDIR=config/${os_include_dir}
81459 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
81460 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
81461 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
81462 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
81474 # Add CET specific flags if Intel CET is enabled.
81475 # Check whether --enable-cet was given.
81476 if test "${enable_cet+set}" = set; then :
81477 enableval=$enable_cet;
81478 case "$enableval" in
81479 yes|no|auto) ;;
81480 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
81481 esac
81483 else
81484 enable_cet=no
81488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
81489 $as_echo_n "checking for CET support... " >&6; }
81491 case "$host" in
81492 i[34567]86-*-linux* | x86_64-*-linux*)
81493 case "$enable_cet" in
81494 auto)
81495 # Check if target supports multi-byte NOPs
81496 # and if assembler supports CET insn.
81497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81498 /* end confdefs.h. */
81501 main ()
81504 #if !defined(__SSE2__)
81505 #error target does not support multi-byte NOPs
81506 #else
81507 asm ("setssbsy");
81508 #endif
81511 return 0;
81513 _ACEOF
81514 if ac_fn_c_try_compile "$LINENO"; then :
81515 enable_cet=yes
81516 else
81517 enable_cet=no
81519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81521 yes)
81522 # Check if assembler supports CET.
81523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81524 /* end confdefs.h. */
81527 main ()
81529 asm ("setssbsy");
81531 return 0;
81533 _ACEOF
81534 if ac_fn_c_try_compile "$LINENO"; then :
81536 else
81537 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
81539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81541 esac
81544 enable_cet=no
81546 esac
81547 if test x$enable_cet = xyes; then
81548 CET_FLAGS="-fcf-protection -mshstk"
81549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
81550 $as_echo "yes" >&6; }
81551 else
81552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81553 $as_echo "no" >&6; }
81556 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
81557 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
81561 # Determine cross-compile flags and AM_CONDITIONALs.
81562 #AC_SUBST(GLIBCXX_IS_NATIVE)
81563 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
81564 if test $is_hosted = yes; then
81565 GLIBCXX_HOSTED_TRUE=
81566 GLIBCXX_HOSTED_FALSE='#'
81567 else
81568 GLIBCXX_HOSTED_TRUE='#'
81569 GLIBCXX_HOSTED_FALSE=
81573 if test $enable_libstdcxx_pch = yes; then
81574 GLIBCXX_BUILD_PCH_TRUE=
81575 GLIBCXX_BUILD_PCH_FALSE='#'
81576 else
81577 GLIBCXX_BUILD_PCH_TRUE='#'
81578 GLIBCXX_BUILD_PCH_FALSE=
81582 if test $enable_float128 = yes; then
81583 ENABLE_FLOAT128_TRUE=
81584 ENABLE_FLOAT128_FALSE='#'
81585 else
81586 ENABLE_FLOAT128_TRUE='#'
81587 ENABLE_FLOAT128_FALSE=
81591 if test $enable_libstdcxx_allocator_flag = new; then
81592 ENABLE_ALLOCATOR_NEW_TRUE=
81593 ENABLE_ALLOCATOR_NEW_FALSE='#'
81594 else
81595 ENABLE_ALLOCATOR_NEW_TRUE='#'
81596 ENABLE_ALLOCATOR_NEW_FALSE=
81600 if test $enable_cheaders = c; then
81601 GLIBCXX_C_HEADERS_C_TRUE=
81602 GLIBCXX_C_HEADERS_C_FALSE='#'
81603 else
81604 GLIBCXX_C_HEADERS_C_TRUE='#'
81605 GLIBCXX_C_HEADERS_C_FALSE=
81609 if test $enable_cheaders = c_std; then
81610 GLIBCXX_C_HEADERS_C_STD_TRUE=
81611 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
81612 else
81613 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
81614 GLIBCXX_C_HEADERS_C_STD_FALSE=
81618 if test $enable_cheaders = c_global; then
81619 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81620 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81621 else
81622 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81623 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81627 if test $c_compatibility = yes; then
81628 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81629 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81630 else
81631 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81632 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81636 if test $enable_libstdcxx_debug = yes; then
81637 GLIBCXX_BUILD_DEBUG_TRUE=
81638 GLIBCXX_BUILD_DEBUG_FALSE='#'
81639 else
81640 GLIBCXX_BUILD_DEBUG_TRUE='#'
81641 GLIBCXX_BUILD_DEBUG_FALSE=
81645 if test $enable_extern_template = yes; then
81646 ENABLE_EXTERN_TEMPLATE_TRUE=
81647 ENABLE_EXTERN_TEMPLATE_FALSE='#'
81648 else
81649 ENABLE_EXTERN_TEMPLATE_TRUE='#'
81650 ENABLE_EXTERN_TEMPLATE_FALSE=
81654 if test $python_mod_dir != no; then
81655 ENABLE_PYTHONDIR_TRUE=
81656 ENABLE_PYTHONDIR_FALSE='#'
81657 else
81658 ENABLE_PYTHONDIR_TRUE='#'
81659 ENABLE_PYTHONDIR_FALSE=
81663 if test $enable_werror = yes; then
81664 ENABLE_WERROR_TRUE=
81665 ENABLE_WERROR_FALSE='#'
81666 else
81667 ENABLE_WERROR_TRUE='#'
81668 ENABLE_WERROR_FALSE=
81672 if test $enable_vtable_verify = yes; then
81673 ENABLE_VTABLE_VERIFY_TRUE=
81674 ENABLE_VTABLE_VERIFY_FALSE='#'
81675 else
81676 ENABLE_VTABLE_VERIFY_TRUE='#'
81677 ENABLE_VTABLE_VERIFY_FALSE=
81681 if test $enable_symvers != no; then
81682 ENABLE_SYMVERS_TRUE=
81683 ENABLE_SYMVERS_FALSE='#'
81684 else
81685 ENABLE_SYMVERS_TRUE='#'
81686 ENABLE_SYMVERS_FALSE=
81690 if test $enable_symvers = gnu; then
81691 ENABLE_SYMVERS_GNU_TRUE=
81692 ENABLE_SYMVERS_GNU_FALSE='#'
81693 else
81694 ENABLE_SYMVERS_GNU_TRUE='#'
81695 ENABLE_SYMVERS_GNU_FALSE=
81699 if test $enable_symvers = gnu-versioned-namespace; then
81700 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
81701 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
81702 else
81703 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
81704 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81708 if test $enable_symvers = darwin; then
81709 ENABLE_SYMVERS_DARWIN_TRUE=
81710 ENABLE_SYMVERS_DARWIN_FALSE='#'
81711 else
81712 ENABLE_SYMVERS_DARWIN_TRUE='#'
81713 ENABLE_SYMVERS_DARWIN_FALSE=
81717 if test $enable_symvers = sun; then
81718 ENABLE_SYMVERS_SUN_TRUE=
81719 ENABLE_SYMVERS_SUN_FALSE='#'
81720 else
81721 ENABLE_SYMVERS_SUN_TRUE='#'
81722 ENABLE_SYMVERS_SUN_FALSE=
81726 if test $enable_libstdcxx_visibility = yes; then
81727 ENABLE_VISIBILITY_TRUE=
81728 ENABLE_VISIBILITY_FALSE='#'
81729 else
81730 ENABLE_VISIBILITY_TRUE='#'
81731 ENABLE_VISIBILITY_FALSE=
81735 if test $enable_libstdcxx_dual_abi = yes; then
81736 ENABLE_DUAL_ABI_TRUE=
81737 ENABLE_DUAL_ABI_FALSE='#'
81738 else
81739 ENABLE_DUAL_ABI_TRUE='#'
81740 ENABLE_DUAL_ABI_FALSE=
81744 if test $glibcxx_cxx11_abi = 1; then
81745 ENABLE_CXX11_ABI_TRUE=
81746 ENABLE_CXX11_ABI_FALSE='#'
81747 else
81748 ENABLE_CXX11_ABI_TRUE='#'
81749 ENABLE_CXX11_ABI_FALSE=
81753 if test $ac_ldbl_compat = yes; then
81754 GLIBCXX_LDBL_COMPAT_TRUE=
81755 GLIBCXX_LDBL_COMPAT_FALSE='#'
81756 else
81757 GLIBCXX_LDBL_COMPAT_TRUE='#'
81758 GLIBCXX_LDBL_COMPAT_FALSE=
81762 if test $enable_libstdcxx_filesystem_ts = yes; then
81763 ENABLE_FILESYSTEM_TS_TRUE=
81764 ENABLE_FILESYSTEM_TS_FALSE='#'
81765 else
81766 ENABLE_FILESYSTEM_TS_TRUE='#'
81767 ENABLE_FILESYSTEM_TS_FALSE=
81773 cat >confcache <<\_ACEOF
81774 # This file is a shell script that caches the results of configure
81775 # tests run on this system so they can be shared between configure
81776 # scripts and configure runs, see configure's option --config-cache.
81777 # It is not useful on other systems. If it contains results you don't
81778 # want to keep, you may remove or edit it.
81780 # config.status only pays attention to the cache file if you give it
81781 # the --recheck option to rerun configure.
81783 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81784 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81785 # following values.
81787 _ACEOF
81789 # The following way of writing the cache mishandles newlines in values,
81790 # but we know of no workaround that is simple, portable, and efficient.
81791 # So, we kill variables containing newlines.
81792 # Ultrix sh set writes to stderr and can't be redirected directly,
81793 # and sets the high bit in the cache file unless we assign to the vars.
81795 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81796 eval ac_val=\$$ac_var
81797 case $ac_val in #(
81798 *${as_nl}*)
81799 case $ac_var in #(
81800 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81801 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81802 esac
81803 case $ac_var in #(
81804 _ | IFS | as_nl) ;; #(
81805 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81806 *) { eval $ac_var=; unset $ac_var;} ;;
81807 esac ;;
81808 esac
81809 done
81811 (set) 2>&1 |
81812 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81813 *${as_nl}ac_space=\ *)
81814 # `set' does not quote correctly, so add quotes: double-quote
81815 # substitution turns \\\\ into \\, and sed turns \\ into \.
81816 sed -n \
81817 "s/'/'\\\\''/g;
81818 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81819 ;; #(
81821 # `set' quotes correctly as required by POSIX, so do not add quotes.
81822 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81824 esac |
81825 sort
81827 sed '
81828 /^ac_cv_env_/b end
81829 t clear
81830 :clear
81831 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81832 t end
81833 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81834 :end' >>confcache
81835 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81836 if test -w "$cache_file"; then
81837 if test "x$cache_file" != "x/dev/null"; then
81838 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81839 $as_echo "$as_me: updating cache $cache_file" >&6;}
81840 if test ! -f "$cache_file" || test -h "$cache_file"; then
81841 cat confcache >"$cache_file"
81842 else
81843 case $cache_file in #(
81844 */* | ?:*)
81845 mv -f confcache "$cache_file"$$ &&
81846 mv -f "$cache_file"$$ "$cache_file" ;; #(
81848 mv -f confcache "$cache_file" ;;
81849 esac
81852 else
81853 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81854 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81857 rm -f confcache
81859 if test ${multilib} = yes; then
81860 multilib_arg="--enable-multilib"
81861 else
81862 multilib_arg=
81865 # Export all the install information.
81867 glibcxx_toolexecdir=no
81868 glibcxx_toolexeclibdir=no
81869 glibcxx_prefixdir=$prefix
81871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81872 $as_echo_n "checking for gxx-include-dir... " >&6; }
81874 # Check whether --with-gxx-include-dir was given.
81875 if test "${with_gxx_include_dir+set}" = set; then :
81876 withval=$with_gxx_include_dir; case "$withval" in
81877 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81878 no) gxx_include_dir=no ;;
81879 *) gxx_include_dir=$withval ;;
81880 esac
81881 else
81882 gxx_include_dir=no
81885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81886 $as_echo "$gxx_include_dir" >&6; }
81888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81889 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81890 # Check whether --enable-version-specific-runtime-libs was given.
81891 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81892 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81893 yes) version_specific_libs=yes ;;
81894 no) version_specific_libs=no ;;
81895 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81896 esac
81897 else
81898 version_specific_libs=no
81901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81902 $as_echo "$version_specific_libs" >&6; }
81904 # Default case for install directory for include files.
81905 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81906 gxx_include_dir='include/c++/${gcc_version}'
81907 if test -n "$with_cross_host" &&
81908 test x"$with_cross_host" != x"no"; then
81909 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81910 else
81911 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81915 # Version-specific runtime libs processing.
81916 if test $version_specific_libs = yes; then
81917 # Need the gcc compiler version to know where to install libraries
81918 # and header files if --enable-version-specific-runtime-libs option
81919 # is selected. FIXME: these variables are misnamed, there are
81920 # no executables installed in _toolexecdir or _toolexeclibdir.
81921 if test x"$gxx_include_dir" = x"no"; then
81922 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81924 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81925 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81928 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81929 # Install a library built with a cross compiler in tooldir, not libdir.
81930 if test x"$glibcxx_toolexecdir" = x"no"; then
81931 if test -n "$with_cross_host" &&
81932 test x"$with_cross_host" != x"no"; then
81933 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81934 glibcxx_toolexeclibdir='${toolexecdir}/lib'
81935 else
81936 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81937 glibcxx_toolexeclibdir='${libdir}'
81939 multi_os_directory=`$CXX -print-multi-os-directory`
81940 case $multi_os_directory in
81941 .) ;; # Avoid trailing /.
81942 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81943 esac
81946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81947 $as_echo_n "checking for install location... " >&6; }
81948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81949 $as_echo "$gxx_include_dir" >&6; }
81957 # Export all the include and flag information to Makefiles.
81959 # Used for every C++ compile we perform.
81960 GLIBCXX_INCLUDES="\
81961 -I$glibcxx_builddir/include/$host_alias \
81962 -I$glibcxx_builddir/include \
81963 -I$glibcxx_srcdir/libsupc++"
81965 # For Canadian crosses, pick this up too.
81966 if test $CANADIAN = yes; then
81967 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81970 # Stuff in the actual top level. Currently only used by libsupc++ to
81971 # get unwind* headers from the libgcc dir.
81972 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81973 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81975 # Now, export this to all the little Makefiles....
81980 # Optimization flags that are probably a good idea for thrill-seekers. Just
81981 # uncomment the lines below and make, everything else is ready to go...
81982 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81983 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81986 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
81990 # Determine what GCC version number to use in filesystem paths.
81992 get_gcc_base_ver="cat"
81994 # Check whether --with-gcc-major-version-only was given.
81995 if test "${with_gcc_major_version_only+set}" = set; then :
81996 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
81997 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
82005 ac_config_files="$ac_config_files Makefile"
82007 ac_config_files="$ac_config_files scripts/testsuite_flags"
82009 ac_config_files="$ac_config_files scripts/extract_symvers"
82011 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
82014 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
82015 # that multilib installs will end up installed in the correct place.
82016 # The testsuite needs it for multilib-aware ABI baseline files.
82017 # To work around this not being passed down from config-ml.in ->
82018 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
82019 # append it here. Only modify Makefiles that have just been created.
82021 # Also, get rid of this simulated-VPATH thing that automake does.
82022 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/c++17/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
82025 ac_config_commands="$ac_config_commands generate-headers"
82028 cat >confcache <<\_ACEOF
82029 # This file is a shell script that caches the results of configure
82030 # tests run on this system so they can be shared between configure
82031 # scripts and configure runs, see configure's option --config-cache.
82032 # It is not useful on other systems. If it contains results you don't
82033 # want to keep, you may remove or edit it.
82035 # config.status only pays attention to the cache file if you give it
82036 # the --recheck option to rerun configure.
82038 # `ac_cv_env_foo' variables (set or unset) will be overridden when
82039 # loading this file, other *unset* `ac_cv_foo' will be assigned the
82040 # following values.
82042 _ACEOF
82044 # The following way of writing the cache mishandles newlines in values,
82045 # but we know of no workaround that is simple, portable, and efficient.
82046 # So, we kill variables containing newlines.
82047 # Ultrix sh set writes to stderr and can't be redirected directly,
82048 # and sets the high bit in the cache file unless we assign to the vars.
82050 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
82051 eval ac_val=\$$ac_var
82052 case $ac_val in #(
82053 *${as_nl}*)
82054 case $ac_var in #(
82055 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
82056 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
82057 esac
82058 case $ac_var in #(
82059 _ | IFS | as_nl) ;; #(
82060 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
82061 *) { eval $ac_var=; unset $ac_var;} ;;
82062 esac ;;
82063 esac
82064 done
82066 (set) 2>&1 |
82067 case $as_nl`(ac_space=' '; set) 2>&1` in #(
82068 *${as_nl}ac_space=\ *)
82069 # `set' does not quote correctly, so add quotes: double-quote
82070 # substitution turns \\\\ into \\, and sed turns \\ into \.
82071 sed -n \
82072 "s/'/'\\\\''/g;
82073 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
82074 ;; #(
82076 # `set' quotes correctly as required by POSIX, so do not add quotes.
82077 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
82079 esac |
82080 sort
82082 sed '
82083 /^ac_cv_env_/b end
82084 t clear
82085 :clear
82086 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
82087 t end
82088 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
82089 :end' >>confcache
82090 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
82091 if test -w "$cache_file"; then
82092 if test "x$cache_file" != "x/dev/null"; then
82093 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
82094 $as_echo "$as_me: updating cache $cache_file" >&6;}
82095 if test ! -f "$cache_file" || test -h "$cache_file"; then
82096 cat confcache >"$cache_file"
82097 else
82098 case $cache_file in #(
82099 */* | ?:*)
82100 mv -f confcache "$cache_file"$$ &&
82101 mv -f "$cache_file"$$ "$cache_file" ;; #(
82103 mv -f confcache "$cache_file" ;;
82104 esac
82107 else
82108 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
82109 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
82112 rm -f confcache
82114 test "x$prefix" = xNONE && prefix=$ac_default_prefix
82115 # Let make expand exec_prefix.
82116 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
82118 DEFS=-DHAVE_CONFIG_H
82120 ac_libobjs=
82121 ac_ltlibobjs=
82123 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
82124 # 1. Remove the extension, and $U if already installed.
82125 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
82126 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
82127 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
82128 # will be set to the directory where LIBOBJS objects are built.
82129 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
82130 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
82131 done
82132 LIBOBJS=$ac_libobjs
82134 LTLIBOBJS=$ac_ltlibobjs
82137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
82138 $as_echo_n "checking that generated files are newer than configure... " >&6; }
82139 if test -n "$am_sleep_pid"; then
82140 # Hide warnings about reused PIDs.
82141 wait $am_sleep_pid 2>/dev/null
82143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
82144 $as_echo "done" >&6; }
82145 if test -n "$EXEEXT"; then
82146 am__EXEEXT_TRUE=
82147 am__EXEEXT_FALSE='#'
82148 else
82149 am__EXEEXT_TRUE='#'
82150 am__EXEEXT_FALSE=
82153 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
82154 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
82155 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82157 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
82158 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
82159 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82161 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
82162 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
82163 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82165 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
82166 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
82167 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82169 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
82170 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
82171 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82173 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
82174 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
82175 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82177 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
82178 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
82179 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82181 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
82182 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
82183 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82185 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
82186 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
82187 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82189 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
82190 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
82191 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82193 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
82194 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
82195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82197 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
82198 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
82199 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82201 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
82202 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
82203 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82205 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
82206 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
82207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82209 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
82210 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
82211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82213 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
82214 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
82215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82217 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
82218 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
82219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82221 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
82222 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
82223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82225 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
82226 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
82227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82229 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
82230 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
82231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82233 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
82234 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
82235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82237 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
82238 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
82239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82241 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
82242 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
82243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82245 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
82246 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
82247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82249 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
82250 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
82251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82253 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
82254 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
82255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82257 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
82258 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
82259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82261 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
82262 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
82263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82265 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
82266 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
82267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82269 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
82270 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
82271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82273 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
82274 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
82275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82277 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
82278 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
82279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82282 : "${CONFIG_STATUS=./config.status}"
82283 ac_write_fail=0
82284 ac_clean_files_save=$ac_clean_files
82285 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
82286 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
82287 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
82288 as_write_fail=0
82289 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
82290 #! $SHELL
82291 # Generated by $as_me.
82292 # Run this file to recreate the current configuration.
82293 # Compiler output produced by configure, useful for debugging
82294 # configure, is in config.log if it exists.
82296 debug=false
82297 ac_cs_recheck=false
82298 ac_cs_silent=false
82300 SHELL=\${CONFIG_SHELL-$SHELL}
82301 export SHELL
82302 _ASEOF
82303 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
82304 ## -------------------- ##
82305 ## M4sh Initialization. ##
82306 ## -------------------- ##
82308 # Be more Bourne compatible
82309 DUALCASE=1; export DUALCASE # for MKS sh
82310 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
82311 emulate sh
82312 NULLCMD=:
82313 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
82314 # is contrary to our usage. Disable this feature.
82315 alias -g '${1+"$@"}'='"$@"'
82316 setopt NO_GLOB_SUBST
82317 else
82318 case `(set -o) 2>/dev/null` in #(
82319 *posix*) :
82320 set -o posix ;; #(
82321 *) :
82323 esac
82327 as_nl='
82329 export as_nl
82330 # Printing a long string crashes Solaris 7 /usr/bin/printf.
82331 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
82332 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
82333 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
82334 # Prefer a ksh shell builtin over an external printf program on Solaris,
82335 # but without wasting forks for bash or zsh.
82336 if test -z "$BASH_VERSION$ZSH_VERSION" \
82337 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
82338 as_echo='print -r --'
82339 as_echo_n='print -rn --'
82340 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
82341 as_echo='printf %s\n'
82342 as_echo_n='printf %s'
82343 else
82344 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
82345 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
82346 as_echo_n='/usr/ucb/echo -n'
82347 else
82348 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
82349 as_echo_n_body='eval
82350 arg=$1;
82351 case $arg in #(
82352 *"$as_nl"*)
82353 expr "X$arg" : "X\\(.*\\)$as_nl";
82354 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
82355 esac;
82356 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
82358 export as_echo_n_body
82359 as_echo_n='sh -c $as_echo_n_body as_echo'
82361 export as_echo_body
82362 as_echo='sh -c $as_echo_body as_echo'
82365 # The user is always right.
82366 if test "${PATH_SEPARATOR+set}" != set; then
82367 PATH_SEPARATOR=:
82368 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82369 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82370 PATH_SEPARATOR=';'
82375 # IFS
82376 # We need space, tab and new line, in precisely that order. Quoting is
82377 # there to prevent editors from complaining about space-tab.
82378 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
82379 # splitting by setting IFS to empty value.)
82380 IFS=" "" $as_nl"
82382 # Find who we are. Look in the path if we contain no directory separator.
82383 as_myself=
82384 case $0 in #((
82385 *[\\/]* ) as_myself=$0 ;;
82386 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
82387 for as_dir in $PATH
82389 IFS=$as_save_IFS
82390 test -z "$as_dir" && as_dir=.
82391 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82392 done
82393 IFS=$as_save_IFS
82396 esac
82397 # We did not find ourselves, most probably we were run as `sh COMMAND'
82398 # in which case we are not to be found in the path.
82399 if test "x$as_myself" = x; then
82400 as_myself=$0
82402 if test ! -f "$as_myself"; then
82403 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
82404 exit 1
82407 # Unset variables that we do not need and which cause bugs (e.g. in
82408 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
82409 # suppresses any "Segmentation fault" message there. '((' could
82410 # trigger a bug in pdksh 5.2.14.
82411 for as_var in BASH_ENV ENV MAIL MAILPATH
82412 do eval test x\${$as_var+set} = xset \
82413 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
82414 done
82415 PS1='$ '
82416 PS2='> '
82417 PS4='+ '
82419 # NLS nuisances.
82420 LC_ALL=C
82421 export LC_ALL
82422 LANGUAGE=C
82423 export LANGUAGE
82425 # CDPATH.
82426 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82429 # as_fn_error STATUS ERROR [LINENO LOG_FD]
82430 # ----------------------------------------
82431 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
82432 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
82433 # script with STATUS, using 1 if that was 0.
82434 as_fn_error ()
82436 as_status=$1; test $as_status -eq 0 && as_status=1
82437 if test "$4"; then
82438 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
82439 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
82441 $as_echo "$as_me: error: $2" >&2
82442 as_fn_exit $as_status
82443 } # as_fn_error
82446 # as_fn_set_status STATUS
82447 # -----------------------
82448 # Set $? to STATUS, without forking.
82449 as_fn_set_status ()
82451 return $1
82452 } # as_fn_set_status
82454 # as_fn_exit STATUS
82455 # -----------------
82456 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
82457 as_fn_exit ()
82459 set +e
82460 as_fn_set_status $1
82461 exit $1
82462 } # as_fn_exit
82464 # as_fn_unset VAR
82465 # ---------------
82466 # Portably unset VAR.
82467 as_fn_unset ()
82469 { eval $1=; unset $1;}
82471 as_unset=as_fn_unset
82472 # as_fn_append VAR VALUE
82473 # ----------------------
82474 # Append the text in VALUE to the end of the definition contained in VAR. Take
82475 # advantage of any shell optimizations that allow amortized linear growth over
82476 # repeated appends, instead of the typical quadratic growth present in naive
82477 # implementations.
82478 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
82479 eval 'as_fn_append ()
82481 eval $1+=\$2
82483 else
82484 as_fn_append ()
82486 eval $1=\$$1\$2
82488 fi # as_fn_append
82490 # as_fn_arith ARG...
82491 # ------------------
82492 # Perform arithmetic evaluation on the ARGs, and store the result in the
82493 # global $as_val. Take advantage of shells that can avoid forks. The arguments
82494 # must be portable across $(()) and expr.
82495 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
82496 eval 'as_fn_arith ()
82498 as_val=$(( $* ))
82500 else
82501 as_fn_arith ()
82503 as_val=`expr "$@" || test $? -eq 1`
82505 fi # as_fn_arith
82508 if expr a : '\(a\)' >/dev/null 2>&1 &&
82509 test "X`expr 00001 : '.*\(...\)'`" = X001; then
82510 as_expr=expr
82511 else
82512 as_expr=false
82515 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
82516 as_basename=basename
82517 else
82518 as_basename=false
82521 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
82522 as_dirname=dirname
82523 else
82524 as_dirname=false
82527 as_me=`$as_basename -- "$0" ||
82528 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
82529 X"$0" : 'X\(//\)$' \| \
82530 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
82531 $as_echo X/"$0" |
82532 sed '/^.*\/\([^/][^/]*\)\/*$/{
82533 s//\1/
82536 /^X\/\(\/\/\)$/{
82537 s//\1/
82540 /^X\/\(\/\).*/{
82541 s//\1/
82544 s/.*/./; q'`
82546 # Avoid depending upon Character Ranges.
82547 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82548 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82549 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82550 as_cr_digits='0123456789'
82551 as_cr_alnum=$as_cr_Letters$as_cr_digits
82553 ECHO_C= ECHO_N= ECHO_T=
82554 case `echo -n x` in #(((((
82555 -n*)
82556 case `echo 'xy\c'` in
82557 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
82558 xy) ECHO_C='\c';;
82559 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
82560 ECHO_T=' ';;
82561 esac;;
82563 ECHO_N='-n';;
82564 esac
82566 rm -f conf$$ conf$$.exe conf$$.file
82567 if test -d conf$$.dir; then
82568 rm -f conf$$.dir/conf$$.file
82569 else
82570 rm -f conf$$.dir
82571 mkdir conf$$.dir 2>/dev/null
82573 if (echo >conf$$.file) 2>/dev/null; then
82574 if ln -s conf$$.file conf$$ 2>/dev/null; then
82575 as_ln_s='ln -s'
82576 # ... but there are two gotchas:
82577 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
82578 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
82579 # In both cases, we have to default to `cp -pR'.
82580 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
82581 as_ln_s='cp -pR'
82582 elif ln conf$$.file conf$$ 2>/dev/null; then
82583 as_ln_s=ln
82584 else
82585 as_ln_s='cp -pR'
82587 else
82588 as_ln_s='cp -pR'
82590 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
82591 rmdir conf$$.dir 2>/dev/null
82594 # as_fn_mkdir_p
82595 # -------------
82596 # Create "$as_dir" as a directory, including parents if necessary.
82597 as_fn_mkdir_p ()
82600 case $as_dir in #(
82601 -*) as_dir=./$as_dir;;
82602 esac
82603 test -d "$as_dir" || eval $as_mkdir_p || {
82604 as_dirs=
82605 while :; do
82606 case $as_dir in #(
82607 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
82608 *) as_qdir=$as_dir;;
82609 esac
82610 as_dirs="'$as_qdir' $as_dirs"
82611 as_dir=`$as_dirname -- "$as_dir" ||
82612 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82613 X"$as_dir" : 'X\(//\)[^/]' \| \
82614 X"$as_dir" : 'X\(//\)$' \| \
82615 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
82616 $as_echo X"$as_dir" |
82617 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82618 s//\1/
82621 /^X\(\/\/\)[^/].*/{
82622 s//\1/
82625 /^X\(\/\/\)$/{
82626 s//\1/
82629 /^X\(\/\).*/{
82630 s//\1/
82633 s/.*/./; q'`
82634 test -d "$as_dir" && break
82635 done
82636 test -z "$as_dirs" || eval "mkdir $as_dirs"
82637 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
82640 } # as_fn_mkdir_p
82641 if mkdir -p . 2>/dev/null; then
82642 as_mkdir_p='mkdir -p "$as_dir"'
82643 else
82644 test -d ./-p && rmdir ./-p
82645 as_mkdir_p=false
82649 # as_fn_executable_p FILE
82650 # -----------------------
82651 # Test if FILE is an executable regular file.
82652 as_fn_executable_p ()
82654 test -f "$1" && test -x "$1"
82655 } # as_fn_executable_p
82656 as_test_x='test -x'
82657 as_executable_p=as_fn_executable_p
82659 # Sed expression to map a string onto a valid CPP name.
82660 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82662 # Sed expression to map a string onto a valid variable name.
82663 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82666 exec 6>&1
82667 ## ----------------------------------- ##
82668 ## Main body of $CONFIG_STATUS script. ##
82669 ## ----------------------------------- ##
82670 _ASEOF
82671 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82674 # Save the log message, to keep $0 and so on meaningful, and to
82675 # report actual input values of CONFIG_FILES etc. instead of their
82676 # values after options handling.
82677 ac_log="
82678 This file was extended by package-unused $as_me version-unused, which was
82679 generated by GNU Autoconf 2.69. Invocation command line was
82681 CONFIG_FILES = $CONFIG_FILES
82682 CONFIG_HEADERS = $CONFIG_HEADERS
82683 CONFIG_LINKS = $CONFIG_LINKS
82684 CONFIG_COMMANDS = $CONFIG_COMMANDS
82685 $ $0 $@
82687 on `(hostname || uname -n) 2>/dev/null | sed 1q`
82690 _ACEOF
82692 case $ac_config_files in *"
82693 "*) set x $ac_config_files; shift; ac_config_files=$*;;
82694 esac
82696 case $ac_config_headers in *"
82697 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
82698 esac
82701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82702 # Files that config.status was made for.
82703 config_files="$ac_config_files"
82704 config_headers="$ac_config_headers"
82705 config_commands="$ac_config_commands"
82707 _ACEOF
82709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82710 ac_cs_usage="\
82711 \`$as_me' instantiates files and other configuration actions
82712 from templates according to the current configuration. Unless the files
82713 and actions are specified as TAGs, all are instantiated by default.
82715 Usage: $0 [OPTION]... [TAG]...
82717 -h, --help print this help, then exit
82718 -V, --version print version number and configuration settings, then exit
82719 --config print configuration, then exit
82720 -q, --quiet, --silent
82721 do not print progress messages
82722 -d, --debug don't remove temporary files
82723 --recheck update $as_me by reconfiguring in the same conditions
82724 --file=FILE[:TEMPLATE]
82725 instantiate the configuration file FILE
82726 --header=FILE[:TEMPLATE]
82727 instantiate the configuration header FILE
82729 Configuration files:
82730 $config_files
82732 Configuration headers:
82733 $config_headers
82735 Configuration commands:
82736 $config_commands
82738 Report bugs to the package provider."
82740 _ACEOF
82741 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82742 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
82743 ac_cs_version="\\
82744 package-unused config.status version-unused
82745 configured by $0, generated by GNU Autoconf 2.69,
82746 with options \\"\$ac_cs_config\\"
82748 Copyright (C) 2012 Free Software Foundation, Inc.
82749 This config.status script is free software; the Free Software Foundation
82750 gives unlimited permission to copy, distribute and modify it."
82752 ac_pwd='$ac_pwd'
82753 srcdir='$srcdir'
82754 INSTALL='$INSTALL'
82755 MKDIR_P='$MKDIR_P'
82756 AWK='$AWK'
82757 test -n "\$AWK" || AWK=awk
82758 _ACEOF
82760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82761 # The default lists apply if the user does not specify any file.
82762 ac_need_defaults=:
82763 while test $# != 0
82765 case $1 in
82766 --*=?*)
82767 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82768 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82769 ac_shift=:
82771 --*=)
82772 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82773 ac_optarg=
82774 ac_shift=:
82777 ac_option=$1
82778 ac_optarg=$2
82779 ac_shift=shift
82781 esac
82783 case $ac_option in
82784 # Handling of the options.
82785 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82786 ac_cs_recheck=: ;;
82787 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82788 $as_echo "$ac_cs_version"; exit ;;
82789 --config | --confi | --conf | --con | --co | --c )
82790 $as_echo "$ac_cs_config"; exit ;;
82791 --debug | --debu | --deb | --de | --d | -d )
82792 debug=: ;;
82793 --file | --fil | --fi | --f )
82794 $ac_shift
82795 case $ac_optarg in
82796 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82797 '') as_fn_error $? "missing file argument" ;;
82798 esac
82799 as_fn_append CONFIG_FILES " '$ac_optarg'"
82800 ac_need_defaults=false;;
82801 --header | --heade | --head | --hea )
82802 $ac_shift
82803 case $ac_optarg in
82804 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82805 esac
82806 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82807 ac_need_defaults=false;;
82808 --he | --h)
82809 # Conflict between --help and --header
82810 as_fn_error $? "ambiguous option: \`$1'
82811 Try \`$0 --help' for more information.";;
82812 --help | --hel | -h )
82813 $as_echo "$ac_cs_usage"; exit ;;
82814 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82815 | -silent | --silent | --silen | --sile | --sil | --si | --s)
82816 ac_cs_silent=: ;;
82818 # This is an error.
82819 -*) as_fn_error $? "unrecognized option: \`$1'
82820 Try \`$0 --help' for more information." ;;
82822 *) as_fn_append ac_config_targets " $1"
82823 ac_need_defaults=false ;;
82825 esac
82826 shift
82827 done
82829 ac_configure_extra_args=
82831 if $ac_cs_silent; then
82832 exec 6>/dev/null
82833 ac_configure_extra_args="$ac_configure_extra_args --silent"
82836 _ACEOF
82837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82838 if \$ac_cs_recheck; then
82839 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82840 shift
82841 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82842 CONFIG_SHELL='$SHELL'
82843 export CONFIG_SHELL
82844 exec "\$@"
82847 _ACEOF
82848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82849 exec 5>>config.log
82851 echo
82852 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82853 ## Running $as_me. ##
82854 _ASBOX
82855 $as_echo "$ac_log"
82856 } >&5
82858 _ACEOF
82859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82861 # INIT-COMMANDS
82864 srcdir="$srcdir"
82865 host="$host"
82866 target="$target"
82867 with_multisubdir="$with_multisubdir"
82868 with_multisrctop="$with_multisrctop"
82869 with_target_subdir="$with_target_subdir"
82870 ac_configure_args="${multilib_arg} ${ac_configure_args}"
82871 multi_basedir="$multi_basedir"
82872 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82873 CC="$CC"
82874 CXX="$CXX"
82875 GFORTRAN="$GFORTRAN"
82876 GDC="$GDC"
82879 # The HP-UX ksh and POSIX shell print the target directory to stdout
82880 # if CDPATH is set.
82881 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82883 sed_quote_subst='$sed_quote_subst'
82884 double_quote_subst='$double_quote_subst'
82885 delay_variable_subst='$delay_variable_subst'
82886 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82887 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82888 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82889 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82890 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82891 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82892 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82893 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82894 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82895 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82896 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82897 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82898 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82899 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82900 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82901 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82902 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82903 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82904 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82905 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82906 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82907 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82908 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82909 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82910 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82911 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82912 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82913 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82914 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82915 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82916 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82917 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82918 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82919 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82920 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82921 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82922 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82923 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82924 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82925 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82926 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82927 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82928 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82929 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82930 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82931 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82932 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82933 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82934 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
82935 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82936 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82937 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82938 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82939 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82940 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82941 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82942 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82943 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82944 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82945 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82946 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82947 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82948 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82949 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82950 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82951 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82952 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82953 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82954 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82955 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82956 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82957 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82958 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82959 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82960 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82961 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82962 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82963 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82964 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82965 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82966 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82967 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82968 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82969 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82970 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82971 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82972 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82973 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82974 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82975 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82976 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82977 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82978 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82979 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82980 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82981 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82982 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82983 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82984 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82985 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82986 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82987 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82988 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82989 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82990 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82991 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82992 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82993 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82994 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82995 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82996 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82997 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82998 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82999 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
83000 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
83001 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
83002 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
83003 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
83004 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
83005 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
83006 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
83007 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
83008 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
83009 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
83010 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
83011 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
83012 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
83013 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
83014 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83015 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83016 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
83017 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
83018 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
83019 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
83020 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
83021 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
83022 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
83023 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
83024 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
83025 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
83026 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
83027 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
83028 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83029 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83030 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83031 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83032 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83033 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83034 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
83035 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
83036 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
83037 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
83038 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
83039 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
83040 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
83041 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
83042 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
83043 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
83044 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
83045 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
83046 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
83047 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
83048 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
83049 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83050 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
83051 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
83052 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83053 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
83054 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
83055 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
83056 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
83057 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
83058 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
83059 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
83060 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
83062 LTCC='$LTCC'
83063 LTCFLAGS='$LTCFLAGS'
83064 compiler='$compiler_DEFAULT'
83066 # A function that is used when there is no print builtin or printf.
83067 func_fallback_echo ()
83069 eval 'cat <<_LTECHO_EOF
83071 _LTECHO_EOF'
83074 # Quote evaled strings.
83075 for var in SHELL \
83076 ECHO \
83077 SED \
83078 GREP \
83079 EGREP \
83080 FGREP \
83081 LD \
83082 NM \
83083 LN_S \
83084 lt_SP2NL \
83085 lt_NL2SP \
83086 reload_flag \
83087 OBJDUMP \
83088 deplibs_check_method \
83089 file_magic_cmd \
83090 AR \
83091 AR_FLAGS \
83092 STRIP \
83093 RANLIB \
83094 CC \
83095 CFLAGS \
83096 compiler \
83097 lt_cv_sys_global_symbol_pipe \
83098 lt_cv_sys_global_symbol_to_cdecl \
83099 lt_cv_sys_global_symbol_to_c_name_address \
83100 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
83101 lt_prog_compiler_no_builtin_flag \
83102 lt_prog_compiler_wl \
83103 lt_prog_compiler_pic \
83104 lt_prog_compiler_static \
83105 lt_cv_prog_compiler_c_o \
83106 need_locks \
83107 DSYMUTIL \
83108 NMEDIT \
83109 LIPO \
83110 OTOOL \
83111 OTOOL64 \
83112 shrext_cmds \
83113 export_dynamic_flag_spec \
83114 whole_archive_flag_spec \
83115 compiler_needs_object \
83116 with_gnu_ld \
83117 allow_undefined_flag \
83118 no_undefined_flag \
83119 hardcode_libdir_flag_spec \
83120 hardcode_libdir_flag_spec_ld \
83121 hardcode_libdir_separator \
83122 fix_srcfile_path \
83123 exclude_expsyms \
83124 include_expsyms \
83125 file_list_spec \
83126 variables_saved_for_relink \
83127 libname_spec \
83128 library_names_spec \
83129 soname_spec \
83130 install_override_mode \
83131 finish_eval \
83132 old_striplib \
83133 striplib \
83134 compiler_lib_search_dirs \
83135 predep_objects \
83136 postdep_objects \
83137 predeps \
83138 postdeps \
83139 compiler_lib_search_path \
83140 LD_CXX \
83141 reload_flag_CXX \
83142 compiler_CXX \
83143 lt_prog_compiler_no_builtin_flag_CXX \
83144 lt_prog_compiler_wl_CXX \
83145 lt_prog_compiler_pic_CXX \
83146 lt_prog_compiler_static_CXX \
83147 lt_cv_prog_compiler_c_o_CXX \
83148 export_dynamic_flag_spec_CXX \
83149 whole_archive_flag_spec_CXX \
83150 compiler_needs_object_CXX \
83151 with_gnu_ld_CXX \
83152 allow_undefined_flag_CXX \
83153 no_undefined_flag_CXX \
83154 hardcode_libdir_flag_spec_CXX \
83155 hardcode_libdir_flag_spec_ld_CXX \
83156 hardcode_libdir_separator_CXX \
83157 fix_srcfile_path_CXX \
83158 exclude_expsyms_CXX \
83159 include_expsyms_CXX \
83160 file_list_spec_CXX \
83161 compiler_lib_search_dirs_CXX \
83162 predep_objects_CXX \
83163 postdep_objects_CXX \
83164 predeps_CXX \
83165 postdeps_CXX \
83166 compiler_lib_search_path_CXX; do
83167 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
83168 *[\\\\\\\`\\"\\\$]*)
83169 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
83172 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
83174 esac
83175 done
83177 # Double-quote double-evaled strings.
83178 for var in reload_cmds \
83179 old_postinstall_cmds \
83180 old_postuninstall_cmds \
83181 old_archive_cmds \
83182 extract_expsyms_cmds \
83183 old_archive_from_new_cmds \
83184 old_archive_from_expsyms_cmds \
83185 archive_cmds \
83186 archive_expsym_cmds \
83187 module_cmds \
83188 module_expsym_cmds \
83189 export_symbols_cmds \
83190 prelink_cmds \
83191 postinstall_cmds \
83192 postuninstall_cmds \
83193 finish_cmds \
83194 sys_lib_search_path_spec \
83195 sys_lib_dlsearch_path_spec \
83196 reload_cmds_CXX \
83197 old_archive_cmds_CXX \
83198 old_archive_from_new_cmds_CXX \
83199 old_archive_from_expsyms_cmds_CXX \
83200 archive_cmds_CXX \
83201 archive_expsym_cmds_CXX \
83202 module_cmds_CXX \
83203 module_expsym_cmds_CXX \
83204 export_symbols_cmds_CXX \
83205 prelink_cmds_CXX; do
83206 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
83207 *[\\\\\\\`\\"\\\$]*)
83208 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
83211 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
83213 esac
83214 done
83216 ac_aux_dir='$ac_aux_dir'
83217 xsi_shell='$xsi_shell'
83218 lt_shell_append='$lt_shell_append'
83220 # See if we are running on zsh, and set the options which allow our
83221 # commands through without removal of \ escapes INIT.
83222 if test -n "\${ZSH_VERSION+set}" ; then
83223 setopt NO_GLOB_SUBST
83227 PACKAGE='$PACKAGE'
83228 VERSION='$VERSION'
83229 TIMESTAMP='$TIMESTAMP'
83230 RM='$RM'
83231 ofile='$ofile'
83238 GCC="$GCC"
83239 CC="$CC"
83240 acx_cv_header_stdint="$acx_cv_header_stdint"
83241 acx_cv_type_int8_t="$acx_cv_type_int8_t"
83242 acx_cv_type_int16_t="$acx_cv_type_int16_t"
83243 acx_cv_type_int32_t="$acx_cv_type_int32_t"
83244 acx_cv_type_int64_t="$acx_cv_type_int64_t"
83245 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
83246 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
83247 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
83248 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
83249 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
83250 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
83251 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
83252 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
83253 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
83256 _ACEOF
83258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83260 # Handling of arguments.
83261 for ac_config_target in $ac_config_targets
83263 case $ac_config_target in
83264 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
83265 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
83266 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
83267 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
83268 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
83269 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
83270 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
83271 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
83272 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
83273 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
83274 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
83275 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
83276 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
83277 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
83278 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
83279 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
83280 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
83281 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
83282 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
83283 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
83285 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
83286 esac
83287 done
83290 # If the user did not use the arguments to specify the items to instantiate,
83291 # then the envvar interface is used. Set only those that are not.
83292 # We use the long form for the default assignment because of an extremely
83293 # bizarre bug on SunOS 4.1.3.
83294 if $ac_need_defaults; then
83295 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
83296 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
83297 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
83300 # Have a temporary directory for convenience. Make it in the build tree
83301 # simply because there is no reason against having it here, and in addition,
83302 # creating and moving files from /tmp can sometimes cause problems.
83303 # Hook for its removal unless debugging.
83304 # Note that there is a small window in which the directory will not be cleaned:
83305 # after its creation but before its name has been assigned to `$tmp'.
83306 $debug ||
83308 tmp= ac_tmp=
83309 trap 'exit_status=$?
83310 : "${ac_tmp:=$tmp}"
83311 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
83313 trap 'as_fn_exit 1' 1 2 13 15
83315 # Create a (secure) tmp directory for tmp files.
83318 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
83319 test -d "$tmp"
83320 } ||
83322 tmp=./conf$$-$RANDOM
83323 (umask 077 && mkdir "$tmp")
83324 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
83325 ac_tmp=$tmp
83327 # Set up the scripts for CONFIG_FILES section.
83328 # No need to generate them if there are no CONFIG_FILES.
83329 # This happens for instance with `./config.status config.h'.
83330 if test -n "$CONFIG_FILES"; then
83333 ac_cr=`echo X | tr X '\015'`
83334 # On cygwin, bash can eat \r inside `` if the user requested igncr.
83335 # But we know of no other shell where ac_cr would be empty at this
83336 # point, so we can use a bashism as a fallback.
83337 if test "x$ac_cr" = x; then
83338 eval ac_cr=\$\'\\r\'
83340 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
83341 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
83342 ac_cs_awk_cr='\\r'
83343 else
83344 ac_cs_awk_cr=$ac_cr
83347 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
83348 _ACEOF
83352 echo "cat >conf$$subs.awk <<_ACEOF" &&
83353 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
83354 echo "_ACEOF"
83355 } >conf$$subs.sh ||
83356 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
83357 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
83358 ac_delim='%!_!# '
83359 for ac_last_try in false false false false false :; do
83360 . ./conf$$subs.sh ||
83361 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
83363 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
83364 if test $ac_delim_n = $ac_delim_num; then
83365 break
83366 elif $ac_last_try; then
83367 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
83368 else
83369 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83371 done
83372 rm -f conf$$subs.sh
83374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83375 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
83376 _ACEOF
83377 sed -n '
83379 s/^/S["/; s/!.*/"]=/
83382 s/^[^!]*!//
83383 :repl
83384 t repl
83385 s/'"$ac_delim"'$//
83386 t delim
83389 s/\(.\{148\}\)..*/\1/
83390 t more1
83391 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
83394 b repl
83395 :more1
83396 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83399 s/.\{148\}//
83400 t nl
83401 :delim
83403 s/\(.\{148\}\)..*/\1/
83404 t more2
83405 s/["\\]/\\&/g; s/^/"/; s/$/"/
83408 :more2
83409 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83412 s/.\{148\}//
83413 t delim
83414 ' <conf$$subs.awk | sed '
83415 /^[^""]/{
83417 s/\n//
83419 ' >>$CONFIG_STATUS || ac_write_fail=1
83420 rm -f conf$$subs.awk
83421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83422 _ACAWK
83423 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
83424 for (key in S) S_is_set[key] = 1
83425 FS = "\a"
83429 line = $ 0
83430 nfields = split(line, field, "@")
83431 substed = 0
83432 len = length(field[1])
83433 for (i = 2; i < nfields; i++) {
83434 key = field[i]
83435 keylen = length(key)
83436 if (S_is_set[key]) {
83437 value = S[key]
83438 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
83439 len += length(value) + length(field[++i])
83440 substed = 1
83441 } else
83442 len += 1 + keylen
83445 print line
83448 _ACAWK
83449 _ACEOF
83450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83451 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
83452 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
83453 else
83455 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
83456 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
83457 _ACEOF
83459 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
83460 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
83461 # trailing colons and then remove the whole line if VPATH becomes empty
83462 # (actually we leave an empty line to preserve line numbers).
83463 if test "x$srcdir" = x.; then
83464 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
83466 s///
83467 s/^/:/
83468 s/[ ]*$/:/
83469 s/:\$(srcdir):/:/g
83470 s/:\${srcdir}:/:/g
83471 s/:@srcdir@:/:/g
83472 s/^:*//
83473 s/:*$//
83475 s/\(=[ ]*\).*/\1/
83477 s/\n//
83478 s/^[^=]*=[ ]*$//
83482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83483 fi # test -n "$CONFIG_FILES"
83485 # Set up the scripts for CONFIG_HEADERS section.
83486 # No need to generate them if there are no CONFIG_HEADERS.
83487 # This happens for instance with `./config.status Makefile'.
83488 if test -n "$CONFIG_HEADERS"; then
83489 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
83490 BEGIN {
83491 _ACEOF
83493 # Transform confdefs.h into an awk script `defines.awk', embedded as
83494 # here-document in config.status, that substitutes the proper values into
83495 # config.h.in to produce config.h.
83497 # Create a delimiter string that does not exist in confdefs.h, to ease
83498 # handling of long lines.
83499 ac_delim='%!_!# '
83500 for ac_last_try in false false :; do
83501 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
83502 if test -z "$ac_tt"; then
83503 break
83504 elif $ac_last_try; then
83505 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
83506 else
83507 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83509 done
83511 # For the awk script, D is an array of macro values keyed by name,
83512 # likewise P contains macro parameters if any. Preserve backslash
83513 # newline sequences.
83515 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
83516 sed -n '
83517 s/.\{148\}/&'"$ac_delim"'/g
83518 t rset
83519 :rset
83520 s/^[ ]*#[ ]*define[ ][ ]*/ /
83521 t def
83523 :def
83524 s/\\$//
83525 t bsnl
83526 s/["\\]/\\&/g
83527 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83528 D["\1"]=" \3"/p
83529 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
83531 :bsnl
83532 s/["\\]/\\&/g
83533 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83534 D["\1"]=" \3\\\\\\n"\\/p
83535 t cont
83536 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
83537 t cont
83539 :cont
83541 s/.\{148\}/&'"$ac_delim"'/g
83542 t clear
83543 :clear
83544 s/\\$//
83545 t bsnlc
83546 s/["\\]/\\&/g; s/^/"/; s/$/"/p
83548 :bsnlc
83549 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
83550 b cont
83551 ' <confdefs.h | sed '
83552 s/'"$ac_delim"'/"\\\
83553 "/g' >>$CONFIG_STATUS || ac_write_fail=1
83555 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83556 for (key in D) D_is_set[key] = 1
83557 FS = "\a"
83559 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
83560 line = \$ 0
83561 split(line, arg, " ")
83562 if (arg[1] == "#") {
83563 defundef = arg[2]
83564 mac1 = arg[3]
83565 } else {
83566 defundef = substr(arg[1], 2)
83567 mac1 = arg[2]
83569 split(mac1, mac2, "(") #)
83570 macro = mac2[1]
83571 prefix = substr(line, 1, index(line, defundef) - 1)
83572 if (D_is_set[macro]) {
83573 # Preserve the white space surrounding the "#".
83574 print prefix "define", macro P[macro] D[macro]
83575 next
83576 } else {
83577 # Replace #undef with comments. This is necessary, for example,
83578 # in the case of _POSIX_SOURCE, which is predefined and required
83579 # on some systems where configure will not decide to define it.
83580 if (defundef == "undef") {
83581 print "/*", prefix defundef, macro, "*/"
83582 next
83586 { print }
83587 _ACAWK
83588 _ACEOF
83589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83590 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
83591 fi # test -n "$CONFIG_HEADERS"
83594 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
83595 shift
83596 for ac_tag
83598 case $ac_tag in
83599 :[FHLC]) ac_mode=$ac_tag; continue;;
83600 esac
83601 case $ac_mode$ac_tag in
83602 :[FHL]*:*);;
83603 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
83604 :[FH]-) ac_tag=-:-;;
83605 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
83606 esac
83607 ac_save_IFS=$IFS
83608 IFS=:
83609 set x $ac_tag
83610 IFS=$ac_save_IFS
83611 shift
83612 ac_file=$1
83613 shift
83615 case $ac_mode in
83616 :L) ac_source=$1;;
83617 :[FH])
83618 ac_file_inputs=
83619 for ac_f
83621 case $ac_f in
83622 -) ac_f="$ac_tmp/stdin";;
83623 *) # Look for the file first in the build tree, then in the source tree
83624 # (if the path is not absolute). The absolute path cannot be DOS-style,
83625 # because $ac_f cannot contain `:'.
83626 test -f "$ac_f" ||
83627 case $ac_f in
83628 [\\/$]*) false;;
83629 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
83630 esac ||
83631 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
83632 esac
83633 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
83634 as_fn_append ac_file_inputs " '$ac_f'"
83635 done
83637 # Let's still pretend it is `configure' which instantiates (i.e., don't
83638 # use $as_me), people would be surprised to read:
83639 # /* config.h. Generated by config.status. */
83640 configure_input='Generated from '`
83641 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
83642 `' by configure.'
83643 if test x"$ac_file" != x-; then
83644 configure_input="$ac_file. $configure_input"
83645 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
83646 $as_echo "$as_me: creating $ac_file" >&6;}
83648 # Neutralize special characters interpreted by sed in replacement strings.
83649 case $configure_input in #(
83650 *\&* | *\|* | *\\* )
83651 ac_sed_conf_input=`$as_echo "$configure_input" |
83652 sed 's/[\\\\&|]/\\\\&/g'`;; #(
83653 *) ac_sed_conf_input=$configure_input;;
83654 esac
83656 case $ac_tag in
83657 *:-:* | *:-) cat >"$ac_tmp/stdin" \
83658 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
83659 esac
83661 esac
83663 ac_dir=`$as_dirname -- "$ac_file" ||
83664 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83665 X"$ac_file" : 'X\(//\)[^/]' \| \
83666 X"$ac_file" : 'X\(//\)$' \| \
83667 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
83668 $as_echo X"$ac_file" |
83669 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83670 s//\1/
83673 /^X\(\/\/\)[^/].*/{
83674 s//\1/
83677 /^X\(\/\/\)$/{
83678 s//\1/
83681 /^X\(\/\).*/{
83682 s//\1/
83685 s/.*/./; q'`
83686 as_dir="$ac_dir"; as_fn_mkdir_p
83687 ac_builddir=.
83689 case "$ac_dir" in
83690 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83692 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83693 # A ".." for each directory in $ac_dir_suffix.
83694 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
83695 case $ac_top_builddir_sub in
83696 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
83697 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
83698 esac ;;
83699 esac
83700 ac_abs_top_builddir=$ac_pwd
83701 ac_abs_builddir=$ac_pwd$ac_dir_suffix
83702 # for backward compatibility:
83703 ac_top_builddir=$ac_top_build_prefix
83705 case $srcdir in
83706 .) # We are building in place.
83707 ac_srcdir=.
83708 ac_top_srcdir=$ac_top_builddir_sub
83709 ac_abs_top_srcdir=$ac_pwd ;;
83710 [\\/]* | ?:[\\/]* ) # Absolute name.
83711 ac_srcdir=$srcdir$ac_dir_suffix;
83712 ac_top_srcdir=$srcdir
83713 ac_abs_top_srcdir=$srcdir ;;
83714 *) # Relative name.
83715 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
83716 ac_top_srcdir=$ac_top_build_prefix$srcdir
83717 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
83718 esac
83719 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
83722 case $ac_mode in
83725 # CONFIG_FILE
83728 case $INSTALL in
83729 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
83730 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
83731 esac
83732 ac_MKDIR_P=$MKDIR_P
83733 case $MKDIR_P in
83734 [\\/$]* | ?:[\\/]* ) ;;
83735 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
83736 esac
83737 _ACEOF
83739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83740 # If the template does not know about datarootdir, expand it.
83741 # FIXME: This hack should be removed a few years after 2.60.
83742 ac_datarootdir_hack=; ac_datarootdir_seen=
83743 ac_sed_dataroot='
83744 /datarootdir/ {
83748 /@datadir@/p
83749 /@docdir@/p
83750 /@infodir@/p
83751 /@localedir@/p
83752 /@mandir@/p'
83753 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
83754 *datarootdir*) ac_datarootdir_seen=yes;;
83755 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
83756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
83757 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
83758 _ACEOF
83759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83760 ac_datarootdir_hack='
83761 s&@datadir@&$datadir&g
83762 s&@docdir@&$docdir&g
83763 s&@infodir@&$infodir&g
83764 s&@localedir@&$localedir&g
83765 s&@mandir@&$mandir&g
83766 s&\\\${datarootdir}&$datarootdir&g' ;;
83767 esac
83768 _ACEOF
83770 # Neutralize VPATH when `$srcdir' = `.'.
83771 # Shell code in configure.ac might set extrasub.
83772 # FIXME: do we really want to maintain this feature?
83773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83774 ac_sed_extra="$ac_vpsub
83775 $extrasub
83776 _ACEOF
83777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83779 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83780 s|@configure_input@|$ac_sed_conf_input|;t t
83781 s&@top_builddir@&$ac_top_builddir_sub&;t t
83782 s&@top_build_prefix@&$ac_top_build_prefix&;t t
83783 s&@srcdir@&$ac_srcdir&;t t
83784 s&@abs_srcdir@&$ac_abs_srcdir&;t t
83785 s&@top_srcdir@&$ac_top_srcdir&;t t
83786 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83787 s&@builddir@&$ac_builddir&;t t
83788 s&@abs_builddir@&$ac_abs_builddir&;t t
83789 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83790 s&@INSTALL@&$ac_INSTALL&;t t
83791 s&@MKDIR_P@&$ac_MKDIR_P&;t t
83792 $ac_datarootdir_hack
83794 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
83795 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
83797 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83798 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
83799 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
83800 "$ac_tmp/out"`; test -z "$ac_out"; } &&
83801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83802 which seems to be undefined. Please make sure it is defined" >&5
83803 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83804 which seems to be undefined. Please make sure it is defined" >&2;}
83806 rm -f "$ac_tmp/stdin"
83807 case $ac_file in
83808 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
83809 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
83810 esac \
83811 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
83815 # CONFIG_HEADER
83817 if test x"$ac_file" != x-; then
83819 $as_echo "/* $configure_input */" \
83820 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
83821 } >"$ac_tmp/config.h" \
83822 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
83823 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
83824 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83825 $as_echo "$as_me: $ac_file is unchanged" >&6;}
83826 else
83827 rm -f "$ac_file"
83828 mv "$ac_tmp/config.h" "$ac_file" \
83829 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
83831 else
83832 $as_echo "/* $configure_input */" \
83833 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
83834 || as_fn_error $? "could not create -" "$LINENO" 5
83836 # Compute "$ac_file"'s index in $config_headers.
83837 _am_arg="$ac_file"
83838 _am_stamp_count=1
83839 for _am_header in $config_headers :; do
83840 case $_am_header in
83841 $_am_arg | $_am_arg:* )
83842 break ;;
83844 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83845 esac
83846 done
83847 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83848 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83849 X"$_am_arg" : 'X\(//\)[^/]' \| \
83850 X"$_am_arg" : 'X\(//\)$' \| \
83851 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83852 $as_echo X"$_am_arg" |
83853 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83854 s//\1/
83857 /^X\(\/\/\)[^/].*/{
83858 s//\1/
83861 /^X\(\/\/\)$/{
83862 s//\1/
83865 /^X\(\/\).*/{
83866 s//\1/
83869 s/.*/./; q'`/stamp-h$_am_stamp_count
83872 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83873 $as_echo "$as_me: executing $ac_file commands" >&6;}
83875 esac
83878 case $ac_file$ac_mode in
83879 "default-1":C)
83880 # Only add multilib support code if we just rebuilt the top-level
83881 # Makefile.
83882 case " $CONFIG_FILES " in
83883 *" Makefile "*)
83884 ac_file=Makefile . ${multi_basedir}/config-ml.in
83886 esac ;;
83887 "libtool":C)
83889 # See if we are running on zsh, and set the options which allow our
83890 # commands through without removal of \ escapes.
83891 if test -n "${ZSH_VERSION+set}" ; then
83892 setopt NO_GLOB_SUBST
83895 cfgfile="${ofile}T"
83896 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83897 $RM "$cfgfile"
83899 cat <<_LT_EOF >> "$cfgfile"
83900 #! $SHELL
83902 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83903 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83904 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83905 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
83907 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83908 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83909 # Written by Gordon Matzigkeit, 1996
83911 # This file is part of GNU Libtool.
83913 # GNU Libtool is free software; you can redistribute it and/or
83914 # modify it under the terms of the GNU General Public License as
83915 # published by the Free Software Foundation; either version 2 of
83916 # the License, or (at your option) any later version.
83918 # As a special exception to the GNU General Public License,
83919 # if you distribute this file as part of a program or library that
83920 # is built using GNU Libtool, you may include this file under the
83921 # same distribution terms that you use for the rest of that program.
83923 # GNU Libtool is distributed in the hope that it will be useful,
83924 # but WITHOUT ANY WARRANTY; without even the implied warranty of
83925 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83926 # GNU General Public License for more details.
83928 # You should have received a copy of the GNU General Public License
83929 # along with GNU Libtool; see the file COPYING. If not, a copy
83930 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83931 # obtained by writing to the Free Software Foundation, Inc.,
83932 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83935 # The names of the tagged configurations supported by this script.
83936 available_tags="CXX "
83938 # ### BEGIN LIBTOOL CONFIG
83940 # Which release of libtool.m4 was used?
83941 macro_version=$macro_version
83942 macro_revision=$macro_revision
83944 # Whether or not to build shared libraries.
83945 build_libtool_libs=$enable_shared
83947 # Whether or not to build static libraries.
83948 build_old_libs=$enable_static
83950 # What type of objects to build.
83951 pic_mode=$pic_mode
83953 # Whether or not to optimize for fast installation.
83954 fast_install=$enable_fast_install
83956 # Shell to use when invoking shell scripts.
83957 SHELL=$lt_SHELL
83959 # An echo program that protects backslashes.
83960 ECHO=$lt_ECHO
83962 # The host system.
83963 host_alias=$host_alias
83964 host=$host
83965 host_os=$host_os
83967 # The build system.
83968 build_alias=$build_alias
83969 build=$build
83970 build_os=$build_os
83972 # A sed program that does not truncate output.
83973 SED=$lt_SED
83975 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83976 Xsed="\$SED -e 1s/^X//"
83978 # A grep program that handles long lines.
83979 GREP=$lt_GREP
83981 # An ERE matcher.
83982 EGREP=$lt_EGREP
83984 # A literal string matcher.
83985 FGREP=$lt_FGREP
83987 # A BSD- or MS-compatible name lister.
83988 NM=$lt_NM
83990 # Whether we need soft or hard links.
83991 LN_S=$lt_LN_S
83993 # What is the maximum length of a command?
83994 max_cmd_len=$max_cmd_len
83996 # Object file suffix (normally "o").
83997 objext=$ac_objext
83999 # Executable file suffix (normally "").
84000 exeext=$exeext
84002 # whether the shell understands "unset".
84003 lt_unset=$lt_unset
84005 # turn spaces into newlines.
84006 SP2NL=$lt_lt_SP2NL
84008 # turn newlines into spaces.
84009 NL2SP=$lt_lt_NL2SP
84011 # An object symbol dumper.
84012 OBJDUMP=$lt_OBJDUMP
84014 # Method to check whether dependent libraries are shared objects.
84015 deplibs_check_method=$lt_deplibs_check_method
84017 # Command to use when deplibs_check_method == "file_magic".
84018 file_magic_cmd=$lt_file_magic_cmd
84020 # The archiver.
84021 AR=$lt_AR
84022 AR_FLAGS=$lt_AR_FLAGS
84024 # A symbol stripping program.
84025 STRIP=$lt_STRIP
84027 # Commands used to install an old-style archive.
84028 RANLIB=$lt_RANLIB
84029 old_postinstall_cmds=$lt_old_postinstall_cmds
84030 old_postuninstall_cmds=$lt_old_postuninstall_cmds
84032 # Whether to use a lock for old archive extraction.
84033 lock_old_archive_extraction=$lock_old_archive_extraction
84035 # A C compiler.
84036 LTCC=$lt_CC
84038 # LTCC compiler flags.
84039 LTCFLAGS=$lt_CFLAGS
84041 # Take the output of nm and produce a listing of raw symbols and C names.
84042 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
84044 # Transform the output of nm in a proper C declaration.
84045 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
84047 # Transform the output of nm in a C name address pair.
84048 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
84050 # Transform the output of nm in a C name address pair when lib prefix is needed.
84051 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
84053 # The name of the directory that contains temporary libtool files.
84054 objdir=$objdir
84056 # Used to examine libraries when file_magic_cmd begins with "file".
84057 MAGIC_CMD=$MAGIC_CMD
84059 # Must we lock files when doing compilation?
84060 need_locks=$lt_need_locks
84062 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
84063 DSYMUTIL=$lt_DSYMUTIL
84065 # Tool to change global to local symbols on Mac OS X.
84066 NMEDIT=$lt_NMEDIT
84068 # Tool to manipulate fat objects and archives on Mac OS X.
84069 LIPO=$lt_LIPO
84071 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
84072 OTOOL=$lt_OTOOL
84074 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
84075 OTOOL64=$lt_OTOOL64
84077 # Old archive suffix (normally "a").
84078 libext=$libext
84080 # Shared library suffix (normally ".so").
84081 shrext_cmds=$lt_shrext_cmds
84083 # The commands to extract the exported symbol list from a shared archive.
84084 extract_expsyms_cmds=$lt_extract_expsyms_cmds
84086 # Variables whose values should be saved in libtool wrapper scripts and
84087 # restored at link time.
84088 variables_saved_for_relink=$lt_variables_saved_for_relink
84090 # Do we need the "lib" prefix for modules?
84091 need_lib_prefix=$need_lib_prefix
84093 # Do we need a version for libraries?
84094 need_version=$need_version
84096 # Library versioning type.
84097 version_type=$version_type
84099 # Shared library runtime path variable.
84100 runpath_var=$runpath_var
84102 # Shared library path variable.
84103 shlibpath_var=$shlibpath_var
84105 # Is shlibpath searched before the hard-coded library search path?
84106 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
84108 # Format of library name prefix.
84109 libname_spec=$lt_libname_spec
84111 # List of archive names. First name is the real one, the rest are links.
84112 # The last name is the one that the linker finds with -lNAME
84113 library_names_spec=$lt_library_names_spec
84115 # The coded name of the library, if different from the real name.
84116 soname_spec=$lt_soname_spec
84118 # Permission mode override for installation of shared libraries.
84119 install_override_mode=$lt_install_override_mode
84121 # Command to use after installation of a shared archive.
84122 postinstall_cmds=$lt_postinstall_cmds
84124 # Command to use after uninstallation of a shared archive.
84125 postuninstall_cmds=$lt_postuninstall_cmds
84127 # Commands used to finish a libtool library installation in a directory.
84128 finish_cmds=$lt_finish_cmds
84130 # As "finish_cmds", except a single script fragment to be evaled but
84131 # not shown.
84132 finish_eval=$lt_finish_eval
84134 # Whether we should hardcode library paths into libraries.
84135 hardcode_into_libs=$hardcode_into_libs
84137 # Compile-time system search path for libraries.
84138 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
84140 # Run-time system search path for libraries.
84141 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
84143 # Whether dlopen is supported.
84144 dlopen_support=$enable_dlopen
84146 # Whether dlopen of programs is supported.
84147 dlopen_self=$enable_dlopen_self
84149 # Whether dlopen of statically linked programs is supported.
84150 dlopen_self_static=$enable_dlopen_self_static
84152 # Commands to strip libraries.
84153 old_striplib=$lt_old_striplib
84154 striplib=$lt_striplib
84157 # The linker used to build libraries.
84158 LD=$lt_LD
84160 # How to create reloadable object files.
84161 reload_flag=$lt_reload_flag
84162 reload_cmds=$lt_reload_cmds
84164 # Commands used to build an old-style archive.
84165 old_archive_cmds=$lt_old_archive_cmds
84167 # A language specific compiler.
84168 CC=$lt_compiler
84170 # Is the compiler the GNU compiler?
84171 with_gcc=$GCC
84173 # Compiler flag to turn off builtin functions.
84174 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
84176 # How to pass a linker flag through the compiler.
84177 wl=$lt_lt_prog_compiler_wl
84179 # Additional compiler flags for building library objects.
84180 pic_flag=$lt_lt_prog_compiler_pic
84182 # Compiler flag to prevent dynamic linking.
84183 link_static_flag=$lt_lt_prog_compiler_static
84185 # Does compiler simultaneously support -c and -o options?
84186 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
84188 # Whether or not to add -lc for building shared libraries.
84189 build_libtool_need_lc=$archive_cmds_need_lc
84191 # Whether or not to disallow shared libs when runtime libs are static.
84192 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
84194 # Compiler flag to allow reflexive dlopens.
84195 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
84197 # Compiler flag to generate shared objects directly from archives.
84198 whole_archive_flag_spec=$lt_whole_archive_flag_spec
84200 # Whether the compiler copes with passing no objects directly.
84201 compiler_needs_object=$lt_compiler_needs_object
84203 # Create an old-style archive from a shared archive.
84204 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
84206 # Create a temporary old-style archive to link instead of a shared archive.
84207 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
84209 # Commands used to build a shared archive.
84210 archive_cmds=$lt_archive_cmds
84211 archive_expsym_cmds=$lt_archive_expsym_cmds
84213 # Commands used to build a loadable module if different from building
84214 # a shared archive.
84215 module_cmds=$lt_module_cmds
84216 module_expsym_cmds=$lt_module_expsym_cmds
84218 # Whether we are building with GNU ld or not.
84219 with_gnu_ld=$lt_with_gnu_ld
84221 # Flag that allows shared libraries with undefined symbols to be built.
84222 allow_undefined_flag=$lt_allow_undefined_flag
84224 # Flag that enforces no undefined symbols.
84225 no_undefined_flag=$lt_no_undefined_flag
84227 # Flag to hardcode \$libdir into a binary during linking.
84228 # This must work even if \$libdir does not exist
84229 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
84231 # If ld is used when linking, flag to hardcode \$libdir into a binary
84232 # during linking. This must work even if \$libdir does not exist.
84233 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
84235 # Whether we need a single "-rpath" flag with a separated argument.
84236 hardcode_libdir_separator=$lt_hardcode_libdir_separator
84238 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84239 # DIR into the resulting binary.
84240 hardcode_direct=$hardcode_direct
84242 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84243 # DIR into the resulting binary and the resulting library dependency is
84244 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84245 # library is relocated.
84246 hardcode_direct_absolute=$hardcode_direct_absolute
84248 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84249 # into the resulting binary.
84250 hardcode_minus_L=$hardcode_minus_L
84252 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84253 # into the resulting binary.
84254 hardcode_shlibpath_var=$hardcode_shlibpath_var
84256 # Set to "yes" if building a shared library automatically hardcodes DIR
84257 # into the library and all subsequent libraries and executables linked
84258 # against it.
84259 hardcode_automatic=$hardcode_automatic
84261 # Set to yes if linker adds runtime paths of dependent libraries
84262 # to runtime path list.
84263 inherit_rpath=$inherit_rpath
84265 # Whether libtool must link a program against all its dependency libraries.
84266 link_all_deplibs=$link_all_deplibs
84268 # Fix the shell variable \$srcfile for the compiler.
84269 fix_srcfile_path=$lt_fix_srcfile_path
84271 # Set to "yes" if exported symbols are required.
84272 always_export_symbols=$always_export_symbols
84274 # The commands to list exported symbols.
84275 export_symbols_cmds=$lt_export_symbols_cmds
84277 # Symbols that should not be listed in the preloaded symbols.
84278 exclude_expsyms=$lt_exclude_expsyms
84280 # Symbols that must always be exported.
84281 include_expsyms=$lt_include_expsyms
84283 # Commands necessary for linking programs (against libraries) with templates.
84284 prelink_cmds=$lt_prelink_cmds
84286 # Specify filename containing input files.
84287 file_list_spec=$lt_file_list_spec
84289 # How to hardcode a shared library path into an executable.
84290 hardcode_action=$hardcode_action
84292 # The directories searched by this compiler when creating a shared library.
84293 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
84295 # Dependencies to place before and after the objects being linked to
84296 # create a shared library.
84297 predep_objects=$lt_predep_objects
84298 postdep_objects=$lt_postdep_objects
84299 predeps=$lt_predeps
84300 postdeps=$lt_postdeps
84302 # The library search path used internally by the compiler when linking
84303 # a shared library.
84304 compiler_lib_search_path=$lt_compiler_lib_search_path
84306 # ### END LIBTOOL CONFIG
84308 _LT_EOF
84310 case $host_os in
84311 aix3*)
84312 cat <<\_LT_EOF >> "$cfgfile"
84313 # AIX sometimes has problems with the GCC collect2 program. For some
84314 # reason, if we set the COLLECT_NAMES environment variable, the problems
84315 # vanish in a puff of smoke.
84316 if test "X${COLLECT_NAMES+set}" != Xset; then
84317 COLLECT_NAMES=
84318 export COLLECT_NAMES
84320 _LT_EOF
84322 esac
84325 ltmain="$ac_aux_dir/ltmain.sh"
84328 # We use sed instead of cat because bash on DJGPP gets confused if
84329 # if finds mixed CR/LF and LF-only lines. Since sed operates in
84330 # text mode, it properly converts lines to CR/LF. This bash problem
84331 # is reportedly fixed, but why not run on old versions too?
84332 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
84333 || (rm -f "$cfgfile"; exit 1)
84335 case $xsi_shell in
84336 yes)
84337 cat << \_LT_EOF >> "$cfgfile"
84339 # func_dirname file append nondir_replacement
84340 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84341 # otherwise set result to NONDIR_REPLACEMENT.
84342 func_dirname ()
84344 case ${1} in
84345 */*) func_dirname_result="${1%/*}${2}" ;;
84346 * ) func_dirname_result="${3}" ;;
84347 esac
84350 # func_basename file
84351 func_basename ()
84353 func_basename_result="${1##*/}"
84356 # func_dirname_and_basename file append nondir_replacement
84357 # perform func_basename and func_dirname in a single function
84358 # call:
84359 # dirname: Compute the dirname of FILE. If nonempty,
84360 # add APPEND to the result, otherwise set result
84361 # to NONDIR_REPLACEMENT.
84362 # value returned in "$func_dirname_result"
84363 # basename: Compute filename of FILE.
84364 # value retuned in "$func_basename_result"
84365 # Implementation must be kept synchronized with func_dirname
84366 # and func_basename. For efficiency, we do not delegate to
84367 # those functions but instead duplicate the functionality here.
84368 func_dirname_and_basename ()
84370 case ${1} in
84371 */*) func_dirname_result="${1%/*}${2}" ;;
84372 * ) func_dirname_result="${3}" ;;
84373 esac
84374 func_basename_result="${1##*/}"
84377 # func_stripname prefix suffix name
84378 # strip PREFIX and SUFFIX off of NAME.
84379 # PREFIX and SUFFIX must not contain globbing or regex special
84380 # characters, hashes, percent signs, but SUFFIX may contain a leading
84381 # dot (in which case that matches only a dot).
84382 func_stripname ()
84384 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
84385 # positional parameters, so assign one to ordinary parameter first.
84386 func_stripname_result=${3}
84387 func_stripname_result=${func_stripname_result#"${1}"}
84388 func_stripname_result=${func_stripname_result%"${2}"}
84391 # func_opt_split
84392 func_opt_split ()
84394 func_opt_split_opt=${1%%=*}
84395 func_opt_split_arg=${1#*=}
84398 # func_lo2o object
84399 func_lo2o ()
84401 case ${1} in
84402 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
84403 *) func_lo2o_result=${1} ;;
84404 esac
84407 # func_xform libobj-or-source
84408 func_xform ()
84410 func_xform_result=${1%.*}.lo
84413 # func_arith arithmetic-term...
84414 func_arith ()
84416 func_arith_result=$(( $* ))
84419 # func_len string
84420 # STRING may not start with a hyphen.
84421 func_len ()
84423 func_len_result=${#1}
84426 _LT_EOF
84428 *) # Bourne compatible functions.
84429 cat << \_LT_EOF >> "$cfgfile"
84431 # func_dirname file append nondir_replacement
84432 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84433 # otherwise set result to NONDIR_REPLACEMENT.
84434 func_dirname ()
84436 # Extract subdirectory from the argument.
84437 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
84438 if test "X$func_dirname_result" = "X${1}"; then
84439 func_dirname_result="${3}"
84440 else
84441 func_dirname_result="$func_dirname_result${2}"
84445 # func_basename file
84446 func_basename ()
84448 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
84452 # func_stripname prefix suffix name
84453 # strip PREFIX and SUFFIX off of NAME.
84454 # PREFIX and SUFFIX must not contain globbing or regex special
84455 # characters, hashes, percent signs, but SUFFIX may contain a leading
84456 # dot (in which case that matches only a dot).
84457 # func_strip_suffix prefix name
84458 func_stripname ()
84460 case ${2} in
84461 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
84462 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
84463 esac
84466 # sed scripts:
84467 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
84468 my_sed_long_arg='1s/^-[^=]*=//'
84470 # func_opt_split
84471 func_opt_split ()
84473 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
84474 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
84477 # func_lo2o object
84478 func_lo2o ()
84480 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
84483 # func_xform libobj-or-source
84484 func_xform ()
84486 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
84489 # func_arith arithmetic-term...
84490 func_arith ()
84492 func_arith_result=`expr "$@"`
84495 # func_len string
84496 # STRING may not start with a hyphen.
84497 func_len ()
84499 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
84502 _LT_EOF
84503 esac
84505 case $lt_shell_append in
84506 yes)
84507 cat << \_LT_EOF >> "$cfgfile"
84509 # func_append var value
84510 # Append VALUE to the end of shell variable VAR.
84511 func_append ()
84513 eval "$1+=\$2"
84515 _LT_EOF
84518 cat << \_LT_EOF >> "$cfgfile"
84520 # func_append var value
84521 # Append VALUE to the end of shell variable VAR.
84522 func_append ()
84524 eval "$1=\$$1\$2"
84527 _LT_EOF
84529 esac
84532 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
84533 || (rm -f "$cfgfile"; exit 1)
84535 mv -f "$cfgfile" "$ofile" ||
84536 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
84537 chmod +x "$ofile"
84540 cat <<_LT_EOF >> "$ofile"
84542 # ### BEGIN LIBTOOL TAG CONFIG: CXX
84544 # The linker used to build libraries.
84545 LD=$lt_LD_CXX
84547 # How to create reloadable object files.
84548 reload_flag=$lt_reload_flag_CXX
84549 reload_cmds=$lt_reload_cmds_CXX
84551 # Commands used to build an old-style archive.
84552 old_archive_cmds=$lt_old_archive_cmds_CXX
84554 # A language specific compiler.
84555 CC=$lt_compiler_CXX
84557 # Is the compiler the GNU compiler?
84558 with_gcc=$GCC_CXX
84560 # Compiler flag to turn off builtin functions.
84561 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
84563 # How to pass a linker flag through the compiler.
84564 wl=$lt_lt_prog_compiler_wl_CXX
84566 # Additional compiler flags for building library objects.
84567 pic_flag=$lt_lt_prog_compiler_pic_CXX
84569 # Compiler flag to prevent dynamic linking.
84570 link_static_flag=$lt_lt_prog_compiler_static_CXX
84572 # Does compiler simultaneously support -c and -o options?
84573 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
84575 # Whether or not to add -lc for building shared libraries.
84576 build_libtool_need_lc=$archive_cmds_need_lc_CXX
84578 # Whether or not to disallow shared libs when runtime libs are static.
84579 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
84581 # Compiler flag to allow reflexive dlopens.
84582 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
84584 # Compiler flag to generate shared objects directly from archives.
84585 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
84587 # Whether the compiler copes with passing no objects directly.
84588 compiler_needs_object=$lt_compiler_needs_object_CXX
84590 # Create an old-style archive from a shared archive.
84591 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
84593 # Create a temporary old-style archive to link instead of a shared archive.
84594 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
84596 # Commands used to build a shared archive.
84597 archive_cmds=$lt_archive_cmds_CXX
84598 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
84600 # Commands used to build a loadable module if different from building
84601 # a shared archive.
84602 module_cmds=$lt_module_cmds_CXX
84603 module_expsym_cmds=$lt_module_expsym_cmds_CXX
84605 # Whether we are building with GNU ld or not.
84606 with_gnu_ld=$lt_with_gnu_ld_CXX
84608 # Flag that allows shared libraries with undefined symbols to be built.
84609 allow_undefined_flag=$lt_allow_undefined_flag_CXX
84611 # Flag that enforces no undefined symbols.
84612 no_undefined_flag=$lt_no_undefined_flag_CXX
84614 # Flag to hardcode \$libdir into a binary during linking.
84615 # This must work even if \$libdir does not exist
84616 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
84618 # If ld is used when linking, flag to hardcode \$libdir into a binary
84619 # during linking. This must work even if \$libdir does not exist.
84620 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
84622 # Whether we need a single "-rpath" flag with a separated argument.
84623 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
84625 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84626 # DIR into the resulting binary.
84627 hardcode_direct=$hardcode_direct_CXX
84629 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84630 # DIR into the resulting binary and the resulting library dependency is
84631 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84632 # library is relocated.
84633 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
84635 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84636 # into the resulting binary.
84637 hardcode_minus_L=$hardcode_minus_L_CXX
84639 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84640 # into the resulting binary.
84641 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
84643 # Set to "yes" if building a shared library automatically hardcodes DIR
84644 # into the library and all subsequent libraries and executables linked
84645 # against it.
84646 hardcode_automatic=$hardcode_automatic_CXX
84648 # Set to yes if linker adds runtime paths of dependent libraries
84649 # to runtime path list.
84650 inherit_rpath=$inherit_rpath_CXX
84652 # Whether libtool must link a program against all its dependency libraries.
84653 link_all_deplibs=$link_all_deplibs_CXX
84655 # Fix the shell variable \$srcfile for the compiler.
84656 fix_srcfile_path=$lt_fix_srcfile_path_CXX
84658 # Set to "yes" if exported symbols are required.
84659 always_export_symbols=$always_export_symbols_CXX
84661 # The commands to list exported symbols.
84662 export_symbols_cmds=$lt_export_symbols_cmds_CXX
84664 # Symbols that should not be listed in the preloaded symbols.
84665 exclude_expsyms=$lt_exclude_expsyms_CXX
84667 # Symbols that must always be exported.
84668 include_expsyms=$lt_include_expsyms_CXX
84670 # Commands necessary for linking programs (against libraries) with templates.
84671 prelink_cmds=$lt_prelink_cmds_CXX
84673 # Specify filename containing input files.
84674 file_list_spec=$lt_file_list_spec_CXX
84676 # How to hardcode a shared library path into an executable.
84677 hardcode_action=$hardcode_action_CXX
84679 # The directories searched by this compiler when creating a shared library.
84680 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
84682 # Dependencies to place before and after the objects being linked to
84683 # create a shared library.
84684 predep_objects=$lt_predep_objects_CXX
84685 postdep_objects=$lt_postdep_objects_CXX
84686 predeps=$lt_predeps_CXX
84687 postdeps=$lt_postdeps_CXX
84689 # The library search path used internally by the compiler when linking
84690 # a shared library.
84691 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84693 # ### END LIBTOOL TAG CONFIG: CXX
84694 _LT_EOF
84697 "include/gstdint.h":C)
84698 if test "$GCC" = yes; then
84699 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
84700 else
84701 echo "/* generated for $CC */" > tmp-stdint.h
84704 sed 's/^ *//' >> tmp-stdint.h <<EOF
84706 #ifndef GCC_GENERATED_STDINT_H
84707 #define GCC_GENERATED_STDINT_H 1
84709 #include <sys/types.h>
84712 if test "$acx_cv_header_stdint" != stdint.h; then
84713 echo "#include <stddef.h>" >> tmp-stdint.h
84715 if test "$acx_cv_header_stdint" != stddef.h; then
84716 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
84719 sed 's/^ *//' >> tmp-stdint.h <<EOF
84720 /* glibc uses these symbols as guards to prevent redefinitions. */
84721 #ifdef __int8_t_defined
84722 #define _INT8_T
84723 #define _INT16_T
84724 #define _INT32_T
84725 #endif
84726 #ifdef __uint32_t_defined
84727 #define _UINT32_T
84728 #endif
84732 # ----------------- done header, emit basic int types -------------
84733 if test "$acx_cv_header_stdint" = stddef.h; then
84734 sed 's/^ *//' >> tmp-stdint.h <<EOF
84736 #ifndef _UINT8_T
84737 #define _UINT8_T
84738 #ifndef __uint8_t_defined
84739 #define __uint8_t_defined
84740 #ifndef uint8_t
84741 typedef unsigned $acx_cv_type_int8_t uint8_t;
84742 #endif
84743 #endif
84744 #endif
84746 #ifndef _UINT16_T
84747 #define _UINT16_T
84748 #ifndef __uint16_t_defined
84749 #define __uint16_t_defined
84750 #ifndef uint16_t
84751 typedef unsigned $acx_cv_type_int16_t uint16_t;
84752 #endif
84753 #endif
84754 #endif
84756 #ifndef _UINT32_T
84757 #define _UINT32_T
84758 #ifndef __uint32_t_defined
84759 #define __uint32_t_defined
84760 #ifndef uint32_t
84761 typedef unsigned $acx_cv_type_int32_t uint32_t;
84762 #endif
84763 #endif
84764 #endif
84766 #ifndef _INT8_T
84767 #define _INT8_T
84768 #ifndef __int8_t_defined
84769 #define __int8_t_defined
84770 #ifndef int8_t
84771 typedef $acx_cv_type_int8_t int8_t;
84772 #endif
84773 #endif
84774 #endif
84776 #ifndef _INT16_T
84777 #define _INT16_T
84778 #ifndef __int16_t_defined
84779 #define __int16_t_defined
84780 #ifndef int16_t
84781 typedef $acx_cv_type_int16_t int16_t;
84782 #endif
84783 #endif
84784 #endif
84786 #ifndef _INT32_T
84787 #define _INT32_T
84788 #ifndef __int32_t_defined
84789 #define __int32_t_defined
84790 #ifndef int32_t
84791 typedef $acx_cv_type_int32_t int32_t;
84792 #endif
84793 #endif
84794 #endif
84796 elif test "$ac_cv_type_u_int32_t" = yes; then
84797 sed 's/^ *//' >> tmp-stdint.h <<EOF
84799 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84800 #ifndef _INT8_T
84801 #define _INT8_T
84802 #endif
84803 #ifndef _INT16_T
84804 #define _INT16_T
84805 #endif
84806 #ifndef _INT32_T
84807 #define _INT32_T
84808 #endif
84810 #ifndef _UINT8_T
84811 #define _UINT8_T
84812 #ifndef __uint8_t_defined
84813 #define __uint8_t_defined
84814 #ifndef uint8_t
84815 typedef u_int8_t uint8_t;
84816 #endif
84817 #endif
84818 #endif
84820 #ifndef _UINT16_T
84821 #define _UINT16_T
84822 #ifndef __uint16_t_defined
84823 #define __uint16_t_defined
84824 #ifndef uint16_t
84825 typedef u_int16_t uint16_t;
84826 #endif
84827 #endif
84828 #endif
84830 #ifndef _UINT32_T
84831 #define _UINT32_T
84832 #ifndef __uint32_t_defined
84833 #define __uint32_t_defined
84834 #ifndef uint32_t
84835 typedef u_int32_t uint32_t;
84836 #endif
84837 #endif
84838 #endif
84840 else
84841 sed 's/^ *//' >> tmp-stdint.h <<EOF
84843 /* Some systems have guard macros to prevent redefinitions, define them. */
84844 #ifndef _INT8_T
84845 #define _INT8_T
84846 #endif
84847 #ifndef _INT16_T
84848 #define _INT16_T
84849 #endif
84850 #ifndef _INT32_T
84851 #define _INT32_T
84852 #endif
84853 #ifndef _UINT8_T
84854 #define _UINT8_T
84855 #endif
84856 #ifndef _UINT16_T
84857 #define _UINT16_T
84858 #endif
84859 #ifndef _UINT32_T
84860 #define _UINT32_T
84861 #endif
84865 # ------------- done basic int types, emit int64_t types ------------
84866 if test "$ac_cv_type_uint64_t" = yes; then
84867 sed 's/^ *//' >> tmp-stdint.h <<EOF
84869 /* system headers have good uint64_t and int64_t */
84870 #ifndef _INT64_T
84871 #define _INT64_T
84872 #endif
84873 #ifndef _UINT64_T
84874 #define _UINT64_T
84875 #endif
84877 elif test "$ac_cv_type_u_int64_t" = yes; then
84878 sed 's/^ *//' >> tmp-stdint.h <<EOF
84880 /* system headers have an u_int64_t (and int64_t) */
84881 #ifndef _INT64_T
84882 #define _INT64_T
84883 #endif
84884 #ifndef _UINT64_T
84885 #define _UINT64_T
84886 #ifndef __uint64_t_defined
84887 #define __uint64_t_defined
84888 #ifndef uint64_t
84889 typedef u_int64_t uint64_t;
84890 #endif
84891 #endif
84892 #endif
84894 elif test -n "$acx_cv_type_int64_t"; then
84895 sed 's/^ *//' >> tmp-stdint.h <<EOF
84897 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84898 #ifndef _INT64_T
84899 #define _INT64_T
84900 #ifndef int64_t
84901 typedef $acx_cv_type_int64_t int64_t;
84902 #endif
84903 #endif
84904 #ifndef _UINT64_T
84905 #define _UINT64_T
84906 #ifndef __uint64_t_defined
84907 #define __uint64_t_defined
84908 #ifndef uint64_t
84909 typedef unsigned $acx_cv_type_int64_t uint64_t;
84910 #endif
84911 #endif
84912 #endif
84914 else
84915 sed 's/^ *//' >> tmp-stdint.h <<EOF
84917 /* some common heuristics for int64_t, using compiler-specific tests */
84918 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84919 #ifndef _INT64_T
84920 #define _INT64_T
84921 #ifndef __int64_t_defined
84922 #ifndef int64_t
84923 typedef long long int64_t;
84924 #endif
84925 #endif
84926 #endif
84927 #ifndef _UINT64_T
84928 #define _UINT64_T
84929 #ifndef uint64_t
84930 typedef unsigned long long uint64_t;
84931 #endif
84932 #endif
84934 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84935 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84936 does not implement __extension__. But that compiler doesn't define
84937 __GNUC_MINOR__. */
84938 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84939 # define __extension__
84940 # endif
84942 # ifndef _INT64_T
84943 # define _INT64_T
84944 # ifndef int64_t
84945 __extension__ typedef long long int64_t;
84946 # endif
84947 # endif
84948 # ifndef _UINT64_T
84949 # define _UINT64_T
84950 # ifndef uint64_t
84951 __extension__ typedef unsigned long long uint64_t;
84952 # endif
84953 # endif
84955 #elif !defined __STRICT_ANSI__
84956 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84958 # ifndef _INT64_T
84959 # define _INT64_T
84960 # ifndef int64_t
84961 typedef __int64 int64_t;
84962 # endif
84963 # endif
84964 # ifndef _UINT64_T
84965 # define _UINT64_T
84966 # ifndef uint64_t
84967 typedef unsigned __int64 uint64_t;
84968 # endif
84969 # endif
84970 # endif /* compiler */
84972 #endif /* ANSI version */
84976 # ------------- done int64_t types, emit intptr types ------------
84977 if test "$ac_cv_type_uintptr_t" != yes; then
84978 sed 's/^ *//' >> tmp-stdint.h <<EOF
84980 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84981 #ifndef __uintptr_t_defined
84982 #ifndef uintptr_t
84983 typedef u$acx_cv_type_intptr_t uintptr_t;
84984 #endif
84985 #endif
84986 #ifndef __intptr_t_defined
84987 #ifndef intptr_t
84988 typedef $acx_cv_type_intptr_t intptr_t;
84989 #endif
84990 #endif
84994 # ------------- done intptr types, emit int_least types ------------
84995 if test "$ac_cv_type_int_least32_t" != yes; then
84996 sed 's/^ *//' >> tmp-stdint.h <<EOF
84998 /* Define int_least types */
84999 typedef int8_t int_least8_t;
85000 typedef int16_t int_least16_t;
85001 typedef int32_t int_least32_t;
85002 #ifdef _INT64_T
85003 typedef int64_t int_least64_t;
85004 #endif
85006 typedef uint8_t uint_least8_t;
85007 typedef uint16_t uint_least16_t;
85008 typedef uint32_t uint_least32_t;
85009 #ifdef _UINT64_T
85010 typedef uint64_t uint_least64_t;
85011 #endif
85015 # ------------- done intptr types, emit int_fast types ------------
85016 if test "$ac_cv_type_int_fast32_t" != yes; then
85017 sed 's/^ *//' >> tmp-stdint.h <<EOF
85019 /* Define int_fast types. short is often slow */
85020 typedef int8_t int_fast8_t;
85021 typedef int int_fast16_t;
85022 typedef int32_t int_fast32_t;
85023 #ifdef _INT64_T
85024 typedef int64_t int_fast64_t;
85025 #endif
85027 typedef uint8_t uint_fast8_t;
85028 typedef unsigned int uint_fast16_t;
85029 typedef uint32_t uint_fast32_t;
85030 #ifdef _UINT64_T
85031 typedef uint64_t uint_fast64_t;
85032 #endif
85036 if test "$ac_cv_type_uintmax_t" != yes; then
85037 sed 's/^ *//' >> tmp-stdint.h <<EOF
85039 /* Define intmax based on what we found */
85040 #ifndef intmax_t
85041 #ifdef _INT64_T
85042 typedef int64_t intmax_t;
85043 #else
85044 typedef long intmax_t;
85045 #endif
85046 #endif
85047 #ifndef uintmax_t
85048 #ifdef _UINT64_T
85049 typedef uint64_t uintmax_t;
85050 #else
85051 typedef unsigned long uintmax_t;
85052 #endif
85053 #endif
85057 sed 's/^ *//' >> tmp-stdint.h <<EOF
85059 #endif /* GCC_GENERATED_STDINT_H */
85062 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
85063 rm -f tmp-stdint.h
85064 else
85065 mv -f tmp-stdint.h include/gstdint.h
85069 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
85070 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
85071 "include/Makefile":F) cat > vpsed$$ << \_EOF
85072 s!`test -f '$<' || echo '$(srcdir)/'`!!
85073 _EOF
85074 sed -f vpsed$$ $ac_file > tmp$$
85075 mv tmp$$ $ac_file
85076 rm vpsed$$
85077 echo 'MULTISUBDIR =' >> $ac_file
85078 ml_norecursion=yes
85079 . ${multi_basedir}/config-ml.in
85080 { ml_norecursion=; unset ml_norecursion;}
85082 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
85083 s!`test -f '$<' || echo '$(srcdir)/'`!!
85084 _EOF
85085 sed -f vpsed$$ $ac_file > tmp$$
85086 mv tmp$$ $ac_file
85087 rm vpsed$$
85088 echo 'MULTISUBDIR =' >> $ac_file
85089 ml_norecursion=yes
85090 . ${multi_basedir}/config-ml.in
85091 { ml_norecursion=; unset ml_norecursion;}
85093 "src/Makefile":F) cat > vpsed$$ << \_EOF
85094 s!`test -f '$<' || echo '$(srcdir)/'`!!
85095 _EOF
85096 sed -f vpsed$$ $ac_file > tmp$$
85097 mv tmp$$ $ac_file
85098 rm vpsed$$
85099 echo 'MULTISUBDIR =' >> $ac_file
85100 ml_norecursion=yes
85101 . ${multi_basedir}/config-ml.in
85102 { ml_norecursion=; unset ml_norecursion;}
85104 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
85105 s!`test -f '$<' || echo '$(srcdir)/'`!!
85106 _EOF
85107 sed -f vpsed$$ $ac_file > tmp$$
85108 mv tmp$$ $ac_file
85109 rm vpsed$$
85110 echo 'MULTISUBDIR =' >> $ac_file
85111 ml_norecursion=yes
85112 . ${multi_basedir}/config-ml.in
85113 { ml_norecursion=; unset ml_norecursion;}
85115 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
85116 s!`test -f '$<' || echo '$(srcdir)/'`!!
85117 _EOF
85118 sed -f vpsed$$ $ac_file > tmp$$
85119 mv tmp$$ $ac_file
85120 rm vpsed$$
85121 echo 'MULTISUBDIR =' >> $ac_file
85122 ml_norecursion=yes
85123 . ${multi_basedir}/config-ml.in
85124 { ml_norecursion=; unset ml_norecursion;}
85126 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
85127 s!`test -f '$<' || echo '$(srcdir)/'`!!
85128 _EOF
85129 sed -f vpsed$$ $ac_file > tmp$$
85130 mv tmp$$ $ac_file
85131 rm vpsed$$
85132 echo 'MULTISUBDIR =' >> $ac_file
85133 ml_norecursion=yes
85134 . ${multi_basedir}/config-ml.in
85135 { ml_norecursion=; unset ml_norecursion;}
85137 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
85138 s!`test -f '$<' || echo '$(srcdir)/'`!!
85139 _EOF
85140 sed -f vpsed$$ $ac_file > tmp$$
85141 mv tmp$$ $ac_file
85142 rm vpsed$$
85143 echo 'MULTISUBDIR =' >> $ac_file
85144 ml_norecursion=yes
85145 . ${multi_basedir}/config-ml.in
85146 { ml_norecursion=; unset ml_norecursion;}
85148 "doc/Makefile":F) cat > vpsed$$ << \_EOF
85149 s!`test -f '$<' || echo '$(srcdir)/'`!!
85150 _EOF
85151 sed -f vpsed$$ $ac_file > tmp$$
85152 mv tmp$$ $ac_file
85153 rm vpsed$$
85154 echo 'MULTISUBDIR =' >> $ac_file
85155 ml_norecursion=yes
85156 . ${multi_basedir}/config-ml.in
85157 { ml_norecursion=; unset ml_norecursion;}
85159 "po/Makefile":F) cat > vpsed$$ << \_EOF
85160 s!`test -f '$<' || echo '$(srcdir)/'`!!
85161 _EOF
85162 sed -f vpsed$$ $ac_file > tmp$$
85163 mv tmp$$ $ac_file
85164 rm vpsed$$
85165 echo 'MULTISUBDIR =' >> $ac_file
85166 ml_norecursion=yes
85167 . ${multi_basedir}/config-ml.in
85168 { ml_norecursion=; unset ml_norecursion;}
85170 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
85171 s!`test -f '$<' || echo '$(srcdir)/'`!!
85172 _EOF
85173 sed -f vpsed$$ $ac_file > tmp$$
85174 mv tmp$$ $ac_file
85175 rm vpsed$$
85176 echo 'MULTISUBDIR =' >> $ac_file
85177 ml_norecursion=yes
85178 . ${multi_basedir}/config-ml.in
85179 { ml_norecursion=; unset ml_norecursion;}
85181 "python/Makefile":F) cat > vpsed$$ << \_EOF
85182 s!`test -f '$<' || echo '$(srcdir)/'`!!
85183 _EOF
85184 sed -f vpsed$$ $ac_file > tmp$$
85185 mv tmp$$ $ac_file
85186 rm vpsed$$
85187 echo 'MULTISUBDIR =' >> $ac_file
85188 ml_norecursion=yes
85189 . ${multi_basedir}/config-ml.in
85190 { ml_norecursion=; unset ml_norecursion;}
85192 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
85194 esac
85195 done # for ac_tag
85198 as_fn_exit 0
85199 _ACEOF
85200 ac_clean_files=$ac_clean_files_save
85202 test $ac_write_fail = 0 ||
85203 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
85206 # configure is writing to config.log, and then calls config.status.
85207 # config.status does its own redirection, appending to config.log.
85208 # Unfortunately, on DOS this fails, as config.log is still kept open
85209 # by configure, so config.status won't be able to write to it; its
85210 # output is simply discarded. So we exec the FD to /dev/null,
85211 # effectively closing config.log, so it can be properly (re)opened and
85212 # appended to by config.status. When coming back to configure, we
85213 # need to make the FD available again.
85214 if test "$no_create" != yes; then
85215 ac_cs_success=:
85216 ac_config_status_args=
85217 test "$silent" = yes &&
85218 ac_config_status_args="$ac_config_status_args --quiet"
85219 exec 5>/dev/null
85220 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
85221 exec 5>>config.log
85222 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
85223 # would make configure fail if this is the last instruction.
85224 $ac_cs_success || as_fn_exit 1
85226 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
85227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
85228 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}