* ipa-cp.c: Fix various comment typos.
[official-gcc.git] / libstdc++-v3 / configure
blob77805e8680fe97417d91f4e89f6908a37b6db4b2
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 with_libstdcxx_lock_policy
911 enable_cstdio
912 enable_clocale
913 enable_nls
914 enable_libstdcxx_allocator
915 enable_cheaders
916 enable_long_long
917 enable_wchar_t
918 enable_c99
919 enable_concept_checks
920 enable_libstdcxx_debug_flags
921 enable_libstdcxx_debug
922 enable_cxx_flags
923 enable_fully_dynamic_string
924 enable_extern_template
925 with_python_dir
926 enable_werror
927 enable_vtable_verify
928 enable_libstdcxx_time
929 enable_tls
930 enable_rpath
931 with_libiconv_prefix
932 with_system_libunwind
933 enable_linux_futex
934 enable_symvers
935 enable_libstdcxx_visibility
936 enable_libstdcxx_dual_abi
937 with_default_libstdcxx_abi
938 enable_libstdcxx_threads
939 enable_libstdcxx_filesystem_ts
940 enable_cet
941 with_gxx_include_dir
942 enable_version_specific_runtime_libs
943 with_gcc_major_version_only
945 ac_precious_vars='build_alias
946 host_alias
947 target_alias
949 CFLAGS
950 LDFLAGS
951 LIBS
952 CPPFLAGS
954 CXXFLAGS
957 CXXCPP
958 CXXFILT'
961 # Initialize some variables set by options.
962 ac_init_help=
963 ac_init_version=false
964 ac_unrecognized_opts=
965 ac_unrecognized_sep=
966 # The variables have the same names as the options, with
967 # dashes changed to underlines.
968 cache_file=/dev/null
969 exec_prefix=NONE
970 no_create=
971 no_recursion=
972 prefix=NONE
973 program_prefix=NONE
974 program_suffix=NONE
975 program_transform_name=s,x,x,
976 silent=
977 site=
978 srcdir=
979 verbose=
980 x_includes=NONE
981 x_libraries=NONE
983 # Installation directory options.
984 # These are left unexpanded so users can "make install exec_prefix=/foo"
985 # and all the variables that are supposed to be based on exec_prefix
986 # by default will actually change.
987 # Use braces instead of parens because sh, perl, etc. also accept them.
988 # (The list follows the same order as the GNU Coding Standards.)
989 bindir='${exec_prefix}/bin'
990 sbindir='${exec_prefix}/sbin'
991 libexecdir='${exec_prefix}/libexec'
992 datarootdir='${prefix}/share'
993 datadir='${datarootdir}'
994 sysconfdir='${prefix}/etc'
995 sharedstatedir='${prefix}/com'
996 localstatedir='${prefix}/var'
997 includedir='${prefix}/include'
998 oldincludedir='/usr/include'
999 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1000 infodir='${datarootdir}/info'
1001 htmldir='${docdir}'
1002 dvidir='${docdir}'
1003 pdfdir='${docdir}'
1004 psdir='${docdir}'
1005 libdir='${exec_prefix}/lib'
1006 localedir='${datarootdir}/locale'
1007 mandir='${datarootdir}/man'
1009 ac_prev=
1010 ac_dashdash=
1011 for ac_option
1013 # If the previous option needs an argument, assign it.
1014 if test -n "$ac_prev"; then
1015 eval $ac_prev=\$ac_option
1016 ac_prev=
1017 continue
1020 case $ac_option in
1021 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1022 *=) ac_optarg= ;;
1023 *) ac_optarg=yes ;;
1024 esac
1026 # Accept the important Cygnus configure options, so we can diagnose typos.
1028 case $ac_dashdash$ac_option in
1030 ac_dashdash=yes ;;
1032 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1033 ac_prev=bindir ;;
1034 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1035 bindir=$ac_optarg ;;
1037 -build | --build | --buil | --bui | --bu)
1038 ac_prev=build_alias ;;
1039 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1040 build_alias=$ac_optarg ;;
1042 -cache-file | --cache-file | --cache-fil | --cache-fi \
1043 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1044 ac_prev=cache_file ;;
1045 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1046 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1047 cache_file=$ac_optarg ;;
1049 --config-cache | -C)
1050 cache_file=config.cache ;;
1052 -datadir | --datadir | --datadi | --datad)
1053 ac_prev=datadir ;;
1054 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1055 datadir=$ac_optarg ;;
1057 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1058 | --dataroo | --dataro | --datar)
1059 ac_prev=datarootdir ;;
1060 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1061 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1062 datarootdir=$ac_optarg ;;
1064 -disable-* | --disable-*)
1065 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1066 # Reject names that are not valid shell variable names.
1067 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1068 as_fn_error $? "invalid feature name: $ac_useropt"
1069 ac_useropt_orig=$ac_useropt
1070 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1071 case $ac_user_opts in
1073 "enable_$ac_useropt"
1074 "*) ;;
1075 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1076 ac_unrecognized_sep=', ';;
1077 esac
1078 eval enable_$ac_useropt=no ;;
1080 -docdir | --docdir | --docdi | --doc | --do)
1081 ac_prev=docdir ;;
1082 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1083 docdir=$ac_optarg ;;
1085 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1086 ac_prev=dvidir ;;
1087 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1088 dvidir=$ac_optarg ;;
1090 -enable-* | --enable-*)
1091 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1092 # Reject names that are not valid shell variable names.
1093 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1094 as_fn_error $? "invalid feature name: $ac_useropt"
1095 ac_useropt_orig=$ac_useropt
1096 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1097 case $ac_user_opts in
1099 "enable_$ac_useropt"
1100 "*) ;;
1101 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1102 ac_unrecognized_sep=', ';;
1103 esac
1104 eval enable_$ac_useropt=\$ac_optarg ;;
1106 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1107 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1108 | --exec | --exe | --ex)
1109 ac_prev=exec_prefix ;;
1110 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1111 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1112 | --exec=* | --exe=* | --ex=*)
1113 exec_prefix=$ac_optarg ;;
1115 -gas | --gas | --ga | --g)
1116 # Obsolete; use --with-gas.
1117 with_gas=yes ;;
1119 -help | --help | --hel | --he | -h)
1120 ac_init_help=long ;;
1121 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1122 ac_init_help=recursive ;;
1123 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1124 ac_init_help=short ;;
1126 -host | --host | --hos | --ho)
1127 ac_prev=host_alias ;;
1128 -host=* | --host=* | --hos=* | --ho=*)
1129 host_alias=$ac_optarg ;;
1131 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1132 ac_prev=htmldir ;;
1133 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1134 | --ht=*)
1135 htmldir=$ac_optarg ;;
1137 -includedir | --includedir | --includedi | --included | --include \
1138 | --includ | --inclu | --incl | --inc)
1139 ac_prev=includedir ;;
1140 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1141 | --includ=* | --inclu=* | --incl=* | --inc=*)
1142 includedir=$ac_optarg ;;
1144 -infodir | --infodir | --infodi | --infod | --info | --inf)
1145 ac_prev=infodir ;;
1146 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1147 infodir=$ac_optarg ;;
1149 -libdir | --libdir | --libdi | --libd)
1150 ac_prev=libdir ;;
1151 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1152 libdir=$ac_optarg ;;
1154 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1155 | --libexe | --libex | --libe)
1156 ac_prev=libexecdir ;;
1157 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1158 | --libexe=* | --libex=* | --libe=*)
1159 libexecdir=$ac_optarg ;;
1161 -localedir | --localedir | --localedi | --localed | --locale)
1162 ac_prev=localedir ;;
1163 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1164 localedir=$ac_optarg ;;
1166 -localstatedir | --localstatedir | --localstatedi | --localstated \
1167 | --localstate | --localstat | --localsta | --localst | --locals)
1168 ac_prev=localstatedir ;;
1169 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1170 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1171 localstatedir=$ac_optarg ;;
1173 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1174 ac_prev=mandir ;;
1175 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1176 mandir=$ac_optarg ;;
1178 -nfp | --nfp | --nf)
1179 # Obsolete; use --without-fp.
1180 with_fp=no ;;
1182 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1183 | --no-cr | --no-c | -n)
1184 no_create=yes ;;
1186 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1187 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1188 no_recursion=yes ;;
1190 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1191 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1192 | --oldin | --oldi | --old | --ol | --o)
1193 ac_prev=oldincludedir ;;
1194 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1195 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1196 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1197 oldincludedir=$ac_optarg ;;
1199 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1200 ac_prev=prefix ;;
1201 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1202 prefix=$ac_optarg ;;
1204 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1205 | --program-pre | --program-pr | --program-p)
1206 ac_prev=program_prefix ;;
1207 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1208 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1209 program_prefix=$ac_optarg ;;
1211 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1212 | --program-suf | --program-su | --program-s)
1213 ac_prev=program_suffix ;;
1214 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1215 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1216 program_suffix=$ac_optarg ;;
1218 -program-transform-name | --program-transform-name \
1219 | --program-transform-nam | --program-transform-na \
1220 | --program-transform-n | --program-transform- \
1221 | --program-transform | --program-transfor \
1222 | --program-transfo | --program-transf \
1223 | --program-trans | --program-tran \
1224 | --progr-tra | --program-tr | --program-t)
1225 ac_prev=program_transform_name ;;
1226 -program-transform-name=* | --program-transform-name=* \
1227 | --program-transform-nam=* | --program-transform-na=* \
1228 | --program-transform-n=* | --program-transform-=* \
1229 | --program-transform=* | --program-transfor=* \
1230 | --program-transfo=* | --program-transf=* \
1231 | --program-trans=* | --program-tran=* \
1232 | --progr-tra=* | --program-tr=* | --program-t=*)
1233 program_transform_name=$ac_optarg ;;
1235 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1236 ac_prev=pdfdir ;;
1237 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1238 pdfdir=$ac_optarg ;;
1240 -psdir | --psdir | --psdi | --psd | --ps)
1241 ac_prev=psdir ;;
1242 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1243 psdir=$ac_optarg ;;
1245 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1246 | -silent | --silent | --silen | --sile | --sil)
1247 silent=yes ;;
1249 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1250 ac_prev=sbindir ;;
1251 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1252 | --sbi=* | --sb=*)
1253 sbindir=$ac_optarg ;;
1255 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1256 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1257 | --sharedst | --shareds | --shared | --share | --shar \
1258 | --sha | --sh)
1259 ac_prev=sharedstatedir ;;
1260 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1261 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1262 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1263 | --sha=* | --sh=*)
1264 sharedstatedir=$ac_optarg ;;
1266 -site | --site | --sit)
1267 ac_prev=site ;;
1268 -site=* | --site=* | --sit=*)
1269 site=$ac_optarg ;;
1271 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1272 ac_prev=srcdir ;;
1273 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1274 srcdir=$ac_optarg ;;
1276 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1277 | --syscon | --sysco | --sysc | --sys | --sy)
1278 ac_prev=sysconfdir ;;
1279 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1280 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1281 sysconfdir=$ac_optarg ;;
1283 -target | --target | --targe | --targ | --tar | --ta | --t)
1284 ac_prev=target_alias ;;
1285 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1286 target_alias=$ac_optarg ;;
1288 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1289 verbose=yes ;;
1291 -version | --version | --versio | --versi | --vers | -V)
1292 ac_init_version=: ;;
1294 -with-* | --with-*)
1295 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1296 # Reject names that are not valid shell variable names.
1297 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1298 as_fn_error $? "invalid package name: $ac_useropt"
1299 ac_useropt_orig=$ac_useropt
1300 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1301 case $ac_user_opts in
1303 "with_$ac_useropt"
1304 "*) ;;
1305 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1306 ac_unrecognized_sep=', ';;
1307 esac
1308 eval with_$ac_useropt=\$ac_optarg ;;
1310 -without-* | --without-*)
1311 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1312 # Reject names that are not valid shell variable names.
1313 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1314 as_fn_error $? "invalid package name: $ac_useropt"
1315 ac_useropt_orig=$ac_useropt
1316 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1317 case $ac_user_opts in
1319 "with_$ac_useropt"
1320 "*) ;;
1321 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1322 ac_unrecognized_sep=', ';;
1323 esac
1324 eval with_$ac_useropt=no ;;
1326 --x)
1327 # Obsolete; use --with-x.
1328 with_x=yes ;;
1330 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1331 | --x-incl | --x-inc | --x-in | --x-i)
1332 ac_prev=x_includes ;;
1333 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1334 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1335 x_includes=$ac_optarg ;;
1337 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1338 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1339 ac_prev=x_libraries ;;
1340 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1341 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1342 x_libraries=$ac_optarg ;;
1344 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1345 Try \`$0 --help' for more information"
1348 *=*)
1349 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1350 # Reject names that are not valid shell variable names.
1351 case $ac_envvar in #(
1352 '' | [0-9]* | *[!_$as_cr_alnum]* )
1353 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1354 esac
1355 eval $ac_envvar=\$ac_optarg
1356 export $ac_envvar ;;
1359 # FIXME: should be removed in autoconf 3.0.
1360 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1361 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1362 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1363 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1366 esac
1367 done
1369 if test -n "$ac_prev"; then
1370 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1371 as_fn_error $? "missing argument to $ac_option"
1374 if test -n "$ac_unrecognized_opts"; then
1375 case $enable_option_checking in
1376 no) ;;
1377 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1378 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1379 esac
1382 # Check all directory arguments for consistency.
1383 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1384 datadir sysconfdir sharedstatedir localstatedir includedir \
1385 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1386 libdir localedir mandir
1388 eval ac_val=\$$ac_var
1389 # Remove trailing slashes.
1390 case $ac_val in
1391 */ )
1392 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1393 eval $ac_var=\$ac_val;;
1394 esac
1395 # Be sure to have absolute directory names.
1396 case $ac_val in
1397 [\\/$]* | ?:[\\/]* ) continue;;
1398 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1399 esac
1400 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1401 done
1403 # There might be people who depend on the old broken behavior: `$host'
1404 # used to hold the argument of --host etc.
1405 # FIXME: To remove some day.
1406 build=$build_alias
1407 host=$host_alias
1408 target=$target_alias
1410 # FIXME: To remove some day.
1411 if test "x$host_alias" != x; then
1412 if test "x$build_alias" = x; then
1413 cross_compiling=maybe
1414 elif test "x$build_alias" != "x$host_alias"; then
1415 cross_compiling=yes
1419 ac_tool_prefix=
1420 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1422 test "$silent" = yes && exec 6>/dev/null
1425 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1426 ac_ls_di=`ls -di .` &&
1427 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1428 as_fn_error $? "working directory cannot be determined"
1429 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1430 as_fn_error $? "pwd does not report name of working directory"
1433 # Find the source files, if location was not specified.
1434 if test -z "$srcdir"; then
1435 ac_srcdir_defaulted=yes
1436 # Try the directory containing this script, then the parent directory.
1437 ac_confdir=`$as_dirname -- "$as_myself" ||
1438 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1439 X"$as_myself" : 'X\(//\)[^/]' \| \
1440 X"$as_myself" : 'X\(//\)$' \| \
1441 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1442 $as_echo X"$as_myself" |
1443 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1444 s//\1/
1447 /^X\(\/\/\)[^/].*/{
1448 s//\1/
1451 /^X\(\/\/\)$/{
1452 s//\1/
1455 /^X\(\/\).*/{
1456 s//\1/
1459 s/.*/./; q'`
1460 srcdir=$ac_confdir
1461 if test ! -r "$srcdir/$ac_unique_file"; then
1462 srcdir=..
1464 else
1465 ac_srcdir_defaulted=no
1467 if test ! -r "$srcdir/$ac_unique_file"; then
1468 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1469 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1471 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1472 ac_abs_confdir=`(
1473 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1474 pwd)`
1475 # When building in place, set srcdir=.
1476 if test "$ac_abs_confdir" = "$ac_pwd"; then
1477 srcdir=.
1479 # Remove unnecessary trailing slashes from srcdir.
1480 # Double slashes in file names in object file debugging info
1481 # mess up M-x gdb in Emacs.
1482 case $srcdir in
1483 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1484 esac
1485 for ac_var in $ac_precious_vars; do
1486 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1487 eval ac_env_${ac_var}_value=\$${ac_var}
1488 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1489 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1490 done
1493 # Report the --help message.
1495 if test "$ac_init_help" = "long"; then
1496 # Omit some internal or obsolete options to make the list less imposing.
1497 # This message is too long to be a string in the A/UX 3.1 sh.
1498 cat <<_ACEOF
1499 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1501 Usage: $0 [OPTION]... [VAR=VALUE]...
1503 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1504 VAR=VALUE. See below for descriptions of some of the useful variables.
1506 Defaults for the options are specified in brackets.
1508 Configuration:
1509 -h, --help display this help and exit
1510 --help=short display options specific to this package
1511 --help=recursive display the short help of all the included packages
1512 -V, --version display version information and exit
1513 -q, --quiet, --silent do not print \`checking ...' messages
1514 --cache-file=FILE cache test results in FILE [disabled]
1515 -C, --config-cache alias for \`--cache-file=config.cache'
1516 -n, --no-create do not create output files
1517 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1519 Installation directories:
1520 --prefix=PREFIX install architecture-independent files in PREFIX
1521 [$ac_default_prefix]
1522 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1523 [PREFIX]
1525 By default, \`make install' will install all the files in
1526 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1527 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1528 for instance \`--prefix=\$HOME'.
1530 For better control, use the options below.
1532 Fine tuning of the installation directories:
1533 --bindir=DIR user executables [EPREFIX/bin]
1534 --sbindir=DIR system admin executables [EPREFIX/sbin]
1535 --libexecdir=DIR program executables [EPREFIX/libexec]
1536 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1537 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1538 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1539 --libdir=DIR object code libraries [EPREFIX/lib]
1540 --includedir=DIR C header files [PREFIX/include]
1541 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1542 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1543 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1544 --infodir=DIR info documentation [DATAROOTDIR/info]
1545 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1546 --mandir=DIR man documentation [DATAROOTDIR/man]
1547 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1548 --htmldir=DIR html documentation [DOCDIR]
1549 --dvidir=DIR dvi documentation [DOCDIR]
1550 --pdfdir=DIR pdf documentation [DOCDIR]
1551 --psdir=DIR ps documentation [DOCDIR]
1552 _ACEOF
1554 cat <<\_ACEOF
1556 Program names:
1557 --program-prefix=PREFIX prepend PREFIX to installed program names
1558 --program-suffix=SUFFIX append SUFFIX to installed program names
1559 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1561 System types:
1562 --build=BUILD configure for building on BUILD [guessed]
1563 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1564 --target=TARGET configure for building compilers for TARGET [HOST]
1565 _ACEOF
1568 if test -n "$ac_init_help"; then
1569 case $ac_init_help in
1570 short | recursive ) echo "Configuration of package-unused version-unused:";;
1571 esac
1572 cat <<\_ACEOF
1574 Optional Features:
1575 --disable-option-checking ignore unrecognized --enable/--with options
1576 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1577 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1578 --enable-multilib build many library versions (default)
1579 --enable-silent-rules less verbose build output (undo: "make V=1")
1580 --disable-silent-rules verbose build output (undo: "make V=0")
1581 --enable-maintainer-mode
1582 enable make rules and dependencies not useful (and
1583 sometimes confusing) to the casual installer
1584 --enable-shared[=PKGS] build shared libraries [default=yes]
1585 --enable-static[=PKGS] build static libraries [default=yes]
1586 --enable-fast-install[=PKGS]
1587 optimize for fast installation [default=yes]
1588 --disable-libtool-lock avoid locking (might break parallel builds)
1589 --disable-hosted-libstdcxx
1590 only build freestanding C++ runtime support
1591 --disable-libstdcxx-verbose
1592 disable termination messages to standard error
1593 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1594 [default=$is_hosted]
1595 --enable-cstdio[=PACKAGE]
1596 use target-specific I/O package [default=stdio]
1597 --enable-clocale[=MODEL]
1598 use MODEL for target locale package [default=auto]
1599 --enable-nls use Native Language Support (default)
1600 --enable-libstdcxx-allocator[=KIND]
1601 use KIND for target std::allocator base
1602 [default=auto]
1603 --enable-cheaders[=KIND]
1604 construct "C" headers for g++ [default=$c_model]
1605 --enable-long-long enable template specializations for 'long long'
1606 [default=yes]
1607 --enable-wchar_t enable template specializations for 'wchar_t'
1608 [default=yes]
1609 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1610 --enable-concept-checks use Boost-derived template checks [default=no]
1611 --enable-libstdcxx-debug-flags=FLAGS
1612 pass compiler FLAGS when building debug library
1613 [default="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1614 --enable-libstdcxx-debug
1615 build extra debug library [default=no]
1616 --enable-cxx-flags=FLAGS
1617 pass compiler FLAGS when building library [default=]
1618 --enable-fully-dynamic-string
1619 do not put empty strings in per-process static
1620 memory [default=no]
1621 --enable-extern-template
1622 enable extern template [default=yes]
1623 --enable-werror turns on -Werror [default=no]
1624 --enable-vtable-verify enable vtable verify [default=no]
1625 --enable-libstdcxx-time[=KIND]
1626 use KIND for check type [default=auto]
1627 --enable-tls Use thread-local storage [default=yes]
1628 --disable-rpath do not hardcode runtime library paths
1629 --enable-linux-futex use the Linux futex system call [default=default]
1630 --enable-symvers[=STYLE]
1631 enables symbol versioning of the shared library
1632 [default=yes]
1633 --enable-libstdcxx-visibility
1634 enables visibility safe usage [default=yes]
1635 --enable-libstdcxx-dual-abi
1636 support two versions of std::string [default=yes]
1637 --enable-libstdcxx-threads
1638 enable C++11 threads support [default=auto]
1639 --enable-libstdcxx-filesystem-ts
1640 turns on ISO/IEC TS 18822 support [default=auto]
1641 --enable-cet enable Intel CET in target libraries [default=no]
1642 --enable-version-specific-runtime-libs
1643 Specify that runtime libraries should be installed
1644 in a compiler-specific directory
1646 Optional Packages:
1647 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1648 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1649 --with-target-subdir=SUBDIR
1650 configuring in a subdirectory
1651 --with-cross-host=HOST configuring with a cross compiler
1652 --with-newlib assume newlib as a system C library
1653 --with-pic try to use only PIC/non-PIC objects [default=use
1654 both]
1655 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1656 --with-libstdcxx-lock-policy={atomic,mutex,auto}
1657 synchronization policy for shared_ptr reference
1658 counting [default=auto]
1659 --with-python-dir the location to install Python modules. This path is
1660 relative starting from the prefix.
1661 --with-gnu-ld assume the C compiler uses GNU ld default=no
1662 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1663 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1664 --with-system-libunwind use installed libunwind
1665 --with-default-libstdcxx-abi
1666 set the std::string ABI to use by default
1667 --with-gxx-include-dir=DIR
1668 installation directory for include files
1669 --with-gcc-major-version-only
1670 use only GCC major number in filesystem paths
1672 Some influential environment variables:
1673 CC C compiler command
1674 CFLAGS C compiler flags
1675 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1676 nonstandard directory <lib dir>
1677 LIBS libraries to pass to the linker, e.g. -l<library>
1678 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1679 you have headers in a nonstandard directory <include dir>
1680 CXX C++ compiler command
1681 CXXFLAGS C++ compiler flags
1682 CPP C preprocessor
1683 CXXCPP C++ preprocessor
1684 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1685 `c++filt', `gc++filt' on PATH.
1687 Use these variables to override the choices made by `configure' or to help
1688 it to find libraries and programs with nonstandard names/locations.
1690 Report bugs to the package provider.
1691 _ACEOF
1692 ac_status=$?
1695 if test "$ac_init_help" = "recursive"; then
1696 # If there are subdirs, report their specific --help.
1697 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1698 test -d "$ac_dir" ||
1699 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1700 continue
1701 ac_builddir=.
1703 case "$ac_dir" in
1704 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1706 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1707 # A ".." for each directory in $ac_dir_suffix.
1708 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1709 case $ac_top_builddir_sub in
1710 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1711 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1712 esac ;;
1713 esac
1714 ac_abs_top_builddir=$ac_pwd
1715 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1716 # for backward compatibility:
1717 ac_top_builddir=$ac_top_build_prefix
1719 case $srcdir in
1720 .) # We are building in place.
1721 ac_srcdir=.
1722 ac_top_srcdir=$ac_top_builddir_sub
1723 ac_abs_top_srcdir=$ac_pwd ;;
1724 [\\/]* | ?:[\\/]* ) # Absolute name.
1725 ac_srcdir=$srcdir$ac_dir_suffix;
1726 ac_top_srcdir=$srcdir
1727 ac_abs_top_srcdir=$srcdir ;;
1728 *) # Relative name.
1729 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1730 ac_top_srcdir=$ac_top_build_prefix$srcdir
1731 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1732 esac
1733 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1735 cd "$ac_dir" || { ac_status=$?; continue; }
1736 # Check for guested configure.
1737 if test -f "$ac_srcdir/configure.gnu"; then
1738 echo &&
1739 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1740 elif test -f "$ac_srcdir/configure"; then
1741 echo &&
1742 $SHELL "$ac_srcdir/configure" --help=recursive
1743 else
1744 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1745 fi || ac_status=$?
1746 cd "$ac_pwd" || { ac_status=$?; break; }
1747 done
1750 test -n "$ac_init_help" && exit $ac_status
1751 if $ac_init_version; then
1752 cat <<\_ACEOF
1753 package-unused configure version-unused
1754 generated by GNU Autoconf 2.69
1756 Copyright (C) 2012 Free Software Foundation, Inc.
1757 This configure script is free software; the Free Software Foundation
1758 gives unlimited permission to copy, distribute and modify it.
1759 _ACEOF
1760 exit
1763 ## ------------------------ ##
1764 ## Autoconf initialization. ##
1765 ## ------------------------ ##
1767 # ac_fn_c_try_compile LINENO
1768 # --------------------------
1769 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1770 ac_fn_c_try_compile ()
1772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773 rm -f conftest.$ac_objext
1774 if { { ac_try="$ac_compile"
1775 case "(($ac_try" in
1776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1777 *) ac_try_echo=$ac_try;;
1778 esac
1779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780 $as_echo "$ac_try_echo"; } >&5
1781 (eval "$ac_compile") 2>conftest.err
1782 ac_status=$?
1783 if test -s conftest.err; then
1784 grep -v '^ *+' conftest.err >conftest.er1
1785 cat conftest.er1 >&5
1786 mv -f conftest.er1 conftest.err
1788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1789 test $ac_status = 0; } && {
1790 test -z "$ac_c_werror_flag" ||
1791 test ! -s conftest.err
1792 } && test -s conftest.$ac_objext; then :
1793 ac_retval=0
1794 else
1795 $as_echo "$as_me: failed program was:" >&5
1796 sed 's/^/| /' conftest.$ac_ext >&5
1798 ac_retval=1
1800 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1801 as_fn_set_status $ac_retval
1803 } # ac_fn_c_try_compile
1805 # ac_fn_cxx_try_compile LINENO
1806 # ----------------------------
1807 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1808 ac_fn_cxx_try_compile ()
1810 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811 rm -f conftest.$ac_objext
1812 if { { ac_try="$ac_compile"
1813 case "(($ac_try" in
1814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1815 *) ac_try_echo=$ac_try;;
1816 esac
1817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1818 $as_echo "$ac_try_echo"; } >&5
1819 (eval "$ac_compile") 2>conftest.err
1820 ac_status=$?
1821 if test -s conftest.err; then
1822 grep -v '^ *+' conftest.err >conftest.er1
1823 cat conftest.er1 >&5
1824 mv -f conftest.er1 conftest.err
1826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1827 test $ac_status = 0; } && {
1828 test -z "$ac_cxx_werror_flag" ||
1829 test ! -s conftest.err
1830 } && test -s conftest.$ac_objext; then :
1831 ac_retval=0
1832 else
1833 $as_echo "$as_me: failed program was:" >&5
1834 sed 's/^/| /' conftest.$ac_ext >&5
1836 ac_retval=1
1838 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1839 as_fn_set_status $ac_retval
1841 } # ac_fn_cxx_try_compile
1843 # ac_fn_c_try_cpp LINENO
1844 # ----------------------
1845 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1846 ac_fn_c_try_cpp ()
1848 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1849 if { { ac_try="$ac_cpp conftest.$ac_ext"
1850 case "(($ac_try" in
1851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1852 *) ac_try_echo=$ac_try;;
1853 esac
1854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1855 $as_echo "$ac_try_echo"; } >&5
1856 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1857 ac_status=$?
1858 if test -s conftest.err; then
1859 grep -v '^ *+' conftest.err >conftest.er1
1860 cat conftest.er1 >&5
1861 mv -f conftest.er1 conftest.err
1863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1864 test $ac_status = 0; } > conftest.i && {
1865 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1866 test ! -s conftest.err
1867 }; then :
1868 ac_retval=0
1869 else
1870 $as_echo "$as_me: failed program was:" >&5
1871 sed 's/^/| /' conftest.$ac_ext >&5
1873 ac_retval=1
1875 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1876 as_fn_set_status $ac_retval
1878 } # ac_fn_c_try_cpp
1880 # ac_fn_c_try_link LINENO
1881 # -----------------------
1882 # Try to link conftest.$ac_ext, and return whether this succeeded.
1883 ac_fn_c_try_link ()
1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1886 rm -f conftest.$ac_objext conftest$ac_exeext
1887 if { { ac_try="$ac_link"
1888 case "(($ac_try" in
1889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1890 *) ac_try_echo=$ac_try;;
1891 esac
1892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1893 $as_echo "$ac_try_echo"; } >&5
1894 (eval "$ac_link") 2>conftest.err
1895 ac_status=$?
1896 if test -s conftest.err; then
1897 grep -v '^ *+' conftest.err >conftest.er1
1898 cat conftest.er1 >&5
1899 mv -f conftest.er1 conftest.err
1901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1902 test $ac_status = 0; } && {
1903 test -z "$ac_c_werror_flag" ||
1904 test ! -s conftest.err
1905 } && test -s conftest$ac_exeext && {
1906 test "$cross_compiling" = yes ||
1907 test -x conftest$ac_exeext
1908 }; then :
1909 ac_retval=0
1910 else
1911 $as_echo "$as_me: failed program was:" >&5
1912 sed 's/^/| /' conftest.$ac_ext >&5
1914 ac_retval=1
1916 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1917 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1918 # interfere with the next link command; also delete a directory that is
1919 # left behind by Apple's compiler. We do this before executing the actions.
1920 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1921 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1922 as_fn_set_status $ac_retval
1924 } # ac_fn_c_try_link
1926 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1927 # -------------------------------------------------------
1928 # Tests whether HEADER exists and can be compiled using the include files in
1929 # INCLUDES, setting the cache variable VAR accordingly.
1930 ac_fn_c_check_header_compile ()
1932 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1934 $as_echo_n "checking for $2... " >&6; }
1935 if eval \${$3+:} false; then :
1936 $as_echo_n "(cached) " >&6
1937 else
1938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1939 /* end confdefs.h. */
1941 #include <$2>
1942 _ACEOF
1943 if ac_fn_c_try_compile "$LINENO"; then :
1944 eval "$3=yes"
1945 else
1946 eval "$3=no"
1948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1950 eval ac_res=\$$3
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1952 $as_echo "$ac_res" >&6; }
1953 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1955 } # ac_fn_c_check_header_compile
1957 # ac_fn_c_try_run LINENO
1958 # ----------------------
1959 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1960 # that executables *can* be run.
1961 ac_fn_c_try_run ()
1963 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1964 if { { ac_try="$ac_link"
1965 case "(($ac_try" in
1966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1967 *) ac_try_echo=$ac_try;;
1968 esac
1969 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1970 $as_echo "$ac_try_echo"; } >&5
1971 (eval "$ac_link") 2>&5
1972 ac_status=$?
1973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1974 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1975 { { case "(($ac_try" in
1976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1977 *) ac_try_echo=$ac_try;;
1978 esac
1979 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1980 $as_echo "$ac_try_echo"; } >&5
1981 (eval "$ac_try") 2>&5
1982 ac_status=$?
1983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1984 test $ac_status = 0; }; }; then :
1985 ac_retval=0
1986 else
1987 $as_echo "$as_me: program exited with status $ac_status" >&5
1988 $as_echo "$as_me: failed program was:" >&5
1989 sed 's/^/| /' conftest.$ac_ext >&5
1991 ac_retval=$ac_status
1993 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1994 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1995 as_fn_set_status $ac_retval
1997 } # ac_fn_c_try_run
1999 # ac_fn_c_check_func LINENO FUNC VAR
2000 # ----------------------------------
2001 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2002 ac_fn_c_check_func ()
2004 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2006 $as_echo_n "checking for $2... " >&6; }
2007 if eval \${$3+:} false; then :
2008 $as_echo_n "(cached) " >&6
2009 else
2010 if test x$gcc_no_link = xyes; then
2011 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2014 /* end confdefs.h. */
2015 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2017 #define $2 innocuous_$2
2019 /* System header to define __stub macros and hopefully few prototypes,
2020 which can conflict with char $2 (); below.
2021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2022 <limits.h> exists even on freestanding compilers. */
2024 #ifdef __STDC__
2025 # include <limits.h>
2026 #else
2027 # include <assert.h>
2028 #endif
2030 #undef $2
2032 /* Override any GCC internal prototype to avoid an error.
2033 Use char because int might match the return type of a GCC
2034 builtin and then its argument prototype would still apply. */
2035 #ifdef __cplusplus
2036 extern "C"
2037 #endif
2038 char $2 ();
2039 /* The GNU C library defines this for functions which it implements
2040 to always fail with ENOSYS. Some functions are actually named
2041 something starting with __ and the normal name is an alias. */
2042 #if defined __stub_$2 || defined __stub___$2
2043 choke me
2044 #endif
2047 main ()
2049 return $2 ();
2051 return 0;
2053 _ACEOF
2054 if ac_fn_c_try_link "$LINENO"; then :
2055 eval "$3=yes"
2056 else
2057 eval "$3=no"
2059 rm -f core conftest.err conftest.$ac_objext \
2060 conftest$ac_exeext conftest.$ac_ext
2062 eval ac_res=\$$3
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2064 $as_echo "$ac_res" >&6; }
2065 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2067 } # ac_fn_c_check_func
2069 # ac_fn_cxx_try_cpp LINENO
2070 # ------------------------
2071 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2072 ac_fn_cxx_try_cpp ()
2074 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2075 if { { ac_try="$ac_cpp conftest.$ac_ext"
2076 case "(($ac_try" in
2077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2078 *) ac_try_echo=$ac_try;;
2079 esac
2080 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2081 $as_echo "$ac_try_echo"; } >&5
2082 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2083 ac_status=$?
2084 if test -s conftest.err; then
2085 grep -v '^ *+' conftest.err >conftest.er1
2086 cat conftest.er1 >&5
2087 mv -f conftest.er1 conftest.err
2089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2090 test $ac_status = 0; } > conftest.i && {
2091 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2092 test ! -s conftest.err
2093 }; then :
2094 ac_retval=0
2095 else
2096 $as_echo "$as_me: failed program was:" >&5
2097 sed 's/^/| /' conftest.$ac_ext >&5
2099 ac_retval=1
2101 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2102 as_fn_set_status $ac_retval
2104 } # ac_fn_cxx_try_cpp
2106 # ac_fn_cxx_try_link LINENO
2107 # -------------------------
2108 # Try to link conftest.$ac_ext, and return whether this succeeded.
2109 ac_fn_cxx_try_link ()
2111 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2112 rm -f conftest.$ac_objext conftest$ac_exeext
2113 if { { ac_try="$ac_link"
2114 case "(($ac_try" in
2115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2116 *) ac_try_echo=$ac_try;;
2117 esac
2118 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2119 $as_echo "$ac_try_echo"; } >&5
2120 (eval "$ac_link") 2>conftest.err
2121 ac_status=$?
2122 if test -s conftest.err; then
2123 grep -v '^ *+' conftest.err >conftest.er1
2124 cat conftest.er1 >&5
2125 mv -f conftest.er1 conftest.err
2127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2128 test $ac_status = 0; } && {
2129 test -z "$ac_cxx_werror_flag" ||
2130 test ! -s conftest.err
2131 } && test -s conftest$ac_exeext && {
2132 test "$cross_compiling" = yes ||
2133 test -x conftest$ac_exeext
2134 }; then :
2135 ac_retval=0
2136 else
2137 $as_echo "$as_me: failed program was:" >&5
2138 sed 's/^/| /' conftest.$ac_ext >&5
2140 ac_retval=1
2142 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2143 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2144 # interfere with the next link command; also delete a directory that is
2145 # left behind by Apple's compiler. We do this before executing the actions.
2146 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2147 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2148 as_fn_set_status $ac_retval
2150 } # ac_fn_cxx_try_link
2152 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2153 # -------------------------------------------------------
2154 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2155 # the include files in INCLUDES and setting the cache variable VAR
2156 # accordingly.
2157 ac_fn_c_check_header_mongrel ()
2159 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2160 if eval \${$3+:} false; then :
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2162 $as_echo_n "checking for $2... " >&6; }
2163 if eval \${$3+:} false; then :
2164 $as_echo_n "(cached) " >&6
2166 eval ac_res=\$$3
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2168 $as_echo "$ac_res" >&6; }
2169 else
2170 # Is the header compilable?
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2172 $as_echo_n "checking $2 usability... " >&6; }
2173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2174 /* end confdefs.h. */
2176 #include <$2>
2177 _ACEOF
2178 if ac_fn_c_try_compile "$LINENO"; then :
2179 ac_header_compiler=yes
2180 else
2181 ac_header_compiler=no
2183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2185 $as_echo "$ac_header_compiler" >&6; }
2187 # Is the header present?
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2189 $as_echo_n "checking $2 presence... " >&6; }
2190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2191 /* end confdefs.h. */
2192 #include <$2>
2193 _ACEOF
2194 if ac_fn_c_try_cpp "$LINENO"; then :
2195 ac_header_preproc=yes
2196 else
2197 ac_header_preproc=no
2199 rm -f conftest.err conftest.i conftest.$ac_ext
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2201 $as_echo "$ac_header_preproc" >&6; }
2203 # So? What about this header?
2204 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2205 yes:no: )
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2207 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2209 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2211 no:yes:* )
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2213 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2215 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2217 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2219 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2221 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2223 esac
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2225 $as_echo_n "checking for $2... " >&6; }
2226 if eval \${$3+:} false; then :
2227 $as_echo_n "(cached) " >&6
2228 else
2229 eval "$3=\$ac_header_compiler"
2231 eval ac_res=\$$3
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2233 $as_echo "$ac_res" >&6; }
2235 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2237 } # ac_fn_c_check_header_mongrel
2239 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2240 # ---------------------------------------------------------
2241 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2242 # the include files in INCLUDES and setting the cache variable VAR
2243 # accordingly.
2244 ac_fn_cxx_check_header_mongrel ()
2246 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2247 if eval \${$3+:} false; then :
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2249 $as_echo_n "checking for $2... " >&6; }
2250 if eval \${$3+:} false; then :
2251 $as_echo_n "(cached) " >&6
2253 eval ac_res=\$$3
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2255 $as_echo "$ac_res" >&6; }
2256 else
2257 # Is the header compilable?
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2259 $as_echo_n "checking $2 usability... " >&6; }
2260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2261 /* end confdefs.h. */
2263 #include <$2>
2264 _ACEOF
2265 if ac_fn_cxx_try_compile "$LINENO"; then :
2266 ac_header_compiler=yes
2267 else
2268 ac_header_compiler=no
2270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2272 $as_echo "$ac_header_compiler" >&6; }
2274 # Is the header present?
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2276 $as_echo_n "checking $2 presence... " >&6; }
2277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2278 /* end confdefs.h. */
2279 #include <$2>
2280 _ACEOF
2281 if ac_fn_cxx_try_cpp "$LINENO"; then :
2282 ac_header_preproc=yes
2283 else
2284 ac_header_preproc=no
2286 rm -f conftest.err conftest.i conftest.$ac_ext
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2288 $as_echo "$ac_header_preproc" >&6; }
2290 # So? What about this header?
2291 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2292 yes:no: )
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2294 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2296 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2298 no:yes:* )
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2300 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2302 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2304 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2306 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2308 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2310 esac
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2312 $as_echo_n "checking for $2... " >&6; }
2313 if eval \${$3+:} false; then :
2314 $as_echo_n "(cached) " >&6
2315 else
2316 eval "$3=\$ac_header_compiler"
2318 eval ac_res=\$$3
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2320 $as_echo "$ac_res" >&6; }
2322 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2324 } # ac_fn_cxx_check_header_mongrel
2326 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2327 # --------------------------------------------
2328 # Tries to find the compile-time value of EXPR in a program that includes
2329 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2330 # computed
2331 ac_fn_c_compute_int ()
2333 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2334 if test "$cross_compiling" = yes; then
2335 # Depending upon the size, compute the lo and hi bounds.
2336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2337 /* end confdefs.h. */
2340 main ()
2342 static int test_array [1 - 2 * !(($2) >= 0)];
2343 test_array [0] = 0;
2344 return test_array [0];
2347 return 0;
2349 _ACEOF
2350 if ac_fn_c_try_compile "$LINENO"; then :
2351 ac_lo=0 ac_mid=0
2352 while :; do
2353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2354 /* end confdefs.h. */
2357 main ()
2359 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2360 test_array [0] = 0;
2361 return test_array [0];
2364 return 0;
2366 _ACEOF
2367 if ac_fn_c_try_compile "$LINENO"; then :
2368 ac_hi=$ac_mid; break
2369 else
2370 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2371 if test $ac_lo -le $ac_mid; then
2372 ac_lo= ac_hi=
2373 break
2375 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2378 done
2379 else
2380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2381 /* end confdefs.h. */
2384 main ()
2386 static int test_array [1 - 2 * !(($2) < 0)];
2387 test_array [0] = 0;
2388 return test_array [0];
2391 return 0;
2393 _ACEOF
2394 if ac_fn_c_try_compile "$LINENO"; then :
2395 ac_hi=-1 ac_mid=-1
2396 while :; do
2397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2398 /* end confdefs.h. */
2401 main ()
2403 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2404 test_array [0] = 0;
2405 return test_array [0];
2408 return 0;
2410 _ACEOF
2411 if ac_fn_c_try_compile "$LINENO"; then :
2412 ac_lo=$ac_mid; break
2413 else
2414 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2415 if test $ac_mid -le $ac_hi; then
2416 ac_lo= ac_hi=
2417 break
2419 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2422 done
2423 else
2424 ac_lo= ac_hi=
2426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2429 # Binary search between lo and hi bounds.
2430 while test "x$ac_lo" != "x$ac_hi"; do
2431 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2433 /* end confdefs.h. */
2436 main ()
2438 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2439 test_array [0] = 0;
2440 return test_array [0];
2443 return 0;
2445 _ACEOF
2446 if ac_fn_c_try_compile "$LINENO"; then :
2447 ac_hi=$ac_mid
2448 else
2449 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2452 done
2453 case $ac_lo in #((
2454 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2455 '') ac_retval=1 ;;
2456 esac
2457 else
2458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2459 /* end confdefs.h. */
2461 static long int longval () { return $2; }
2462 static unsigned long int ulongval () { return $2; }
2463 #include <stdio.h>
2464 #include <stdlib.h>
2466 main ()
2469 FILE *f = fopen ("conftest.val", "w");
2470 if (! f)
2471 return 1;
2472 if (($2) < 0)
2474 long int i = longval ();
2475 if (i != ($2))
2476 return 1;
2477 fprintf (f, "%ld", i);
2479 else
2481 unsigned long int i = ulongval ();
2482 if (i != ($2))
2483 return 1;
2484 fprintf (f, "%lu", i);
2486 /* Do not output a trailing newline, as this causes \r\n confusion
2487 on some platforms. */
2488 return ferror (f) || fclose (f) != 0;
2491 return 0;
2493 _ACEOF
2494 if ac_fn_c_try_run "$LINENO"; then :
2495 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2496 else
2497 ac_retval=1
2499 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2500 conftest.$ac_objext conftest.beam conftest.$ac_ext
2501 rm -f conftest.val
2504 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2505 as_fn_set_status $ac_retval
2507 } # ac_fn_c_compute_int
2509 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2510 # -------------------------------------------
2511 # Tests whether TYPE exists after having included INCLUDES, setting cache
2512 # variable VAR accordingly.
2513 ac_fn_c_check_type ()
2515 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2517 $as_echo_n "checking for $2... " >&6; }
2518 if eval \${$3+:} false; then :
2519 $as_echo_n "(cached) " >&6
2520 else
2521 eval "$3=no"
2522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2523 /* end confdefs.h. */
2526 main ()
2528 if (sizeof ($2))
2529 return 0;
2531 return 0;
2533 _ACEOF
2534 if ac_fn_c_try_compile "$LINENO"; then :
2535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2536 /* end confdefs.h. */
2539 main ()
2541 if (sizeof (($2)))
2542 return 0;
2544 return 0;
2546 _ACEOF
2547 if ac_fn_c_try_compile "$LINENO"; then :
2549 else
2550 eval "$3=yes"
2552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2556 eval ac_res=\$$3
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2558 $as_echo "$ac_res" >&6; }
2559 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2561 } # ac_fn_c_check_type
2563 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2564 # ---------------------------------------------
2565 # Tests whether TYPE exists after having included INCLUDES, setting cache
2566 # variable VAR accordingly.
2567 ac_fn_cxx_check_type ()
2569 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2571 $as_echo_n "checking for $2... " >&6; }
2572 if eval \${$3+:} false; then :
2573 $as_echo_n "(cached) " >&6
2574 else
2575 eval "$3=no"
2576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2577 /* end confdefs.h. */
2580 main ()
2582 if (sizeof ($2))
2583 return 0;
2585 return 0;
2587 _ACEOF
2588 if ac_fn_cxx_try_compile "$LINENO"; then :
2589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2590 /* end confdefs.h. */
2593 main ()
2595 if (sizeof (($2)))
2596 return 0;
2598 return 0;
2600 _ACEOF
2601 if ac_fn_cxx_try_compile "$LINENO"; then :
2603 else
2604 eval "$3=yes"
2606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2610 eval ac_res=\$$3
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2612 $as_echo "$ac_res" >&6; }
2613 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2615 } # ac_fn_cxx_check_type
2616 cat >config.log <<_ACEOF
2617 This file contains any messages produced by compilers while
2618 running configure, to aid debugging if configure makes a mistake.
2620 It was created by package-unused $as_me version-unused, which was
2621 generated by GNU Autoconf 2.69. Invocation command line was
2623 $ $0 $@
2625 _ACEOF
2626 exec 5>>config.log
2628 cat <<_ASUNAME
2629 ## --------- ##
2630 ## Platform. ##
2631 ## --------- ##
2633 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2634 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2635 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2636 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2637 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2639 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2640 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2642 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2643 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2644 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2645 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2646 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2647 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2648 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2650 _ASUNAME
2652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2653 for as_dir in $PATH
2655 IFS=$as_save_IFS
2656 test -z "$as_dir" && as_dir=.
2657 $as_echo "PATH: $as_dir"
2658 done
2659 IFS=$as_save_IFS
2661 } >&5
2663 cat >&5 <<_ACEOF
2666 ## ----------- ##
2667 ## Core tests. ##
2668 ## ----------- ##
2670 _ACEOF
2673 # Keep a trace of the command line.
2674 # Strip out --no-create and --no-recursion so they do not pile up.
2675 # Strip out --silent because we don't want to record it for future runs.
2676 # Also quote any args containing shell meta-characters.
2677 # Make two passes to allow for proper duplicate-argument suppression.
2678 ac_configure_args=
2679 ac_configure_args0=
2680 ac_configure_args1=
2681 ac_must_keep_next=false
2682 for ac_pass in 1 2
2684 for ac_arg
2686 case $ac_arg in
2687 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2688 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2689 | -silent | --silent | --silen | --sile | --sil)
2690 continue ;;
2691 *\'*)
2692 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2693 esac
2694 case $ac_pass in
2695 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2697 as_fn_append ac_configure_args1 " '$ac_arg'"
2698 if test $ac_must_keep_next = true; then
2699 ac_must_keep_next=false # Got value, back to normal.
2700 else
2701 case $ac_arg in
2702 *=* | --config-cache | -C | -disable-* | --disable-* \
2703 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2704 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2705 | -with-* | --with-* | -without-* | --without-* | --x)
2706 case "$ac_configure_args0 " in
2707 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2708 esac
2710 -* ) ac_must_keep_next=true ;;
2711 esac
2713 as_fn_append ac_configure_args " '$ac_arg'"
2715 esac
2716 done
2717 done
2718 { ac_configure_args0=; unset ac_configure_args0;}
2719 { ac_configure_args1=; unset ac_configure_args1;}
2721 # When interrupted or exit'd, cleanup temporary files, and complete
2722 # config.log. We remove comments because anyway the quotes in there
2723 # would cause problems or look ugly.
2724 # WARNING: Use '\'' to represent an apostrophe within the trap.
2725 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2726 trap 'exit_status=$?
2727 # Save into config.log some information that might help in debugging.
2729 echo
2731 $as_echo "## ---------------- ##
2732 ## Cache variables. ##
2733 ## ---------------- ##"
2734 echo
2735 # The following way of writing the cache mishandles newlines in values,
2737 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2738 eval ac_val=\$$ac_var
2739 case $ac_val in #(
2740 *${as_nl}*)
2741 case $ac_var in #(
2742 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2743 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2744 esac
2745 case $ac_var in #(
2746 _ | IFS | as_nl) ;; #(
2747 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2748 *) { eval $ac_var=; unset $ac_var;} ;;
2749 esac ;;
2750 esac
2751 done
2752 (set) 2>&1 |
2753 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2754 *${as_nl}ac_space=\ *)
2755 sed -n \
2756 "s/'\''/'\''\\\\'\'''\''/g;
2757 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2758 ;; #(
2760 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2762 esac |
2763 sort
2765 echo
2767 $as_echo "## ----------------- ##
2768 ## Output variables. ##
2769 ## ----------------- ##"
2770 echo
2771 for ac_var in $ac_subst_vars
2773 eval ac_val=\$$ac_var
2774 case $ac_val in
2775 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2776 esac
2777 $as_echo "$ac_var='\''$ac_val'\''"
2778 done | sort
2779 echo
2781 if test -n "$ac_subst_files"; then
2782 $as_echo "## ------------------- ##
2783 ## File substitutions. ##
2784 ## ------------------- ##"
2785 echo
2786 for ac_var in $ac_subst_files
2788 eval ac_val=\$$ac_var
2789 case $ac_val in
2790 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2791 esac
2792 $as_echo "$ac_var='\''$ac_val'\''"
2793 done | sort
2794 echo
2797 if test -s confdefs.h; then
2798 $as_echo "## ----------- ##
2799 ## confdefs.h. ##
2800 ## ----------- ##"
2801 echo
2802 cat confdefs.h
2803 echo
2805 test "$ac_signal" != 0 &&
2806 $as_echo "$as_me: caught signal $ac_signal"
2807 $as_echo "$as_me: exit $exit_status"
2808 } >&5
2809 rm -f core *.core core.conftest.* &&
2810 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2811 exit $exit_status
2813 for ac_signal in 1 2 13 15; do
2814 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2815 done
2816 ac_signal=0
2818 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2819 rm -f -r conftest* confdefs.h
2821 $as_echo "/* confdefs.h */" > confdefs.h
2823 # Predefined preprocessor variables.
2825 cat >>confdefs.h <<_ACEOF
2826 #define PACKAGE_NAME "$PACKAGE_NAME"
2827 _ACEOF
2829 cat >>confdefs.h <<_ACEOF
2830 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2831 _ACEOF
2833 cat >>confdefs.h <<_ACEOF
2834 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2835 _ACEOF
2837 cat >>confdefs.h <<_ACEOF
2838 #define PACKAGE_STRING "$PACKAGE_STRING"
2839 _ACEOF
2841 cat >>confdefs.h <<_ACEOF
2842 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2843 _ACEOF
2845 cat >>confdefs.h <<_ACEOF
2846 #define PACKAGE_URL "$PACKAGE_URL"
2847 _ACEOF
2850 # Let the site file select an alternate cache file if it wants to.
2851 # Prefer an explicitly selected file to automatically selected ones.
2852 ac_site_file1=NONE
2853 ac_site_file2=NONE
2854 if test -n "$CONFIG_SITE"; then
2855 # We do not want a PATH search for config.site.
2856 case $CONFIG_SITE in #((
2857 -*) ac_site_file1=./$CONFIG_SITE;;
2858 */*) ac_site_file1=$CONFIG_SITE;;
2859 *) ac_site_file1=./$CONFIG_SITE;;
2860 esac
2861 elif test "x$prefix" != xNONE; then
2862 ac_site_file1=$prefix/share/config.site
2863 ac_site_file2=$prefix/etc/config.site
2864 else
2865 ac_site_file1=$ac_default_prefix/share/config.site
2866 ac_site_file2=$ac_default_prefix/etc/config.site
2868 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2870 test "x$ac_site_file" = xNONE && continue
2871 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2873 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2874 sed 's/^/| /' "$ac_site_file" >&5
2875 . "$ac_site_file" \
2876 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2877 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2878 as_fn_error $? "failed to load site script $ac_site_file
2879 See \`config.log' for more details" "$LINENO" 5; }
2881 done
2883 if test -r "$cache_file"; then
2884 # Some versions of bash will fail to source /dev/null (special files
2885 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2886 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2888 $as_echo "$as_me: loading cache $cache_file" >&6;}
2889 case $cache_file in
2890 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2891 *) . "./$cache_file";;
2892 esac
2894 else
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2896 $as_echo "$as_me: creating cache $cache_file" >&6;}
2897 >$cache_file
2900 # Check that the precious variables saved in the cache have kept the same
2901 # value.
2902 ac_cache_corrupted=false
2903 for ac_var in $ac_precious_vars; do
2904 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2905 eval ac_new_set=\$ac_env_${ac_var}_set
2906 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2907 eval ac_new_val=\$ac_env_${ac_var}_value
2908 case $ac_old_set,$ac_new_set in
2909 set,)
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2911 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2912 ac_cache_corrupted=: ;;
2913 ,set)
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2915 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2916 ac_cache_corrupted=: ;;
2917 ,);;
2919 if test "x$ac_old_val" != "x$ac_new_val"; then
2920 # differences in whitespace do not lead to failure.
2921 ac_old_val_w=`echo x $ac_old_val`
2922 ac_new_val_w=`echo x $ac_new_val`
2923 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2925 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2926 ac_cache_corrupted=:
2927 else
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2929 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2930 eval $ac_var=\$ac_old_val
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2933 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2935 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2936 fi;;
2937 esac
2938 # Pass precious variables to config.status.
2939 if test "$ac_new_set" = set; then
2940 case $ac_new_val in
2941 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2942 *) ac_arg=$ac_var=$ac_new_val ;;
2943 esac
2944 case " $ac_configure_args " in
2945 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2946 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2947 esac
2949 done
2950 if $ac_cache_corrupted; then
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2952 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2954 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2955 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2957 ## -------------------- ##
2958 ## Main body of script. ##
2959 ## -------------------- ##
2961 ac_ext=c
2962 ac_cpp='$CPP $CPPFLAGS'
2963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2972 ac_config_headers="$ac_config_headers config.h"
2975 # This works around the fact that libtool configuration may change LD
2976 # for this particular configuration, but some shells, instead of
2977 # keeping the changes in LD private, export them just because LD is
2978 # exported. Only used at the end of this file.
2979 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2981 # Find the rest of the source tree framework.
2982 # Default to --enable-multilib
2983 # Check whether --enable-multilib was given.
2984 if test "${enable_multilib+set}" = set; then :
2985 enableval=$enable_multilib; case "$enableval" in
2986 yes) multilib=yes ;;
2987 no) multilib=no ;;
2988 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2989 esac
2990 else
2991 multilib=yes
2995 # We may get other options which we leave undocumented:
2996 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2997 # See config-ml.in if you want the gory details.
2999 if test "$srcdir" = "."; then
3000 if test "$with_target_subdir" != "."; then
3001 multi_basedir="$srcdir/$with_multisrctop../.."
3002 else
3003 multi_basedir="$srcdir/$with_multisrctop.."
3005 else
3006 multi_basedir="$srcdir/.."
3010 # Even if the default multilib is not a cross compilation,
3011 # it may be that some of the other multilibs are.
3012 if test $cross_compiling = no && test $multilib = yes \
3013 && test "x${with_multisubdir}" != x ; then
3014 cross_compiling=maybe
3017 ac_config_commands="$ac_config_commands default-1"
3020 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3022 # You will slowly go insane if you do not grok the following fact: when
3023 # building v3 as part of the compiler, the top-level /target/ becomes the
3024 # library's /host/. configure then causes --target to default to --host,
3025 # exactly like any other package using autoconf. Therefore, 'target' and
3026 # 'host' will always be the same. This makes sense both for native and
3027 # cross compilers, just think about it for a little while. :-)
3029 # Also, if v3 is being configured as part of a cross compiler, the top-level
3030 # configure script will pass the "real" host as $with_cross_host.
3032 # Do not delete or change the following two lines. For why, see
3033 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3034 ac_aux_dir=
3035 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3036 if 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/install.sh"; then
3041 ac_aux_dir=$ac_dir
3042 ac_install_sh="$ac_aux_dir/install.sh -c"
3043 break
3044 elif test -f "$ac_dir/shtool"; then
3045 ac_aux_dir=$ac_dir
3046 ac_install_sh="$ac_aux_dir/shtool install -c"
3047 break
3049 done
3050 if test -z "$ac_aux_dir"; then
3051 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3054 # These three variables are undocumented and unsupported,
3055 # and are intended to be withdrawn in a future Autoconf release.
3056 # They can cause serious problems if a builder's source tree is in a directory
3057 # whose full name contains unusual characters.
3058 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3059 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3060 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3063 # Make sure we can run config.sub.
3064 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3065 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3068 $as_echo_n "checking build system type... " >&6; }
3069 if ${ac_cv_build+:} false; then :
3070 $as_echo_n "(cached) " >&6
3071 else
3072 ac_build_alias=$build_alias
3073 test "x$ac_build_alias" = x &&
3074 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3075 test "x$ac_build_alias" = x &&
3076 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3077 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3078 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3082 $as_echo "$ac_cv_build" >&6; }
3083 case $ac_cv_build in
3084 *-*-*) ;;
3085 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3086 esac
3087 build=$ac_cv_build
3088 ac_save_IFS=$IFS; IFS='-'
3089 set x $ac_cv_build
3090 shift
3091 build_cpu=$1
3092 build_vendor=$2
3093 shift; shift
3094 # Remember, the first character of IFS is used to create $*,
3095 # except with old shells:
3096 build_os=$*
3097 IFS=$ac_save_IFS
3098 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3102 $as_echo_n "checking host system type... " >&6; }
3103 if ${ac_cv_host+:} false; then :
3104 $as_echo_n "(cached) " >&6
3105 else
3106 if test "x$host_alias" = x; then
3107 ac_cv_host=$ac_cv_build
3108 else
3109 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3110 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3115 $as_echo "$ac_cv_host" >&6; }
3116 case $ac_cv_host in
3117 *-*-*) ;;
3118 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3119 esac
3120 host=$ac_cv_host
3121 ac_save_IFS=$IFS; IFS='-'
3122 set x $ac_cv_host
3123 shift
3124 host_cpu=$1
3125 host_vendor=$2
3126 shift; shift
3127 # Remember, the first character of IFS is used to create $*,
3128 # except with old shells:
3129 host_os=$*
3130 IFS=$ac_save_IFS
3131 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3135 $as_echo_n "checking target system type... " >&6; }
3136 if ${ac_cv_target+:} false; then :
3137 $as_echo_n "(cached) " >&6
3138 else
3139 if test "x$target_alias" = x; then
3140 ac_cv_target=$ac_cv_host
3141 else
3142 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3143 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3148 $as_echo "$ac_cv_target" >&6; }
3149 case $ac_cv_target in
3150 *-*-*) ;;
3151 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3152 esac
3153 target=$ac_cv_target
3154 ac_save_IFS=$IFS; IFS='-'
3155 set x $ac_cv_target
3156 shift
3157 target_cpu=$1
3158 target_vendor=$2
3159 shift; shift
3160 # Remember, the first character of IFS is used to create $*,
3161 # except with old shells:
3162 target_os=$*
3163 IFS=$ac_save_IFS
3164 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3167 # The aliases save the names the user supplied, while $host etc.
3168 # will get canonicalized.
3169 test -n "$target_alias" &&
3170 test "$program_prefix$program_suffix$program_transform_name" = \
3171 NONENONEs,x,x, &&
3172 program_prefix=${target_alias}-
3174 target_alias=${target_alias-$host_alias}
3176 # Handy for debugging:
3177 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3179 if test "$build" != "$host"; then
3180 # We are being configured with some form of cross compiler.
3181 GLIBCXX_IS_NATIVE=false
3182 case "$host","$target" in
3183 # Darwin crosses can use the host system's libraries and headers,
3184 # because of the fat library support. Of course, it must be the
3185 # same version of Darwin on both sides. Allow the user to
3186 # just say --target=foo-darwin without a version number to mean
3187 # "the version on this system".
3188 *-*-darwin*,*-*-darwin*)
3189 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3190 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3191 if test $hostos = $targetos -o $targetos = darwin ; then
3192 GLIBCXX_IS_NATIVE=true
3199 esac
3200 else
3201 GLIBCXX_IS_NATIVE=true
3204 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3205 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3206 # 1.x: minimum required version
3207 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3208 # of other PACKAGE_* variables will, however, and there's nothing
3209 # we can do about that; they come from AC_INIT).
3210 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3211 # file in the top srcdir, etc, etc), so stop complaining.
3212 # no-dependencies: turns off auto dependency generation (just for now)
3213 # no-dist: we don't want 'dist' and related rules.
3214 # -Wall: turns on all automake warnings...
3215 # -Wno-portability: ...except this one, since GNU make is now required.
3216 am__api_version='1.15'
3218 # Find a good install program. We prefer a C program (faster),
3219 # so one script is as good as another. But avoid the broken or
3220 # incompatible versions:
3221 # SysV /etc/install, /usr/sbin/install
3222 # SunOS /usr/etc/install
3223 # IRIX /sbin/install
3224 # AIX /bin/install
3225 # AmigaOS /C/install, which installs bootblocks on floppy discs
3226 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3227 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3228 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3229 # OS/2's system install, which has a completely different semantic
3230 # ./install, which can be erroneously created by make from ./install.sh.
3231 # Reject install programs that cannot install multiple files.
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3233 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3234 if test -z "$INSTALL"; then
3235 if ${ac_cv_path_install+:} false; then :
3236 $as_echo_n "(cached) " >&6
3237 else
3238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3239 for as_dir in $PATH
3241 IFS=$as_save_IFS
3242 test -z "$as_dir" && as_dir=.
3243 # Account for people who put trailing slashes in PATH elements.
3244 case $as_dir/ in #((
3245 ./ | .// | /[cC]/* | \
3246 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3247 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3248 /usr/ucb/* ) ;;
3250 # OSF1 and SCO ODT 3.0 have their own names for install.
3251 # Don't use installbsd from OSF since it installs stuff as root
3252 # by default.
3253 for ac_prog in ginstall scoinst install; do
3254 for ac_exec_ext in '' $ac_executable_extensions; do
3255 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3256 if test $ac_prog = install &&
3257 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3258 # AIX install. It has an incompatible calling convention.
3260 elif test $ac_prog = install &&
3261 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3262 # program-specific install script used by HP pwplus--don't use.
3264 else
3265 rm -rf conftest.one conftest.two conftest.dir
3266 echo one > conftest.one
3267 echo two > conftest.two
3268 mkdir conftest.dir
3269 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3270 test -s conftest.one && test -s conftest.two &&
3271 test -s conftest.dir/conftest.one &&
3272 test -s conftest.dir/conftest.two
3273 then
3274 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3275 break 3
3279 done
3280 done
3282 esac
3284 done
3285 IFS=$as_save_IFS
3287 rm -rf conftest.one conftest.two conftest.dir
3290 if test "${ac_cv_path_install+set}" = set; then
3291 INSTALL=$ac_cv_path_install
3292 else
3293 # As a last resort, use the slow shell script. Don't cache a
3294 # value for INSTALL within a source directory, because that will
3295 # break other packages using the cache if that directory is
3296 # removed, or if the value is a relative name.
3297 INSTALL=$ac_install_sh
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3301 $as_echo "$INSTALL" >&6; }
3303 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3304 # It thinks the first close brace ends the variable substitution.
3305 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3307 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3309 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3312 $as_echo_n "checking whether build environment is sane... " >&6; }
3313 # Reject unsafe characters in $srcdir or the absolute working directory
3314 # name. Accept space and tab only in the latter.
3315 am_lf='
3317 case `pwd` in
3318 *[\\\"\#\$\&\'\`$am_lf]*)
3319 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3320 esac
3321 case $srcdir in
3322 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3323 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3324 esac
3326 # Do 'set' in a subshell so we don't clobber the current shell's
3327 # arguments. Must try -L first in case configure is actually a
3328 # symlink; some systems play weird games with the mod time of symlinks
3329 # (eg FreeBSD returns the mod time of the symlink's containing
3330 # directory).
3331 if (
3332 am_has_slept=no
3333 for am_try in 1 2; do
3334 echo "timestamp, slept: $am_has_slept" > conftest.file
3335 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3336 if test "$*" = "X"; then
3337 # -L didn't work.
3338 set X `ls -t "$srcdir/configure" conftest.file`
3340 if test "$*" != "X $srcdir/configure conftest.file" \
3341 && test "$*" != "X conftest.file $srcdir/configure"; then
3343 # If neither matched, then we have a broken ls. This can happen
3344 # if, for instance, CONFIG_SHELL is bash and it inherits a
3345 # broken ls alias from the environment. This has actually
3346 # happened. Such a system could not be considered "sane".
3347 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3348 alias in your environment" "$LINENO" 5
3350 if test "$2" = conftest.file || test $am_try -eq 2; then
3351 break
3353 # Just in case.
3354 sleep 1
3355 am_has_slept=yes
3356 done
3357 test "$2" = conftest.file
3359 then
3360 # Ok.
3362 else
3363 as_fn_error $? "newly created file is older than distributed files!
3364 Check your system clock" "$LINENO" 5
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3367 $as_echo "yes" >&6; }
3368 # If we didn't sleep, we still need to ensure time stamps of config.status and
3369 # generated files are strictly newer.
3370 am_sleep_pid=
3371 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3372 ( sleep 1 ) &
3373 am_sleep_pid=$!
3376 rm -f conftest.file
3378 test "$program_prefix" != NONE &&
3379 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3380 # Use a double $ so make ignores it.
3381 test "$program_suffix" != NONE &&
3382 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3383 # Double any \ or $.
3384 # By default was `s,x,x', remove it if useless.
3385 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3386 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3388 # Expand $ac_aux_dir to an absolute path.
3389 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3391 if test x"${MISSING+set}" != xset; then
3392 case $am_aux_dir in
3393 *\ * | *\ *)
3394 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3396 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3397 esac
3399 # Use eval to expand $SHELL
3400 if eval "$MISSING --is-lightweight"; then
3401 am_missing_run="$MISSING "
3402 else
3403 am_missing_run=
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3405 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3408 if test x"${install_sh+set}" != xset; then
3409 case $am_aux_dir in
3410 *\ * | *\ *)
3411 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3413 install_sh="\${SHELL} $am_aux_dir/install-sh"
3414 esac
3417 # Installed binaries are usually stripped using 'strip' when the user
3418 # run "make install-strip". However 'strip' might not be the right
3419 # tool to use in cross-compilation environments, therefore Automake
3420 # will honor the 'STRIP' environment variable to overrule this program.
3421 if test "$cross_compiling" != no; then
3422 if test -n "$ac_tool_prefix"; then
3423 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3424 set dummy ${ac_tool_prefix}strip; ac_word=$2
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3426 $as_echo_n "checking for $ac_word... " >&6; }
3427 if ${ac_cv_prog_STRIP+:} false; then :
3428 $as_echo_n "(cached) " >&6
3429 else
3430 if test -n "$STRIP"; then
3431 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3432 else
3433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3434 for as_dir in $PATH
3436 IFS=$as_save_IFS
3437 test -z "$as_dir" && as_dir=.
3438 for ac_exec_ext in '' $ac_executable_extensions; do
3439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3440 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3442 break 2
3444 done
3445 done
3446 IFS=$as_save_IFS
3450 STRIP=$ac_cv_prog_STRIP
3451 if test -n "$STRIP"; then
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3453 $as_echo "$STRIP" >&6; }
3454 else
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3456 $as_echo "no" >&6; }
3461 if test -z "$ac_cv_prog_STRIP"; then
3462 ac_ct_STRIP=$STRIP
3463 # Extract the first word of "strip", so it can be a program name with args.
3464 set dummy strip; ac_word=$2
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3466 $as_echo_n "checking for $ac_word... " >&6; }
3467 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3468 $as_echo_n "(cached) " >&6
3469 else
3470 if test -n "$ac_ct_STRIP"; then
3471 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3472 else
3473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3474 for as_dir in $PATH
3476 IFS=$as_save_IFS
3477 test -z "$as_dir" && as_dir=.
3478 for ac_exec_ext in '' $ac_executable_extensions; do
3479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3480 ac_cv_prog_ac_ct_STRIP="strip"
3481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3482 break 2
3484 done
3485 done
3486 IFS=$as_save_IFS
3490 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3491 if test -n "$ac_ct_STRIP"; then
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3493 $as_echo "$ac_ct_STRIP" >&6; }
3494 else
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3496 $as_echo "no" >&6; }
3499 if test "x$ac_ct_STRIP" = x; then
3500 STRIP=":"
3501 else
3502 case $cross_compiling:$ac_tool_warned in
3503 yes:)
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3506 ac_tool_warned=yes ;;
3507 esac
3508 STRIP=$ac_ct_STRIP
3510 else
3511 STRIP="$ac_cv_prog_STRIP"
3515 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3518 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3519 if test -z "$MKDIR_P"; then
3520 if ${ac_cv_path_mkdir+:} false; then :
3521 $as_echo_n "(cached) " >&6
3522 else
3523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3524 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3526 IFS=$as_save_IFS
3527 test -z "$as_dir" && as_dir=.
3528 for ac_prog in mkdir gmkdir; do
3529 for ac_exec_ext in '' $ac_executable_extensions; do
3530 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3531 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3532 'mkdir (GNU coreutils) '* | \
3533 'mkdir (coreutils) '* | \
3534 'mkdir (fileutils) '4.1*)
3535 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3536 break 3;;
3537 esac
3538 done
3539 done
3540 done
3541 IFS=$as_save_IFS
3545 test -d ./--version && rmdir ./--version
3546 if test "${ac_cv_path_mkdir+set}" = set; then
3547 MKDIR_P="$ac_cv_path_mkdir -p"
3548 else
3549 # As a last resort, use the slow shell script. Don't cache a
3550 # value for MKDIR_P within a source directory, because that will
3551 # break other packages using the cache if that directory is
3552 # removed, or if the value is a relative name.
3553 MKDIR_P="$ac_install_sh -d"
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3557 $as_echo "$MKDIR_P" >&6; }
3559 for ac_prog in gawk mawk nawk awk
3561 # Extract the first word of "$ac_prog", so it can be a program name with args.
3562 set dummy $ac_prog; ac_word=$2
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3564 $as_echo_n "checking for $ac_word... " >&6; }
3565 if ${ac_cv_prog_AWK+:} false; then :
3566 $as_echo_n "(cached) " >&6
3567 else
3568 if test -n "$AWK"; then
3569 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3570 else
3571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3572 for as_dir in $PATH
3574 IFS=$as_save_IFS
3575 test -z "$as_dir" && as_dir=.
3576 for ac_exec_ext in '' $ac_executable_extensions; do
3577 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3578 ac_cv_prog_AWK="$ac_prog"
3579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3580 break 2
3582 done
3583 done
3584 IFS=$as_save_IFS
3588 AWK=$ac_cv_prog_AWK
3589 if test -n "$AWK"; then
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3591 $as_echo "$AWK" >&6; }
3592 else
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3594 $as_echo "no" >&6; }
3598 test -n "$AWK" && break
3599 done
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3602 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3603 set x ${MAKE-make}
3604 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3605 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3606 $as_echo_n "(cached) " >&6
3607 else
3608 cat >conftest.make <<\_ACEOF
3609 SHELL = /bin/sh
3610 all:
3611 @echo '@@@%%%=$(MAKE)=@@@%%%'
3612 _ACEOF
3613 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3614 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3615 *@@@%%%=?*=@@@%%%*)
3616 eval ac_cv_prog_make_${ac_make}_set=yes;;
3618 eval ac_cv_prog_make_${ac_make}_set=no;;
3619 esac
3620 rm -f conftest.make
3622 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3624 $as_echo "yes" >&6; }
3625 SET_MAKE=
3626 else
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3628 $as_echo "no" >&6; }
3629 SET_MAKE="MAKE=${MAKE-make}"
3632 rm -rf .tst 2>/dev/null
3633 mkdir .tst 2>/dev/null
3634 if test -d .tst; then
3635 am__leading_dot=.
3636 else
3637 am__leading_dot=_
3639 rmdir .tst 2>/dev/null
3641 # Check whether --enable-silent-rules was given.
3642 if test "${enable_silent_rules+set}" = set; then :
3643 enableval=$enable_silent_rules;
3646 case $enable_silent_rules in # (((
3647 yes) AM_DEFAULT_VERBOSITY=0;;
3648 no) AM_DEFAULT_VERBOSITY=1;;
3649 *) AM_DEFAULT_VERBOSITY=1;;
3650 esac
3651 am_make=${MAKE-make}
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3653 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3654 if ${am_cv_make_support_nested_variables+:} false; then :
3655 $as_echo_n "(cached) " >&6
3656 else
3657 if $as_echo 'TRUE=$(BAR$(V))
3658 BAR0=false
3659 BAR1=true
3661 am__doit:
3662 @$(TRUE)
3663 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3664 am_cv_make_support_nested_variables=yes
3665 else
3666 am_cv_make_support_nested_variables=no
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3670 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3671 if test $am_cv_make_support_nested_variables = yes; then
3672 AM_V='$(V)'
3673 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3674 else
3675 AM_V=$AM_DEFAULT_VERBOSITY
3676 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3678 AM_BACKSLASH='\'
3680 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3681 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3682 # is not polluted with repeated "-I."
3683 am__isrc=' -I$(srcdir)'
3684 # test to see if srcdir already configured
3685 if test -f $srcdir/config.status; then
3686 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3690 # test whether we have cygpath
3691 if test -z "$CYGPATH_W"; then
3692 if (cygpath --version) >/dev/null 2>/dev/null; then
3693 CYGPATH_W='cygpath -w'
3694 else
3695 CYGPATH_W=echo
3700 # Define the identity of the package.
3701 PACKAGE='libstdc++'
3702 VERSION='version-unused'
3705 # Some tools Automake needs.
3707 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3710 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3713 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3716 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3719 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3721 # For better backward compatibility. To be removed once Automake 1.9.x
3722 # dies out for good. For more background, see:
3723 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3724 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3725 mkdir_p='$(MKDIR_P)'
3727 # We need awk for the "check" target (and possibly the TAP driver). The
3728 # system "awk" is bad on some platforms.
3729 # Always define AMTAR for backward compatibility. Yes, it's still used
3730 # in the wild :-( We should find a proper way to deprecate it ...
3731 AMTAR='$${TAR-tar}'
3734 # We'll loop over all known methods to create a tar archive until one works.
3735 _am_tools='gnutar pax cpio none'
3737 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3744 # POSIX will say in a future version that running "rm -f" with no argument
3745 # is OK; and we want to be able to make that assumption in our Makefile
3746 # recipes. So use an aggressive probe to check that the usage we want is
3747 # actually supported "in the wild" to an acceptable degree.
3748 # See automake bug#10828.
3749 # To make any issue more visible, cause the running configure to be aborted
3750 # by default if the 'rm' program in use doesn't match our expectations; the
3751 # user can still override this though.
3752 if rm -f && rm -fr && rm -rf; then : OK; else
3753 cat >&2 <<'END'
3754 Oops!
3756 Your 'rm' program seems unable to run without file operands specified
3757 on the command line, even when the '-f' option is present. This is contrary
3758 to the behaviour of most rm programs out there, and not conforming with
3759 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3761 Please tell bug-automake@gnu.org about your system, including the value
3762 of your $PATH and any error possibly output before this message. This
3763 can help us improve future automake versions.
3766 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3767 echo 'Configuration will proceed anyway, since you have set the' >&2
3768 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3769 echo >&2
3770 else
3771 cat >&2 <<'END'
3772 Aborting the configuration process, to ensure you take notice of the issue.
3774 You can download and install GNU coreutils to get an 'rm' implementation
3775 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3777 If you want to complete the configuration process using your problematic
3778 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3779 to "yes", and re-run configure.
3782 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3789 # -fno-builtin must be present here so that a non-conflicting form of
3790 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3792 save_CXXFLAGS="$CXXFLAGS"
3793 CXXFLAGS="$CXXFLAGS -fno-builtin"
3794 ac_ext=c
3795 ac_cpp='$CPP $CPPFLAGS'
3796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3799 if test -n "$ac_tool_prefix"; then
3800 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3801 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3803 $as_echo_n "checking for $ac_word... " >&6; }
3804 if ${ac_cv_prog_CC+:} false; then :
3805 $as_echo_n "(cached) " >&6
3806 else
3807 if test -n "$CC"; then
3808 ac_cv_prog_CC="$CC" # Let the user override the test.
3809 else
3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3811 for as_dir in $PATH
3813 IFS=$as_save_IFS
3814 test -z "$as_dir" && as_dir=.
3815 for ac_exec_ext in '' $ac_executable_extensions; do
3816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3817 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3819 break 2
3821 done
3822 done
3823 IFS=$as_save_IFS
3827 CC=$ac_cv_prog_CC
3828 if test -n "$CC"; then
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3830 $as_echo "$CC" >&6; }
3831 else
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3833 $as_echo "no" >&6; }
3838 if test -z "$ac_cv_prog_CC"; then
3839 ac_ct_CC=$CC
3840 # Extract the first word of "gcc", so it can be a program name with args.
3841 set dummy gcc; ac_word=$2
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3843 $as_echo_n "checking for $ac_word... " >&6; }
3844 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3845 $as_echo_n "(cached) " >&6
3846 else
3847 if test -n "$ac_ct_CC"; then
3848 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3849 else
3850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3851 for as_dir in $PATH
3853 IFS=$as_save_IFS
3854 test -z "$as_dir" && as_dir=.
3855 for ac_exec_ext in '' $ac_executable_extensions; do
3856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3857 ac_cv_prog_ac_ct_CC="gcc"
3858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3859 break 2
3861 done
3862 done
3863 IFS=$as_save_IFS
3867 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3868 if test -n "$ac_ct_CC"; then
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3870 $as_echo "$ac_ct_CC" >&6; }
3871 else
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3873 $as_echo "no" >&6; }
3876 if test "x$ac_ct_CC" = x; then
3877 CC=""
3878 else
3879 case $cross_compiling:$ac_tool_warned in
3880 yes:)
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3882 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3883 ac_tool_warned=yes ;;
3884 esac
3885 CC=$ac_ct_CC
3887 else
3888 CC="$ac_cv_prog_CC"
3891 if test -z "$CC"; then
3892 if test -n "$ac_tool_prefix"; then
3893 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3894 set dummy ${ac_tool_prefix}cc; ac_word=$2
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3896 $as_echo_n "checking for $ac_word... " >&6; }
3897 if ${ac_cv_prog_CC+:} false; then :
3898 $as_echo_n "(cached) " >&6
3899 else
3900 if test -n "$CC"; then
3901 ac_cv_prog_CC="$CC" # Let the user override the test.
3902 else
3903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3904 for as_dir in $PATH
3906 IFS=$as_save_IFS
3907 test -z "$as_dir" && as_dir=.
3908 for ac_exec_ext in '' $ac_executable_extensions; do
3909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3910 ac_cv_prog_CC="${ac_tool_prefix}cc"
3911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3912 break 2
3914 done
3915 done
3916 IFS=$as_save_IFS
3920 CC=$ac_cv_prog_CC
3921 if test -n "$CC"; then
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3923 $as_echo "$CC" >&6; }
3924 else
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3926 $as_echo "no" >&6; }
3932 if test -z "$CC"; then
3933 # Extract the first word of "cc", so it can be a program name with args.
3934 set dummy cc; ac_word=$2
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3936 $as_echo_n "checking for $ac_word... " >&6; }
3937 if ${ac_cv_prog_CC+:} false; then :
3938 $as_echo_n "(cached) " >&6
3939 else
3940 if test -n "$CC"; then
3941 ac_cv_prog_CC="$CC" # Let the user override the test.
3942 else
3943 ac_prog_rejected=no
3944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3945 for as_dir in $PATH
3947 IFS=$as_save_IFS
3948 test -z "$as_dir" && as_dir=.
3949 for ac_exec_ext in '' $ac_executable_extensions; do
3950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3951 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3952 ac_prog_rejected=yes
3953 continue
3955 ac_cv_prog_CC="cc"
3956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3957 break 2
3959 done
3960 done
3961 IFS=$as_save_IFS
3963 if test $ac_prog_rejected = yes; then
3964 # We found a bogon in the path, so make sure we never use it.
3965 set dummy $ac_cv_prog_CC
3966 shift
3967 if test $# != 0; then
3968 # We chose a different compiler from the bogus one.
3969 # However, it has the same basename, so the bogon will be chosen
3970 # first if we set CC to just the basename; use the full file name.
3971 shift
3972 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3977 CC=$ac_cv_prog_CC
3978 if test -n "$CC"; then
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3980 $as_echo "$CC" >&6; }
3981 else
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3983 $as_echo "no" >&6; }
3988 if test -z "$CC"; then
3989 if test -n "$ac_tool_prefix"; then
3990 for ac_prog in cl.exe
3992 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3993 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3995 $as_echo_n "checking for $ac_word... " >&6; }
3996 if ${ac_cv_prog_CC+:} false; then :
3997 $as_echo_n "(cached) " >&6
3998 else
3999 if test -n "$CC"; then
4000 ac_cv_prog_CC="$CC" # Let the user override the test.
4001 else
4002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4003 for as_dir in $PATH
4005 IFS=$as_save_IFS
4006 test -z "$as_dir" && as_dir=.
4007 for ac_exec_ext in '' $ac_executable_extensions; do
4008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4009 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4011 break 2
4013 done
4014 done
4015 IFS=$as_save_IFS
4019 CC=$ac_cv_prog_CC
4020 if test -n "$CC"; then
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4022 $as_echo "$CC" >&6; }
4023 else
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4025 $as_echo "no" >&6; }
4029 test -n "$CC" && break
4030 done
4032 if test -z "$CC"; then
4033 ac_ct_CC=$CC
4034 for ac_prog in cl.exe
4036 # Extract the first word of "$ac_prog", so it can be a program name with args.
4037 set dummy $ac_prog; ac_word=$2
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4039 $as_echo_n "checking for $ac_word... " >&6; }
4040 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4041 $as_echo_n "(cached) " >&6
4042 else
4043 if test -n "$ac_ct_CC"; then
4044 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4045 else
4046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4047 for as_dir in $PATH
4049 IFS=$as_save_IFS
4050 test -z "$as_dir" && as_dir=.
4051 for ac_exec_ext in '' $ac_executable_extensions; do
4052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4053 ac_cv_prog_ac_ct_CC="$ac_prog"
4054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4055 break 2
4057 done
4058 done
4059 IFS=$as_save_IFS
4063 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4064 if test -n "$ac_ct_CC"; then
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4066 $as_echo "$ac_ct_CC" >&6; }
4067 else
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4069 $as_echo "no" >&6; }
4073 test -n "$ac_ct_CC" && break
4074 done
4076 if test "x$ac_ct_CC" = x; then
4077 CC=""
4078 else
4079 case $cross_compiling:$ac_tool_warned in
4080 yes:)
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4083 ac_tool_warned=yes ;;
4084 esac
4085 CC=$ac_ct_CC
4092 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4093 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4094 as_fn_error $? "no acceptable C compiler found in \$PATH
4095 See \`config.log' for more details" "$LINENO" 5; }
4097 # Provide some information about the compiler.
4098 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4099 set X $ac_compile
4100 ac_compiler=$2
4101 for ac_option in --version -v -V -qversion; do
4102 { { ac_try="$ac_compiler $ac_option >&5"
4103 case "(($ac_try" in
4104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4105 *) ac_try_echo=$ac_try;;
4106 esac
4107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4108 $as_echo "$ac_try_echo"; } >&5
4109 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4110 ac_status=$?
4111 if test -s conftest.err; then
4112 sed '10a\
4113 ... rest of stderr output deleted ...
4114 10q' conftest.err >conftest.er1
4115 cat conftest.er1 >&5
4117 rm -f conftest.er1 conftest.err
4118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4119 test $ac_status = 0; }
4120 done
4122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4123 /* end confdefs.h. */
4126 main ()
4130 return 0;
4132 _ACEOF
4133 # FIXME: Cleanup?
4134 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4135 (eval $ac_link) 2>&5
4136 ac_status=$?
4137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4138 test $ac_status = 0; }; then :
4139 gcc_no_link=no
4140 else
4141 gcc_no_link=yes
4143 if test x$gcc_no_link = xyes; then
4144 # Setting cross_compile will disable run tests; it will
4145 # also disable AC_CHECK_FILE but that's generally
4146 # correct if we can't link.
4147 cross_compiling=yes
4148 EXEEXT=
4149 else
4150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4151 /* end confdefs.h. */
4154 main ()
4158 return 0;
4160 _ACEOF
4161 ac_clean_files_save=$ac_clean_files
4162 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4163 # Try to create an executable without -o first, disregard a.out.
4164 # It will help us diagnose broken compilers, and finding out an intuition
4165 # of exeext.
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4167 $as_echo_n "checking whether the C compiler works... " >&6; }
4168 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4170 # The possible output files:
4171 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4173 ac_rmfiles=
4174 for ac_file in $ac_files
4176 case $ac_file in
4177 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4178 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4179 esac
4180 done
4181 rm -f $ac_rmfiles
4183 if { { ac_try="$ac_link_default"
4184 case "(($ac_try" in
4185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4186 *) ac_try_echo=$ac_try;;
4187 esac
4188 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4189 $as_echo "$ac_try_echo"; } >&5
4190 (eval "$ac_link_default") 2>&5
4191 ac_status=$?
4192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4193 test $ac_status = 0; }; then :
4194 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4195 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4196 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4197 # so that the user can short-circuit this test for compilers unknown to
4198 # Autoconf.
4199 for ac_file in $ac_files ''
4201 test -f "$ac_file" || continue
4202 case $ac_file in
4203 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4205 [ab].out )
4206 # We found the default executable, but exeext='' is most
4207 # certainly right.
4208 break;;
4209 *.* )
4210 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4211 then :; else
4212 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4214 # We set ac_cv_exeext here because the later test for it is not
4215 # safe: cross compilers may not add the suffix if given an `-o'
4216 # argument, so we may need to know it at that point already.
4217 # Even if this section looks crufty: it has the advantage of
4218 # actually working.
4219 break;;
4221 break;;
4222 esac
4223 done
4224 test "$ac_cv_exeext" = no && ac_cv_exeext=
4226 else
4227 ac_file=''
4229 if test -z "$ac_file"; then :
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4231 $as_echo "no" >&6; }
4232 $as_echo "$as_me: failed program was:" >&5
4233 sed 's/^/| /' conftest.$ac_ext >&5
4235 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4236 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4237 as_fn_error 77 "C compiler cannot create executables
4238 See \`config.log' for more details" "$LINENO" 5; }
4239 else
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4241 $as_echo "yes" >&6; }
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4244 $as_echo_n "checking for C compiler default output file name... " >&6; }
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4246 $as_echo "$ac_file" >&6; }
4247 ac_exeext=$ac_cv_exeext
4249 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4250 ac_clean_files=$ac_clean_files_save
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4252 $as_echo_n "checking for suffix of executables... " >&6; }
4253 if { { ac_try="$ac_link"
4254 case "(($ac_try" in
4255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4256 *) ac_try_echo=$ac_try;;
4257 esac
4258 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4259 $as_echo "$ac_try_echo"; } >&5
4260 (eval "$ac_link") 2>&5
4261 ac_status=$?
4262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4263 test $ac_status = 0; }; then :
4264 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4265 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4266 # work properly (i.e., refer to `conftest.exe'), while it won't with
4267 # `rm'.
4268 for ac_file in conftest.exe conftest conftest.*; do
4269 test -f "$ac_file" || continue
4270 case $ac_file in
4271 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4272 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4273 break;;
4274 * ) break;;
4275 esac
4276 done
4277 else
4278 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4280 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4281 See \`config.log' for more details" "$LINENO" 5; }
4283 rm -f conftest conftest$ac_cv_exeext
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4285 $as_echo "$ac_cv_exeext" >&6; }
4287 rm -f conftest.$ac_ext
4288 EXEEXT=$ac_cv_exeext
4289 ac_exeext=$EXEEXT
4290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4291 /* end confdefs.h. */
4292 #include <stdio.h>
4294 main ()
4296 FILE *f = fopen ("conftest.out", "w");
4297 return ferror (f) || fclose (f) != 0;
4300 return 0;
4302 _ACEOF
4303 ac_clean_files="$ac_clean_files conftest.out"
4304 # Check that the compiler produces executables we can run. If not, either
4305 # the compiler is broken, or we cross compile.
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4307 $as_echo_n "checking whether we are cross compiling... " >&6; }
4308 if test "$cross_compiling" != yes; then
4309 { { ac_try="$ac_link"
4310 case "(($ac_try" in
4311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4312 *) ac_try_echo=$ac_try;;
4313 esac
4314 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4315 $as_echo "$ac_try_echo"; } >&5
4316 (eval "$ac_link") 2>&5
4317 ac_status=$?
4318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4319 test $ac_status = 0; }
4320 if { ac_try='./conftest$ac_cv_exeext'
4321 { { case "(($ac_try" in
4322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4323 *) ac_try_echo=$ac_try;;
4324 esac
4325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4326 $as_echo "$ac_try_echo"; } >&5
4327 (eval "$ac_try") 2>&5
4328 ac_status=$?
4329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4330 test $ac_status = 0; }; }; then
4331 cross_compiling=no
4332 else
4333 if test "$cross_compiling" = maybe; then
4334 cross_compiling=yes
4335 else
4336 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4338 as_fn_error $? "cannot run C compiled programs.
4339 If you meant to cross compile, use \`--host'.
4340 See \`config.log' for more details" "$LINENO" 5; }
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4345 $as_echo "$cross_compiling" >&6; }
4347 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4348 ac_clean_files=$ac_clean_files_save
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4351 $as_echo_n "checking for suffix of object files... " >&6; }
4352 if ${ac_cv_objext+:} false; then :
4353 $as_echo_n "(cached) " >&6
4354 else
4355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4356 /* end confdefs.h. */
4359 main ()
4363 return 0;
4365 _ACEOF
4366 rm -f conftest.o conftest.obj
4367 if { { ac_try="$ac_compile"
4368 case "(($ac_try" in
4369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4370 *) ac_try_echo=$ac_try;;
4371 esac
4372 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4373 $as_echo "$ac_try_echo"; } >&5
4374 (eval "$ac_compile") 2>&5
4375 ac_status=$?
4376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4377 test $ac_status = 0; }; then :
4378 for ac_file in conftest.o conftest.obj conftest.*; do
4379 test -f "$ac_file" || continue;
4380 case $ac_file in
4381 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4382 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4383 break;;
4384 esac
4385 done
4386 else
4387 $as_echo "$as_me: failed program was:" >&5
4388 sed 's/^/| /' conftest.$ac_ext >&5
4390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4392 as_fn_error $? "cannot compute suffix of object files: cannot compile
4393 See \`config.log' for more details" "$LINENO" 5; }
4395 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4398 $as_echo "$ac_cv_objext" >&6; }
4399 OBJEXT=$ac_cv_objext
4400 ac_objext=$OBJEXT
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4402 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4403 if ${ac_cv_c_compiler_gnu+:} false; then :
4404 $as_echo_n "(cached) " >&6
4405 else
4406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4407 /* end confdefs.h. */
4410 main ()
4412 #ifndef __GNUC__
4413 choke me
4414 #endif
4417 return 0;
4419 _ACEOF
4420 if ac_fn_c_try_compile "$LINENO"; then :
4421 ac_compiler_gnu=yes
4422 else
4423 ac_compiler_gnu=no
4425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4426 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4430 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4431 if test $ac_compiler_gnu = yes; then
4432 GCC=yes
4433 else
4434 GCC=
4436 ac_test_CFLAGS=${CFLAGS+set}
4437 ac_save_CFLAGS=$CFLAGS
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4439 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4440 if ${ac_cv_prog_cc_g+:} false; then :
4441 $as_echo_n "(cached) " >&6
4442 else
4443 ac_save_c_werror_flag=$ac_c_werror_flag
4444 ac_c_werror_flag=yes
4445 ac_cv_prog_cc_g=no
4446 CFLAGS="-g"
4447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4448 /* end confdefs.h. */
4451 main ()
4455 return 0;
4457 _ACEOF
4458 if ac_fn_c_try_compile "$LINENO"; then :
4459 ac_cv_prog_cc_g=yes
4460 else
4461 CFLAGS=""
4462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4463 /* end confdefs.h. */
4466 main ()
4470 return 0;
4472 _ACEOF
4473 if ac_fn_c_try_compile "$LINENO"; then :
4475 else
4476 ac_c_werror_flag=$ac_save_c_werror_flag
4477 CFLAGS="-g"
4478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4479 /* end confdefs.h. */
4482 main ()
4486 return 0;
4488 _ACEOF
4489 if ac_fn_c_try_compile "$LINENO"; then :
4490 ac_cv_prog_cc_g=yes
4492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4497 ac_c_werror_flag=$ac_save_c_werror_flag
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4500 $as_echo "$ac_cv_prog_cc_g" >&6; }
4501 if test "$ac_test_CFLAGS" = set; then
4502 CFLAGS=$ac_save_CFLAGS
4503 elif test $ac_cv_prog_cc_g = yes; then
4504 if test "$GCC" = yes; then
4505 CFLAGS="-g -O2"
4506 else
4507 CFLAGS="-g"
4509 else
4510 if test "$GCC" = yes; then
4511 CFLAGS="-O2"
4512 else
4513 CFLAGS=
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4517 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4518 if ${ac_cv_prog_cc_c89+:} false; then :
4519 $as_echo_n "(cached) " >&6
4520 else
4521 ac_cv_prog_cc_c89=no
4522 ac_save_CC=$CC
4523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4524 /* end confdefs.h. */
4525 #include <stdarg.h>
4526 #include <stdio.h>
4527 struct stat;
4528 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4529 struct buf { int x; };
4530 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4531 static char *e (p, i)
4532 char **p;
4533 int i;
4535 return p[i];
4537 static char *f (char * (*g) (char **, int), char **p, ...)
4539 char *s;
4540 va_list v;
4541 va_start (v,p);
4542 s = g (p, va_arg (v,int));
4543 va_end (v);
4544 return s;
4547 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4548 function prototypes and stuff, but not '\xHH' hex character constants.
4549 These don't provoke an error unfortunately, instead are silently treated
4550 as 'x'. The following induces an error, until -std is added to get
4551 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4552 array size at least. It's necessary to write '\x00'==0 to get something
4553 that's true only with -std. */
4554 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4556 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4557 inside strings and character constants. */
4558 #define FOO(x) 'x'
4559 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4561 int test (int i, double x);
4562 struct s1 {int (*f) (int a);};
4563 struct s2 {int (*f) (double a);};
4564 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4565 int argc;
4566 char **argv;
4568 main ()
4570 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4572 return 0;
4574 _ACEOF
4575 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4576 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4578 CC="$ac_save_CC $ac_arg"
4579 if ac_fn_c_try_compile "$LINENO"; then :
4580 ac_cv_prog_cc_c89=$ac_arg
4582 rm -f core conftest.err conftest.$ac_objext
4583 test "x$ac_cv_prog_cc_c89" != "xno" && break
4584 done
4585 rm -f conftest.$ac_ext
4586 CC=$ac_save_CC
4589 # AC_CACHE_VAL
4590 case "x$ac_cv_prog_cc_c89" in
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4593 $as_echo "none needed" >&6; } ;;
4594 xno)
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4596 $as_echo "unsupported" >&6; } ;;
4598 CC="$CC $ac_cv_prog_cc_c89"
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4600 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4601 esac
4602 if test "x$ac_cv_prog_cc_c89" != xno; then :
4606 ac_ext=c
4607 ac_cpp='$CPP $CPPFLAGS'
4608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4612 ac_ext=c
4613 ac_cpp='$CPP $CPPFLAGS'
4614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4618 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4619 if ${am_cv_prog_cc_c_o+:} false; then :
4620 $as_echo_n "(cached) " >&6
4621 else
4622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4623 /* end confdefs.h. */
4626 main ()
4630 return 0;
4632 _ACEOF
4633 # Make sure it works both with $CC and with simple cc.
4634 # Following AC_PROG_CC_C_O, we do the test twice because some
4635 # compilers refuse to overwrite an existing .o file with -o,
4636 # though they will create one.
4637 am_cv_prog_cc_c_o=yes
4638 for am_i in 1 2; do
4639 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4640 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4641 ac_status=$?
4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643 (exit $ac_status); } \
4644 && test -f conftest2.$ac_objext; then
4645 : OK
4646 else
4647 am_cv_prog_cc_c_o=no
4648 break
4650 done
4651 rm -f core conftest*
4652 unset am_i
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4655 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4656 if test "$am_cv_prog_cc_c_o" != yes; then
4657 # Losing compiler, so override with the script.
4658 # FIXME: It is wrong to rewrite CC.
4659 # But if we don't then we get into trouble of one sort or another.
4660 # A longer-term fix would be to have automake use am__CC in this case,
4661 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4662 CC="$am_aux_dir/compile $CC"
4664 ac_ext=c
4665 ac_cpp='$CPP $CPPFLAGS'
4666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4671 ac_ext=cpp
4672 ac_cpp='$CXXCPP $CPPFLAGS'
4673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4676 if test -z "$CXX"; then
4677 if test -n "$CCC"; then
4678 CXX=$CCC
4679 else
4680 if test -n "$ac_tool_prefix"; then
4681 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4683 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4684 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4686 $as_echo_n "checking for $ac_word... " >&6; }
4687 if ${ac_cv_prog_CXX+:} false; then :
4688 $as_echo_n "(cached) " >&6
4689 else
4690 if test -n "$CXX"; then
4691 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4692 else
4693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4694 for as_dir in $PATH
4696 IFS=$as_save_IFS
4697 test -z "$as_dir" && as_dir=.
4698 for ac_exec_ext in '' $ac_executable_extensions; do
4699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4700 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4702 break 2
4704 done
4705 done
4706 IFS=$as_save_IFS
4710 CXX=$ac_cv_prog_CXX
4711 if test -n "$CXX"; then
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4713 $as_echo "$CXX" >&6; }
4714 else
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4716 $as_echo "no" >&6; }
4720 test -n "$CXX" && break
4721 done
4723 if test -z "$CXX"; then
4724 ac_ct_CXX=$CXX
4725 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4727 # Extract the first word of "$ac_prog", so it can be a program name with args.
4728 set dummy $ac_prog; ac_word=$2
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4730 $as_echo_n "checking for $ac_word... " >&6; }
4731 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4732 $as_echo_n "(cached) " >&6
4733 else
4734 if test -n "$ac_ct_CXX"; then
4735 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4736 else
4737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4738 for as_dir in $PATH
4740 IFS=$as_save_IFS
4741 test -z "$as_dir" && as_dir=.
4742 for ac_exec_ext in '' $ac_executable_extensions; do
4743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4744 ac_cv_prog_ac_ct_CXX="$ac_prog"
4745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4746 break 2
4748 done
4749 done
4750 IFS=$as_save_IFS
4754 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4755 if test -n "$ac_ct_CXX"; then
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4757 $as_echo "$ac_ct_CXX" >&6; }
4758 else
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4760 $as_echo "no" >&6; }
4764 test -n "$ac_ct_CXX" && break
4765 done
4767 if test "x$ac_ct_CXX" = x; then
4768 CXX="g++"
4769 else
4770 case $cross_compiling:$ac_tool_warned in
4771 yes:)
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4774 ac_tool_warned=yes ;;
4775 esac
4776 CXX=$ac_ct_CXX
4782 # Provide some information about the compiler.
4783 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4784 set X $ac_compile
4785 ac_compiler=$2
4786 for ac_option in --version -v -V -qversion; do
4787 { { ac_try="$ac_compiler $ac_option >&5"
4788 case "(($ac_try" in
4789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4790 *) ac_try_echo=$ac_try;;
4791 esac
4792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4793 $as_echo "$ac_try_echo"; } >&5
4794 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4795 ac_status=$?
4796 if test -s conftest.err; then
4797 sed '10a\
4798 ... rest of stderr output deleted ...
4799 10q' conftest.err >conftest.er1
4800 cat conftest.er1 >&5
4802 rm -f conftest.er1 conftest.err
4803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4804 test $ac_status = 0; }
4805 done
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4808 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4809 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4810 $as_echo_n "(cached) " >&6
4811 else
4812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4813 /* end confdefs.h. */
4816 main ()
4818 #ifndef __GNUC__
4819 choke me
4820 #endif
4823 return 0;
4825 _ACEOF
4826 if ac_fn_cxx_try_compile "$LINENO"; then :
4827 ac_compiler_gnu=yes
4828 else
4829 ac_compiler_gnu=no
4831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4832 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4836 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4837 if test $ac_compiler_gnu = yes; then
4838 GXX=yes
4839 else
4840 GXX=
4842 ac_test_CXXFLAGS=${CXXFLAGS+set}
4843 ac_save_CXXFLAGS=$CXXFLAGS
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4845 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4846 if ${ac_cv_prog_cxx_g+:} false; then :
4847 $as_echo_n "(cached) " >&6
4848 else
4849 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4850 ac_cxx_werror_flag=yes
4851 ac_cv_prog_cxx_g=no
4852 CXXFLAGS="-g"
4853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4854 /* end confdefs.h. */
4857 main ()
4861 return 0;
4863 _ACEOF
4864 if ac_fn_cxx_try_compile "$LINENO"; then :
4865 ac_cv_prog_cxx_g=yes
4866 else
4867 CXXFLAGS=""
4868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4869 /* end confdefs.h. */
4872 main ()
4876 return 0;
4878 _ACEOF
4879 if ac_fn_cxx_try_compile "$LINENO"; then :
4881 else
4882 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4883 CXXFLAGS="-g"
4884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4885 /* end confdefs.h. */
4888 main ()
4892 return 0;
4894 _ACEOF
4895 if ac_fn_cxx_try_compile "$LINENO"; then :
4896 ac_cv_prog_cxx_g=yes
4898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4903 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4906 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4907 if test "$ac_test_CXXFLAGS" = set; then
4908 CXXFLAGS=$ac_save_CXXFLAGS
4909 elif test $ac_cv_prog_cxx_g = yes; then
4910 if test "$GXX" = yes; then
4911 CXXFLAGS="-g -O2"
4912 else
4913 CXXFLAGS="-g"
4915 else
4916 if test "$GXX" = yes; then
4917 CXXFLAGS="-O2"
4918 else
4919 CXXFLAGS=
4922 ac_ext=c
4923 ac_cpp='$CPP $CPPFLAGS'
4924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4928 CXXFLAGS="$save_CXXFLAGS"
4930 # Runs configure.host, and assorted other critical bits. Sets
4931 # up critical shell variables.
4933 ac_ext=c
4934 ac_cpp='$CPP $CPPFLAGS'
4935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4939 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4940 # On Suns, sometimes $CPP names a directory.
4941 if test -n "$CPP" && test -d "$CPP"; then
4942 CPP=
4944 if test -z "$CPP"; then
4945 if ${ac_cv_prog_CPP+:} false; then :
4946 $as_echo_n "(cached) " >&6
4947 else
4948 # Double quotes because CPP needs to be expanded
4949 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4951 ac_preproc_ok=false
4952 for ac_c_preproc_warn_flag in '' yes
4954 # Use a header file that comes with gcc, so configuring glibc
4955 # with a fresh cross-compiler works.
4956 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4957 # <limits.h> exists even on freestanding compilers.
4958 # On the NeXT, cc -E runs the code through the compiler's parser,
4959 # not just through cpp. "Syntax error" is here to catch this case.
4960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4961 /* end confdefs.h. */
4962 #ifdef __STDC__
4963 # include <limits.h>
4964 #else
4965 # include <assert.h>
4966 #endif
4967 Syntax error
4968 _ACEOF
4969 if ac_fn_c_try_cpp "$LINENO"; then :
4971 else
4972 # Broken: fails on valid input.
4973 continue
4975 rm -f conftest.err conftest.i conftest.$ac_ext
4977 # OK, works on sane cases. Now check whether nonexistent headers
4978 # can be detected and how.
4979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4980 /* end confdefs.h. */
4981 #include <ac_nonexistent.h>
4982 _ACEOF
4983 if ac_fn_c_try_cpp "$LINENO"; then :
4984 # Broken: success on invalid input.
4985 continue
4986 else
4987 # Passes both tests.
4988 ac_preproc_ok=:
4989 break
4991 rm -f conftest.err conftest.i conftest.$ac_ext
4993 done
4994 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4995 rm -f conftest.i conftest.err conftest.$ac_ext
4996 if $ac_preproc_ok; then :
4997 break
5000 done
5001 ac_cv_prog_CPP=$CPP
5004 CPP=$ac_cv_prog_CPP
5005 else
5006 ac_cv_prog_CPP=$CPP
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5009 $as_echo "$CPP" >&6; }
5010 ac_preproc_ok=false
5011 for ac_c_preproc_warn_flag in '' yes
5013 # Use a header file that comes with gcc, so configuring glibc
5014 # with a fresh cross-compiler works.
5015 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5016 # <limits.h> exists even on freestanding compilers.
5017 # On the NeXT, cc -E runs the code through the compiler's parser,
5018 # not just through cpp. "Syntax error" is here to catch this case.
5019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5020 /* end confdefs.h. */
5021 #ifdef __STDC__
5022 # include <limits.h>
5023 #else
5024 # include <assert.h>
5025 #endif
5026 Syntax error
5027 _ACEOF
5028 if ac_fn_c_try_cpp "$LINENO"; then :
5030 else
5031 # Broken: fails on valid input.
5032 continue
5034 rm -f conftest.err conftest.i conftest.$ac_ext
5036 # OK, works on sane cases. Now check whether nonexistent headers
5037 # can be detected and how.
5038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5039 /* end confdefs.h. */
5040 #include <ac_nonexistent.h>
5041 _ACEOF
5042 if ac_fn_c_try_cpp "$LINENO"; then :
5043 # Broken: success on invalid input.
5044 continue
5045 else
5046 # Passes both tests.
5047 ac_preproc_ok=:
5048 break
5050 rm -f conftest.err conftest.i conftest.$ac_ext
5052 done
5053 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5054 rm -f conftest.i conftest.err conftest.$ac_ext
5055 if $ac_preproc_ok; then :
5057 else
5058 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5059 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5060 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5061 See \`config.log' for more details" "$LINENO" 5; }
5064 ac_ext=c
5065 ac_cpp='$CPP $CPPFLAGS'
5066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5072 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5073 if ${ac_cv_path_GREP+:} false; then :
5074 $as_echo_n "(cached) " >&6
5075 else
5076 if test -z "$GREP"; then
5077 ac_path_GREP_found=false
5078 # Loop through the user's path and test for each of PROGNAME-LIST
5079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5080 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5082 IFS=$as_save_IFS
5083 test -z "$as_dir" && as_dir=.
5084 for ac_prog in grep ggrep; do
5085 for ac_exec_ext in '' $ac_executable_extensions; do
5086 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5087 as_fn_executable_p "$ac_path_GREP" || continue
5088 # Check for GNU ac_path_GREP and select it if it is found.
5089 # Check for GNU $ac_path_GREP
5090 case `"$ac_path_GREP" --version 2>&1` in
5091 *GNU*)
5092 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5094 ac_count=0
5095 $as_echo_n 0123456789 >"conftest.in"
5096 while :
5098 cat "conftest.in" "conftest.in" >"conftest.tmp"
5099 mv "conftest.tmp" "conftest.in"
5100 cp "conftest.in" "conftest.nl"
5101 $as_echo 'GREP' >> "conftest.nl"
5102 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5103 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5104 as_fn_arith $ac_count + 1 && ac_count=$as_val
5105 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5106 # Best one so far, save it but keep looking for a better one
5107 ac_cv_path_GREP="$ac_path_GREP"
5108 ac_path_GREP_max=$ac_count
5110 # 10*(2^10) chars as input seems more than enough
5111 test $ac_count -gt 10 && break
5112 done
5113 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5114 esac
5116 $ac_path_GREP_found && break 3
5117 done
5118 done
5119 done
5120 IFS=$as_save_IFS
5121 if test -z "$ac_cv_path_GREP"; then
5122 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5124 else
5125 ac_cv_path_GREP=$GREP
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5130 $as_echo "$ac_cv_path_GREP" >&6; }
5131 GREP="$ac_cv_path_GREP"
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5135 $as_echo_n "checking for egrep... " >&6; }
5136 if ${ac_cv_path_EGREP+:} false; then :
5137 $as_echo_n "(cached) " >&6
5138 else
5139 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5140 then ac_cv_path_EGREP="$GREP -E"
5141 else
5142 if test -z "$EGREP"; then
5143 ac_path_EGREP_found=false
5144 # Loop through the user's path and test for each of PROGNAME-LIST
5145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5146 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5148 IFS=$as_save_IFS
5149 test -z "$as_dir" && as_dir=.
5150 for ac_prog in egrep; do
5151 for ac_exec_ext in '' $ac_executable_extensions; do
5152 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5153 as_fn_executable_p "$ac_path_EGREP" || continue
5154 # Check for GNU ac_path_EGREP and select it if it is found.
5155 # Check for GNU $ac_path_EGREP
5156 case `"$ac_path_EGREP" --version 2>&1` in
5157 *GNU*)
5158 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5160 ac_count=0
5161 $as_echo_n 0123456789 >"conftest.in"
5162 while :
5164 cat "conftest.in" "conftest.in" >"conftest.tmp"
5165 mv "conftest.tmp" "conftest.in"
5166 cp "conftest.in" "conftest.nl"
5167 $as_echo 'EGREP' >> "conftest.nl"
5168 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5169 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5170 as_fn_arith $ac_count + 1 && ac_count=$as_val
5171 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5172 # Best one so far, save it but keep looking for a better one
5173 ac_cv_path_EGREP="$ac_path_EGREP"
5174 ac_path_EGREP_max=$ac_count
5176 # 10*(2^10) chars as input seems more than enough
5177 test $ac_count -gt 10 && break
5178 done
5179 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5180 esac
5182 $ac_path_EGREP_found && break 3
5183 done
5184 done
5185 done
5186 IFS=$as_save_IFS
5187 if test -z "$ac_cv_path_EGREP"; then
5188 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5190 else
5191 ac_cv_path_EGREP=$EGREP
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5197 $as_echo "$ac_cv_path_EGREP" >&6; }
5198 EGREP="$ac_cv_path_EGREP"
5202 # Keep these sync'd with the list in Makefile.am. The first provides an
5203 # expandable list at autoconf time; the second provides an expandable list
5204 # (i.e., shell variable) at configure time.
5206 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/filesystem doc po testsuite python'
5208 # These need to be absolute paths, yet at the same time need to
5209 # canonicalize only relative paths, because then amd will not unmount
5210 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5211 glibcxx_builddir=`${PWDCMD-pwd}`
5212 case $srcdir in
5213 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5214 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5215 esac
5216 toplevel_builddir=${glibcxx_builddir}/..
5217 toplevel_srcdir=${glibcxx_srcdir}/..
5223 # We use these options to decide which functions to include. They are
5224 # set from the top level.
5226 # Check whether --with-target-subdir was given.
5227 if test "${with_target_subdir+set}" = set; then :
5228 withval=$with_target_subdir;
5233 # Check whether --with-cross-host was given.
5234 if test "${with_cross_host+set}" = set; then :
5235 withval=$with_cross_host;
5240 # Check whether --with-newlib was given.
5241 if test "${with_newlib+set}" = set; then :
5242 withval=$with_newlib;
5246 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5247 # available). Uncomment the next line to force a particular method.
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5249 $as_echo_n "checking whether ln -s works... " >&6; }
5250 LN_S=$as_ln_s
5251 if test "$LN_S" = "ln -s"; then
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5253 $as_echo "yes" >&6; }
5254 else
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5256 $as_echo "no, using $LN_S" >&6; }
5259 #LN_S='cp -p'
5261 if test -n "$ac_tool_prefix"; then
5262 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5263 set dummy ${ac_tool_prefix}as; ac_word=$2
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5265 $as_echo_n "checking for $ac_word... " >&6; }
5266 if ${ac_cv_prog_AS+:} false; then :
5267 $as_echo_n "(cached) " >&6
5268 else
5269 if test -n "$AS"; then
5270 ac_cv_prog_AS="$AS" # Let the user override the test.
5271 else
5272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5273 for as_dir in $PATH
5275 IFS=$as_save_IFS
5276 test -z "$as_dir" && as_dir=.
5277 for ac_exec_ext in '' $ac_executable_extensions; do
5278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5279 ac_cv_prog_AS="${ac_tool_prefix}as"
5280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5281 break 2
5283 done
5284 done
5285 IFS=$as_save_IFS
5289 AS=$ac_cv_prog_AS
5290 if test -n "$AS"; then
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5292 $as_echo "$AS" >&6; }
5293 else
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5295 $as_echo "no" >&6; }
5300 if test -z "$ac_cv_prog_AS"; then
5301 ac_ct_AS=$AS
5302 # Extract the first word of "as", so it can be a program name with args.
5303 set dummy as; ac_word=$2
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5305 $as_echo_n "checking for $ac_word... " >&6; }
5306 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5307 $as_echo_n "(cached) " >&6
5308 else
5309 if test -n "$ac_ct_AS"; then
5310 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5311 else
5312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5313 for as_dir in $PATH
5315 IFS=$as_save_IFS
5316 test -z "$as_dir" && as_dir=.
5317 for ac_exec_ext in '' $ac_executable_extensions; do
5318 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5319 ac_cv_prog_ac_ct_AS="as"
5320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5321 break 2
5323 done
5324 done
5325 IFS=$as_save_IFS
5329 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5330 if test -n "$ac_ct_AS"; then
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5332 $as_echo "$ac_ct_AS" >&6; }
5333 else
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5335 $as_echo "no" >&6; }
5338 if test "x$ac_ct_AS" = x; then
5339 AS=""
5340 else
5341 case $cross_compiling:$ac_tool_warned in
5342 yes:)
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5345 ac_tool_warned=yes ;;
5346 esac
5347 AS=$ac_ct_AS
5349 else
5350 AS="$ac_cv_prog_AS"
5353 if test -n "$ac_tool_prefix"; then
5354 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5355 set dummy ${ac_tool_prefix}ar; ac_word=$2
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5357 $as_echo_n "checking for $ac_word... " >&6; }
5358 if ${ac_cv_prog_AR+:} false; then :
5359 $as_echo_n "(cached) " >&6
5360 else
5361 if test -n "$AR"; then
5362 ac_cv_prog_AR="$AR" # Let the user override the test.
5363 else
5364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5365 for as_dir in $PATH
5367 IFS=$as_save_IFS
5368 test -z "$as_dir" && as_dir=.
5369 for ac_exec_ext in '' $ac_executable_extensions; do
5370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5371 ac_cv_prog_AR="${ac_tool_prefix}ar"
5372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5373 break 2
5375 done
5376 done
5377 IFS=$as_save_IFS
5381 AR=$ac_cv_prog_AR
5382 if test -n "$AR"; then
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5384 $as_echo "$AR" >&6; }
5385 else
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5387 $as_echo "no" >&6; }
5392 if test -z "$ac_cv_prog_AR"; then
5393 ac_ct_AR=$AR
5394 # Extract the first word of "ar", so it can be a program name with args.
5395 set dummy ar; ac_word=$2
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5397 $as_echo_n "checking for $ac_word... " >&6; }
5398 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5399 $as_echo_n "(cached) " >&6
5400 else
5401 if test -n "$ac_ct_AR"; then
5402 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5403 else
5404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5405 for as_dir in $PATH
5407 IFS=$as_save_IFS
5408 test -z "$as_dir" && as_dir=.
5409 for ac_exec_ext in '' $ac_executable_extensions; do
5410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5411 ac_cv_prog_ac_ct_AR="ar"
5412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5413 break 2
5415 done
5416 done
5417 IFS=$as_save_IFS
5421 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5422 if test -n "$ac_ct_AR"; then
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5424 $as_echo "$ac_ct_AR" >&6; }
5425 else
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5427 $as_echo "no" >&6; }
5430 if test "x$ac_ct_AR" = x; then
5431 AR=""
5432 else
5433 case $cross_compiling:$ac_tool_warned in
5434 yes:)
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5437 ac_tool_warned=yes ;;
5438 esac
5439 AR=$ac_ct_AR
5441 else
5442 AR="$ac_cv_prog_AR"
5445 if test -n "$ac_tool_prefix"; then
5446 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5447 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5449 $as_echo_n "checking for $ac_word... " >&6; }
5450 if ${ac_cv_prog_RANLIB+:} false; then :
5451 $as_echo_n "(cached) " >&6
5452 else
5453 if test -n "$RANLIB"; then
5454 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5455 else
5456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5457 for as_dir in $PATH
5459 IFS=$as_save_IFS
5460 test -z "$as_dir" && as_dir=.
5461 for ac_exec_ext in '' $ac_executable_extensions; do
5462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5463 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5465 break 2
5467 done
5468 done
5469 IFS=$as_save_IFS
5473 RANLIB=$ac_cv_prog_RANLIB
5474 if test -n "$RANLIB"; then
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5476 $as_echo "$RANLIB" >&6; }
5477 else
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5479 $as_echo "no" >&6; }
5484 if test -z "$ac_cv_prog_RANLIB"; then
5485 ac_ct_RANLIB=$RANLIB
5486 # Extract the first word of "ranlib", so it can be a program name with args.
5487 set dummy ranlib; ac_word=$2
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5489 $as_echo_n "checking for $ac_word... " >&6; }
5490 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5491 $as_echo_n "(cached) " >&6
5492 else
5493 if test -n "$ac_ct_RANLIB"; then
5494 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5495 else
5496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5497 for as_dir in $PATH
5499 IFS=$as_save_IFS
5500 test -z "$as_dir" && as_dir=.
5501 for ac_exec_ext in '' $ac_executable_extensions; do
5502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5503 ac_cv_prog_ac_ct_RANLIB="ranlib"
5504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5505 break 2
5507 done
5508 done
5509 IFS=$as_save_IFS
5513 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5514 if test -n "$ac_ct_RANLIB"; then
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5516 $as_echo "$ac_ct_RANLIB" >&6; }
5517 else
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5519 $as_echo "no" >&6; }
5522 if test "x$ac_ct_RANLIB" = x; then
5523 RANLIB="ranlib-not-found-in-path-error"
5524 else
5525 case $cross_compiling:$ac_tool_warned in
5526 yes:)
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5529 ac_tool_warned=yes ;;
5530 esac
5531 RANLIB=$ac_ct_RANLIB
5533 else
5534 RANLIB="$ac_cv_prog_RANLIB"
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5540 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5541 # Check whether --enable-maintainer-mode was given.
5542 if test "${enable_maintainer_mode+set}" = set; then :
5543 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5544 else
5545 USE_MAINTAINER_MODE=no
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5549 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5550 if test $USE_MAINTAINER_MODE = yes; then
5551 MAINTAINER_MODE_TRUE=
5552 MAINTAINER_MODE_FALSE='#'
5553 else
5554 MAINTAINER_MODE_TRUE='#'
5555 MAINTAINER_MODE_FALSE=
5558 MAINT=$MAINTAINER_MODE_TRUE
5562 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5563 # which are themselves conditionally expanded.
5564 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5565 ## other macros from doing the same. This should be automated.) -pme
5567 # Check for C library flavor since GNU/Linux platforms use different
5568 # configuration directories depending on the C library in use.
5569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5570 /* end confdefs.h. */
5572 #include <stdio.h>
5573 #if __UCLIBC__
5574 _using_uclibc
5575 #endif
5577 _ACEOF
5578 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5579 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5580 uclibc=yes
5581 else
5582 uclibc=no
5584 rm -f conftest*
5587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5588 /* end confdefs.h. */
5590 #include <stdio.h>
5591 #if __BIONIC__
5592 _using_bionic
5593 #endif
5595 _ACEOF
5596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5597 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5598 bionic=yes
5599 else
5600 bionic=no
5602 rm -f conftest*
5605 # Find platform-specific directories containing configuration info.
5606 # Also possibly modify flags used elsewhere, as needed by the platform.
5608 . $glibcxx_srcdir/configure.host
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5610 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5612 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5616 # Libtool setup.
5617 if test "x${with_newlib}" != "xyes"; then
5618 enable_dlopen=yes
5623 case `pwd` in
5624 *\ * | *\ *)
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5626 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5627 esac
5631 macro_version='2.2.7a'
5632 macro_revision='1.3134'
5646 ltmain="$ac_aux_dir/ltmain.sh"
5648 # Backslashify metacharacters that are still active within
5649 # double-quoted strings.
5650 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5652 # Same as above, but do not quote variable references.
5653 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5655 # Sed substitution to delay expansion of an escaped shell variable in a
5656 # double_quote_subst'ed string.
5657 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5659 # Sed substitution to delay expansion of an escaped single quote.
5660 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5662 # Sed substitution to avoid accidental globbing in evaled expressions
5663 no_glob_subst='s/\*/\\\*/g'
5665 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5666 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5667 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5670 $as_echo_n "checking how to print strings... " >&6; }
5671 # Test print first, because it will be a builtin if present.
5672 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5673 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5674 ECHO='print -r --'
5675 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5676 ECHO='printf %s\n'
5677 else
5678 # Use this function as a fallback that always works.
5679 func_fallback_echo ()
5681 eval 'cat <<_LTECHO_EOF
5683 _LTECHO_EOF'
5685 ECHO='func_fallback_echo'
5688 # func_echo_all arg...
5689 # Invoke $ECHO with all args, space-separated.
5690 func_echo_all ()
5692 $ECHO ""
5695 case "$ECHO" in
5696 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5697 $as_echo "printf" >&6; } ;;
5698 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5699 $as_echo "print -r" >&6; } ;;
5700 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5701 $as_echo "cat" >&6; } ;;
5702 esac
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5718 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5719 if ${ac_cv_path_SED+:} false; then :
5720 $as_echo_n "(cached) " >&6
5721 else
5722 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5723 for ac_i in 1 2 3 4 5 6 7; do
5724 ac_script="$ac_script$as_nl$ac_script"
5725 done
5726 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5727 { ac_script=; unset ac_script;}
5728 if test -z "$SED"; then
5729 ac_path_SED_found=false
5730 # Loop through the user's path and test for each of PROGNAME-LIST
5731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5732 for as_dir in $PATH
5734 IFS=$as_save_IFS
5735 test -z "$as_dir" && as_dir=.
5736 for ac_prog in sed gsed; do
5737 for ac_exec_ext in '' $ac_executable_extensions; do
5738 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5739 as_fn_executable_p "$ac_path_SED" || continue
5740 # Check for GNU ac_path_SED and select it if it is found.
5741 # Check for GNU $ac_path_SED
5742 case `"$ac_path_SED" --version 2>&1` in
5743 *GNU*)
5744 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5746 ac_count=0
5747 $as_echo_n 0123456789 >"conftest.in"
5748 while :
5750 cat "conftest.in" "conftest.in" >"conftest.tmp"
5751 mv "conftest.tmp" "conftest.in"
5752 cp "conftest.in" "conftest.nl"
5753 $as_echo '' >> "conftest.nl"
5754 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5755 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5756 as_fn_arith $ac_count + 1 && ac_count=$as_val
5757 if test $ac_count -gt ${ac_path_SED_max-0}; then
5758 # Best one so far, save it but keep looking for a better one
5759 ac_cv_path_SED="$ac_path_SED"
5760 ac_path_SED_max=$ac_count
5762 # 10*(2^10) chars as input seems more than enough
5763 test $ac_count -gt 10 && break
5764 done
5765 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5766 esac
5768 $ac_path_SED_found && break 3
5769 done
5770 done
5771 done
5772 IFS=$as_save_IFS
5773 if test -z "$ac_cv_path_SED"; then
5774 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5776 else
5777 ac_cv_path_SED=$SED
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5782 $as_echo "$ac_cv_path_SED" >&6; }
5783 SED="$ac_cv_path_SED"
5784 rm -f conftest.sed
5786 test -z "$SED" && SED=sed
5787 Xsed="$SED -e 1s/^X//"
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5800 $as_echo_n "checking for fgrep... " >&6; }
5801 if ${ac_cv_path_FGREP+:} false; then :
5802 $as_echo_n "(cached) " >&6
5803 else
5804 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5805 then ac_cv_path_FGREP="$GREP -F"
5806 else
5807 if test -z "$FGREP"; then
5808 ac_path_FGREP_found=false
5809 # Loop through the user's path and test for each of PROGNAME-LIST
5810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5811 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5813 IFS=$as_save_IFS
5814 test -z "$as_dir" && as_dir=.
5815 for ac_prog in fgrep; do
5816 for ac_exec_ext in '' $ac_executable_extensions; do
5817 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5818 as_fn_executable_p "$ac_path_FGREP" || continue
5819 # Check for GNU ac_path_FGREP and select it if it is found.
5820 # Check for GNU $ac_path_FGREP
5821 case `"$ac_path_FGREP" --version 2>&1` in
5822 *GNU*)
5823 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5825 ac_count=0
5826 $as_echo_n 0123456789 >"conftest.in"
5827 while :
5829 cat "conftest.in" "conftest.in" >"conftest.tmp"
5830 mv "conftest.tmp" "conftest.in"
5831 cp "conftest.in" "conftest.nl"
5832 $as_echo 'FGREP' >> "conftest.nl"
5833 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5834 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5835 as_fn_arith $ac_count + 1 && ac_count=$as_val
5836 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5837 # Best one so far, save it but keep looking for a better one
5838 ac_cv_path_FGREP="$ac_path_FGREP"
5839 ac_path_FGREP_max=$ac_count
5841 # 10*(2^10) chars as input seems more than enough
5842 test $ac_count -gt 10 && break
5843 done
5844 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5845 esac
5847 $ac_path_FGREP_found && break 3
5848 done
5849 done
5850 done
5851 IFS=$as_save_IFS
5852 if test -z "$ac_cv_path_FGREP"; then
5853 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5855 else
5856 ac_cv_path_FGREP=$FGREP
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5862 $as_echo "$ac_cv_path_FGREP" >&6; }
5863 FGREP="$ac_cv_path_FGREP"
5866 test -z "$GREP" && GREP=grep
5886 # Check whether --with-gnu-ld was given.
5887 if test "${with_gnu_ld+set}" = set; then :
5888 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5889 else
5890 with_gnu_ld=no
5893 ac_prog=ld
5894 if test "$GCC" = yes; then
5895 # Check if gcc -print-prog-name=ld gives a path.
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5897 $as_echo_n "checking for ld used by $CC... " >&6; }
5898 case $host in
5899 *-*-mingw*)
5900 # gcc leaves a trailing carriage return which upsets mingw
5901 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5903 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5904 esac
5905 case $ac_prog in
5906 # Accept absolute paths.
5907 [\\/]* | ?:[\\/]*)
5908 re_direlt='/[^/][^/]*/\.\./'
5909 # Canonicalize the pathname of ld
5910 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5911 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5912 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5913 done
5914 test -z "$LD" && LD="$ac_prog"
5917 # If it fails, then pretend we aren't using GCC.
5918 ac_prog=ld
5921 # If it is relative, then search for the first ld in PATH.
5922 with_gnu_ld=unknown
5924 esac
5925 elif test "$with_gnu_ld" = yes; then
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5927 $as_echo_n "checking for GNU ld... " >&6; }
5928 else
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5930 $as_echo_n "checking for non-GNU ld... " >&6; }
5932 if ${lt_cv_path_LD+:} false; then :
5933 $as_echo_n "(cached) " >&6
5934 else
5935 if test -z "$LD"; then
5936 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5937 for ac_dir in $PATH; do
5938 IFS="$lt_save_ifs"
5939 test -z "$ac_dir" && ac_dir=.
5940 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5941 lt_cv_path_LD="$ac_dir/$ac_prog"
5942 # Check to see if the program is GNU ld. I'd rather use --version,
5943 # but apparently some variants of GNU ld only accept -v.
5944 # Break only if it was the GNU/non-GNU ld that we prefer.
5945 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5946 *GNU* | *'with BFD'*)
5947 test "$with_gnu_ld" != no && break
5950 test "$with_gnu_ld" != yes && break
5952 esac
5954 done
5955 IFS="$lt_save_ifs"
5956 else
5957 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5961 LD="$lt_cv_path_LD"
5962 if test -n "$LD"; then
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5964 $as_echo "$LD" >&6; }
5965 else
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5967 $as_echo "no" >&6; }
5969 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5971 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5972 if ${lt_cv_prog_gnu_ld+:} false; then :
5973 $as_echo_n "(cached) " >&6
5974 else
5975 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5976 case `$LD -v 2>&1 </dev/null` in
5977 *GNU* | *'with BFD'*)
5978 lt_cv_prog_gnu_ld=yes
5981 lt_cv_prog_gnu_ld=no
5983 esac
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5986 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5987 with_gnu_ld=$lt_cv_prog_gnu_ld
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5998 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5999 if ${lt_cv_path_NM+:} false; then :
6000 $as_echo_n "(cached) " >&6
6001 else
6002 if test -n "$NM"; then
6003 # Let the user override the test.
6004 lt_cv_path_NM="$NM"
6005 else
6006 lt_nm_to_check="${ac_tool_prefix}nm"
6007 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6008 lt_nm_to_check="$lt_nm_to_check nm"
6010 for lt_tmp_nm in $lt_nm_to_check; do
6011 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6012 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6013 IFS="$lt_save_ifs"
6014 test -z "$ac_dir" && ac_dir=.
6015 tmp_nm="$ac_dir/$lt_tmp_nm"
6016 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6017 # Check to see if the nm accepts a BSD-compat flag.
6018 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6019 # nm: unknown option "B" ignored
6020 # Tru64's nm complains that /dev/null is an invalid object file
6021 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6022 */dev/null* | *'Invalid file or object type'*)
6023 lt_cv_path_NM="$tmp_nm -B"
6024 break
6027 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6028 */dev/null*)
6029 lt_cv_path_NM="$tmp_nm -p"
6030 break
6033 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6034 continue # so that we can try to find one that supports BSD flags
6036 esac
6038 esac
6040 done
6041 IFS="$lt_save_ifs"
6042 done
6043 : ${lt_cv_path_NM=no}
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6047 $as_echo "$lt_cv_path_NM" >&6; }
6048 if test "$lt_cv_path_NM" != "no"; then
6049 NM="$lt_cv_path_NM"
6050 else
6051 # Didn't find any BSD compatible name lister, look for dumpbin.
6052 if test -n "$DUMPBIN"; then :
6053 # Let the user override the test.
6054 else
6055 if test -n "$ac_tool_prefix"; then
6056 for ac_prog in dumpbin "link -dump"
6058 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6059 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6061 $as_echo_n "checking for $ac_word... " >&6; }
6062 if ${ac_cv_prog_DUMPBIN+:} false; then :
6063 $as_echo_n "(cached) " >&6
6064 else
6065 if test -n "$DUMPBIN"; then
6066 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6067 else
6068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6069 for as_dir in $PATH
6071 IFS=$as_save_IFS
6072 test -z "$as_dir" && as_dir=.
6073 for ac_exec_ext in '' $ac_executable_extensions; do
6074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6075 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6077 break 2
6079 done
6080 done
6081 IFS=$as_save_IFS
6085 DUMPBIN=$ac_cv_prog_DUMPBIN
6086 if test -n "$DUMPBIN"; then
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6088 $as_echo "$DUMPBIN" >&6; }
6089 else
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6091 $as_echo "no" >&6; }
6095 test -n "$DUMPBIN" && break
6096 done
6098 if test -z "$DUMPBIN"; then
6099 ac_ct_DUMPBIN=$DUMPBIN
6100 for ac_prog in dumpbin "link -dump"
6102 # Extract the first word of "$ac_prog", so it can be a program name with args.
6103 set dummy $ac_prog; ac_word=$2
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6105 $as_echo_n "checking for $ac_word... " >&6; }
6106 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6107 $as_echo_n "(cached) " >&6
6108 else
6109 if test -n "$ac_ct_DUMPBIN"; then
6110 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6111 else
6112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6113 for as_dir in $PATH
6115 IFS=$as_save_IFS
6116 test -z "$as_dir" && as_dir=.
6117 for ac_exec_ext in '' $ac_executable_extensions; do
6118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6119 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6121 break 2
6123 done
6124 done
6125 IFS=$as_save_IFS
6129 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6130 if test -n "$ac_ct_DUMPBIN"; then
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6132 $as_echo "$ac_ct_DUMPBIN" >&6; }
6133 else
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6135 $as_echo "no" >&6; }
6139 test -n "$ac_ct_DUMPBIN" && break
6140 done
6142 if test "x$ac_ct_DUMPBIN" = x; then
6143 DUMPBIN=":"
6144 else
6145 case $cross_compiling:$ac_tool_warned in
6146 yes:)
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6148 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6149 ac_tool_warned=yes ;;
6150 esac
6151 DUMPBIN=$ac_ct_DUMPBIN
6155 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6156 *COFF*)
6157 DUMPBIN="$DUMPBIN -symbols"
6160 DUMPBIN=:
6162 esac
6165 if test "$DUMPBIN" != ":"; then
6166 NM="$DUMPBIN"
6169 test -z "$NM" && NM=nm
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6177 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6178 if ${lt_cv_nm_interface+:} false; then :
6179 $as_echo_n "(cached) " >&6
6180 else
6181 lt_cv_nm_interface="BSD nm"
6182 echo "int some_variable = 0;" > conftest.$ac_ext
6183 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6184 (eval "$ac_compile" 2>conftest.err)
6185 cat conftest.err >&5
6186 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6187 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6188 cat conftest.err >&5
6189 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6190 cat conftest.out >&5
6191 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6192 lt_cv_nm_interface="MS dumpbin"
6194 rm -f conftest*
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6197 $as_echo "$lt_cv_nm_interface" >&6; }
6199 # find the maximum length of command line arguments
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6201 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6202 if ${lt_cv_sys_max_cmd_len+:} false; then :
6203 $as_echo_n "(cached) " >&6
6204 else
6206 teststring="ABCD"
6208 case $build_os in
6209 msdosdjgpp*)
6210 # On DJGPP, this test can blow up pretty badly due to problems in libc
6211 # (any single argument exceeding 2000 bytes causes a buffer overrun
6212 # during glob expansion). Even if it were fixed, the result of this
6213 # check would be larger than it should be.
6214 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6217 gnu*)
6218 # Under GNU Hurd, this test is not required because there is
6219 # no limit to the length of command line arguments.
6220 # Libtool will interpret -1 as no limit whatsoever
6221 lt_cv_sys_max_cmd_len=-1;
6224 cygwin* | mingw* | cegcc*)
6225 # On Win9x/ME, this test blows up -- it succeeds, but takes
6226 # about 5 minutes as the teststring grows exponentially.
6227 # Worse, since 9x/ME are not pre-emptively multitasking,
6228 # you end up with a "frozen" computer, even though with patience
6229 # the test eventually succeeds (with a max line length of 256k).
6230 # Instead, let's just punt: use the minimum linelength reported by
6231 # all of the supported platforms: 8192 (on NT/2K/XP).
6232 lt_cv_sys_max_cmd_len=8192;
6235 mint*)
6236 # On MiNT this can take a long time and run out of memory.
6237 lt_cv_sys_max_cmd_len=8192;
6240 amigaos*)
6241 # On AmigaOS with pdksh, this test takes hours, literally.
6242 # So we just punt and use a minimum line length of 8192.
6243 lt_cv_sys_max_cmd_len=8192;
6246 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6247 # This has been around since 386BSD, at least. Likely further.
6248 if test -x /sbin/sysctl; then
6249 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6250 elif test -x /usr/sbin/sysctl; then
6251 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6252 else
6253 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6255 # And add a safety zone
6256 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6257 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6260 interix*)
6261 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6262 lt_cv_sys_max_cmd_len=196608
6265 osf*)
6266 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6267 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6268 # nice to cause kernel panics so lets avoid the loop below.
6269 # First set a reasonable default.
6270 lt_cv_sys_max_cmd_len=16384
6272 if test -x /sbin/sysconfig; then
6273 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6274 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6275 esac
6278 sco3.2v5*)
6279 lt_cv_sys_max_cmd_len=102400
6281 sysv5* | sco5v6* | sysv4.2uw2*)
6282 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6283 if test -n "$kargmax"; then
6284 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6285 else
6286 lt_cv_sys_max_cmd_len=32768
6290 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6291 if test -n "$lt_cv_sys_max_cmd_len"; then
6292 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6293 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6294 else
6295 # Make teststring a little bigger before we do anything with it.
6296 # a 1K string should be a reasonable start.
6297 for i in 1 2 3 4 5 6 7 8 ; do
6298 teststring=$teststring$teststring
6299 done
6300 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6301 # If test is not a shell built-in, we'll probably end up computing a
6302 # maximum length that is only half of the actual maximum length, but
6303 # we can't tell.
6304 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6305 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6306 test $i != 17 # 1/2 MB should be enough
6308 i=`expr $i + 1`
6309 teststring=$teststring$teststring
6310 done
6311 # Only check the string length outside the loop.
6312 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6313 teststring=
6314 # Add a significant safety factor because C++ compilers can tack on
6315 # massive amounts of additional arguments before passing them to the
6316 # linker. It appears as though 1/2 is a usable value.
6317 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6320 esac
6324 if test -n $lt_cv_sys_max_cmd_len ; then
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6326 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6327 else
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6329 $as_echo "none" >&6; }
6331 max_cmd_len=$lt_cv_sys_max_cmd_len
6338 : ${CP="cp -f"}
6339 : ${MV="mv -f"}
6340 : ${RM="rm -f"}
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6343 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6344 # Try some XSI features
6345 xsi_shell=no
6346 ( _lt_dummy="a/b/c"
6347 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6348 = c,a/b,, \
6349 && eval 'test $(( 1 + 1 )) -eq 2 \
6350 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6351 && xsi_shell=yes
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6353 $as_echo "$xsi_shell" >&6; }
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6357 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6358 lt_shell_append=no
6359 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6360 >/dev/null 2>&1 \
6361 && lt_shell_append=yes
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6363 $as_echo "$lt_shell_append" >&6; }
6366 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6367 lt_unset=unset
6368 else
6369 lt_unset=false
6376 # test EBCDIC or ASCII
6377 case `echo X|tr X '\101'` in
6378 A) # ASCII based system
6379 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6380 lt_SP2NL='tr \040 \012'
6381 lt_NL2SP='tr \015\012 \040\040'
6383 *) # EBCDIC based system
6384 lt_SP2NL='tr \100 \n'
6385 lt_NL2SP='tr \r\n \100\100'
6387 esac
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6398 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6399 if ${lt_cv_ld_reload_flag+:} false; then :
6400 $as_echo_n "(cached) " >&6
6401 else
6402 lt_cv_ld_reload_flag='-r'
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6405 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6406 reload_flag=$lt_cv_ld_reload_flag
6407 case $reload_flag in
6408 "" | " "*) ;;
6409 *) reload_flag=" $reload_flag" ;;
6410 esac
6411 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6412 case $host_os in
6413 darwin*)
6414 if test "$GCC" = yes; then
6415 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6416 else
6417 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6420 esac
6430 if test -n "$ac_tool_prefix"; then
6431 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6432 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6434 $as_echo_n "checking for $ac_word... " >&6; }
6435 if ${ac_cv_prog_OBJDUMP+:} false; then :
6436 $as_echo_n "(cached) " >&6
6437 else
6438 if test -n "$OBJDUMP"; then
6439 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6440 else
6441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6442 for as_dir in $PATH
6444 IFS=$as_save_IFS
6445 test -z "$as_dir" && as_dir=.
6446 for ac_exec_ext in '' $ac_executable_extensions; do
6447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6448 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6450 break 2
6452 done
6453 done
6454 IFS=$as_save_IFS
6458 OBJDUMP=$ac_cv_prog_OBJDUMP
6459 if test -n "$OBJDUMP"; then
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6461 $as_echo "$OBJDUMP" >&6; }
6462 else
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6464 $as_echo "no" >&6; }
6469 if test -z "$ac_cv_prog_OBJDUMP"; then
6470 ac_ct_OBJDUMP=$OBJDUMP
6471 # Extract the first word of "objdump", so it can be a program name with args.
6472 set dummy objdump; ac_word=$2
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6474 $as_echo_n "checking for $ac_word... " >&6; }
6475 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6476 $as_echo_n "(cached) " >&6
6477 else
6478 if test -n "$ac_ct_OBJDUMP"; then
6479 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6480 else
6481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6482 for as_dir in $PATH
6484 IFS=$as_save_IFS
6485 test -z "$as_dir" && as_dir=.
6486 for ac_exec_ext in '' $ac_executable_extensions; do
6487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6488 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6490 break 2
6492 done
6493 done
6494 IFS=$as_save_IFS
6498 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6499 if test -n "$ac_ct_OBJDUMP"; then
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6501 $as_echo "$ac_ct_OBJDUMP" >&6; }
6502 else
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6504 $as_echo "no" >&6; }
6507 if test "x$ac_ct_OBJDUMP" = x; then
6508 OBJDUMP="false"
6509 else
6510 case $cross_compiling:$ac_tool_warned in
6511 yes:)
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6514 ac_tool_warned=yes ;;
6515 esac
6516 OBJDUMP=$ac_ct_OBJDUMP
6518 else
6519 OBJDUMP="$ac_cv_prog_OBJDUMP"
6522 test -z "$OBJDUMP" && OBJDUMP=objdump
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6533 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6534 if ${lt_cv_deplibs_check_method+:} false; then :
6535 $as_echo_n "(cached) " >&6
6536 else
6537 lt_cv_file_magic_cmd='$MAGIC_CMD'
6538 lt_cv_file_magic_test_file=
6539 lt_cv_deplibs_check_method='unknown'
6540 # Need to set the preceding variable on all platforms that support
6541 # interlibrary dependencies.
6542 # 'none' -- dependencies not supported.
6543 # `unknown' -- same as none, but documents that we really don't know.
6544 # 'pass_all' -- all dependencies passed with no checks.
6545 # 'test_compile' -- check by making test program.
6546 # 'file_magic [[regex]]' -- check by looking for files in library path
6547 # which responds to the $file_magic_cmd with a given extended regex.
6548 # If you have `file' or equivalent on your system and you're not sure
6549 # whether `pass_all' will *always* work, you probably want this one.
6551 case $host_os in
6552 aix[4-9]*)
6553 lt_cv_deplibs_check_method=pass_all
6556 beos*)
6557 lt_cv_deplibs_check_method=pass_all
6560 bsdi[45]*)
6561 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6562 lt_cv_file_magic_cmd='/usr/bin/file -L'
6563 lt_cv_file_magic_test_file=/shlib/libc.so
6566 cygwin*)
6567 # func_win32_libid is a shell function defined in ltmain.sh
6568 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6569 lt_cv_file_magic_cmd='func_win32_libid'
6572 mingw* | pw32*)
6573 # Base MSYS/MinGW do not provide the 'file' command needed by
6574 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6575 # unless we find 'file', for example because we are cross-compiling.
6576 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6577 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6578 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6579 lt_cv_file_magic_cmd='func_win32_libid'
6580 else
6581 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6582 lt_cv_file_magic_cmd='$OBJDUMP -f'
6586 cegcc*)
6587 # use the weaker test based on 'objdump'. See mingw*.
6588 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6589 lt_cv_file_magic_cmd='$OBJDUMP -f'
6592 darwin* | rhapsody*)
6593 lt_cv_deplibs_check_method=pass_all
6596 freebsd* | dragonfly*)
6597 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6598 case $host_cpu in
6599 i*86 )
6600 # Not sure whether the presence of OpenBSD here was a mistake.
6601 # Let's accept both of them until this is cleared up.
6602 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6603 lt_cv_file_magic_cmd=/usr/bin/file
6604 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6606 esac
6607 else
6608 lt_cv_deplibs_check_method=pass_all
6612 gnu*)
6613 lt_cv_deplibs_check_method=pass_all
6616 haiku*)
6617 lt_cv_deplibs_check_method=pass_all
6620 hpux10.20* | hpux11*)
6621 lt_cv_file_magic_cmd=/usr/bin/file
6622 case $host_cpu in
6623 ia64*)
6624 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6625 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6627 hppa*64*)
6628 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]'
6629 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6632 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6633 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6635 esac
6638 interix[3-9]*)
6639 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6640 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6643 irix5* | irix6* | nonstopux*)
6644 case $LD in
6645 *-32|*"-32 ") libmagic=32-bit;;
6646 *-n32|*"-n32 ") libmagic=N32;;
6647 *-64|*"-64 ") libmagic=64-bit;;
6648 *) libmagic=never-match;;
6649 esac
6650 lt_cv_deplibs_check_method=pass_all
6653 # This must be Linux ELF.
6654 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6655 lt_cv_deplibs_check_method=pass_all
6658 netbsd*)
6659 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6660 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6661 else
6662 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6666 newos6*)
6667 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6668 lt_cv_file_magic_cmd=/usr/bin/file
6669 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6672 *nto* | *qnx*)
6673 lt_cv_deplibs_check_method=pass_all
6676 openbsd*)
6677 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6678 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6679 else
6680 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6684 osf3* | osf4* | osf5*)
6685 lt_cv_deplibs_check_method=pass_all
6688 rdos*)
6689 lt_cv_deplibs_check_method=pass_all
6692 solaris*)
6693 lt_cv_deplibs_check_method=pass_all
6696 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6697 lt_cv_deplibs_check_method=pass_all
6700 sysv4 | sysv4.3*)
6701 case $host_vendor in
6702 motorola)
6703 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]'
6704 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6706 ncr)
6707 lt_cv_deplibs_check_method=pass_all
6709 sequent)
6710 lt_cv_file_magic_cmd='/bin/file'
6711 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6713 sni)
6714 lt_cv_file_magic_cmd='/bin/file'
6715 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6716 lt_cv_file_magic_test_file=/lib/libc.so
6718 siemens)
6719 lt_cv_deplibs_check_method=pass_all
6722 lt_cv_deplibs_check_method=pass_all
6724 esac
6727 tpf*)
6728 lt_cv_deplibs_check_method=pass_all
6730 esac
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6734 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6735 file_magic_cmd=$lt_cv_file_magic_cmd
6736 deplibs_check_method=$lt_cv_deplibs_check_method
6737 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6750 if test -n "$ac_tool_prefix"; then
6751 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6752 set dummy ${ac_tool_prefix}ar; ac_word=$2
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6754 $as_echo_n "checking for $ac_word... " >&6; }
6755 if ${ac_cv_prog_AR+:} false; then :
6756 $as_echo_n "(cached) " >&6
6757 else
6758 if test -n "$AR"; then
6759 ac_cv_prog_AR="$AR" # Let the user override the test.
6760 else
6761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6762 for as_dir in $PATH
6764 IFS=$as_save_IFS
6765 test -z "$as_dir" && as_dir=.
6766 for ac_exec_ext in '' $ac_executable_extensions; do
6767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6768 ac_cv_prog_AR="${ac_tool_prefix}ar"
6769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6770 break 2
6772 done
6773 done
6774 IFS=$as_save_IFS
6778 AR=$ac_cv_prog_AR
6779 if test -n "$AR"; then
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6781 $as_echo "$AR" >&6; }
6782 else
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6784 $as_echo "no" >&6; }
6789 if test -z "$ac_cv_prog_AR"; then
6790 ac_ct_AR=$AR
6791 # Extract the first word of "ar", so it can be a program name with args.
6792 set dummy ar; ac_word=$2
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6794 $as_echo_n "checking for $ac_word... " >&6; }
6795 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6796 $as_echo_n "(cached) " >&6
6797 else
6798 if test -n "$ac_ct_AR"; then
6799 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6800 else
6801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6802 for as_dir in $PATH
6804 IFS=$as_save_IFS
6805 test -z "$as_dir" && as_dir=.
6806 for ac_exec_ext in '' $ac_executable_extensions; do
6807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6808 ac_cv_prog_ac_ct_AR="ar"
6809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6810 break 2
6812 done
6813 done
6814 IFS=$as_save_IFS
6818 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6819 if test -n "$ac_ct_AR"; then
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6821 $as_echo "$ac_ct_AR" >&6; }
6822 else
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6824 $as_echo "no" >&6; }
6827 if test "x$ac_ct_AR" = x; then
6828 AR="false"
6829 else
6830 case $cross_compiling:$ac_tool_warned in
6831 yes:)
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6833 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6834 ac_tool_warned=yes ;;
6835 esac
6836 AR=$ac_ct_AR
6838 else
6839 AR="$ac_cv_prog_AR"
6842 test -z "$AR" && AR=ar
6843 test -z "$AR_FLAGS" && AR_FLAGS=cru
6855 if test -n "$ac_tool_prefix"; then
6856 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6857 set dummy ${ac_tool_prefix}strip; ac_word=$2
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6859 $as_echo_n "checking for $ac_word... " >&6; }
6860 if ${ac_cv_prog_STRIP+:} false; then :
6861 $as_echo_n "(cached) " >&6
6862 else
6863 if test -n "$STRIP"; then
6864 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6865 else
6866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6867 for as_dir in $PATH
6869 IFS=$as_save_IFS
6870 test -z "$as_dir" && as_dir=.
6871 for ac_exec_ext in '' $ac_executable_extensions; do
6872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6873 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6875 break 2
6877 done
6878 done
6879 IFS=$as_save_IFS
6883 STRIP=$ac_cv_prog_STRIP
6884 if test -n "$STRIP"; then
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6886 $as_echo "$STRIP" >&6; }
6887 else
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6889 $as_echo "no" >&6; }
6894 if test -z "$ac_cv_prog_STRIP"; then
6895 ac_ct_STRIP=$STRIP
6896 # Extract the first word of "strip", so it can be a program name with args.
6897 set dummy strip; ac_word=$2
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6899 $as_echo_n "checking for $ac_word... " >&6; }
6900 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6901 $as_echo_n "(cached) " >&6
6902 else
6903 if test -n "$ac_ct_STRIP"; then
6904 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6905 else
6906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6907 for as_dir in $PATH
6909 IFS=$as_save_IFS
6910 test -z "$as_dir" && as_dir=.
6911 for ac_exec_ext in '' $ac_executable_extensions; do
6912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6913 ac_cv_prog_ac_ct_STRIP="strip"
6914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6915 break 2
6917 done
6918 done
6919 IFS=$as_save_IFS
6923 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6924 if test -n "$ac_ct_STRIP"; then
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6926 $as_echo "$ac_ct_STRIP" >&6; }
6927 else
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6929 $as_echo "no" >&6; }
6932 if test "x$ac_ct_STRIP" = x; then
6933 STRIP=":"
6934 else
6935 case $cross_compiling:$ac_tool_warned in
6936 yes:)
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6938 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6939 ac_tool_warned=yes ;;
6940 esac
6941 STRIP=$ac_ct_STRIP
6943 else
6944 STRIP="$ac_cv_prog_STRIP"
6947 test -z "$STRIP" && STRIP=:
6954 if test -n "$ac_tool_prefix"; then
6955 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6956 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6958 $as_echo_n "checking for $ac_word... " >&6; }
6959 if ${ac_cv_prog_RANLIB+:} false; then :
6960 $as_echo_n "(cached) " >&6
6961 else
6962 if test -n "$RANLIB"; then
6963 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6964 else
6965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6966 for as_dir in $PATH
6968 IFS=$as_save_IFS
6969 test -z "$as_dir" && as_dir=.
6970 for ac_exec_ext in '' $ac_executable_extensions; do
6971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6972 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6974 break 2
6976 done
6977 done
6978 IFS=$as_save_IFS
6982 RANLIB=$ac_cv_prog_RANLIB
6983 if test -n "$RANLIB"; then
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6985 $as_echo "$RANLIB" >&6; }
6986 else
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6988 $as_echo "no" >&6; }
6993 if test -z "$ac_cv_prog_RANLIB"; then
6994 ac_ct_RANLIB=$RANLIB
6995 # Extract the first word of "ranlib", so it can be a program name with args.
6996 set dummy ranlib; ac_word=$2
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6998 $as_echo_n "checking for $ac_word... " >&6; }
6999 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7000 $as_echo_n "(cached) " >&6
7001 else
7002 if test -n "$ac_ct_RANLIB"; then
7003 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7004 else
7005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7006 for as_dir in $PATH
7008 IFS=$as_save_IFS
7009 test -z "$as_dir" && as_dir=.
7010 for ac_exec_ext in '' $ac_executable_extensions; do
7011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7012 ac_cv_prog_ac_ct_RANLIB="ranlib"
7013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7014 break 2
7016 done
7017 done
7018 IFS=$as_save_IFS
7022 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7023 if test -n "$ac_ct_RANLIB"; then
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7025 $as_echo "$ac_ct_RANLIB" >&6; }
7026 else
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7028 $as_echo "no" >&6; }
7031 if test "x$ac_ct_RANLIB" = x; then
7032 RANLIB=":"
7033 else
7034 case $cross_compiling:$ac_tool_warned in
7035 yes:)
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7037 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7038 ac_tool_warned=yes ;;
7039 esac
7040 RANLIB=$ac_ct_RANLIB
7042 else
7043 RANLIB="$ac_cv_prog_RANLIB"
7046 test -z "$RANLIB" && RANLIB=:
7053 # Determine commands to create old-style static archives.
7054 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7055 old_postinstall_cmds='chmod 644 $oldlib'
7056 old_postuninstall_cmds=
7058 if test -n "$RANLIB"; then
7059 case $host_os in
7060 openbsd*)
7061 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7064 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7066 esac
7067 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7070 case $host_os in
7071 darwin*)
7072 lock_old_archive_extraction=yes ;;
7074 lock_old_archive_extraction=no ;;
7075 esac
7115 # If no C compiler was specified, use CC.
7116 LTCC=${LTCC-"$CC"}
7118 # If no C compiler flags were specified, use CFLAGS.
7119 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7121 # Allow CC to be a program name with arguments.
7122 compiler=$CC
7125 # Check for command to grab the raw symbol name followed by C symbol from nm.
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7127 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7128 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7129 $as_echo_n "(cached) " >&6
7130 else
7132 # These are sane defaults that work on at least a few old systems.
7133 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7135 # Character class describing NM global symbol codes.
7136 symcode='[BCDEGRST]'
7138 # Regexp to match symbols that can be accessed directly from C.
7139 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7141 # Define system-specific variables.
7142 case $host_os in
7143 aix*)
7144 symcode='[BCDT]'
7146 cygwin* | mingw* | pw32* | cegcc*)
7147 symcode='[ABCDGISTW]'
7149 hpux*)
7150 if test "$host_cpu" = ia64; then
7151 symcode='[ABCDEGRST]'
7154 irix* | nonstopux*)
7155 symcode='[BCDEGRST]'
7157 osf*)
7158 symcode='[BCDEGQRST]'
7160 solaris*)
7161 symcode='[BDRT]'
7163 sco3.2v5*)
7164 symcode='[DT]'
7166 sysv4.2uw2*)
7167 symcode='[DT]'
7169 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7170 symcode='[ABDT]'
7172 sysv4)
7173 symcode='[DFNSTU]'
7175 esac
7177 # If we're using GNU nm, then use its standard symbol codes.
7178 case `$NM -V 2>&1` in
7179 *GNU* | *'with BFD'*)
7180 symcode='[ABCDGIRSTW]' ;;
7181 esac
7183 # Transform an extracted symbol line into a proper C declaration.
7184 # Some systems (esp. on ia64) link data and code symbols differently,
7185 # so use this general approach.
7186 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7188 # Transform an extracted symbol line into symbol name and symbol address
7189 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7190 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'"
7192 # Handle CRLF in mingw tool chain
7193 opt_cr=
7194 case $build_os in
7195 mingw*)
7196 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7198 esac
7200 # Try without a prefix underscore, then with it.
7201 for ac_symprfx in "" "_"; do
7203 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7204 symxfrm="\\1 $ac_symprfx\\2 \\2"
7206 # Write the raw and C identifiers.
7207 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7208 # Fake it for dumpbin and say T for any non-static function
7209 # and D for any global variable.
7210 # Also find C++ and __fastcall symbols from MSVC++,
7211 # which start with @ or ?.
7212 lt_cv_sys_global_symbol_pipe="$AWK '"\
7213 " {last_section=section; section=\$ 3};"\
7214 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7215 " \$ 0!~/External *\|/{next};"\
7216 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7217 " {if(hide[section]) next};"\
7218 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7219 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7220 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7221 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7222 " ' prfx=^$ac_symprfx"
7223 else
7224 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7227 # Check to see that the pipe works correctly.
7228 pipe_works=no
7230 rm -f conftest*
7231 cat > conftest.$ac_ext <<_LT_EOF
7232 #ifdef __cplusplus
7233 extern "C" {
7234 #endif
7235 char nm_test_var;
7236 void nm_test_func(void);
7237 void nm_test_func(void){}
7238 #ifdef __cplusplus
7240 #endif
7241 int main(){nm_test_var='a';nm_test_func();return(0);}
7242 _LT_EOF
7244 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7245 (eval $ac_compile) 2>&5
7246 ac_status=$?
7247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7248 test $ac_status = 0; }; then
7249 # Now try to grab the symbols.
7250 nlist=conftest.nm
7251 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7252 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7253 ac_status=$?
7254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7255 test $ac_status = 0; } && test -s "$nlist"; then
7256 # Try sorting and uniquifying the output.
7257 if sort "$nlist" | uniq > "$nlist"T; then
7258 mv -f "$nlist"T "$nlist"
7259 else
7260 rm -f "$nlist"T
7263 # Make sure that we snagged all the symbols we need.
7264 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7265 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7266 cat <<_LT_EOF > conftest.$ac_ext
7267 #ifdef __cplusplus
7268 extern "C" {
7269 #endif
7271 _LT_EOF
7272 # Now generate the symbol file.
7273 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7275 cat <<_LT_EOF >> conftest.$ac_ext
7277 /* The mapping between symbol names and symbols. */
7278 const struct {
7279 const char *name;
7280 void *address;
7282 lt__PROGRAM__LTX_preloaded_symbols[] =
7284 { "@PROGRAM@", (void *) 0 },
7285 _LT_EOF
7286 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7287 cat <<\_LT_EOF >> conftest.$ac_ext
7288 {0, (void *) 0}
7291 /* This works around a problem in FreeBSD linker */
7292 #ifdef FREEBSD_WORKAROUND
7293 static const void *lt_preloaded_setup() {
7294 return lt__PROGRAM__LTX_preloaded_symbols;
7296 #endif
7298 #ifdef __cplusplus
7300 #endif
7301 _LT_EOF
7302 # Now try linking the two files.
7303 mv conftest.$ac_objext conftstm.$ac_objext
7304 lt_save_LIBS="$LIBS"
7305 lt_save_CFLAGS="$CFLAGS"
7306 LIBS="conftstm.$ac_objext"
7307 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7309 (eval $ac_link) 2>&5
7310 ac_status=$?
7311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7312 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7313 pipe_works=yes
7315 LIBS="$lt_save_LIBS"
7316 CFLAGS="$lt_save_CFLAGS"
7317 else
7318 echo "cannot find nm_test_func in $nlist" >&5
7320 else
7321 echo "cannot find nm_test_var in $nlist" >&5
7323 else
7324 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7326 else
7327 echo "$progname: failed program was:" >&5
7328 cat conftest.$ac_ext >&5
7330 rm -rf conftest* conftst*
7332 # Do not use the global_symbol_pipe unless it works.
7333 if test "$pipe_works" = yes; then
7334 break
7335 else
7336 lt_cv_sys_global_symbol_pipe=
7338 done
7342 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7343 lt_cv_sys_global_symbol_to_cdecl=
7345 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7347 $as_echo "failed" >&6; }
7348 else
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7350 $as_echo "ok" >&6; }
7374 # Check whether --enable-libtool-lock was given.
7375 if test "${enable_libtool_lock+set}" = set; then :
7376 enableval=$enable_libtool_lock;
7379 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7381 # Some flags need to be propagated to the compiler or linker for good
7382 # libtool support.
7383 case $host in
7384 ia64-*-hpux*)
7385 # Find out which ABI we are using.
7386 echo 'int i;' > conftest.$ac_ext
7387 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7388 (eval $ac_compile) 2>&5
7389 ac_status=$?
7390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7391 test $ac_status = 0; }; then
7392 case `/usr/bin/file conftest.$ac_objext` in
7393 *ELF-32*)
7394 HPUX_IA64_MODE="32"
7396 *ELF-64*)
7397 HPUX_IA64_MODE="64"
7399 esac
7401 rm -rf conftest*
7403 *-*-irix6*)
7404 # Find out which ABI we are using.
7405 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7406 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7407 (eval $ac_compile) 2>&5
7408 ac_status=$?
7409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7410 test $ac_status = 0; }; then
7411 if test "$lt_cv_prog_gnu_ld" = yes; then
7412 case `/usr/bin/file conftest.$ac_objext` in
7413 *32-bit*)
7414 LD="${LD-ld} -melf32bsmip"
7416 *N32*)
7417 LD="${LD-ld} -melf32bmipn32"
7419 *64-bit*)
7420 LD="${LD-ld} -melf64bmip"
7422 esac
7423 else
7424 case `/usr/bin/file conftest.$ac_objext` in
7425 *32-bit*)
7426 LD="${LD-ld} -32"
7428 *N32*)
7429 LD="${LD-ld} -n32"
7431 *64-bit*)
7432 LD="${LD-ld} -64"
7434 esac
7437 rm -rf conftest*
7440 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7441 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7442 # Find out which ABI we are using.
7443 echo 'int i;' > conftest.$ac_ext
7444 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7445 (eval $ac_compile) 2>&5
7446 ac_status=$?
7447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7448 test $ac_status = 0; }; then
7449 case `/usr/bin/file conftest.o` in
7450 *32-bit*)
7451 case $host in
7452 x86_64-*kfreebsd*-gnu)
7453 LD="${LD-ld} -m elf_i386_fbsd"
7455 x86_64-*linux*)
7456 case `/usr/bin/file conftest.o` in
7457 *x86-64*)
7458 LD="${LD-ld} -m elf32_x86_64"
7461 LD="${LD-ld} -m elf_i386"
7463 esac
7465 powerpc64le-*linux*)
7466 LD="${LD-ld} -m elf32lppclinux"
7468 powerpc64-*linux*)
7469 LD="${LD-ld} -m elf32ppclinux"
7471 s390x-*linux*)
7472 LD="${LD-ld} -m elf_s390"
7474 sparc64-*linux*)
7475 LD="${LD-ld} -m elf32_sparc"
7477 esac
7479 *64-bit*)
7480 case $host in
7481 x86_64-*kfreebsd*-gnu)
7482 LD="${LD-ld} -m elf_x86_64_fbsd"
7484 x86_64-*linux*)
7485 LD="${LD-ld} -m elf_x86_64"
7487 powerpcle-*linux*)
7488 LD="${LD-ld} -m elf64lppc"
7490 powerpc-*linux*)
7491 LD="${LD-ld} -m elf64ppc"
7493 s390*-*linux*|s390*-*tpf*)
7494 LD="${LD-ld} -m elf64_s390"
7496 sparc*-*linux*)
7497 LD="${LD-ld} -m elf64_sparc"
7499 esac
7501 esac
7503 rm -rf conftest*
7506 *-*-sco3.2v5*)
7507 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7508 SAVE_CFLAGS="$CFLAGS"
7509 CFLAGS="$CFLAGS -belf"
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7511 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7512 if ${lt_cv_cc_needs_belf+:} false; then :
7513 $as_echo_n "(cached) " >&6
7514 else
7515 ac_ext=c
7516 ac_cpp='$CPP $CPPFLAGS'
7517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7521 if test x$gcc_no_link = xyes; then
7522 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7525 /* end confdefs.h. */
7528 main ()
7532 return 0;
7534 _ACEOF
7535 if ac_fn_c_try_link "$LINENO"; then :
7536 lt_cv_cc_needs_belf=yes
7537 else
7538 lt_cv_cc_needs_belf=no
7540 rm -f core conftest.err conftest.$ac_objext \
7541 conftest$ac_exeext conftest.$ac_ext
7542 ac_ext=c
7543 ac_cpp='$CPP $CPPFLAGS'
7544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7550 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7551 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7552 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7553 CFLAGS="$SAVE_CFLAGS"
7556 sparc*-*solaris*)
7557 # Find out which ABI we are using.
7558 echo 'int i;' > conftest.$ac_ext
7559 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7560 (eval $ac_compile) 2>&5
7561 ac_status=$?
7562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7563 test $ac_status = 0; }; then
7564 case `/usr/bin/file conftest.o` in
7565 *64-bit*)
7566 case $lt_cv_prog_gnu_ld in
7567 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7569 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7570 LD="${LD-ld} -64"
7573 esac
7575 esac
7577 rm -rf conftest*
7579 esac
7581 need_locks="$enable_libtool_lock"
7584 case $host_os in
7585 rhapsody* | darwin*)
7586 if test -n "$ac_tool_prefix"; then
7587 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7588 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7590 $as_echo_n "checking for $ac_word... " >&6; }
7591 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7592 $as_echo_n "(cached) " >&6
7593 else
7594 if test -n "$DSYMUTIL"; then
7595 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7596 else
7597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7598 for as_dir in $PATH
7600 IFS=$as_save_IFS
7601 test -z "$as_dir" && as_dir=.
7602 for ac_exec_ext in '' $ac_executable_extensions; do
7603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7604 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7606 break 2
7608 done
7609 done
7610 IFS=$as_save_IFS
7614 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7615 if test -n "$DSYMUTIL"; then
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7617 $as_echo "$DSYMUTIL" >&6; }
7618 else
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7620 $as_echo "no" >&6; }
7625 if test -z "$ac_cv_prog_DSYMUTIL"; then
7626 ac_ct_DSYMUTIL=$DSYMUTIL
7627 # Extract the first word of "dsymutil", so it can be a program name with args.
7628 set dummy dsymutil; ac_word=$2
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7630 $as_echo_n "checking for $ac_word... " >&6; }
7631 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7632 $as_echo_n "(cached) " >&6
7633 else
7634 if test -n "$ac_ct_DSYMUTIL"; then
7635 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7636 else
7637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7638 for as_dir in $PATH
7640 IFS=$as_save_IFS
7641 test -z "$as_dir" && as_dir=.
7642 for ac_exec_ext in '' $ac_executable_extensions; do
7643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7644 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7646 break 2
7648 done
7649 done
7650 IFS=$as_save_IFS
7654 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7655 if test -n "$ac_ct_DSYMUTIL"; then
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7657 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7658 else
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7660 $as_echo "no" >&6; }
7663 if test "x$ac_ct_DSYMUTIL" = x; then
7664 DSYMUTIL=":"
7665 else
7666 case $cross_compiling:$ac_tool_warned in
7667 yes:)
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7669 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7670 ac_tool_warned=yes ;;
7671 esac
7672 DSYMUTIL=$ac_ct_DSYMUTIL
7674 else
7675 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7678 if test -n "$ac_tool_prefix"; then
7679 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7680 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7682 $as_echo_n "checking for $ac_word... " >&6; }
7683 if ${ac_cv_prog_NMEDIT+:} false; then :
7684 $as_echo_n "(cached) " >&6
7685 else
7686 if test -n "$NMEDIT"; then
7687 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7688 else
7689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7690 for as_dir in $PATH
7692 IFS=$as_save_IFS
7693 test -z "$as_dir" && as_dir=.
7694 for ac_exec_ext in '' $ac_executable_extensions; do
7695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7696 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7698 break 2
7700 done
7701 done
7702 IFS=$as_save_IFS
7706 NMEDIT=$ac_cv_prog_NMEDIT
7707 if test -n "$NMEDIT"; then
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7709 $as_echo "$NMEDIT" >&6; }
7710 else
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7712 $as_echo "no" >&6; }
7717 if test -z "$ac_cv_prog_NMEDIT"; then
7718 ac_ct_NMEDIT=$NMEDIT
7719 # Extract the first word of "nmedit", so it can be a program name with args.
7720 set dummy nmedit; ac_word=$2
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7722 $as_echo_n "checking for $ac_word... " >&6; }
7723 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7724 $as_echo_n "(cached) " >&6
7725 else
7726 if test -n "$ac_ct_NMEDIT"; then
7727 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7728 else
7729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7730 for as_dir in $PATH
7732 IFS=$as_save_IFS
7733 test -z "$as_dir" && as_dir=.
7734 for ac_exec_ext in '' $ac_executable_extensions; do
7735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7736 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7738 break 2
7740 done
7741 done
7742 IFS=$as_save_IFS
7746 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7747 if test -n "$ac_ct_NMEDIT"; then
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7749 $as_echo "$ac_ct_NMEDIT" >&6; }
7750 else
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7752 $as_echo "no" >&6; }
7755 if test "x$ac_ct_NMEDIT" = x; then
7756 NMEDIT=":"
7757 else
7758 case $cross_compiling:$ac_tool_warned in
7759 yes:)
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7761 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7762 ac_tool_warned=yes ;;
7763 esac
7764 NMEDIT=$ac_ct_NMEDIT
7766 else
7767 NMEDIT="$ac_cv_prog_NMEDIT"
7770 if test -n "$ac_tool_prefix"; then
7771 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7772 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7774 $as_echo_n "checking for $ac_word... " >&6; }
7775 if ${ac_cv_prog_LIPO+:} false; then :
7776 $as_echo_n "(cached) " >&6
7777 else
7778 if test -n "$LIPO"; then
7779 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7780 else
7781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7782 for as_dir in $PATH
7784 IFS=$as_save_IFS
7785 test -z "$as_dir" && as_dir=.
7786 for ac_exec_ext in '' $ac_executable_extensions; do
7787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7788 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7790 break 2
7792 done
7793 done
7794 IFS=$as_save_IFS
7798 LIPO=$ac_cv_prog_LIPO
7799 if test -n "$LIPO"; then
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7801 $as_echo "$LIPO" >&6; }
7802 else
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7804 $as_echo "no" >&6; }
7809 if test -z "$ac_cv_prog_LIPO"; then
7810 ac_ct_LIPO=$LIPO
7811 # Extract the first word of "lipo", so it can be a program name with args.
7812 set dummy lipo; ac_word=$2
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7814 $as_echo_n "checking for $ac_word... " >&6; }
7815 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7816 $as_echo_n "(cached) " >&6
7817 else
7818 if test -n "$ac_ct_LIPO"; then
7819 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7820 else
7821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7822 for as_dir in $PATH
7824 IFS=$as_save_IFS
7825 test -z "$as_dir" && as_dir=.
7826 for ac_exec_ext in '' $ac_executable_extensions; do
7827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7828 ac_cv_prog_ac_ct_LIPO="lipo"
7829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7830 break 2
7832 done
7833 done
7834 IFS=$as_save_IFS
7838 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7839 if test -n "$ac_ct_LIPO"; then
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7841 $as_echo "$ac_ct_LIPO" >&6; }
7842 else
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7844 $as_echo "no" >&6; }
7847 if test "x$ac_ct_LIPO" = x; then
7848 LIPO=":"
7849 else
7850 case $cross_compiling:$ac_tool_warned in
7851 yes:)
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7854 ac_tool_warned=yes ;;
7855 esac
7856 LIPO=$ac_ct_LIPO
7858 else
7859 LIPO="$ac_cv_prog_LIPO"
7862 if test -n "$ac_tool_prefix"; then
7863 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7864 set dummy ${ac_tool_prefix}otool; ac_word=$2
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7866 $as_echo_n "checking for $ac_word... " >&6; }
7867 if ${ac_cv_prog_OTOOL+:} false; then :
7868 $as_echo_n "(cached) " >&6
7869 else
7870 if test -n "$OTOOL"; then
7871 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7872 else
7873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7874 for as_dir in $PATH
7876 IFS=$as_save_IFS
7877 test -z "$as_dir" && as_dir=.
7878 for ac_exec_ext in '' $ac_executable_extensions; do
7879 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7880 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7882 break 2
7884 done
7885 done
7886 IFS=$as_save_IFS
7890 OTOOL=$ac_cv_prog_OTOOL
7891 if test -n "$OTOOL"; then
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7893 $as_echo "$OTOOL" >&6; }
7894 else
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7896 $as_echo "no" >&6; }
7901 if test -z "$ac_cv_prog_OTOOL"; then
7902 ac_ct_OTOOL=$OTOOL
7903 # Extract the first word of "otool", so it can be a program name with args.
7904 set dummy otool; ac_word=$2
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7906 $as_echo_n "checking for $ac_word... " >&6; }
7907 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7908 $as_echo_n "(cached) " >&6
7909 else
7910 if test -n "$ac_ct_OTOOL"; then
7911 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7912 else
7913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7914 for as_dir in $PATH
7916 IFS=$as_save_IFS
7917 test -z "$as_dir" && as_dir=.
7918 for ac_exec_ext in '' $ac_executable_extensions; do
7919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7920 ac_cv_prog_ac_ct_OTOOL="otool"
7921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7922 break 2
7924 done
7925 done
7926 IFS=$as_save_IFS
7930 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7931 if test -n "$ac_ct_OTOOL"; then
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7933 $as_echo "$ac_ct_OTOOL" >&6; }
7934 else
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7936 $as_echo "no" >&6; }
7939 if test "x$ac_ct_OTOOL" = x; then
7940 OTOOL=":"
7941 else
7942 case $cross_compiling:$ac_tool_warned in
7943 yes:)
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7945 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7946 ac_tool_warned=yes ;;
7947 esac
7948 OTOOL=$ac_ct_OTOOL
7950 else
7951 OTOOL="$ac_cv_prog_OTOOL"
7954 if test -n "$ac_tool_prefix"; then
7955 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7956 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7958 $as_echo_n "checking for $ac_word... " >&6; }
7959 if ${ac_cv_prog_OTOOL64+:} false; then :
7960 $as_echo_n "(cached) " >&6
7961 else
7962 if test -n "$OTOOL64"; then
7963 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7964 else
7965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7966 for as_dir in $PATH
7968 IFS=$as_save_IFS
7969 test -z "$as_dir" && as_dir=.
7970 for ac_exec_ext in '' $ac_executable_extensions; do
7971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7972 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7974 break 2
7976 done
7977 done
7978 IFS=$as_save_IFS
7982 OTOOL64=$ac_cv_prog_OTOOL64
7983 if test -n "$OTOOL64"; then
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7985 $as_echo "$OTOOL64" >&6; }
7986 else
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7988 $as_echo "no" >&6; }
7993 if test -z "$ac_cv_prog_OTOOL64"; then
7994 ac_ct_OTOOL64=$OTOOL64
7995 # Extract the first word of "otool64", so it can be a program name with args.
7996 set dummy otool64; ac_word=$2
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7998 $as_echo_n "checking for $ac_word... " >&6; }
7999 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8000 $as_echo_n "(cached) " >&6
8001 else
8002 if test -n "$ac_ct_OTOOL64"; then
8003 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8004 else
8005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8006 for as_dir in $PATH
8008 IFS=$as_save_IFS
8009 test -z "$as_dir" && as_dir=.
8010 for ac_exec_ext in '' $ac_executable_extensions; do
8011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8012 ac_cv_prog_ac_ct_OTOOL64="otool64"
8013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8014 break 2
8016 done
8017 done
8018 IFS=$as_save_IFS
8022 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8023 if test -n "$ac_ct_OTOOL64"; then
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8025 $as_echo "$ac_ct_OTOOL64" >&6; }
8026 else
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8028 $as_echo "no" >&6; }
8031 if test "x$ac_ct_OTOOL64" = x; then
8032 OTOOL64=":"
8033 else
8034 case $cross_compiling:$ac_tool_warned in
8035 yes:)
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8037 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8038 ac_tool_warned=yes ;;
8039 esac
8040 OTOOL64=$ac_ct_OTOOL64
8042 else
8043 OTOOL64="$ac_cv_prog_OTOOL64"
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8073 $as_echo_n "checking for -single_module linker flag... " >&6; }
8074 if ${lt_cv_apple_cc_single_mod+:} false; then :
8075 $as_echo_n "(cached) " >&6
8076 else
8077 lt_cv_apple_cc_single_mod=no
8078 if test -z "${LT_MULTI_MODULE}"; then
8079 # By default we will add the -single_module flag. You can override
8080 # by either setting the environment variable LT_MULTI_MODULE
8081 # non-empty at configure time, or by adding -multi_module to the
8082 # link flags.
8083 rm -rf libconftest.dylib*
8084 echo "int foo(void){return 1;}" > conftest.c
8085 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8086 -dynamiclib -Wl,-single_module conftest.c" >&5
8087 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8088 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8089 _lt_result=$?
8090 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8091 lt_cv_apple_cc_single_mod=yes
8092 else
8093 cat conftest.err >&5
8095 rm -rf libconftest.dylib*
8096 rm -f conftest.*
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8100 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8102 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8103 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8104 $as_echo_n "(cached) " >&6
8105 else
8106 lt_cv_ld_exported_symbols_list=no
8107 save_LDFLAGS=$LDFLAGS
8108 echo "_main" > conftest.sym
8109 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8110 if test x$gcc_no_link = xyes; then
8111 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8114 /* end confdefs.h. */
8117 main ()
8121 return 0;
8123 _ACEOF
8124 if ac_fn_c_try_link "$LINENO"; then :
8125 lt_cv_ld_exported_symbols_list=yes
8126 else
8127 lt_cv_ld_exported_symbols_list=no
8129 rm -f core conftest.err conftest.$ac_objext \
8130 conftest$ac_exeext conftest.$ac_ext
8131 LDFLAGS="$save_LDFLAGS"
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8135 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8137 $as_echo_n "checking for -force_load linker flag... " >&6; }
8138 if ${lt_cv_ld_force_load+:} false; then :
8139 $as_echo_n "(cached) " >&6
8140 else
8141 lt_cv_ld_force_load=no
8142 cat > conftest.c << _LT_EOF
8143 int forced_loaded() { return 2;}
8144 _LT_EOF
8145 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8146 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8147 echo "$AR cru libconftest.a conftest.o" >&5
8148 $AR cru libconftest.a conftest.o 2>&5
8149 cat > conftest.c << _LT_EOF
8150 int main() { return 0;}
8151 _LT_EOF
8152 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8153 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8154 _lt_result=$?
8155 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8156 lt_cv_ld_force_load=yes
8157 else
8158 cat conftest.err >&5
8160 rm -f conftest.err libconftest.a conftest conftest.c
8161 rm -rf conftest.dSYM
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8165 $as_echo "$lt_cv_ld_force_load" >&6; }
8166 case $host_os in
8167 rhapsody* | darwin1.[012])
8168 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8169 darwin1.*)
8170 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8171 darwin*) # darwin 5.x on
8172 # if running on 10.5 or later, the deployment target defaults
8173 # to the OS version, if on x86, and 10.4, the deployment
8174 # target defaults to 10.4. Don't you love it?
8175 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8176 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8177 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8178 10.[012][,.]*)
8179 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8180 10.*)
8181 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8182 esac
8184 esac
8185 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8186 _lt_dar_single_mod='$single_module'
8188 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8189 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8190 else
8191 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8193 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8194 _lt_dsymutil='~$DSYMUTIL $lib || :'
8195 else
8196 _lt_dsymutil=
8199 esac
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8202 $as_echo_n "checking for ANSI C header files... " >&6; }
8203 if ${ac_cv_header_stdc+:} false; then :
8204 $as_echo_n "(cached) " >&6
8205 else
8206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8207 /* end confdefs.h. */
8208 #include <stdlib.h>
8209 #include <stdarg.h>
8210 #include <string.h>
8211 #include <float.h>
8214 main ()
8218 return 0;
8220 _ACEOF
8221 if ac_fn_c_try_compile "$LINENO"; then :
8222 ac_cv_header_stdc=yes
8223 else
8224 ac_cv_header_stdc=no
8226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8228 if test $ac_cv_header_stdc = yes; then
8229 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8231 /* end confdefs.h. */
8232 #include <string.h>
8234 _ACEOF
8235 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8236 $EGREP "memchr" >/dev/null 2>&1; then :
8238 else
8239 ac_cv_header_stdc=no
8241 rm -f conftest*
8245 if test $ac_cv_header_stdc = yes; then
8246 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8248 /* end confdefs.h. */
8249 #include <stdlib.h>
8251 _ACEOF
8252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8253 $EGREP "free" >/dev/null 2>&1; then :
8255 else
8256 ac_cv_header_stdc=no
8258 rm -f conftest*
8262 if test $ac_cv_header_stdc = yes; then
8263 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8264 if test "$cross_compiling" = yes; then :
8266 else
8267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8268 /* end confdefs.h. */
8269 #include <ctype.h>
8270 #include <stdlib.h>
8271 #if ((' ' & 0x0FF) == 0x020)
8272 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8273 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8274 #else
8275 # define ISLOWER(c) \
8276 (('a' <= (c) && (c) <= 'i') \
8277 || ('j' <= (c) && (c) <= 'r') \
8278 || ('s' <= (c) && (c) <= 'z'))
8279 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8280 #endif
8282 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8284 main ()
8286 int i;
8287 for (i = 0; i < 256; i++)
8288 if (XOR (islower (i), ISLOWER (i))
8289 || toupper (i) != TOUPPER (i))
8290 return 2;
8291 return 0;
8293 _ACEOF
8294 if ac_fn_c_try_run "$LINENO"; then :
8296 else
8297 ac_cv_header_stdc=no
8299 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8300 conftest.$ac_objext conftest.beam conftest.$ac_ext
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8306 $as_echo "$ac_cv_header_stdc" >&6; }
8307 if test $ac_cv_header_stdc = yes; then
8309 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8313 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8314 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8315 inttypes.h stdint.h unistd.h
8316 do :
8317 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8318 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8320 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8321 cat >>confdefs.h <<_ACEOF
8322 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8323 _ACEOF
8327 done
8330 for ac_header in dlfcn.h
8331 do :
8332 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8334 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8335 cat >>confdefs.h <<_ACEOF
8336 #define HAVE_DLFCN_H 1
8337 _ACEOF
8341 done
8348 # Set options
8353 enable_win32_dll=no
8356 # Check whether --enable-shared was given.
8357 if test "${enable_shared+set}" = set; then :
8358 enableval=$enable_shared; p=${PACKAGE-default}
8359 case $enableval in
8360 yes) enable_shared=yes ;;
8361 no) enable_shared=no ;;
8363 enable_shared=no
8364 # Look at the argument we got. We use all the common list separators.
8365 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8366 for pkg in $enableval; do
8367 IFS="$lt_save_ifs"
8368 if test "X$pkg" = "X$p"; then
8369 enable_shared=yes
8371 done
8372 IFS="$lt_save_ifs"
8374 esac
8375 else
8376 enable_shared=yes
8387 # Check whether --enable-static was given.
8388 if test "${enable_static+set}" = set; then :
8389 enableval=$enable_static; p=${PACKAGE-default}
8390 case $enableval in
8391 yes) enable_static=yes ;;
8392 no) enable_static=no ;;
8394 enable_static=no
8395 # Look at the argument we got. We use all the common list separators.
8396 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8397 for pkg in $enableval; do
8398 IFS="$lt_save_ifs"
8399 if test "X$pkg" = "X$p"; then
8400 enable_static=yes
8402 done
8403 IFS="$lt_save_ifs"
8405 esac
8406 else
8407 enable_static=yes
8419 # Check whether --with-pic was given.
8420 if test "${with_pic+set}" = set; then :
8421 withval=$with_pic; pic_mode="$withval"
8422 else
8423 pic_mode=default
8427 test -z "$pic_mode" && pic_mode=default
8435 # Check whether --enable-fast-install was given.
8436 if test "${enable_fast_install+set}" = set; then :
8437 enableval=$enable_fast_install; p=${PACKAGE-default}
8438 case $enableval in
8439 yes) enable_fast_install=yes ;;
8440 no) enable_fast_install=no ;;
8442 enable_fast_install=no
8443 # Look at the argument we got. We use all the common list separators.
8444 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8445 for pkg in $enableval; do
8446 IFS="$lt_save_ifs"
8447 if test "X$pkg" = "X$p"; then
8448 enable_fast_install=yes
8450 done
8451 IFS="$lt_save_ifs"
8453 esac
8454 else
8455 enable_fast_install=yes
8468 # This can be used to rebuild libtool when needed
8469 LIBTOOL_DEPS="$ltmain"
8471 # Always use our own libtool.
8472 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8499 test -z "$LN_S" && LN_S="ln -s"
8514 if test -n "${ZSH_VERSION+set}" ; then
8515 setopt NO_GLOB_SUBST
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8519 $as_echo_n "checking for objdir... " >&6; }
8520 if ${lt_cv_objdir+:} false; then :
8521 $as_echo_n "(cached) " >&6
8522 else
8523 rm -f .libs 2>/dev/null
8524 mkdir .libs 2>/dev/null
8525 if test -d .libs; then
8526 lt_cv_objdir=.libs
8527 else
8528 # MS-DOS does not allow filenames that begin with a dot.
8529 lt_cv_objdir=_libs
8531 rmdir .libs 2>/dev/null
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8534 $as_echo "$lt_cv_objdir" >&6; }
8535 objdir=$lt_cv_objdir
8541 cat >>confdefs.h <<_ACEOF
8542 #define LT_OBJDIR "$lt_cv_objdir/"
8543 _ACEOF
8548 case $host_os in
8549 aix3*)
8550 # AIX sometimes has problems with the GCC collect2 program. For some
8551 # reason, if we set the COLLECT_NAMES environment variable, the problems
8552 # vanish in a puff of smoke.
8553 if test "X${COLLECT_NAMES+set}" != Xset; then
8554 COLLECT_NAMES=
8555 export COLLECT_NAMES
8558 esac
8560 # Global variables:
8561 ofile=libtool
8562 can_build_shared=yes
8564 # All known linkers require a `.a' archive for static linking (except MSVC,
8565 # which needs '.lib').
8566 libext=a
8568 with_gnu_ld="$lt_cv_prog_gnu_ld"
8570 old_CC="$CC"
8571 old_CFLAGS="$CFLAGS"
8573 # Set sane defaults for various variables
8574 test -z "$CC" && CC=cc
8575 test -z "$LTCC" && LTCC=$CC
8576 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8577 test -z "$LD" && LD=ld
8578 test -z "$ac_objext" && ac_objext=o
8580 for cc_temp in $compiler""; do
8581 case $cc_temp in
8582 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8583 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8584 \-*) ;;
8585 *) break;;
8586 esac
8587 done
8588 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8591 # Only perform the check for file, if the check method requires it
8592 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8593 case $deplibs_check_method in
8594 file_magic*)
8595 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8597 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8598 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8599 $as_echo_n "(cached) " >&6
8600 else
8601 case $MAGIC_CMD in
8602 [\\/*] | ?:[\\/]*)
8603 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8606 lt_save_MAGIC_CMD="$MAGIC_CMD"
8607 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8608 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8609 for ac_dir in $ac_dummy; do
8610 IFS="$lt_save_ifs"
8611 test -z "$ac_dir" && ac_dir=.
8612 if test -f $ac_dir/${ac_tool_prefix}file; then
8613 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8614 if test -n "$file_magic_test_file"; then
8615 case $deplibs_check_method in
8616 "file_magic "*)
8617 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8618 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8619 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8620 $EGREP "$file_magic_regex" > /dev/null; then
8622 else
8623 cat <<_LT_EOF 1>&2
8625 *** Warning: the command libtool uses to detect shared libraries,
8626 *** $file_magic_cmd, produces output that libtool cannot recognize.
8627 *** The result is that libtool may fail to recognize shared libraries
8628 *** as such. This will affect the creation of libtool libraries that
8629 *** depend on shared libraries, but programs linked with such libtool
8630 *** libraries will work regardless of this problem. Nevertheless, you
8631 *** may want to report the problem to your system manager and/or to
8632 *** bug-libtool@gnu.org
8634 _LT_EOF
8635 fi ;;
8636 esac
8638 break
8640 done
8641 IFS="$lt_save_ifs"
8642 MAGIC_CMD="$lt_save_MAGIC_CMD"
8644 esac
8647 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8648 if test -n "$MAGIC_CMD"; then
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8650 $as_echo "$MAGIC_CMD" >&6; }
8651 else
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8653 $as_echo "no" >&6; }
8660 if test -z "$lt_cv_path_MAGIC_CMD"; then
8661 if test -n "$ac_tool_prefix"; then
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8663 $as_echo_n "checking for file... " >&6; }
8664 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8665 $as_echo_n "(cached) " >&6
8666 else
8667 case $MAGIC_CMD in
8668 [\\/*] | ?:[\\/]*)
8669 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8672 lt_save_MAGIC_CMD="$MAGIC_CMD"
8673 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8674 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8675 for ac_dir in $ac_dummy; do
8676 IFS="$lt_save_ifs"
8677 test -z "$ac_dir" && ac_dir=.
8678 if test -f $ac_dir/file; then
8679 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8680 if test -n "$file_magic_test_file"; then
8681 case $deplibs_check_method in
8682 "file_magic "*)
8683 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8684 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8685 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8686 $EGREP "$file_magic_regex" > /dev/null; then
8688 else
8689 cat <<_LT_EOF 1>&2
8691 *** Warning: the command libtool uses to detect shared libraries,
8692 *** $file_magic_cmd, produces output that libtool cannot recognize.
8693 *** The result is that libtool may fail to recognize shared libraries
8694 *** as such. This will affect the creation of libtool libraries that
8695 *** depend on shared libraries, but programs linked with such libtool
8696 *** libraries will work regardless of this problem. Nevertheless, you
8697 *** may want to report the problem to your system manager and/or to
8698 *** bug-libtool@gnu.org
8700 _LT_EOF
8701 fi ;;
8702 esac
8704 break
8706 done
8707 IFS="$lt_save_ifs"
8708 MAGIC_CMD="$lt_save_MAGIC_CMD"
8710 esac
8713 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8714 if test -n "$MAGIC_CMD"; then
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8716 $as_echo "$MAGIC_CMD" >&6; }
8717 else
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8719 $as_echo "no" >&6; }
8723 else
8724 MAGIC_CMD=:
8730 esac
8732 # Use C for the default configuration in the libtool script
8734 lt_save_CC="$CC"
8735 ac_ext=c
8736 ac_cpp='$CPP $CPPFLAGS'
8737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8742 # Source file extension for C test sources.
8743 ac_ext=c
8745 # Object file extension for compiled C test sources.
8746 objext=o
8747 objext=$objext
8749 # Code to be used in simple compile tests
8750 lt_simple_compile_test_code="int some_variable = 0;"
8752 # Code to be used in simple link tests
8753 lt_simple_link_test_code='int main(){return(0);}'
8761 # If no C compiler was specified, use CC.
8762 LTCC=${LTCC-"$CC"}
8764 # If no C compiler flags were specified, use CFLAGS.
8765 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8767 # Allow CC to be a program name with arguments.
8768 compiler=$CC
8770 # Save the default compiler, since it gets overwritten when the other
8771 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8772 compiler_DEFAULT=$CC
8774 # save warnings/boilerplate of simple test code
8775 ac_outfile=conftest.$ac_objext
8776 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8777 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8778 _lt_compiler_boilerplate=`cat conftest.err`
8779 $RM conftest*
8781 ac_outfile=conftest.$ac_objext
8782 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8783 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8784 _lt_linker_boilerplate=`cat conftest.err`
8785 $RM -r conftest*
8788 ## CAVEAT EMPTOR:
8789 ## There is no encapsulation within the following macros, do not change
8790 ## the running order or otherwise move them around unless you know exactly
8791 ## what you are doing...
8792 if test -n "$compiler"; then
8794 lt_prog_compiler_no_builtin_flag=
8796 if test "$GCC" = yes; then
8797 case $cc_basename in
8798 nvcc*)
8799 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8801 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8802 esac
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8805 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8806 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8807 $as_echo_n "(cached) " >&6
8808 else
8809 lt_cv_prog_compiler_rtti_exceptions=no
8810 ac_outfile=conftest.$ac_objext
8811 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8812 lt_compiler_flag="-fno-rtti -fno-exceptions"
8813 # Insert the option either (1) after the last *FLAGS variable, or
8814 # (2) before a word containing "conftest.", or (3) at the end.
8815 # Note that $ac_compile itself does not contain backslashes and begins
8816 # with a dollar sign (not a hyphen), so the echo should work correctly.
8817 # The option is referenced via a variable to avoid confusing sed.
8818 lt_compile=`echo "$ac_compile" | $SED \
8819 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8820 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8821 -e 's:$: $lt_compiler_flag:'`
8822 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8823 (eval "$lt_compile" 2>conftest.err)
8824 ac_status=$?
8825 cat conftest.err >&5
8826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8827 if (exit $ac_status) && test -s "$ac_outfile"; then
8828 # The compiler can only warn and ignore the option if not recognized
8829 # So say no if there are warnings other than the usual output.
8830 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8831 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8832 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8833 lt_cv_prog_compiler_rtti_exceptions=yes
8836 $RM conftest*
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8840 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8842 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8843 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8844 else
8855 lt_prog_compiler_wl=
8856 lt_prog_compiler_pic=
8857 lt_prog_compiler_static=
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8860 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8862 if test "$GCC" = yes; then
8863 lt_prog_compiler_wl='-Wl,'
8864 lt_prog_compiler_static='-static'
8866 case $host_os in
8867 aix*)
8868 # All AIX code is PIC.
8869 if test "$host_cpu" = ia64; then
8870 # AIX 5 now supports IA64 processor
8871 lt_prog_compiler_static='-Bstatic'
8873 lt_prog_compiler_pic='-fPIC'
8876 amigaos*)
8877 case $host_cpu in
8878 powerpc)
8879 # see comment about AmigaOS4 .so support
8880 lt_prog_compiler_pic='-fPIC'
8882 m68k)
8883 # FIXME: we need at least 68020 code to build shared libraries, but
8884 # adding the `-m68020' flag to GCC prevents building anything better,
8885 # like `-m68040'.
8886 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8888 esac
8891 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8892 # PIC is the default for these OSes.
8895 mingw* | cygwin* | pw32* | os2* | cegcc*)
8896 # This hack is so that the source file can tell whether it is being
8897 # built for inclusion in a dll (and should export symbols for example).
8898 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8899 # (--disable-auto-import) libraries
8900 lt_prog_compiler_pic='-DDLL_EXPORT'
8903 darwin* | rhapsody*)
8904 # PIC is the default on this platform
8905 # Common symbols not allowed in MH_DYLIB files
8906 lt_prog_compiler_pic='-fno-common'
8909 haiku*)
8910 # PIC is the default for Haiku.
8911 # The "-static" flag exists, but is broken.
8912 lt_prog_compiler_static=
8915 hpux*)
8916 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8917 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8918 # sets the default TLS model and affects inlining.
8919 case $host_cpu in
8920 hppa*64*)
8921 # +Z the default
8924 lt_prog_compiler_pic='-fPIC'
8926 esac
8929 interix[3-9]*)
8930 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8931 # Instead, we relocate shared libraries at runtime.
8934 msdosdjgpp*)
8935 # Just because we use GCC doesn't mean we suddenly get shared libraries
8936 # on systems that don't support them.
8937 lt_prog_compiler_can_build_shared=no
8938 enable_shared=no
8941 *nto* | *qnx*)
8942 # QNX uses GNU C++, but need to define -shared option too, otherwise
8943 # it will coredump.
8944 lt_prog_compiler_pic='-fPIC -shared'
8947 sysv4*MP*)
8948 if test -d /usr/nec; then
8949 lt_prog_compiler_pic=-Kconform_pic
8954 lt_prog_compiler_pic='-fPIC'
8956 esac
8958 case $cc_basename in
8959 nvcc*) # Cuda Compiler Driver 2.2
8960 lt_prog_compiler_wl='-Xlinker '
8961 lt_prog_compiler_pic='-Xcompiler -fPIC'
8963 esac
8964 else
8965 # PORTME Check for flag to pass linker flags through the system compiler.
8966 case $host_os in
8967 aix*)
8968 lt_prog_compiler_wl='-Wl,'
8969 if test "$host_cpu" = ia64; then
8970 # AIX 5 now supports IA64 processor
8971 lt_prog_compiler_static='-Bstatic'
8972 else
8973 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8977 mingw* | cygwin* | pw32* | os2* | cegcc*)
8978 # This hack is so that the source file can tell whether it is being
8979 # built for inclusion in a dll (and should export symbols for example).
8980 lt_prog_compiler_pic='-DDLL_EXPORT'
8983 hpux9* | hpux10* | hpux11*)
8984 lt_prog_compiler_wl='-Wl,'
8985 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8986 # not for PA HP-UX.
8987 case $host_cpu in
8988 hppa*64*|ia64*)
8989 # +Z the default
8992 lt_prog_compiler_pic='+Z'
8994 esac
8995 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8996 lt_prog_compiler_static='${wl}-a ${wl}archive'
8999 irix5* | irix6* | nonstopux*)
9000 lt_prog_compiler_wl='-Wl,'
9001 # PIC (with -KPIC) is the default.
9002 lt_prog_compiler_static='-non_shared'
9005 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9006 case $cc_basename in
9007 # old Intel for x86_64 which still supported -KPIC.
9008 ecc*)
9009 lt_prog_compiler_wl='-Wl,'
9010 lt_prog_compiler_pic='-KPIC'
9011 lt_prog_compiler_static='-static'
9013 # icc used to be incompatible with GCC.
9014 # ICC 10 doesn't accept -KPIC any more.
9015 icc* | ifort*)
9016 lt_prog_compiler_wl='-Wl,'
9017 lt_prog_compiler_pic='-fPIC'
9018 lt_prog_compiler_static='-static'
9020 # Lahey Fortran 8.1.
9021 lf95*)
9022 lt_prog_compiler_wl='-Wl,'
9023 lt_prog_compiler_pic='--shared'
9024 lt_prog_compiler_static='--static'
9026 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9027 # Portland Group compilers (*not* the Pentium gcc compiler,
9028 # which looks to be a dead project)
9029 lt_prog_compiler_wl='-Wl,'
9030 lt_prog_compiler_pic='-fpic'
9031 lt_prog_compiler_static='-Bstatic'
9033 ccc*)
9034 lt_prog_compiler_wl='-Wl,'
9035 # All Alpha code is PIC.
9036 lt_prog_compiler_static='-non_shared'
9038 xl* | bgxl* | bgf* | mpixl*)
9039 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9040 lt_prog_compiler_wl='-Wl,'
9041 lt_prog_compiler_pic='-qpic'
9042 lt_prog_compiler_static='-qstaticlink'
9045 case `$CC -V 2>&1 | sed 5q` in
9046 *Sun\ F* | *Sun*Fortran*)
9047 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9048 lt_prog_compiler_pic='-KPIC'
9049 lt_prog_compiler_static='-Bstatic'
9050 lt_prog_compiler_wl=''
9052 *Sun\ C*)
9053 # Sun C 5.9
9054 lt_prog_compiler_pic='-KPIC'
9055 lt_prog_compiler_static='-Bstatic'
9056 lt_prog_compiler_wl='-Wl,'
9058 esac
9060 esac
9063 newsos6)
9064 lt_prog_compiler_pic='-KPIC'
9065 lt_prog_compiler_static='-Bstatic'
9068 *nto* | *qnx*)
9069 # QNX uses GNU C++, but need to define -shared option too, otherwise
9070 # it will coredump.
9071 lt_prog_compiler_pic='-fPIC -shared'
9074 osf3* | osf4* | osf5*)
9075 lt_prog_compiler_wl='-Wl,'
9076 # All OSF/1 code is PIC.
9077 lt_prog_compiler_static='-non_shared'
9080 rdos*)
9081 lt_prog_compiler_static='-non_shared'
9084 solaris*)
9085 lt_prog_compiler_pic='-KPIC'
9086 lt_prog_compiler_static='-Bstatic'
9087 case $cc_basename in
9088 f77* | f90* | f95*)
9089 lt_prog_compiler_wl='-Qoption ld ';;
9091 lt_prog_compiler_wl='-Wl,';;
9092 esac
9095 sunos4*)
9096 lt_prog_compiler_wl='-Qoption ld '
9097 lt_prog_compiler_pic='-PIC'
9098 lt_prog_compiler_static='-Bstatic'
9101 sysv4 | sysv4.2uw2* | sysv4.3*)
9102 lt_prog_compiler_wl='-Wl,'
9103 lt_prog_compiler_pic='-KPIC'
9104 lt_prog_compiler_static='-Bstatic'
9107 sysv4*MP*)
9108 if test -d /usr/nec ;then
9109 lt_prog_compiler_pic='-Kconform_pic'
9110 lt_prog_compiler_static='-Bstatic'
9114 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9115 lt_prog_compiler_wl='-Wl,'
9116 lt_prog_compiler_pic='-KPIC'
9117 lt_prog_compiler_static='-Bstatic'
9120 unicos*)
9121 lt_prog_compiler_wl='-Wl,'
9122 lt_prog_compiler_can_build_shared=no
9125 uts4*)
9126 lt_prog_compiler_pic='-pic'
9127 lt_prog_compiler_static='-Bstatic'
9131 lt_prog_compiler_can_build_shared=no
9133 esac
9136 case $host_os in
9137 # For platforms which do not support PIC, -DPIC is meaningless:
9138 *djgpp*)
9139 lt_prog_compiler_pic=
9142 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9144 esac
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9146 $as_echo "$lt_prog_compiler_pic" >&6; }
9154 # Check to make sure the PIC flag actually works.
9156 if test -n "$lt_prog_compiler_pic"; then
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9158 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9159 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9160 $as_echo_n "(cached) " >&6
9161 else
9162 lt_cv_prog_compiler_pic_works=no
9163 ac_outfile=conftest.$ac_objext
9164 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9165 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9166 # Insert the option either (1) after the last *FLAGS variable, or
9167 # (2) before a word containing "conftest.", or (3) at the end.
9168 # Note that $ac_compile itself does not contain backslashes and begins
9169 # with a dollar sign (not a hyphen), so the echo should work correctly.
9170 # The option is referenced via a variable to avoid confusing sed.
9171 lt_compile=`echo "$ac_compile" | $SED \
9172 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9173 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9174 -e 's:$: $lt_compiler_flag:'`
9175 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9176 (eval "$lt_compile" 2>conftest.err)
9177 ac_status=$?
9178 cat conftest.err >&5
9179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9180 if (exit $ac_status) && test -s "$ac_outfile"; then
9181 # The compiler can only warn and ignore the option if not recognized
9182 # So say no if there are warnings other than the usual output.
9183 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9184 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9185 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9186 lt_cv_prog_compiler_pic_works=yes
9189 $RM conftest*
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9193 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9195 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9196 case $lt_prog_compiler_pic in
9197 "" | " "*) ;;
9198 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9199 esac
9200 else
9201 lt_prog_compiler_pic=
9202 lt_prog_compiler_can_build_shared=no
9213 # Check to make sure the static flag actually works.
9215 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9217 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9218 if ${lt_cv_prog_compiler_static_works+:} false; then :
9219 $as_echo_n "(cached) " >&6
9220 else
9221 lt_cv_prog_compiler_static_works=no
9222 save_LDFLAGS="$LDFLAGS"
9223 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9224 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9225 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9226 # The linker can only warn and ignore the option if not recognized
9227 # So say no if there are warnings
9228 if test -s conftest.err; then
9229 # Append any errors to the config.log.
9230 cat conftest.err 1>&5
9231 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9232 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9233 if diff conftest.exp conftest.er2 >/dev/null; then
9234 lt_cv_prog_compiler_static_works=yes
9236 else
9237 lt_cv_prog_compiler_static_works=yes
9240 $RM -r conftest*
9241 LDFLAGS="$save_LDFLAGS"
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9245 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9247 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9249 else
9250 lt_prog_compiler_static=
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9260 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9261 if ${lt_cv_prog_compiler_c_o+:} false; then :
9262 $as_echo_n "(cached) " >&6
9263 else
9264 lt_cv_prog_compiler_c_o=no
9265 $RM -r conftest 2>/dev/null
9266 mkdir conftest
9267 cd conftest
9268 mkdir out
9269 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9271 lt_compiler_flag="-o out/conftest2.$ac_objext"
9272 # Insert the option either (1) after the last *FLAGS variable, or
9273 # (2) before a word containing "conftest.", or (3) at the end.
9274 # Note that $ac_compile itself does not contain backslashes and begins
9275 # with a dollar sign (not a hyphen), so the echo should work correctly.
9276 lt_compile=`echo "$ac_compile" | $SED \
9277 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9278 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9279 -e 's:$: $lt_compiler_flag:'`
9280 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9281 (eval "$lt_compile" 2>out/conftest.err)
9282 ac_status=$?
9283 cat out/conftest.err >&5
9284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9285 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9286 then
9287 # The compiler can only warn and ignore the option if not recognized
9288 # So say no if there are warnings
9289 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9290 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9291 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9292 lt_cv_prog_compiler_c_o=yes
9295 chmod u+w . 2>&5
9296 $RM conftest*
9297 # SGI C++ compiler will create directory out/ii_files/ for
9298 # template instantiation
9299 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9300 $RM out/* && rmdir out
9301 cd ..
9302 $RM -r conftest
9303 $RM conftest*
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9307 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9315 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9316 if ${lt_cv_prog_compiler_c_o+:} false; then :
9317 $as_echo_n "(cached) " >&6
9318 else
9319 lt_cv_prog_compiler_c_o=no
9320 $RM -r conftest 2>/dev/null
9321 mkdir conftest
9322 cd conftest
9323 mkdir out
9324 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9326 lt_compiler_flag="-o out/conftest2.$ac_objext"
9327 # Insert the option either (1) after the last *FLAGS variable, or
9328 # (2) before a word containing "conftest.", or (3) at the end.
9329 # Note that $ac_compile itself does not contain backslashes and begins
9330 # with a dollar sign (not a hyphen), so the echo should work correctly.
9331 lt_compile=`echo "$ac_compile" | $SED \
9332 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9333 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9334 -e 's:$: $lt_compiler_flag:'`
9335 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9336 (eval "$lt_compile" 2>out/conftest.err)
9337 ac_status=$?
9338 cat out/conftest.err >&5
9339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9340 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9341 then
9342 # The compiler can only warn and ignore the option if not recognized
9343 # So say no if there are warnings
9344 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9345 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9346 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9347 lt_cv_prog_compiler_c_o=yes
9350 chmod u+w . 2>&5
9351 $RM conftest*
9352 # SGI C++ compiler will create directory out/ii_files/ for
9353 # template instantiation
9354 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9355 $RM out/* && rmdir out
9356 cd ..
9357 $RM -r conftest
9358 $RM conftest*
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9362 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9367 hard_links="nottested"
9368 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9369 # do not overwrite the value of need_locks provided by the user
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9371 $as_echo_n "checking if we can lock with hard links... " >&6; }
9372 hard_links=yes
9373 $RM conftest*
9374 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9375 touch conftest.a
9376 ln conftest.a conftest.b 2>&5 || hard_links=no
9377 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9379 $as_echo "$hard_links" >&6; }
9380 if test "$hard_links" = no; then
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9382 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9383 need_locks=warn
9385 else
9386 need_locks=no
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9395 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9397 runpath_var=
9398 allow_undefined_flag=
9399 always_export_symbols=no
9400 archive_cmds=
9401 archive_expsym_cmds=
9402 compiler_needs_object=no
9403 enable_shared_with_static_runtimes=no
9404 export_dynamic_flag_spec=
9405 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9406 hardcode_automatic=no
9407 hardcode_direct=no
9408 hardcode_direct_absolute=no
9409 hardcode_libdir_flag_spec=
9410 hardcode_libdir_flag_spec_ld=
9411 hardcode_libdir_separator=
9412 hardcode_minus_L=no
9413 hardcode_shlibpath_var=unsupported
9414 inherit_rpath=no
9415 link_all_deplibs=unknown
9416 module_cmds=
9417 module_expsym_cmds=
9418 old_archive_from_new_cmds=
9419 old_archive_from_expsyms_cmds=
9420 thread_safe_flag_spec=
9421 whole_archive_flag_spec=
9422 # include_expsyms should be a list of space-separated symbols to be *always*
9423 # included in the symbol list
9424 include_expsyms=
9425 # exclude_expsyms can be an extended regexp of symbols to exclude
9426 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9427 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9428 # as well as any symbol that contains `d'.
9429 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9430 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9431 # platforms (ab)use it in PIC code, but their linkers get confused if
9432 # the symbol is explicitly referenced. Since portable code cannot
9433 # rely on this symbol name, it's probably fine to never include it in
9434 # preloaded symbol tables.
9435 # Exclude shared library initialization/finalization symbols.
9436 extract_expsyms_cmds=
9438 case $host_os in
9439 cygwin* | mingw* | pw32* | cegcc*)
9440 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9441 # When not using gcc, we currently assume that we are using
9442 # Microsoft Visual C++.
9443 if test "$GCC" != yes; then
9444 with_gnu_ld=no
9447 interix*)
9448 # we just hope/assume this is gcc and not c89 (= MSVC++)
9449 with_gnu_ld=yes
9451 openbsd*)
9452 with_gnu_ld=no
9454 esac
9456 ld_shlibs=yes
9458 # On some targets, GNU ld is compatible enough with the native linker
9459 # that we're better off using the native interface for both.
9460 lt_use_gnu_ld_interface=no
9461 if test "$with_gnu_ld" = yes; then
9462 case $host_os in
9463 aix*)
9464 # The AIX port of GNU ld has always aspired to compatibility
9465 # with the native linker. However, as the warning in the GNU ld
9466 # block says, versions before 2.19.5* couldn't really create working
9467 # shared libraries, regardless of the interface used.
9468 case `$LD -v 2>&1` in
9469 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9470 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9471 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9473 lt_use_gnu_ld_interface=yes
9475 esac
9478 lt_use_gnu_ld_interface=yes
9480 esac
9483 if test "$lt_use_gnu_ld_interface" = yes; then
9484 # If archive_cmds runs LD, not CC, wlarc should be empty
9485 wlarc='${wl}'
9487 # Set some defaults for GNU ld with shared library support. These
9488 # are reset later if shared libraries are not supported. Putting them
9489 # here allows them to be overridden if necessary.
9490 runpath_var=LD_RUN_PATH
9491 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9492 export_dynamic_flag_spec='${wl}--export-dynamic'
9493 # ancient GNU ld didn't support --whole-archive et. al.
9494 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9495 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9496 else
9497 whole_archive_flag_spec=
9499 supports_anon_versioning=no
9500 case `$LD -v 2>&1` in
9501 *GNU\ gold*) supports_anon_versioning=yes ;;
9502 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9503 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9504 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9505 *\ 2.11.*) ;; # other 2.11 versions
9506 *) supports_anon_versioning=yes ;;
9507 esac
9509 # See if GNU ld supports shared libraries.
9510 case $host_os in
9511 aix[3-9]*)
9512 # On AIX/PPC, the GNU linker is very broken
9513 if test "$host_cpu" != ia64; then
9514 ld_shlibs=no
9515 cat <<_LT_EOF 1>&2
9517 *** Warning: the GNU linker, at least up to release 2.19, is reported
9518 *** to be unable to reliably create shared libraries on AIX.
9519 *** Therefore, libtool is disabling shared libraries support. If you
9520 *** really care for shared libraries, you may want to install binutils
9521 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9522 *** You will then need to restart the configuration process.
9524 _LT_EOF
9528 amigaos*)
9529 case $host_cpu in
9530 powerpc)
9531 # see comment about AmigaOS4 .so support
9532 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9533 archive_expsym_cmds=''
9535 m68k)
9536 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)'
9537 hardcode_libdir_flag_spec='-L$libdir'
9538 hardcode_minus_L=yes
9540 esac
9543 beos*)
9544 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9545 allow_undefined_flag=unsupported
9546 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9547 # support --undefined. This deserves some investigation. FIXME
9548 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9549 else
9550 ld_shlibs=no
9554 cygwin* | mingw* | pw32* | cegcc*)
9555 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9556 # as there is no search path for DLLs.
9557 hardcode_libdir_flag_spec='-L$libdir'
9558 export_dynamic_flag_spec='${wl}--export-all-symbols'
9559 allow_undefined_flag=unsupported
9560 always_export_symbols=no
9561 enable_shared_with_static_runtimes=yes
9562 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9564 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9565 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9566 # If the export-symbols file already is a .def file (1st line
9567 # is EXPORTS), use it as is; otherwise, prepend...
9568 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9569 cp $export_symbols $output_objdir/$soname.def;
9570 else
9571 echo EXPORTS > $output_objdir/$soname.def;
9572 cat $export_symbols >> $output_objdir/$soname.def;
9574 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9575 else
9576 ld_shlibs=no
9580 haiku*)
9581 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9582 link_all_deplibs=yes
9585 interix[3-9]*)
9586 hardcode_direct=no
9587 hardcode_shlibpath_var=no
9588 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9589 export_dynamic_flag_spec='${wl}-E'
9590 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9591 # Instead, shared libraries are loaded at an image base (0x10000000 by
9592 # default) and relocated if they conflict, which is a slow very memory
9593 # consuming and fragmenting process. To avoid this, we pick a random,
9594 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9595 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9596 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9597 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'
9600 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9601 tmp_diet=no
9602 if test "$host_os" = linux-dietlibc; then
9603 case $cc_basename in
9604 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9605 esac
9607 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9608 && test "$tmp_diet" = no
9609 then
9610 tmp_addflag=' $pic_flag'
9611 tmp_sharedflag='-shared'
9612 case $cc_basename,$host_cpu in
9613 pgcc*) # Portland Group C compiler
9614 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'
9615 tmp_addflag=' $pic_flag'
9617 pgf77* | pgf90* | pgf95* | pgfortran*)
9618 # Portland Group f77 and f90 compilers
9619 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'
9620 tmp_addflag=' $pic_flag -Mnomain' ;;
9621 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9622 tmp_addflag=' -i_dynamic' ;;
9623 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9624 tmp_addflag=' -i_dynamic -nofor_main' ;;
9625 ifc* | ifort*) # Intel Fortran compiler
9626 tmp_addflag=' -nofor_main' ;;
9627 lf95*) # Lahey Fortran 8.1
9628 whole_archive_flag_spec=
9629 tmp_sharedflag='--shared' ;;
9630 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9631 tmp_sharedflag='-qmkshrobj'
9632 tmp_addflag= ;;
9633 nvcc*) # Cuda Compiler Driver 2.2
9634 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'
9635 compiler_needs_object=yes
9637 esac
9638 case `$CC -V 2>&1 | sed 5q` in
9639 *Sun\ C*) # Sun C 5.9
9640 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'
9641 compiler_needs_object=yes
9642 tmp_sharedflag='-G' ;;
9643 *Sun\ F*) # Sun Fortran 8.3
9644 tmp_sharedflag='-G' ;;
9645 esac
9646 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9648 if test "x$supports_anon_versioning" = xyes; then
9649 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9650 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9651 echo "local: *; };" >> $output_objdir/$libname.ver~
9652 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9655 case $cc_basename in
9656 xlf* | bgf* | bgxlf* | mpixlf*)
9657 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9658 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9659 hardcode_libdir_flag_spec=
9660 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9661 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9662 if test "x$supports_anon_versioning" = xyes; then
9663 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9664 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9665 echo "local: *; };" >> $output_objdir/$libname.ver~
9666 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9669 esac
9670 else
9671 ld_shlibs=no
9675 netbsd*)
9676 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9677 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9678 wlarc=
9679 else
9680 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9681 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9685 solaris*)
9686 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9687 ld_shlibs=no
9688 cat <<_LT_EOF 1>&2
9690 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9691 *** create shared libraries on Solaris systems. Therefore, libtool
9692 *** is disabling shared libraries support. We urge you to upgrade GNU
9693 *** binutils to release 2.9.1 or newer. Another option is to modify
9694 *** your PATH or compiler configuration so that the native linker is
9695 *** used, and then restart.
9697 _LT_EOF
9698 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9699 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9700 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9701 else
9702 ld_shlibs=no
9706 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9707 case `$LD -v 2>&1` in
9708 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9709 ld_shlibs=no
9710 cat <<_LT_EOF 1>&2
9712 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9713 *** reliably create shared libraries on SCO systems. Therefore, libtool
9714 *** is disabling shared libraries support. We urge you to upgrade GNU
9715 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9716 *** your PATH or compiler configuration so that the native linker is
9717 *** used, and then restart.
9719 _LT_EOF
9722 # For security reasons, it is highly recommended that you always
9723 # use absolute paths for naming shared libraries, and exclude the
9724 # DT_RUNPATH tag from executables and libraries. But doing so
9725 # requires that you compile everything twice, which is a pain.
9726 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9727 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9728 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9729 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9730 else
9731 ld_shlibs=no
9734 esac
9737 sunos4*)
9738 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9739 wlarc=
9740 hardcode_direct=yes
9741 hardcode_shlibpath_var=no
9745 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9746 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9747 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9748 else
9749 ld_shlibs=no
9752 esac
9754 if test "$ld_shlibs" = no; then
9755 runpath_var=
9756 hardcode_libdir_flag_spec=
9757 export_dynamic_flag_spec=
9758 whole_archive_flag_spec=
9760 else
9761 # PORTME fill in a description of your system's linker (not GNU ld)
9762 case $host_os in
9763 aix3*)
9764 allow_undefined_flag=unsupported
9765 always_export_symbols=yes
9766 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'
9767 # Note: this linker hardcodes the directories in LIBPATH if there
9768 # are no directories specified by -L.
9769 hardcode_minus_L=yes
9770 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9771 # Neither direct hardcoding nor static linking is supported with a
9772 # broken collect2.
9773 hardcode_direct=unsupported
9777 aix[4-9]*)
9778 if test "$host_cpu" = ia64; then
9779 # On IA64, the linker does run time linking by default, so we don't
9780 # have to do anything special.
9781 aix_use_runtimelinking=no
9782 exp_sym_flag='-Bexport'
9783 no_entry_flag=""
9784 else
9785 # If we're using GNU nm, then we don't want the "-C" option.
9786 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9787 # Also, AIX nm treats weak defined symbols like other global
9788 # defined symbols, whereas GNU nm marks them as "W".
9789 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9790 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'
9791 else
9792 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'
9794 aix_use_runtimelinking=no
9796 # Test if we are trying to use run time linking or normal
9797 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9798 # need to do runtime linking.
9799 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9800 for ld_flag in $LDFLAGS; do
9801 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9802 aix_use_runtimelinking=yes
9803 break
9805 done
9807 esac
9809 exp_sym_flag='-bexport'
9810 no_entry_flag='-bnoentry'
9813 # When large executables or shared objects are built, AIX ld can
9814 # have problems creating the table of contents. If linking a library
9815 # or program results in "error TOC overflow" add -mminimal-toc to
9816 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9817 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9819 archive_cmds=''
9820 hardcode_direct=yes
9821 hardcode_direct_absolute=yes
9822 hardcode_libdir_separator=':'
9823 link_all_deplibs=yes
9824 file_list_spec='${wl}-f,'
9826 if test "$GCC" = yes; then
9827 case $host_os in aix4.[012]|aix4.[012].*)
9828 # We only want to do this on AIX 4.2 and lower, the check
9829 # below for broken collect2 doesn't work under 4.3+
9830 collect2name=`${CC} -print-prog-name=collect2`
9831 if test -f "$collect2name" &&
9832 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9833 then
9834 # We have reworked collect2
9836 else
9837 # We have old collect2
9838 hardcode_direct=unsupported
9839 # It fails to find uninstalled libraries when the uninstalled
9840 # path is not listed in the libpath. Setting hardcode_minus_L
9841 # to unsupported forces relinking
9842 hardcode_minus_L=yes
9843 hardcode_libdir_flag_spec='-L$libdir'
9844 hardcode_libdir_separator=
9847 esac
9848 shared_flag='-shared'
9849 if test "$aix_use_runtimelinking" = yes; then
9850 shared_flag="$shared_flag "'${wl}-G'
9852 else
9853 # not using gcc
9854 if test "$host_cpu" = ia64; then
9855 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9856 # chokes on -Wl,-G. The following line is correct:
9857 shared_flag='-G'
9858 else
9859 if test "$aix_use_runtimelinking" = yes; then
9860 shared_flag='${wl}-G'
9861 else
9862 shared_flag='${wl}-bM:SRE'
9867 export_dynamic_flag_spec='${wl}-bexpall'
9868 # It seems that -bexpall does not export symbols beginning with
9869 # underscore (_), so it is better to generate a list of symbols to export.
9870 always_export_symbols=yes
9871 if test "$aix_use_runtimelinking" = yes; then
9872 # Warning - without using the other runtime loading flags (-brtl),
9873 # -berok will link without error, but may produce a broken library.
9874 allow_undefined_flag='-berok'
9875 # Determine the default libpath from the value encoded in an
9876 # empty executable.
9877 if test x$gcc_no_link = xyes; then
9878 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9881 /* end confdefs.h. */
9884 main ()
9888 return 0;
9890 _ACEOF
9891 if ac_fn_c_try_link "$LINENO"; then :
9893 lt_aix_libpath_sed='
9894 /Import File Strings/,/^$/ {
9895 /^0/ {
9896 s/^0 *\(.*\)$/\1/
9900 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9901 # Check for a 64-bit object if we didn't find anything.
9902 if test -z "$aix_libpath"; then
9903 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9906 rm -f core conftest.err conftest.$ac_objext \
9907 conftest$ac_exeext conftest.$ac_ext
9908 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9910 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9911 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"
9912 else
9913 if test "$host_cpu" = ia64; then
9914 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9915 allow_undefined_flag="-z nodefs"
9916 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"
9917 else
9918 # Determine the default libpath from the value encoded in an
9919 # empty executable.
9920 if test x$gcc_no_link = xyes; then
9921 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9924 /* end confdefs.h. */
9927 main ()
9931 return 0;
9933 _ACEOF
9934 if ac_fn_c_try_link "$LINENO"; then :
9936 lt_aix_libpath_sed='
9937 /Import File Strings/,/^$/ {
9938 /^0/ {
9939 s/^0 *\(.*\)$/\1/
9943 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9944 # Check for a 64-bit object if we didn't find anything.
9945 if test -z "$aix_libpath"; then
9946 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9949 rm -f core conftest.err conftest.$ac_objext \
9950 conftest$ac_exeext conftest.$ac_ext
9951 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9953 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9954 # Warning - without using the other run time loading flags,
9955 # -berok will link without error, but may produce a broken library.
9956 no_undefined_flag=' ${wl}-bernotok'
9957 allow_undefined_flag=' ${wl}-berok'
9958 if test "$with_gnu_ld" = yes; then
9959 # We only use this code for GNU lds that support --whole-archive.
9960 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9961 else
9962 # Exported symbols can be pulled into shared objects from archives
9963 whole_archive_flag_spec='$convenience'
9965 archive_cmds_need_lc=yes
9966 # This is similar to how AIX traditionally builds its shared libraries.
9967 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'
9972 amigaos*)
9973 case $host_cpu in
9974 powerpc)
9975 # see comment about AmigaOS4 .so support
9976 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9977 archive_expsym_cmds=''
9979 m68k)
9980 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)'
9981 hardcode_libdir_flag_spec='-L$libdir'
9982 hardcode_minus_L=yes
9984 esac
9987 bsdi[45]*)
9988 export_dynamic_flag_spec=-rdynamic
9991 cygwin* | mingw* | pw32* | cegcc*)
9992 # When not using gcc, we currently assume that we are using
9993 # Microsoft Visual C++.
9994 # hardcode_libdir_flag_spec is actually meaningless, as there is
9995 # no search path for DLLs.
9996 hardcode_libdir_flag_spec=' '
9997 allow_undefined_flag=unsupported
9998 # Tell ltmain to make .lib files, not .a files.
9999 libext=lib
10000 # Tell ltmain to make .dll files, not .so files.
10001 shrext_cmds=".dll"
10002 # FIXME: Setting linknames here is a bad hack.
10003 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10004 # The linker will automatically build a .lib file if we build a DLL.
10005 old_archive_from_new_cmds='true'
10006 # FIXME: Should let the user specify the lib program.
10007 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10008 fix_srcfile_path='`cygpath -w "$srcfile"`'
10009 enable_shared_with_static_runtimes=yes
10012 darwin* | rhapsody*)
10015 archive_cmds_need_lc=no
10016 hardcode_direct=no
10017 hardcode_automatic=yes
10018 hardcode_shlibpath_var=unsupported
10019 if test "$lt_cv_ld_force_load" = "yes"; then
10020 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\"`'
10021 else
10022 whole_archive_flag_spec=''
10024 link_all_deplibs=yes
10025 allow_undefined_flag="$_lt_dar_allow_undefined"
10026 case $cc_basename in
10027 ifort*) _lt_dar_can_shared=yes ;;
10028 *) _lt_dar_can_shared=$GCC ;;
10029 esac
10030 if test "$_lt_dar_can_shared" = "yes"; then
10031 output_verbose_link_cmd=func_echo_all
10032 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10033 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10034 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}"
10035 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}"
10037 else
10038 ld_shlibs=no
10043 dgux*)
10044 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10045 hardcode_libdir_flag_spec='-L$libdir'
10046 hardcode_shlibpath_var=no
10049 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10050 # support. Future versions do this automatically, but an explicit c++rt0.o
10051 # does not break anything, and helps significantly (at the cost of a little
10052 # extra space).
10053 freebsd2.2*)
10054 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10055 hardcode_libdir_flag_spec='-R$libdir'
10056 hardcode_direct=yes
10057 hardcode_shlibpath_var=no
10060 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10061 freebsd2.*)
10062 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10063 hardcode_direct=yes
10064 hardcode_minus_L=yes
10065 hardcode_shlibpath_var=no
10068 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10069 freebsd* | dragonfly*)
10070 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10071 hardcode_libdir_flag_spec='-R$libdir'
10072 hardcode_direct=yes
10073 hardcode_shlibpath_var=no
10076 hpux9*)
10077 if test "$GCC" = yes; then
10078 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'
10079 else
10080 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'
10082 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10083 hardcode_libdir_separator=:
10084 hardcode_direct=yes
10086 # hardcode_minus_L: Not really in the search PATH,
10087 # but as the default location of the library.
10088 hardcode_minus_L=yes
10089 export_dynamic_flag_spec='${wl}-E'
10092 hpux10*)
10093 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10094 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10095 else
10096 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10098 if test "$with_gnu_ld" = no; then
10099 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10100 hardcode_libdir_flag_spec_ld='+b $libdir'
10101 hardcode_libdir_separator=:
10102 hardcode_direct=yes
10103 hardcode_direct_absolute=yes
10104 export_dynamic_flag_spec='${wl}-E'
10105 # hardcode_minus_L: Not really in the search PATH,
10106 # but as the default location of the library.
10107 hardcode_minus_L=yes
10111 hpux11*)
10112 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10113 case $host_cpu in
10114 hppa*64*)
10115 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10117 ia64*)
10118 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10121 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10123 esac
10124 else
10125 case $host_cpu in
10126 hppa*64*)
10127 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10129 ia64*)
10130 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10134 # Older versions of the 11.00 compiler do not understand -b yet
10135 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10137 $as_echo_n "checking if $CC understands -b... " >&6; }
10138 if ${lt_cv_prog_compiler__b+:} false; then :
10139 $as_echo_n "(cached) " >&6
10140 else
10141 lt_cv_prog_compiler__b=no
10142 save_LDFLAGS="$LDFLAGS"
10143 LDFLAGS="$LDFLAGS -b"
10144 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10145 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10146 # The linker can only warn and ignore the option if not recognized
10147 # So say no if there are warnings
10148 if test -s conftest.err; then
10149 # Append any errors to the config.log.
10150 cat conftest.err 1>&5
10151 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10152 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10153 if diff conftest.exp conftest.er2 >/dev/null; then
10154 lt_cv_prog_compiler__b=yes
10156 else
10157 lt_cv_prog_compiler__b=yes
10160 $RM -r conftest*
10161 LDFLAGS="$save_LDFLAGS"
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10165 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10167 if test x"$lt_cv_prog_compiler__b" = xyes; then
10168 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10169 else
10170 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10174 esac
10176 if test "$with_gnu_ld" = no; then
10177 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10178 hardcode_libdir_separator=:
10180 case $host_cpu in
10181 hppa*64*|ia64*)
10182 hardcode_direct=no
10183 hardcode_shlibpath_var=no
10186 hardcode_direct=yes
10187 hardcode_direct_absolute=yes
10188 export_dynamic_flag_spec='${wl}-E'
10190 # hardcode_minus_L: Not really in the search PATH,
10191 # but as the default location of the library.
10192 hardcode_minus_L=yes
10194 esac
10198 irix5* | irix6* | nonstopux*)
10199 if test "$GCC" = yes; then
10200 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'
10201 # Try to use the -exported_symbol ld option, if it does not
10202 # work, assume that -exports_file does not work either and
10203 # implicitly export all symbols.
10204 save_LDFLAGS="$LDFLAGS"
10205 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10206 if test x$gcc_no_link = xyes; then
10207 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10210 /* end confdefs.h. */
10211 int foo(void) {}
10212 _ACEOF
10213 if ac_fn_c_try_link "$LINENO"; then :
10214 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'
10217 rm -f core conftest.err conftest.$ac_objext \
10218 conftest$ac_exeext conftest.$ac_ext
10219 LDFLAGS="$save_LDFLAGS"
10220 else
10221 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'
10222 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'
10224 archive_cmds_need_lc='no'
10225 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10226 hardcode_libdir_separator=:
10227 inherit_rpath=yes
10228 link_all_deplibs=yes
10231 netbsd*)
10232 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10233 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10234 else
10235 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10237 hardcode_libdir_flag_spec='-R$libdir'
10238 hardcode_direct=yes
10239 hardcode_shlibpath_var=no
10242 newsos6)
10243 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10244 hardcode_direct=yes
10245 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10246 hardcode_libdir_separator=:
10247 hardcode_shlibpath_var=no
10250 *nto* | *qnx*)
10253 openbsd*)
10254 if test -f /usr/libexec/ld.so; then
10255 hardcode_direct=yes
10256 hardcode_shlibpath_var=no
10257 hardcode_direct_absolute=yes
10258 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10259 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10260 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10261 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10262 export_dynamic_flag_spec='${wl}-E'
10263 else
10264 case $host_os in
10265 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10266 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10267 hardcode_libdir_flag_spec='-R$libdir'
10270 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10271 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10273 esac
10275 else
10276 ld_shlibs=no
10280 os2*)
10281 hardcode_libdir_flag_spec='-L$libdir'
10282 hardcode_minus_L=yes
10283 allow_undefined_flag=unsupported
10284 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'
10285 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10288 osf3*)
10289 if test "$GCC" = yes; then
10290 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10291 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'
10292 else
10293 allow_undefined_flag=' -expect_unresolved \*'
10294 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'
10296 archive_cmds_need_lc='no'
10297 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10298 hardcode_libdir_separator=:
10301 osf4* | osf5*) # as osf3* with the addition of -msym flag
10302 if test "$GCC" = yes; then
10303 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10304 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'
10305 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10306 else
10307 allow_undefined_flag=' -expect_unresolved \*'
10308 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'
10309 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~
10310 $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'
10312 # Both c and cxx compiler support -rpath directly
10313 hardcode_libdir_flag_spec='-rpath $libdir'
10315 archive_cmds_need_lc='no'
10316 hardcode_libdir_separator=:
10319 solaris*)
10320 no_undefined_flag=' -z defs'
10321 if test "$GCC" = yes; then
10322 wlarc='${wl}'
10323 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10324 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10325 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10326 else
10327 case `$CC -V 2>&1` in
10328 *"Compilers 5.0"*)
10329 wlarc=''
10330 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10331 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10332 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10335 wlarc='${wl}'
10336 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10337 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10338 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10340 esac
10342 hardcode_libdir_flag_spec='-R$libdir'
10343 hardcode_shlibpath_var=no
10344 case $host_os in
10345 solaris2.[0-5] | solaris2.[0-5].*) ;;
10347 # The compiler driver will combine and reorder linker options,
10348 # but understands `-z linker_flag'. GCC discards it without `$wl',
10349 # but is careful enough not to reorder.
10350 # Supported since Solaris 2.6 (maybe 2.5.1?)
10351 if test "$GCC" = yes; then
10352 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10353 else
10354 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10357 esac
10358 link_all_deplibs=yes
10361 sunos4*)
10362 if test "x$host_vendor" = xsequent; then
10363 # Use $CC to link under sequent, because it throws in some extra .o
10364 # files that make .init and .fini sections work.
10365 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10366 else
10367 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10369 hardcode_libdir_flag_spec='-L$libdir'
10370 hardcode_direct=yes
10371 hardcode_minus_L=yes
10372 hardcode_shlibpath_var=no
10375 sysv4)
10376 case $host_vendor in
10377 sni)
10378 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10379 hardcode_direct=yes # is this really true???
10381 siemens)
10382 ## LD is ld it makes a PLAMLIB
10383 ## CC just makes a GrossModule.
10384 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10385 reload_cmds='$CC -r -o $output$reload_objs'
10386 hardcode_direct=no
10388 motorola)
10389 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10390 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10392 esac
10393 runpath_var='LD_RUN_PATH'
10394 hardcode_shlibpath_var=no
10397 sysv4.3*)
10398 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10399 hardcode_shlibpath_var=no
10400 export_dynamic_flag_spec='-Bexport'
10403 sysv4*MP*)
10404 if test -d /usr/nec; then
10405 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10406 hardcode_shlibpath_var=no
10407 runpath_var=LD_RUN_PATH
10408 hardcode_runpath_var=yes
10409 ld_shlibs=yes
10413 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10414 no_undefined_flag='${wl}-z,text'
10415 archive_cmds_need_lc=no
10416 hardcode_shlibpath_var=no
10417 runpath_var='LD_RUN_PATH'
10419 if test "$GCC" = yes; then
10420 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10421 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10422 else
10423 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10424 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10428 sysv5* | sco3.2v5* | sco5v6*)
10429 # Note: We can NOT use -z defs as we might desire, because we do not
10430 # link with -lc, and that would cause any symbols used from libc to
10431 # always be unresolved, which means just about no library would
10432 # ever link correctly. If we're not using GNU ld we use -z text
10433 # though, which does catch some bad symbols but isn't as heavy-handed
10434 # as -z defs.
10435 no_undefined_flag='${wl}-z,text'
10436 allow_undefined_flag='${wl}-z,nodefs'
10437 archive_cmds_need_lc=no
10438 hardcode_shlibpath_var=no
10439 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10440 hardcode_libdir_separator=':'
10441 link_all_deplibs=yes
10442 export_dynamic_flag_spec='${wl}-Bexport'
10443 runpath_var='LD_RUN_PATH'
10445 if test "$GCC" = yes; then
10446 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10447 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10448 else
10449 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10450 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10454 uts4*)
10455 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10456 hardcode_libdir_flag_spec='-L$libdir'
10457 hardcode_shlibpath_var=no
10461 ld_shlibs=no
10463 esac
10465 if test x$host_vendor = xsni; then
10466 case $host in
10467 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10468 export_dynamic_flag_spec='${wl}-Blargedynsym'
10470 esac
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10475 $as_echo "$ld_shlibs" >&6; }
10476 test "$ld_shlibs" = no && can_build_shared=no
10478 with_gnu_ld=$with_gnu_ld
10495 # Do we need to explicitly link libc?
10497 case "x$archive_cmds_need_lc" in
10498 x|xyes)
10499 # Assume -lc should be added
10500 archive_cmds_need_lc=yes
10502 if test "$enable_shared" = yes && test "$GCC" = yes; then
10503 case $archive_cmds in
10504 *'~'*)
10505 # FIXME: we may have to deal with multi-command sequences.
10507 '$CC '*)
10508 # Test whether the compiler implicitly links with -lc since on some
10509 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10510 # to ld, don't add -lc before -lgcc.
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10512 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10513 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10514 $as_echo_n "(cached) " >&6
10515 else
10516 $RM conftest*
10517 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10519 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10520 (eval $ac_compile) 2>&5
10521 ac_status=$?
10522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10523 test $ac_status = 0; } 2>conftest.err; then
10524 soname=conftest
10525 lib=conftest
10526 libobjs=conftest.$ac_objext
10527 deplibs=
10528 wl=$lt_prog_compiler_wl
10529 pic_flag=$lt_prog_compiler_pic
10530 compiler_flags=-v
10531 linker_flags=-v
10532 verstring=
10533 output_objdir=.
10534 libname=conftest
10535 lt_save_allow_undefined_flag=$allow_undefined_flag
10536 allow_undefined_flag=
10537 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10538 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10539 ac_status=$?
10540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10541 test $ac_status = 0; }
10542 then
10543 lt_cv_archive_cmds_need_lc=no
10544 else
10545 lt_cv_archive_cmds_need_lc=yes
10547 allow_undefined_flag=$lt_save_allow_undefined_flag
10548 else
10549 cat conftest.err 1>&5
10551 $RM conftest*
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10555 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10556 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10558 esac
10561 esac
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10720 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10722 if test "$GCC" = yes; then
10723 case $host_os in
10724 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10725 *) lt_awk_arg="/^libraries:/" ;;
10726 esac
10727 case $host_os in
10728 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10729 *) lt_sed_strip_eq="s,=/,/,g" ;;
10730 esac
10731 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10732 case $lt_search_path_spec in
10733 *\;*)
10734 # if the path contains ";" then we assume it to be the separator
10735 # otherwise default to the standard path separator (i.e. ":") - it is
10736 # assumed that no part of a normal pathname contains ";" but that should
10737 # okay in the real world where ";" in dirpaths is itself problematic.
10738 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10741 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10743 esac
10744 # Ok, now we have the path, separated by spaces, we can step through it
10745 # and add multilib dir if necessary.
10746 lt_tmp_lt_search_path_spec=
10747 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10748 for lt_sys_path in $lt_search_path_spec; do
10749 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10750 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10751 else
10752 test -d "$lt_sys_path" && \
10753 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10755 done
10756 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10757 BEGIN {RS=" "; FS="/|\n";} {
10758 lt_foo="";
10759 lt_count=0;
10760 for (lt_i = NF; lt_i > 0; lt_i--) {
10761 if ($lt_i != "" && $lt_i != ".") {
10762 if ($lt_i == "..") {
10763 lt_count++;
10764 } else {
10765 if (lt_count == 0) {
10766 lt_foo="/" $lt_i lt_foo;
10767 } else {
10768 lt_count--;
10773 if (lt_foo != "") { lt_freq[lt_foo]++; }
10774 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10776 # AWK program above erroneously prepends '/' to C:/dos/paths
10777 # for these hosts.
10778 case $host_os in
10779 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10780 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10781 esac
10782 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10783 else
10784 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10786 library_names_spec=
10787 libname_spec='lib$name'
10788 soname_spec=
10789 shrext_cmds=".so"
10790 postinstall_cmds=
10791 postuninstall_cmds=
10792 finish_cmds=
10793 finish_eval=
10794 shlibpath_var=
10795 shlibpath_overrides_runpath=unknown
10796 version_type=none
10797 dynamic_linker="$host_os ld.so"
10798 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10799 need_lib_prefix=unknown
10800 hardcode_into_libs=no
10802 # when you set need_version to no, make sure it does not cause -set_version
10803 # flags to be left without arguments
10804 need_version=unknown
10806 case $host_os in
10807 aix3*)
10808 version_type=linux
10809 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10810 shlibpath_var=LIBPATH
10812 # AIX 3 has no versioning support, so we append a major version to the name.
10813 soname_spec='${libname}${release}${shared_ext}$major'
10816 aix[4-9]*)
10817 version_type=linux
10818 need_lib_prefix=no
10819 need_version=no
10820 hardcode_into_libs=yes
10821 if test "$host_cpu" = ia64; then
10822 # AIX 5 supports IA64
10823 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10824 shlibpath_var=LD_LIBRARY_PATH
10825 else
10826 # With GCC up to 2.95.x, collect2 would create an import file
10827 # for dependence libraries. The import file would start with
10828 # the line `#! .'. This would cause the generated library to
10829 # depend on `.', always an invalid library. This was fixed in
10830 # development snapshots of GCC prior to 3.0.
10831 case $host_os in
10832 aix4 | aix4.[01] | aix4.[01].*)
10833 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10834 echo ' yes '
10835 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10837 else
10838 can_build_shared=no
10841 esac
10842 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10843 # soname into executable. Probably we can add versioning support to
10844 # collect2, so additional links can be useful in future.
10845 if test "$aix_use_runtimelinking" = yes; then
10846 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10847 # instead of lib<name>.a to let people know that these are not
10848 # typical AIX shared libraries.
10849 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10850 else
10851 # We preserve .a as extension for shared libraries through AIX4.2
10852 # and later when we are not doing run time linking.
10853 library_names_spec='${libname}${release}.a $libname.a'
10854 soname_spec='${libname}${release}${shared_ext}$major'
10856 shlibpath_var=LIBPATH
10860 amigaos*)
10861 case $host_cpu in
10862 powerpc)
10863 # Since July 2007 AmigaOS4 officially supports .so libraries.
10864 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10867 m68k)
10868 library_names_spec='$libname.ixlibrary $libname.a'
10869 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10870 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'
10872 esac
10875 beos*)
10876 library_names_spec='${libname}${shared_ext}'
10877 dynamic_linker="$host_os ld.so"
10878 shlibpath_var=LIBRARY_PATH
10881 bsdi[45]*)
10882 version_type=linux
10883 need_version=no
10884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10885 soname_spec='${libname}${release}${shared_ext}$major'
10886 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10887 shlibpath_var=LD_LIBRARY_PATH
10888 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10889 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10890 # the default ld.so.conf also contains /usr/contrib/lib and
10891 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10892 # libtool to hard-code these into programs
10895 cygwin* | mingw* | pw32* | cegcc*)
10896 version_type=windows
10897 shrext_cmds=".dll"
10898 need_version=no
10899 need_lib_prefix=no
10901 case $GCC,$host_os in
10902 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10903 library_names_spec='$libname.dll.a'
10904 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10905 postinstall_cmds='base_file=`basename \${file}`~
10906 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10907 dldir=$destdir/`dirname \$dlpath`~
10908 test -d \$dldir || mkdir -p \$dldir~
10909 $install_prog $dir/$dlname \$dldir/$dlname~
10910 chmod a+x \$dldir/$dlname~
10911 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10912 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10914 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10915 dlpath=$dir/\$dldll~
10916 $RM \$dlpath'
10917 shlibpath_overrides_runpath=yes
10919 case $host_os in
10920 cygwin*)
10921 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10922 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10924 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10926 mingw* | cegcc*)
10927 # MinGW DLLs use traditional 'lib' prefix
10928 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10930 pw32*)
10931 # pw32 DLLs use 'pw' prefix rather than 'lib'
10932 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10934 esac
10938 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10940 esac
10941 dynamic_linker='Win32 ld.exe'
10942 # FIXME: first we should search . and the directory the executable is in
10943 shlibpath_var=PATH
10946 darwin* | rhapsody*)
10947 dynamic_linker="$host_os dyld"
10948 version_type=darwin
10949 need_lib_prefix=no
10950 need_version=no
10951 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10952 soname_spec='${libname}${release}${major}$shared_ext'
10953 shlibpath_overrides_runpath=yes
10954 shlibpath_var=DYLD_LIBRARY_PATH
10955 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10957 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10958 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10961 dgux*)
10962 version_type=linux
10963 need_lib_prefix=no
10964 need_version=no
10965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10966 soname_spec='${libname}${release}${shared_ext}$major'
10967 shlibpath_var=LD_LIBRARY_PATH
10970 freebsd* | dragonfly*)
10971 # DragonFly does not have aout. When/if they implement a new
10972 # versioning mechanism, adjust this.
10973 if test -x /usr/bin/objformat; then
10974 objformat=`/usr/bin/objformat`
10975 else
10976 case $host_os in
10977 freebsd[23].*) objformat=aout ;;
10978 *) objformat=elf ;;
10979 esac
10981 version_type=freebsd-$objformat
10982 case $version_type in
10983 freebsd-elf*)
10984 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10985 need_version=no
10986 need_lib_prefix=no
10988 freebsd-*)
10989 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10990 need_version=yes
10992 esac
10993 shlibpath_var=LD_LIBRARY_PATH
10994 case $host_os in
10995 freebsd2.*)
10996 shlibpath_overrides_runpath=yes
10998 freebsd3.[01]* | freebsdelf3.[01]*)
10999 shlibpath_overrides_runpath=yes
11000 hardcode_into_libs=yes
11002 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11003 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11004 shlibpath_overrides_runpath=no
11005 hardcode_into_libs=yes
11007 *) # from 4.6 on, and DragonFly
11008 shlibpath_overrides_runpath=yes
11009 hardcode_into_libs=yes
11011 esac
11014 gnu*)
11015 version_type=linux
11016 need_lib_prefix=no
11017 need_version=no
11018 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11019 soname_spec='${libname}${release}${shared_ext}$major'
11020 shlibpath_var=LD_LIBRARY_PATH
11021 hardcode_into_libs=yes
11024 haiku*)
11025 version_type=linux
11026 need_lib_prefix=no
11027 need_version=no
11028 dynamic_linker="$host_os runtime_loader"
11029 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11030 soname_spec='${libname}${release}${shared_ext}$major'
11031 shlibpath_var=LIBRARY_PATH
11032 shlibpath_overrides_runpath=yes
11033 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11034 hardcode_into_libs=yes
11037 hpux9* | hpux10* | hpux11*)
11038 # Give a soname corresponding to the major version so that dld.sl refuses to
11039 # link against other versions.
11040 version_type=sunos
11041 need_lib_prefix=no
11042 need_version=no
11043 case $host_cpu in
11044 ia64*)
11045 shrext_cmds='.so'
11046 hardcode_into_libs=yes
11047 dynamic_linker="$host_os dld.so"
11048 shlibpath_var=LD_LIBRARY_PATH
11049 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11051 soname_spec='${libname}${release}${shared_ext}$major'
11052 if test "X$HPUX_IA64_MODE" = X32; then
11053 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11054 else
11055 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11057 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11059 hppa*64*)
11060 shrext_cmds='.sl'
11061 hardcode_into_libs=yes
11062 dynamic_linker="$host_os dld.sl"
11063 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11064 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11066 soname_spec='${libname}${release}${shared_ext}$major'
11067 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11068 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11071 shrext_cmds='.sl'
11072 dynamic_linker="$host_os dld.sl"
11073 shlibpath_var=SHLIB_PATH
11074 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11075 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11076 soname_spec='${libname}${release}${shared_ext}$major'
11078 esac
11079 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11080 postinstall_cmds='chmod 555 $lib'
11081 # or fails outright, so override atomically:
11082 install_override_mode=555
11085 interix[3-9]*)
11086 version_type=linux
11087 need_lib_prefix=no
11088 need_version=no
11089 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11090 soname_spec='${libname}${release}${shared_ext}$major'
11091 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11092 shlibpath_var=LD_LIBRARY_PATH
11093 shlibpath_overrides_runpath=no
11094 hardcode_into_libs=yes
11097 irix5* | irix6* | nonstopux*)
11098 case $host_os in
11099 nonstopux*) version_type=nonstopux ;;
11101 if test "$lt_cv_prog_gnu_ld" = yes; then
11102 version_type=linux
11103 else
11104 version_type=irix
11105 fi ;;
11106 esac
11107 need_lib_prefix=no
11108 need_version=no
11109 soname_spec='${libname}${release}${shared_ext}$major'
11110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11111 case $host_os in
11112 irix5* | nonstopux*)
11113 libsuff= shlibsuff=
11116 case $LD in # libtool.m4 will add one of these switches to LD
11117 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11118 libsuff= shlibsuff= libmagic=32-bit;;
11119 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11120 libsuff=32 shlibsuff=N32 libmagic=N32;;
11121 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11122 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11123 *) libsuff= shlibsuff= libmagic=never-match;;
11124 esac
11126 esac
11127 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11128 shlibpath_overrides_runpath=no
11129 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11130 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11131 hardcode_into_libs=yes
11134 # No shared lib support for Linux oldld, aout, or coff.
11135 linux*oldld* | linux*aout* | linux*coff*)
11136 dynamic_linker=no
11139 # This must be Linux ELF.
11140 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11141 version_type=linux
11142 need_lib_prefix=no
11143 need_version=no
11144 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11145 soname_spec='${libname}${release}${shared_ext}$major'
11146 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11147 shlibpath_var=LD_LIBRARY_PATH
11148 shlibpath_overrides_runpath=no
11150 # Some binutils ld are patched to set DT_RUNPATH
11151 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11152 $as_echo_n "(cached) " >&6
11153 else
11154 lt_cv_shlibpath_overrides_runpath=no
11155 save_LDFLAGS=$LDFLAGS
11156 save_libdir=$libdir
11157 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11158 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11159 if test x$gcc_no_link = xyes; then
11160 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11163 /* end confdefs.h. */
11166 main ()
11170 return 0;
11172 _ACEOF
11173 if ac_fn_c_try_link "$LINENO"; then :
11174 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11175 lt_cv_shlibpath_overrides_runpath=yes
11178 rm -f core conftest.err conftest.$ac_objext \
11179 conftest$ac_exeext conftest.$ac_ext
11180 LDFLAGS=$save_LDFLAGS
11181 libdir=$save_libdir
11185 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11187 # This implies no fast_install, which is unacceptable.
11188 # Some rework will be needed to allow for fast_install
11189 # before this can be enabled.
11190 hardcode_into_libs=yes
11192 # Append ld.so.conf contents to the search path
11193 if test -f /etc/ld.so.conf; then
11194 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' ' '`
11195 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11198 # We used to test for /lib/ld.so.1 and disable shared libraries on
11199 # powerpc, because MkLinux only supported shared libraries with the
11200 # GNU dynamic linker. Since this was broken with cross compilers,
11201 # most powerpc-linux boxes support dynamic linking these days and
11202 # people can always --disable-shared, the test was removed, and we
11203 # assume the GNU/Linux dynamic linker is in use.
11204 dynamic_linker='GNU/Linux ld.so'
11207 netbsd*)
11208 version_type=sunos
11209 need_lib_prefix=no
11210 need_version=no
11211 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11212 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11213 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11214 dynamic_linker='NetBSD (a.out) ld.so'
11215 else
11216 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11217 soname_spec='${libname}${release}${shared_ext}$major'
11218 dynamic_linker='NetBSD ld.elf_so'
11220 shlibpath_var=LD_LIBRARY_PATH
11221 shlibpath_overrides_runpath=yes
11222 hardcode_into_libs=yes
11225 newsos6)
11226 version_type=linux
11227 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11228 shlibpath_var=LD_LIBRARY_PATH
11229 shlibpath_overrides_runpath=yes
11232 *nto* | *qnx*)
11233 version_type=qnx
11234 need_lib_prefix=no
11235 need_version=no
11236 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11237 soname_spec='${libname}${release}${shared_ext}$major'
11238 shlibpath_var=LD_LIBRARY_PATH
11239 shlibpath_overrides_runpath=no
11240 hardcode_into_libs=yes
11241 dynamic_linker='ldqnx.so'
11244 openbsd*)
11245 version_type=sunos
11246 sys_lib_dlsearch_path_spec="/usr/lib"
11247 need_lib_prefix=no
11248 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11249 case $host_os in
11250 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11251 *) need_version=no ;;
11252 esac
11253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11254 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11255 shlibpath_var=LD_LIBRARY_PATH
11256 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11257 case $host_os in
11258 openbsd2.[89] | openbsd2.[89].*)
11259 shlibpath_overrides_runpath=no
11262 shlibpath_overrides_runpath=yes
11264 esac
11265 else
11266 shlibpath_overrides_runpath=yes
11270 os2*)
11271 libname_spec='$name'
11272 shrext_cmds=".dll"
11273 need_lib_prefix=no
11274 library_names_spec='$libname${shared_ext} $libname.a'
11275 dynamic_linker='OS/2 ld.exe'
11276 shlibpath_var=LIBPATH
11279 osf3* | osf4* | osf5*)
11280 version_type=osf
11281 need_lib_prefix=no
11282 need_version=no
11283 soname_spec='${libname}${release}${shared_ext}$major'
11284 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11285 shlibpath_var=LD_LIBRARY_PATH
11286 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11287 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11290 rdos*)
11291 dynamic_linker=no
11294 solaris*)
11295 version_type=linux
11296 need_lib_prefix=no
11297 need_version=no
11298 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11299 soname_spec='${libname}${release}${shared_ext}$major'
11300 shlibpath_var=LD_LIBRARY_PATH
11301 shlibpath_overrides_runpath=yes
11302 hardcode_into_libs=yes
11303 # ldd complains unless libraries are executable
11304 postinstall_cmds='chmod +x $lib'
11307 sunos4*)
11308 version_type=sunos
11309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11310 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11311 shlibpath_var=LD_LIBRARY_PATH
11312 shlibpath_overrides_runpath=yes
11313 if test "$with_gnu_ld" = yes; then
11314 need_lib_prefix=no
11316 need_version=yes
11319 sysv4 | sysv4.3*)
11320 version_type=linux
11321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11322 soname_spec='${libname}${release}${shared_ext}$major'
11323 shlibpath_var=LD_LIBRARY_PATH
11324 case $host_vendor in
11325 sni)
11326 shlibpath_overrides_runpath=no
11327 need_lib_prefix=no
11328 runpath_var=LD_RUN_PATH
11330 siemens)
11331 need_lib_prefix=no
11333 motorola)
11334 need_lib_prefix=no
11335 need_version=no
11336 shlibpath_overrides_runpath=no
11337 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11339 esac
11342 sysv4*MP*)
11343 if test -d /usr/nec ;then
11344 version_type=linux
11345 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11346 soname_spec='$libname${shared_ext}.$major'
11347 shlibpath_var=LD_LIBRARY_PATH
11351 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11352 version_type=freebsd-elf
11353 need_lib_prefix=no
11354 need_version=no
11355 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11356 soname_spec='${libname}${release}${shared_ext}$major'
11357 shlibpath_var=LD_LIBRARY_PATH
11358 shlibpath_overrides_runpath=yes
11359 hardcode_into_libs=yes
11360 if test "$with_gnu_ld" = yes; then
11361 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11362 else
11363 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11364 case $host_os in
11365 sco3.2v5*)
11366 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11368 esac
11370 sys_lib_dlsearch_path_spec='/usr/lib'
11373 tpf*)
11374 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11375 version_type=linux
11376 need_lib_prefix=no
11377 need_version=no
11378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11379 shlibpath_var=LD_LIBRARY_PATH
11380 shlibpath_overrides_runpath=no
11381 hardcode_into_libs=yes
11384 uts4*)
11385 version_type=linux
11386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11387 soname_spec='${libname}${release}${shared_ext}$major'
11388 shlibpath_var=LD_LIBRARY_PATH
11392 dynamic_linker=no
11394 esac
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11396 $as_echo "$dynamic_linker" >&6; }
11397 test "$dynamic_linker" = no && can_build_shared=no
11399 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11400 if test "$GCC" = yes; then
11401 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11404 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11405 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11407 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11408 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11503 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11504 hardcode_action=
11505 if test -n "$hardcode_libdir_flag_spec" ||
11506 test -n "$runpath_var" ||
11507 test "X$hardcode_automatic" = "Xyes" ; then
11509 # We can hardcode non-existent directories.
11510 if test "$hardcode_direct" != no &&
11511 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11512 # have to relink, otherwise we might link with an installed library
11513 # when we should be linking with a yet-to-be-installed one
11514 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11515 test "$hardcode_minus_L" != no; then
11516 # Linking always hardcodes the temporary library directory.
11517 hardcode_action=relink
11518 else
11519 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11520 hardcode_action=immediate
11522 else
11523 # We cannot hardcode anything, or else we can only hardcode existing
11524 # directories.
11525 hardcode_action=unsupported
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11528 $as_echo "$hardcode_action" >&6; }
11530 if test "$hardcode_action" = relink ||
11531 test "$inherit_rpath" = yes; then
11532 # Fast installation is not supported
11533 enable_fast_install=no
11534 elif test "$shlibpath_overrides_runpath" = yes ||
11535 test "$enable_shared" = no; then
11536 # Fast installation is not necessary
11537 enable_fast_install=needless
11545 if test "x$enable_dlopen" != xyes; then
11546 enable_dlopen=unknown
11547 enable_dlopen_self=unknown
11548 enable_dlopen_self_static=unknown
11549 else
11550 lt_cv_dlopen=no
11551 lt_cv_dlopen_libs=
11553 case $host_os in
11554 beos*)
11555 lt_cv_dlopen="load_add_on"
11556 lt_cv_dlopen_libs=
11557 lt_cv_dlopen_self=yes
11560 mingw* | pw32* | cegcc*)
11561 lt_cv_dlopen="LoadLibrary"
11562 lt_cv_dlopen_libs=
11565 cygwin*)
11566 lt_cv_dlopen="dlopen"
11567 lt_cv_dlopen_libs=
11570 darwin*)
11571 # if libdl is installed we need to link against it
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11573 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11574 if ${ac_cv_lib_dl_dlopen+:} false; then :
11575 $as_echo_n "(cached) " >&6
11576 else
11577 ac_check_lib_save_LIBS=$LIBS
11578 LIBS="-ldl $LIBS"
11579 if test x$gcc_no_link = xyes; then
11580 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11583 /* end confdefs.h. */
11585 /* Override any GCC internal prototype to avoid an error.
11586 Use char because int might match the return type of a GCC
11587 builtin and then its argument prototype would still apply. */
11588 #ifdef __cplusplus
11589 extern "C"
11590 #endif
11591 char dlopen ();
11593 main ()
11595 return dlopen ();
11597 return 0;
11599 _ACEOF
11600 if ac_fn_c_try_link "$LINENO"; then :
11601 ac_cv_lib_dl_dlopen=yes
11602 else
11603 ac_cv_lib_dl_dlopen=no
11605 rm -f core conftest.err conftest.$ac_objext \
11606 conftest$ac_exeext conftest.$ac_ext
11607 LIBS=$ac_check_lib_save_LIBS
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11610 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11611 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11612 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11613 else
11615 lt_cv_dlopen="dyld"
11616 lt_cv_dlopen_libs=
11617 lt_cv_dlopen_self=yes
11624 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11625 if test "x$ac_cv_func_shl_load" = xyes; then :
11626 lt_cv_dlopen="shl_load"
11627 else
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11629 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11630 if ${ac_cv_lib_dld_shl_load+:} false; then :
11631 $as_echo_n "(cached) " >&6
11632 else
11633 ac_check_lib_save_LIBS=$LIBS
11634 LIBS="-ldld $LIBS"
11635 if test x$gcc_no_link = xyes; then
11636 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11639 /* end confdefs.h. */
11641 /* Override any GCC internal prototype to avoid an error.
11642 Use char because int might match the return type of a GCC
11643 builtin and then its argument prototype would still apply. */
11644 #ifdef __cplusplus
11645 extern "C"
11646 #endif
11647 char shl_load ();
11649 main ()
11651 return shl_load ();
11653 return 0;
11655 _ACEOF
11656 if ac_fn_c_try_link "$LINENO"; then :
11657 ac_cv_lib_dld_shl_load=yes
11658 else
11659 ac_cv_lib_dld_shl_load=no
11661 rm -f core conftest.err conftest.$ac_objext \
11662 conftest$ac_exeext conftest.$ac_ext
11663 LIBS=$ac_check_lib_save_LIBS
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11666 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11667 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11668 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11669 else
11670 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11671 if test "x$ac_cv_func_dlopen" = xyes; then :
11672 lt_cv_dlopen="dlopen"
11673 else
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11675 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11676 if ${ac_cv_lib_dl_dlopen+:} false; then :
11677 $as_echo_n "(cached) " >&6
11678 else
11679 ac_check_lib_save_LIBS=$LIBS
11680 LIBS="-ldl $LIBS"
11681 if test x$gcc_no_link = xyes; then
11682 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11685 /* end confdefs.h. */
11687 /* Override any GCC internal prototype to avoid an error.
11688 Use char because int might match the return type of a GCC
11689 builtin and then its argument prototype would still apply. */
11690 #ifdef __cplusplus
11691 extern "C"
11692 #endif
11693 char dlopen ();
11695 main ()
11697 return dlopen ();
11699 return 0;
11701 _ACEOF
11702 if ac_fn_c_try_link "$LINENO"; then :
11703 ac_cv_lib_dl_dlopen=yes
11704 else
11705 ac_cv_lib_dl_dlopen=no
11707 rm -f core conftest.err conftest.$ac_objext \
11708 conftest$ac_exeext conftest.$ac_ext
11709 LIBS=$ac_check_lib_save_LIBS
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11712 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11713 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11714 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11715 else
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11717 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11718 if ${ac_cv_lib_svld_dlopen+:} false; then :
11719 $as_echo_n "(cached) " >&6
11720 else
11721 ac_check_lib_save_LIBS=$LIBS
11722 LIBS="-lsvld $LIBS"
11723 if test x$gcc_no_link = xyes; then
11724 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11727 /* end confdefs.h. */
11729 /* Override any GCC internal prototype to avoid an error.
11730 Use char because int might match the return type of a GCC
11731 builtin and then its argument prototype would still apply. */
11732 #ifdef __cplusplus
11733 extern "C"
11734 #endif
11735 char dlopen ();
11737 main ()
11739 return dlopen ();
11741 return 0;
11743 _ACEOF
11744 if ac_fn_c_try_link "$LINENO"; then :
11745 ac_cv_lib_svld_dlopen=yes
11746 else
11747 ac_cv_lib_svld_dlopen=no
11749 rm -f core conftest.err conftest.$ac_objext \
11750 conftest$ac_exeext conftest.$ac_ext
11751 LIBS=$ac_check_lib_save_LIBS
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11754 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11755 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11756 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11757 else
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11759 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11760 if ${ac_cv_lib_dld_dld_link+:} false; then :
11761 $as_echo_n "(cached) " >&6
11762 else
11763 ac_check_lib_save_LIBS=$LIBS
11764 LIBS="-ldld $LIBS"
11765 if test x$gcc_no_link = xyes; then
11766 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11769 /* end confdefs.h. */
11771 /* Override any GCC internal prototype to avoid an error.
11772 Use char because int might match the return type of a GCC
11773 builtin and then its argument prototype would still apply. */
11774 #ifdef __cplusplus
11775 extern "C"
11776 #endif
11777 char dld_link ();
11779 main ()
11781 return dld_link ();
11783 return 0;
11785 _ACEOF
11786 if ac_fn_c_try_link "$LINENO"; then :
11787 ac_cv_lib_dld_dld_link=yes
11788 else
11789 ac_cv_lib_dld_dld_link=no
11791 rm -f core conftest.err conftest.$ac_objext \
11792 conftest$ac_exeext conftest.$ac_ext
11793 LIBS=$ac_check_lib_save_LIBS
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11796 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11797 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11798 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11817 esac
11819 if test "x$lt_cv_dlopen" != xno; then
11820 enable_dlopen=yes
11821 else
11822 enable_dlopen=no
11825 case $lt_cv_dlopen in
11826 dlopen)
11827 save_CPPFLAGS="$CPPFLAGS"
11828 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11830 save_LDFLAGS="$LDFLAGS"
11831 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11833 save_LIBS="$LIBS"
11834 LIBS="$lt_cv_dlopen_libs $LIBS"
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11837 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11838 if ${lt_cv_dlopen_self+:} false; then :
11839 $as_echo_n "(cached) " >&6
11840 else
11841 if test "$cross_compiling" = yes; then :
11842 lt_cv_dlopen_self=cross
11843 else
11844 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11845 lt_status=$lt_dlunknown
11846 cat > conftest.$ac_ext <<_LT_EOF
11847 #line 11847 "configure"
11848 #include "confdefs.h"
11850 #if HAVE_DLFCN_H
11851 #include <dlfcn.h>
11852 #endif
11854 #include <stdio.h>
11856 #ifdef RTLD_GLOBAL
11857 # define LT_DLGLOBAL RTLD_GLOBAL
11858 #else
11859 # ifdef DL_GLOBAL
11860 # define LT_DLGLOBAL DL_GLOBAL
11861 # else
11862 # define LT_DLGLOBAL 0
11863 # endif
11864 #endif
11866 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11867 find out it does not work in some platform. */
11868 #ifndef LT_DLLAZY_OR_NOW
11869 # ifdef RTLD_LAZY
11870 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11871 # else
11872 # ifdef DL_LAZY
11873 # define LT_DLLAZY_OR_NOW DL_LAZY
11874 # else
11875 # ifdef RTLD_NOW
11876 # define LT_DLLAZY_OR_NOW RTLD_NOW
11877 # else
11878 # ifdef DL_NOW
11879 # define LT_DLLAZY_OR_NOW DL_NOW
11880 # else
11881 # define LT_DLLAZY_OR_NOW 0
11882 # endif
11883 # endif
11884 # endif
11885 # endif
11886 #endif
11888 /* When -fvisbility=hidden is used, assume the code has been annotated
11889 correspondingly for the symbols needed. */
11890 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11891 void fnord () __attribute__((visibility("default")));
11892 #endif
11894 void fnord () { int i=42; }
11895 int main ()
11897 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11898 int status = $lt_dlunknown;
11900 if (self)
11902 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11903 else
11905 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11906 else puts (dlerror ());
11908 /* dlclose (self); */
11910 else
11911 puts (dlerror ());
11913 return status;
11915 _LT_EOF
11916 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11917 (eval $ac_link) 2>&5
11918 ac_status=$?
11919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11920 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11921 (./conftest; exit; ) >&5 2>/dev/null
11922 lt_status=$?
11923 case x$lt_status in
11924 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11925 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11926 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11927 esac
11928 else :
11929 # compilation failed
11930 lt_cv_dlopen_self=no
11933 rm -fr conftest*
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11938 $as_echo "$lt_cv_dlopen_self" >&6; }
11940 if test "x$lt_cv_dlopen_self" = xyes; then
11941 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11943 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11944 if ${lt_cv_dlopen_self_static+:} false; then :
11945 $as_echo_n "(cached) " >&6
11946 else
11947 if test "$cross_compiling" = yes; then :
11948 lt_cv_dlopen_self_static=cross
11949 else
11950 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11951 lt_status=$lt_dlunknown
11952 cat > conftest.$ac_ext <<_LT_EOF
11953 #line 11953 "configure"
11954 #include "confdefs.h"
11956 #if HAVE_DLFCN_H
11957 #include <dlfcn.h>
11958 #endif
11960 #include <stdio.h>
11962 #ifdef RTLD_GLOBAL
11963 # define LT_DLGLOBAL RTLD_GLOBAL
11964 #else
11965 # ifdef DL_GLOBAL
11966 # define LT_DLGLOBAL DL_GLOBAL
11967 # else
11968 # define LT_DLGLOBAL 0
11969 # endif
11970 #endif
11972 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11973 find out it does not work in some platform. */
11974 #ifndef LT_DLLAZY_OR_NOW
11975 # ifdef RTLD_LAZY
11976 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11977 # else
11978 # ifdef DL_LAZY
11979 # define LT_DLLAZY_OR_NOW DL_LAZY
11980 # else
11981 # ifdef RTLD_NOW
11982 # define LT_DLLAZY_OR_NOW RTLD_NOW
11983 # else
11984 # ifdef DL_NOW
11985 # define LT_DLLAZY_OR_NOW DL_NOW
11986 # else
11987 # define LT_DLLAZY_OR_NOW 0
11988 # endif
11989 # endif
11990 # endif
11991 # endif
11992 #endif
11994 /* When -fvisbility=hidden is used, assume the code has been annotated
11995 correspondingly for the symbols needed. */
11996 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11997 void fnord () __attribute__((visibility("default")));
11998 #endif
12000 void fnord () { int i=42; }
12001 int main ()
12003 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12004 int status = $lt_dlunknown;
12006 if (self)
12008 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12009 else
12011 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12012 else puts (dlerror ());
12014 /* dlclose (self); */
12016 else
12017 puts (dlerror ());
12019 return status;
12021 _LT_EOF
12022 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12023 (eval $ac_link) 2>&5
12024 ac_status=$?
12025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12026 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12027 (./conftest; exit; ) >&5 2>/dev/null
12028 lt_status=$?
12029 case x$lt_status in
12030 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12031 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12032 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12033 esac
12034 else :
12035 # compilation failed
12036 lt_cv_dlopen_self_static=no
12039 rm -fr conftest*
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12044 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12047 CPPFLAGS="$save_CPPFLAGS"
12048 LDFLAGS="$save_LDFLAGS"
12049 LIBS="$save_LIBS"
12051 esac
12053 case $lt_cv_dlopen_self in
12054 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12055 *) enable_dlopen_self=unknown ;;
12056 esac
12058 case $lt_cv_dlopen_self_static in
12059 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12060 *) enable_dlopen_self_static=unknown ;;
12061 esac
12080 striplib=
12081 old_striplib=
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12083 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12084 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12085 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12086 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12088 $as_echo "yes" >&6; }
12089 else
12090 # FIXME - insert some real tests, host_os isn't really good enough
12091 case $host_os in
12092 darwin*)
12093 if test -n "$STRIP" ; then
12094 striplib="$STRIP -x"
12095 old_striplib="$STRIP -S"
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12097 $as_echo "yes" >&6; }
12098 else
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12100 $as_echo "no" >&6; }
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12105 $as_echo "no" >&6; }
12107 esac
12121 # Report which library types will actually be built
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12123 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12125 $as_echo "$can_build_shared" >&6; }
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12128 $as_echo_n "checking whether to build shared libraries... " >&6; }
12129 test "$can_build_shared" = "no" && enable_shared=no
12131 # On AIX, shared libraries and static libraries use the same namespace, and
12132 # are all built from PIC.
12133 case $host_os in
12134 aix3*)
12135 test "$enable_shared" = yes && enable_static=no
12136 if test -n "$RANLIB"; then
12137 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12138 postinstall_cmds='$RANLIB $lib'
12142 aix[4-9]*)
12143 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12144 test "$enable_shared" = yes && enable_static=no
12147 esac
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12149 $as_echo "$enable_shared" >&6; }
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12152 $as_echo_n "checking whether to build static libraries... " >&6; }
12153 # Make sure either enable_shared or enable_static is yes.
12154 test "$enable_shared" = yes || enable_static=yes
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12156 $as_echo "$enable_static" >&6; }
12162 ac_ext=c
12163 ac_cpp='$CPP $CPPFLAGS'
12164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12168 CC="$lt_save_CC"
12170 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12171 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12172 (test "X$CXX" != "Xg++"))) ; then
12173 ac_ext=cpp
12174 ac_cpp='$CXXCPP $CPPFLAGS'
12175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12179 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12180 if test -z "$CXXCPP"; then
12181 if ${ac_cv_prog_CXXCPP+:} false; then :
12182 $as_echo_n "(cached) " >&6
12183 else
12184 # Double quotes because CXXCPP needs to be expanded
12185 for CXXCPP in "$CXX -E" "/lib/cpp"
12187 ac_preproc_ok=false
12188 for ac_cxx_preproc_warn_flag in '' yes
12190 # Use a header file that comes with gcc, so configuring glibc
12191 # with a fresh cross-compiler works.
12192 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12193 # <limits.h> exists even on freestanding compilers.
12194 # On the NeXT, cc -E runs the code through the compiler's parser,
12195 # not just through cpp. "Syntax error" is here to catch this case.
12196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12197 /* end confdefs.h. */
12198 #ifdef __STDC__
12199 # include <limits.h>
12200 #else
12201 # include <assert.h>
12202 #endif
12203 Syntax error
12204 _ACEOF
12205 if ac_fn_cxx_try_cpp "$LINENO"; then :
12207 else
12208 # Broken: fails on valid input.
12209 continue
12211 rm -f conftest.err conftest.i conftest.$ac_ext
12213 # OK, works on sane cases. Now check whether nonexistent headers
12214 # can be detected and how.
12215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12216 /* end confdefs.h. */
12217 #include <ac_nonexistent.h>
12218 _ACEOF
12219 if ac_fn_cxx_try_cpp "$LINENO"; then :
12220 # Broken: success on invalid input.
12221 continue
12222 else
12223 # Passes both tests.
12224 ac_preproc_ok=:
12225 break
12227 rm -f conftest.err conftest.i conftest.$ac_ext
12229 done
12230 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12231 rm -f conftest.i conftest.err conftest.$ac_ext
12232 if $ac_preproc_ok; then :
12233 break
12236 done
12237 ac_cv_prog_CXXCPP=$CXXCPP
12240 CXXCPP=$ac_cv_prog_CXXCPP
12241 else
12242 ac_cv_prog_CXXCPP=$CXXCPP
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12245 $as_echo "$CXXCPP" >&6; }
12246 ac_preproc_ok=false
12247 for ac_cxx_preproc_warn_flag in '' yes
12249 # Use a header file that comes with gcc, so configuring glibc
12250 # with a fresh cross-compiler works.
12251 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12252 # <limits.h> exists even on freestanding compilers.
12253 # On the NeXT, cc -E runs the code through the compiler's parser,
12254 # not just through cpp. "Syntax error" is here to catch this case.
12255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12256 /* end confdefs.h. */
12257 #ifdef __STDC__
12258 # include <limits.h>
12259 #else
12260 # include <assert.h>
12261 #endif
12262 Syntax error
12263 _ACEOF
12264 if ac_fn_cxx_try_cpp "$LINENO"; then :
12266 else
12267 # Broken: fails on valid input.
12268 continue
12270 rm -f conftest.err conftest.i conftest.$ac_ext
12272 # OK, works on sane cases. Now check whether nonexistent headers
12273 # can be detected and how.
12274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12275 /* end confdefs.h. */
12276 #include <ac_nonexistent.h>
12277 _ACEOF
12278 if ac_fn_cxx_try_cpp "$LINENO"; then :
12279 # Broken: success on invalid input.
12280 continue
12281 else
12282 # Passes both tests.
12283 ac_preproc_ok=:
12284 break
12286 rm -f conftest.err conftest.i conftest.$ac_ext
12288 done
12289 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12290 rm -f conftest.i conftest.err conftest.$ac_ext
12291 if $ac_preproc_ok; then :
12293 else
12294 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12296 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12297 See \`config.log' for more details" "$LINENO" 5; }
12300 ac_ext=c
12301 ac_cpp='$CPP $CPPFLAGS'
12302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12306 else
12307 _lt_caught_CXX_error=yes
12310 ac_ext=cpp
12311 ac_cpp='$CXXCPP $CPPFLAGS'
12312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12316 archive_cmds_need_lc_CXX=no
12317 allow_undefined_flag_CXX=
12318 always_export_symbols_CXX=no
12319 archive_expsym_cmds_CXX=
12320 compiler_needs_object_CXX=no
12321 export_dynamic_flag_spec_CXX=
12322 hardcode_direct_CXX=no
12323 hardcode_direct_absolute_CXX=no
12324 hardcode_libdir_flag_spec_CXX=
12325 hardcode_libdir_flag_spec_ld_CXX=
12326 hardcode_libdir_separator_CXX=
12327 hardcode_minus_L_CXX=no
12328 hardcode_shlibpath_var_CXX=unsupported
12329 hardcode_automatic_CXX=no
12330 inherit_rpath_CXX=no
12331 module_cmds_CXX=
12332 module_expsym_cmds_CXX=
12333 link_all_deplibs_CXX=unknown
12334 old_archive_cmds_CXX=$old_archive_cmds
12335 reload_flag_CXX=$reload_flag
12336 reload_cmds_CXX=$reload_cmds
12337 no_undefined_flag_CXX=
12338 whole_archive_flag_spec_CXX=
12339 enable_shared_with_static_runtimes_CXX=no
12341 # Source file extension for C++ test sources.
12342 ac_ext=cpp
12344 # Object file extension for compiled C++ test sources.
12345 objext=o
12346 objext_CXX=$objext
12348 # No sense in running all these tests if we already determined that
12349 # the CXX compiler isn't working. Some variables (like enable_shared)
12350 # are currently assumed to apply to all compilers on this platform,
12351 # and will be corrupted by setting them based on a non-working compiler.
12352 if test "$_lt_caught_CXX_error" != yes; then
12353 # Code to be used in simple compile tests
12354 lt_simple_compile_test_code="int some_variable = 0;"
12356 # Code to be used in simple link tests
12357 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12359 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12366 # If no C compiler was specified, use CC.
12367 LTCC=${LTCC-"$CC"}
12369 # If no C compiler flags were specified, use CFLAGS.
12370 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12372 # Allow CC to be a program name with arguments.
12373 compiler=$CC
12376 # save warnings/boilerplate of simple test code
12377 ac_outfile=conftest.$ac_objext
12378 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12379 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12380 _lt_compiler_boilerplate=`cat conftest.err`
12381 $RM conftest*
12383 ac_outfile=conftest.$ac_objext
12384 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12385 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12386 _lt_linker_boilerplate=`cat conftest.err`
12387 $RM -r conftest*
12390 # Allow CC to be a program name with arguments.
12391 lt_save_CC=$CC
12392 lt_save_LD=$LD
12393 lt_save_GCC=$GCC
12394 GCC=$GXX
12395 lt_save_with_gnu_ld=$with_gnu_ld
12396 lt_save_path_LD=$lt_cv_path_LD
12397 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12398 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12399 else
12400 $as_unset lt_cv_prog_gnu_ld
12402 if test -n "${lt_cv_path_LDCXX+set}"; then
12403 lt_cv_path_LD=$lt_cv_path_LDCXX
12404 else
12405 $as_unset lt_cv_path_LD
12407 test -z "${LDCXX+set}" || LD=$LDCXX
12408 CC=${CXX-"c++"}
12409 compiler=$CC
12410 compiler_CXX=$CC
12411 for cc_temp in $compiler""; do
12412 case $cc_temp in
12413 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12414 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12415 \-*) ;;
12416 *) break;;
12417 esac
12418 done
12419 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12422 if test -n "$compiler"; then
12423 # We don't want -fno-exception when compiling C++ code, so set the
12424 # no_builtin_flag separately
12425 if test "$GXX" = yes; then
12426 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12427 else
12428 lt_prog_compiler_no_builtin_flag_CXX=
12431 if test "$GXX" = yes; then
12432 # Set up default GNU C++ configuration
12436 # Check whether --with-gnu-ld was given.
12437 if test "${with_gnu_ld+set}" = set; then :
12438 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12439 else
12440 with_gnu_ld=no
12443 ac_prog=ld
12444 if test "$GCC" = yes; then
12445 # Check if gcc -print-prog-name=ld gives a path.
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12447 $as_echo_n "checking for ld used by $CC... " >&6; }
12448 case $host in
12449 *-*-mingw*)
12450 # gcc leaves a trailing carriage return which upsets mingw
12451 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12453 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12454 esac
12455 case $ac_prog in
12456 # Accept absolute paths.
12457 [\\/]* | ?:[\\/]*)
12458 re_direlt='/[^/][^/]*/\.\./'
12459 # Canonicalize the pathname of ld
12460 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12461 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12462 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12463 done
12464 test -z "$LD" && LD="$ac_prog"
12467 # If it fails, then pretend we aren't using GCC.
12468 ac_prog=ld
12471 # If it is relative, then search for the first ld in PATH.
12472 with_gnu_ld=unknown
12474 esac
12475 elif test "$with_gnu_ld" = yes; then
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12477 $as_echo_n "checking for GNU ld... " >&6; }
12478 else
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12480 $as_echo_n "checking for non-GNU ld... " >&6; }
12482 if ${lt_cv_path_LD+:} false; then :
12483 $as_echo_n "(cached) " >&6
12484 else
12485 if test -z "$LD"; then
12486 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12487 for ac_dir in $PATH; do
12488 IFS="$lt_save_ifs"
12489 test -z "$ac_dir" && ac_dir=.
12490 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12491 lt_cv_path_LD="$ac_dir/$ac_prog"
12492 # Check to see if the program is GNU ld. I'd rather use --version,
12493 # but apparently some variants of GNU ld only accept -v.
12494 # Break only if it was the GNU/non-GNU ld that we prefer.
12495 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12496 *GNU* | *'with BFD'*)
12497 test "$with_gnu_ld" != no && break
12500 test "$with_gnu_ld" != yes && break
12502 esac
12504 done
12505 IFS="$lt_save_ifs"
12506 else
12507 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12511 LD="$lt_cv_path_LD"
12512 if test -n "$LD"; then
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12514 $as_echo "$LD" >&6; }
12515 else
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12517 $as_echo "no" >&6; }
12519 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12521 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12522 if ${lt_cv_prog_gnu_ld+:} false; then :
12523 $as_echo_n "(cached) " >&6
12524 else
12525 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12526 case `$LD -v 2>&1 </dev/null` in
12527 *GNU* | *'with BFD'*)
12528 lt_cv_prog_gnu_ld=yes
12531 lt_cv_prog_gnu_ld=no
12533 esac
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12536 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12537 with_gnu_ld=$lt_cv_prog_gnu_ld
12545 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12546 # archiving commands below assume that GNU ld is being used.
12547 if test "$with_gnu_ld" = yes; then
12548 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12549 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'
12551 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12552 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12554 # If archive_cmds runs LD, not CC, wlarc should be empty
12555 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12556 # investigate it a little bit more. (MM)
12557 wlarc='${wl}'
12559 # ancient GNU ld didn't support --whole-archive et. al.
12560 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12561 $GREP 'no-whole-archive' > /dev/null; then
12562 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12563 else
12564 whole_archive_flag_spec_CXX=
12566 else
12567 with_gnu_ld=no
12568 wlarc=
12570 # A generic and very simple default shared library creation
12571 # command for GNU C++ for the case where it uses the native
12572 # linker, instead of GNU ld. If possible, this setting should
12573 # overridden to take advantage of the native linker features on
12574 # the platform it is being used on.
12575 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12578 # Commands to make compiler produce verbose output that lists
12579 # what "hidden" libraries, object files and flags are used when
12580 # linking a shared library.
12581 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12583 else
12584 GXX=no
12585 with_gnu_ld=no
12586 wlarc=
12589 # PORTME: fill in a description of your system's C++ link characteristics
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12591 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12592 ld_shlibs_CXX=yes
12593 case $host_os in
12594 aix3*)
12595 # FIXME: insert proper C++ library support
12596 ld_shlibs_CXX=no
12598 aix[4-9]*)
12599 if test "$host_cpu" = ia64; then
12600 # On IA64, the linker does run time linking by default, so we don't
12601 # have to do anything special.
12602 aix_use_runtimelinking=no
12603 exp_sym_flag='-Bexport'
12604 no_entry_flag=""
12605 else
12606 aix_use_runtimelinking=no
12608 # Test if we are trying to use run time linking or normal
12609 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12610 # need to do runtime linking.
12611 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12612 for ld_flag in $LDFLAGS; do
12613 case $ld_flag in
12614 *-brtl*)
12615 aix_use_runtimelinking=yes
12616 break
12618 esac
12619 done
12621 esac
12623 exp_sym_flag='-bexport'
12624 no_entry_flag='-bnoentry'
12627 # When large executables or shared objects are built, AIX ld can
12628 # have problems creating the table of contents. If linking a library
12629 # or program results in "error TOC overflow" add -mminimal-toc to
12630 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12631 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12633 archive_cmds_CXX=''
12634 hardcode_direct_CXX=yes
12635 hardcode_direct_absolute_CXX=yes
12636 hardcode_libdir_separator_CXX=':'
12637 link_all_deplibs_CXX=yes
12638 file_list_spec_CXX='${wl}-f,'
12640 if test "$GXX" = yes; then
12641 case $host_os in aix4.[012]|aix4.[012].*)
12642 # We only want to do this on AIX 4.2 and lower, the check
12643 # below for broken collect2 doesn't work under 4.3+
12644 collect2name=`${CC} -print-prog-name=collect2`
12645 if test -f "$collect2name" &&
12646 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12647 then
12648 # We have reworked collect2
12650 else
12651 # We have old collect2
12652 hardcode_direct_CXX=unsupported
12653 # It fails to find uninstalled libraries when the uninstalled
12654 # path is not listed in the libpath. Setting hardcode_minus_L
12655 # to unsupported forces relinking
12656 hardcode_minus_L_CXX=yes
12657 hardcode_libdir_flag_spec_CXX='-L$libdir'
12658 hardcode_libdir_separator_CXX=
12660 esac
12661 shared_flag='-shared'
12662 if test "$aix_use_runtimelinking" = yes; then
12663 shared_flag="$shared_flag "'${wl}-G'
12665 else
12666 # not using gcc
12667 if test "$host_cpu" = ia64; then
12668 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12669 # chokes on -Wl,-G. The following line is correct:
12670 shared_flag='-G'
12671 else
12672 if test "$aix_use_runtimelinking" = yes; then
12673 shared_flag='${wl}-G'
12674 else
12675 shared_flag='${wl}-bM:SRE'
12680 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12681 # It seems that -bexpall does not export symbols beginning with
12682 # underscore (_), so it is better to generate a list of symbols to
12683 # export.
12684 always_export_symbols_CXX=yes
12685 if test "$aix_use_runtimelinking" = yes; then
12686 # Warning - without using the other runtime loading flags (-brtl),
12687 # -berok will link without error, but may produce a broken library.
12688 allow_undefined_flag_CXX='-berok'
12689 # Determine the default libpath from the value encoded in an empty
12690 # executable.
12691 if test x$gcc_no_link = xyes; then
12692 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12695 /* end confdefs.h. */
12698 main ()
12702 return 0;
12704 _ACEOF
12705 if ac_fn_cxx_try_link "$LINENO"; then :
12707 lt_aix_libpath_sed='
12708 /Import File Strings/,/^$/ {
12709 /^0/ {
12710 s/^0 *\(.*\)$/\1/
12714 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12715 # Check for a 64-bit object if we didn't find anything.
12716 if test -z "$aix_libpath"; then
12717 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12720 rm -f core conftest.err conftest.$ac_objext \
12721 conftest$ac_exeext conftest.$ac_ext
12722 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12724 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12726 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"
12727 else
12728 if test "$host_cpu" = ia64; then
12729 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12730 allow_undefined_flag_CXX="-z nodefs"
12731 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"
12732 else
12733 # Determine the default libpath from the value encoded in an
12734 # empty executable.
12735 if test x$gcc_no_link = xyes; then
12736 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12739 /* end confdefs.h. */
12742 main ()
12746 return 0;
12748 _ACEOF
12749 if ac_fn_cxx_try_link "$LINENO"; then :
12751 lt_aix_libpath_sed='
12752 /Import File Strings/,/^$/ {
12753 /^0/ {
12754 s/^0 *\(.*\)$/\1/
12758 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12759 # Check for a 64-bit object if we didn't find anything.
12760 if test -z "$aix_libpath"; then
12761 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12764 rm -f core conftest.err conftest.$ac_objext \
12765 conftest$ac_exeext conftest.$ac_ext
12766 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12768 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12769 # Warning - without using the other run time loading flags,
12770 # -berok will link without error, but may produce a broken library.
12771 no_undefined_flag_CXX=' ${wl}-bernotok'
12772 allow_undefined_flag_CXX=' ${wl}-berok'
12773 if test "$with_gnu_ld" = yes; then
12774 # We only use this code for GNU lds that support --whole-archive.
12775 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12776 else
12777 # Exported symbols can be pulled into shared objects from archives
12778 whole_archive_flag_spec_CXX='$convenience'
12780 archive_cmds_need_lc_CXX=yes
12781 # This is similar to how AIX traditionally builds its shared
12782 # libraries.
12783 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'
12788 beos*)
12789 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12790 allow_undefined_flag_CXX=unsupported
12791 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12792 # support --undefined. This deserves some investigation. FIXME
12793 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12794 else
12795 ld_shlibs_CXX=no
12799 chorus*)
12800 case $cc_basename in
12802 # FIXME: insert proper C++ library support
12803 ld_shlibs_CXX=no
12805 esac
12808 cygwin* | mingw* | pw32* | cegcc*)
12809 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12810 # as there is no search path for DLLs.
12811 hardcode_libdir_flag_spec_CXX='-L$libdir'
12812 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12813 allow_undefined_flag_CXX=unsupported
12814 always_export_symbols_CXX=no
12815 enable_shared_with_static_runtimes_CXX=yes
12817 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12818 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'
12819 # If the export-symbols file already is a .def file (1st line
12820 # is EXPORTS), use it as is; otherwise, prepend...
12821 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12822 cp $export_symbols $output_objdir/$soname.def;
12823 else
12824 echo EXPORTS > $output_objdir/$soname.def;
12825 cat $export_symbols >> $output_objdir/$soname.def;
12827 $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'
12828 else
12829 ld_shlibs_CXX=no
12832 darwin* | rhapsody*)
12835 archive_cmds_need_lc_CXX=no
12836 hardcode_direct_CXX=no
12837 hardcode_automatic_CXX=yes
12838 hardcode_shlibpath_var_CXX=unsupported
12839 if test "$lt_cv_ld_force_load" = "yes"; then
12840 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\"`'
12841 else
12842 whole_archive_flag_spec_CXX=''
12844 link_all_deplibs_CXX=yes
12845 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12846 case $cc_basename in
12847 ifort*) _lt_dar_can_shared=yes ;;
12848 *) _lt_dar_can_shared=$GCC ;;
12849 esac
12850 if test "$_lt_dar_can_shared" = "yes"; then
12851 output_verbose_link_cmd=func_echo_all
12852 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}"
12853 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12854 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}"
12855 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}"
12856 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12857 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}"
12858 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}"
12861 else
12862 ld_shlibs_CXX=no
12867 dgux*)
12868 case $cc_basename in
12869 ec++*)
12870 # FIXME: insert proper C++ library support
12871 ld_shlibs_CXX=no
12873 ghcx*)
12874 # Green Hills C++ Compiler
12875 # FIXME: insert proper C++ library support
12876 ld_shlibs_CXX=no
12879 # FIXME: insert proper C++ library support
12880 ld_shlibs_CXX=no
12882 esac
12885 freebsd2.*)
12886 # C++ shared libraries reported to be fairly broken before
12887 # switch to ELF
12888 ld_shlibs_CXX=no
12891 freebsd-elf*)
12892 archive_cmds_need_lc_CXX=no
12895 freebsd* | dragonfly*)
12896 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12897 # conventions
12898 ld_shlibs_CXX=yes
12901 gnu*)
12904 haiku*)
12905 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12906 link_all_deplibs_CXX=yes
12909 hpux9*)
12910 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12911 hardcode_libdir_separator_CXX=:
12912 export_dynamic_flag_spec_CXX='${wl}-E'
12913 hardcode_direct_CXX=yes
12914 hardcode_minus_L_CXX=yes # Not in the search PATH,
12915 # but as the default
12916 # location of the library.
12918 case $cc_basename in
12919 CC*)
12920 # FIXME: insert proper C++ library support
12921 ld_shlibs_CXX=no
12923 aCC*)
12924 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'
12925 # Commands to make compiler produce verbose output that lists
12926 # what "hidden" libraries, object files and flags are used when
12927 # linking a shared library.
12929 # There doesn't appear to be a way to prevent this compiler from
12930 # explicitly linking system object files so we need to strip them
12931 # from the output so that they don't get included in the library
12932 # dependencies.
12933 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"'
12936 if test "$GXX" = yes; then
12937 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'
12938 else
12939 # FIXME: insert proper C++ library support
12940 ld_shlibs_CXX=no
12943 esac
12946 hpux10*|hpux11*)
12947 if test $with_gnu_ld = no; then
12948 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12949 hardcode_libdir_separator_CXX=:
12951 case $host_cpu in
12952 hppa*64*|ia64*)
12955 export_dynamic_flag_spec_CXX='${wl}-E'
12957 esac
12959 case $host_cpu in
12960 hppa*64*|ia64*)
12961 hardcode_direct_CXX=no
12962 hardcode_shlibpath_var_CXX=no
12965 hardcode_direct_CXX=yes
12966 hardcode_direct_absolute_CXX=yes
12967 hardcode_minus_L_CXX=yes # Not in the search PATH,
12968 # but as the default
12969 # location of the library.
12971 esac
12973 case $cc_basename in
12974 CC*)
12975 # FIXME: insert proper C++ library support
12976 ld_shlibs_CXX=no
12978 aCC*)
12979 case $host_cpu in
12980 hppa*64*)
12981 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12983 ia64*)
12984 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12987 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12989 esac
12990 # Commands to make compiler produce verbose output that lists
12991 # what "hidden" libraries, object files and flags are used when
12992 # linking a shared library.
12994 # There doesn't appear to be a way to prevent this compiler from
12995 # explicitly linking system object files so we need to strip them
12996 # from the output so that they don't get included in the library
12997 # dependencies.
12998 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"'
13001 if test "$GXX" = yes; then
13002 if test $with_gnu_ld = no; then
13003 case $host_cpu in
13004 hppa*64*)
13005 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13007 ia64*)
13008 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13011 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'
13013 esac
13015 else
13016 # FIXME: insert proper C++ library support
13017 ld_shlibs_CXX=no
13020 esac
13023 interix[3-9]*)
13024 hardcode_direct_CXX=no
13025 hardcode_shlibpath_var_CXX=no
13026 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13027 export_dynamic_flag_spec_CXX='${wl}-E'
13028 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13029 # Instead, shared libraries are loaded at an image base (0x10000000 by
13030 # default) and relocated if they conflict, which is a slow very memory
13031 # consuming and fragmenting process. To avoid this, we pick a random,
13032 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13033 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13034 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'
13035 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'
13037 irix5* | irix6*)
13038 case $cc_basename in
13039 CC*)
13040 # SGI C++
13041 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'
13043 # Archives containing C++ object files must be created using
13044 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13045 # necessary to make sure instantiated templates are included
13046 # in the archive.
13047 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13050 if test "$GXX" = yes; then
13051 if test "$with_gnu_ld" = no; then
13052 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'
13053 else
13054 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'
13057 link_all_deplibs_CXX=yes
13059 esac
13060 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13061 hardcode_libdir_separator_CXX=:
13062 inherit_rpath_CXX=yes
13065 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13066 case $cc_basename in
13067 KCC*)
13068 # Kuck and Associates, Inc. (KAI) C++ Compiler
13070 # KCC will only create a shared library if the output file
13071 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13072 # to its proper name (with version) after linking.
13073 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'
13074 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'
13075 # Commands to make compiler produce verbose output that lists
13076 # what "hidden" libraries, object files and flags are used when
13077 # linking a shared library.
13079 # There doesn't appear to be a way to prevent this compiler from
13080 # explicitly linking system object files so we need to strip them
13081 # from the output so that they don't get included in the library
13082 # dependencies.
13083 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"'
13085 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13086 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13088 # Archives containing C++ object files must be created using
13089 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13090 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13092 icpc* | ecpc* )
13093 # Intel C++
13094 with_gnu_ld=yes
13095 # version 8.0 and above of icpc choke on multiply defined symbols
13096 # if we add $predep_objects and $postdep_objects, however 7.1 and
13097 # earlier do not add the objects themselves.
13098 case `$CC -V 2>&1` in
13099 *"Version 7."*)
13100 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13101 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'
13103 *) # Version 8.0 or newer
13104 tmp_idyn=
13105 case $host_cpu in
13106 ia64*) tmp_idyn=' -i_dynamic';;
13107 esac
13108 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13109 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'
13111 esac
13112 archive_cmds_need_lc_CXX=no
13113 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13114 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13115 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13117 pgCC* | pgcpp*)
13118 # Portland Group C++ compiler
13119 case `$CC -V` in
13120 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13121 prelink_cmds_CXX='tpldir=Template.dir~
13122 rm -rf $tpldir~
13123 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13124 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13125 old_archive_cmds_CXX='tpldir=Template.dir~
13126 rm -rf $tpldir~
13127 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13128 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13129 $RANLIB $oldlib'
13130 archive_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 -o $lib'
13134 archive_expsym_cmds_CXX='tpldir=Template.dir~
13135 rm -rf $tpldir~
13136 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13137 $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'
13139 *) # Version 6 and above use weak symbols
13140 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13141 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'
13143 esac
13145 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13146 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13147 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'
13149 cxx*)
13150 # Compaq C++
13151 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13152 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'
13154 runpath_var=LD_RUN_PATH
13155 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13156 hardcode_libdir_separator_CXX=:
13158 # Commands to make compiler produce verbose output that lists
13159 # what "hidden" libraries, object files and flags are used when
13160 # linking a shared library.
13162 # There doesn't appear to be a way to prevent this compiler from
13163 # explicitly linking system object files so we need to strip them
13164 # from the output so that they don't get included in the library
13165 # dependencies.
13166 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'
13168 xl* | mpixl* | bgxl*)
13169 # IBM XL 8.0 on PPC, with GNU ld
13170 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13171 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13172 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13173 if test "x$supports_anon_versioning" = xyes; then
13174 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13175 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13176 echo "local: *; };" >> $output_objdir/$libname.ver~
13177 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13181 case `$CC -V 2>&1 | sed 5q` in
13182 *Sun\ C*)
13183 # Sun C++ 5.9
13184 no_undefined_flag_CXX=' -zdefs'
13185 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13186 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'
13187 hardcode_libdir_flag_spec_CXX='-R$libdir'
13188 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'
13189 compiler_needs_object_CXX=yes
13191 # Not sure whether something based on
13192 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13193 # would be better.
13194 output_verbose_link_cmd='func_echo_all'
13196 # Archives containing C++ object files must be created using
13197 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13198 # necessary to make sure instantiated templates are included
13199 # in the archive.
13200 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13202 esac
13204 esac
13207 lynxos*)
13208 # FIXME: insert proper C++ library support
13209 ld_shlibs_CXX=no
13212 m88k*)
13213 # FIXME: insert proper C++ library support
13214 ld_shlibs_CXX=no
13217 mvs*)
13218 case $cc_basename in
13219 cxx*)
13220 # FIXME: insert proper C++ library support
13221 ld_shlibs_CXX=no
13224 # FIXME: insert proper C++ library support
13225 ld_shlibs_CXX=no
13227 esac
13230 netbsd*)
13231 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13232 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13233 wlarc=
13234 hardcode_libdir_flag_spec_CXX='-R$libdir'
13235 hardcode_direct_CXX=yes
13236 hardcode_shlibpath_var_CXX=no
13238 # Workaround some broken pre-1.5 toolchains
13239 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13242 *nto* | *qnx*)
13243 ld_shlibs_CXX=yes
13246 openbsd2*)
13247 # C++ shared libraries are fairly broken
13248 ld_shlibs_CXX=no
13251 openbsd*)
13252 if test -f /usr/libexec/ld.so; then
13253 hardcode_direct_CXX=yes
13254 hardcode_shlibpath_var_CXX=no
13255 hardcode_direct_absolute_CXX=yes
13256 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13257 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13258 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13259 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13260 export_dynamic_flag_spec_CXX='${wl}-E'
13261 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13263 output_verbose_link_cmd=func_echo_all
13264 else
13265 ld_shlibs_CXX=no
13269 osf3* | osf4* | osf5*)
13270 case $cc_basename in
13271 KCC*)
13272 # Kuck and Associates, Inc. (KAI) C++ Compiler
13274 # KCC will only create a shared library if the output file
13275 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13276 # to its proper name (with version) after linking.
13277 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'
13279 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13280 hardcode_libdir_separator_CXX=:
13282 # Archives containing C++ object files must be created using
13283 # the KAI C++ compiler.
13284 case $host in
13285 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13286 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13287 esac
13289 RCC*)
13290 # Rational C++ 2.4.1
13291 # FIXME: insert proper C++ library support
13292 ld_shlibs_CXX=no
13294 cxx*)
13295 case $host in
13296 osf3*)
13297 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13298 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'
13299 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13302 allow_undefined_flag_CXX=' -expect_unresolved \*'
13303 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'
13304 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13305 echo "-hidden">> $lib.exp~
13306 $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~
13307 $RM $lib.exp'
13308 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13310 esac
13312 hardcode_libdir_separator_CXX=:
13314 # Commands to make compiler produce verbose output that lists
13315 # what "hidden" libraries, object files and flags are used when
13316 # linking a shared library.
13318 # There doesn't appear to be a way to prevent this compiler from
13319 # explicitly linking system object files so we need to strip them
13320 # from the output so that they don't get included in the library
13321 # dependencies.
13322 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"'
13325 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13326 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13327 case $host in
13328 osf3*)
13329 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'
13332 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'
13334 esac
13336 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13337 hardcode_libdir_separator_CXX=:
13339 # Commands to make compiler produce verbose output that lists
13340 # what "hidden" libraries, object files and flags are used when
13341 # linking a shared library.
13342 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13344 else
13345 # FIXME: insert proper C++ library support
13346 ld_shlibs_CXX=no
13349 esac
13352 psos*)
13353 # FIXME: insert proper C++ library support
13354 ld_shlibs_CXX=no
13357 sunos4*)
13358 case $cc_basename in
13359 CC*)
13360 # Sun C++ 4.x
13361 # FIXME: insert proper C++ library support
13362 ld_shlibs_CXX=no
13364 lcc*)
13365 # Lucid
13366 # FIXME: insert proper C++ library support
13367 ld_shlibs_CXX=no
13370 # FIXME: insert proper C++ library support
13371 ld_shlibs_CXX=no
13373 esac
13376 solaris*)
13377 case $cc_basename in
13378 CC*)
13379 # Sun C++ 4.2, 5.x and Centerline C++
13380 archive_cmds_need_lc_CXX=yes
13381 no_undefined_flag_CXX=' -zdefs'
13382 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13383 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13384 $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'
13386 hardcode_libdir_flag_spec_CXX='-R$libdir'
13387 hardcode_shlibpath_var_CXX=no
13388 case $host_os in
13389 solaris2.[0-5] | solaris2.[0-5].*) ;;
13391 # The compiler driver will combine and reorder linker options,
13392 # but understands `-z linker_flag'.
13393 # Supported since Solaris 2.6 (maybe 2.5.1?)
13394 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13396 esac
13397 link_all_deplibs_CXX=yes
13399 output_verbose_link_cmd='func_echo_all'
13401 # Archives containing C++ object files must be created using
13402 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13403 # necessary to make sure instantiated templates are included
13404 # in the archive.
13405 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13407 gcx*)
13408 # Green Hills C++ Compiler
13409 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13411 # The C++ compiler must be used to create the archive.
13412 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13415 # GNU C++ compiler with Solaris linker
13416 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13417 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13418 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13419 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13420 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13421 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13423 # Commands to make compiler produce verbose output that lists
13424 # what "hidden" libraries, object files and flags are used when
13425 # linking a shared library.
13426 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13427 else
13428 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13429 # platform.
13430 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13431 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13432 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13434 # Commands to make compiler produce verbose output that lists
13435 # what "hidden" libraries, object files and flags are used when
13436 # linking a shared library.
13437 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13440 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13441 case $host_os in
13442 solaris2.[0-5] | solaris2.[0-5].*) ;;
13444 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13446 esac
13449 esac
13452 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13453 no_undefined_flag_CXX='${wl}-z,text'
13454 archive_cmds_need_lc_CXX=no
13455 hardcode_shlibpath_var_CXX=no
13456 runpath_var='LD_RUN_PATH'
13458 case $cc_basename in
13459 CC*)
13460 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13461 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13464 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13465 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13467 esac
13470 sysv5* | sco3.2v5* | sco5v6*)
13471 # Note: We can NOT use -z defs as we might desire, because we do not
13472 # link with -lc, and that would cause any symbols used from libc to
13473 # always be unresolved, which means just about no library would
13474 # ever link correctly. If we're not using GNU ld we use -z text
13475 # though, which does catch some bad symbols but isn't as heavy-handed
13476 # as -z defs.
13477 no_undefined_flag_CXX='${wl}-z,text'
13478 allow_undefined_flag_CXX='${wl}-z,nodefs'
13479 archive_cmds_need_lc_CXX=no
13480 hardcode_shlibpath_var_CXX=no
13481 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13482 hardcode_libdir_separator_CXX=':'
13483 link_all_deplibs_CXX=yes
13484 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13485 runpath_var='LD_RUN_PATH'
13487 case $cc_basename in
13488 CC*)
13489 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13490 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13491 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13492 '"$old_archive_cmds_CXX"
13493 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13494 '"$reload_cmds_CXX"
13497 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13498 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13500 esac
13503 tandem*)
13504 case $cc_basename in
13505 NCC*)
13506 # NonStop-UX NCC 3.20
13507 # FIXME: insert proper C++ library support
13508 ld_shlibs_CXX=no
13511 # FIXME: insert proper C++ library support
13512 ld_shlibs_CXX=no
13514 esac
13517 vxworks*)
13518 # FIXME: insert proper C++ library support
13519 ld_shlibs_CXX=no
13523 # FIXME: insert proper C++ library support
13524 ld_shlibs_CXX=no
13526 esac
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13529 $as_echo "$ld_shlibs_CXX" >&6; }
13530 test "$ld_shlibs_CXX" = no && can_build_shared=no
13532 GCC_CXX="$GXX"
13533 LD_CXX="$LD"
13535 ## CAVEAT EMPTOR:
13536 ## There is no encapsulation within the following macros, do not change
13537 ## the running order or otherwise move them around unless you know exactly
13538 ## what you are doing...
13539 # Dependencies to place before and after the object being linked:
13540 predep_objects_CXX=
13541 postdep_objects_CXX=
13542 predeps_CXX=
13543 postdeps_CXX=
13544 compiler_lib_search_path_CXX=
13546 cat > conftest.$ac_ext <<_LT_EOF
13547 class Foo
13549 public:
13550 Foo (void) { a = 0; }
13551 private:
13552 int a;
13554 _LT_EOF
13556 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13557 (eval $ac_compile) 2>&5
13558 ac_status=$?
13559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13560 test $ac_status = 0; }; then
13561 # Parse the compiler output and extract the necessary
13562 # objects, libraries and library flags.
13564 # Sentinel used to keep track of whether or not we are before
13565 # the conftest object file.
13566 pre_test_object_deps_done=no
13568 for p in `eval "$output_verbose_link_cmd"`; do
13569 case $p in
13571 -L* | -R* | -l*)
13572 # Some compilers place space between "-{L,R}" and the path.
13573 # Remove the space.
13574 if test $p = "-L" ||
13575 test $p = "-R"; then
13576 prev=$p
13577 continue
13578 else
13579 prev=
13582 if test "$pre_test_object_deps_done" = no; then
13583 case $p in
13584 -L* | -R*)
13585 # Internal compiler library paths should come after those
13586 # provided the user. The postdeps already come after the
13587 # user supplied libs so there is no need to process them.
13588 if test -z "$compiler_lib_search_path_CXX"; then
13589 compiler_lib_search_path_CXX="${prev}${p}"
13590 else
13591 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13594 # The "-l" case would never come before the object being
13595 # linked, so don't bother handling this case.
13596 esac
13597 else
13598 if test -z "$postdeps_CXX"; then
13599 postdeps_CXX="${prev}${p}"
13600 else
13601 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13606 *.$objext)
13607 # This assumes that the test object file only shows up
13608 # once in the compiler output.
13609 if test "$p" = "conftest.$objext"; then
13610 pre_test_object_deps_done=yes
13611 continue
13614 if test "$pre_test_object_deps_done" = no; then
13615 if test -z "$predep_objects_CXX"; then
13616 predep_objects_CXX="$p"
13617 else
13618 predep_objects_CXX="$predep_objects_CXX $p"
13620 else
13621 if test -z "$postdep_objects_CXX"; then
13622 postdep_objects_CXX="$p"
13623 else
13624 postdep_objects_CXX="$postdep_objects_CXX $p"
13629 *) ;; # Ignore the rest.
13631 esac
13632 done
13634 # Clean up.
13635 rm -f a.out a.exe
13636 else
13637 echo "libtool.m4: error: problem compiling CXX test program"
13640 $RM -f confest.$objext
13642 # PORTME: override above test on systems where it is broken
13643 case $host_os in
13644 interix[3-9]*)
13645 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13646 # hack all around it, let's just trust "g++" to DTRT.
13647 predep_objects_CXX=
13648 postdep_objects_CXX=
13649 postdeps_CXX=
13652 linux*)
13653 case `$CC -V 2>&1 | sed 5q` in
13654 *Sun\ C*)
13655 # Sun C++ 5.9
13657 # The more standards-conforming stlport4 library is
13658 # incompatible with the Cstd library. Avoid specifying
13659 # it if it's in CXXFLAGS. Ignore libCrun as
13660 # -library=stlport4 depends on it.
13661 case " $CXX $CXXFLAGS " in
13662 *" -library=stlport4 "*)
13663 solaris_use_stlport4=yes
13665 esac
13667 if test "$solaris_use_stlport4" != yes; then
13668 postdeps_CXX='-library=Cstd -library=Crun'
13671 esac
13674 solaris*)
13675 case $cc_basename in
13676 CC*)
13677 # The more standards-conforming stlport4 library is
13678 # incompatible with the Cstd library. Avoid specifying
13679 # it if it's in CXXFLAGS. Ignore libCrun as
13680 # -library=stlport4 depends on it.
13681 case " $CXX $CXXFLAGS " in
13682 *" -library=stlport4 "*)
13683 solaris_use_stlport4=yes
13685 esac
13687 # Adding this requires a known-good setup of shared libraries for
13688 # Sun compiler versions before 5.6, else PIC objects from an old
13689 # archive will be linked into the output, leading to subtle bugs.
13690 if test "$solaris_use_stlport4" != yes; then
13691 postdeps_CXX='-library=Cstd -library=Crun'
13694 esac
13696 esac
13699 case " $postdeps_CXX " in
13700 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13701 esac
13702 compiler_lib_search_dirs_CXX=
13703 if test -n "${compiler_lib_search_path_CXX}"; then
13704 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13737 lt_prog_compiler_wl_CXX=
13738 lt_prog_compiler_pic_CXX=
13739 lt_prog_compiler_static_CXX=
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13742 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13744 # C++ specific cases for pic, static, wl, etc.
13745 if test "$GXX" = yes; then
13746 lt_prog_compiler_wl_CXX='-Wl,'
13747 lt_prog_compiler_static_CXX='-static'
13749 case $host_os in
13750 aix*)
13751 # All AIX code is PIC.
13752 if test "$host_cpu" = ia64; then
13753 # AIX 5 now supports IA64 processor
13754 lt_prog_compiler_static_CXX='-Bstatic'
13756 lt_prog_compiler_pic_CXX='-fPIC'
13759 amigaos*)
13760 case $host_cpu in
13761 powerpc)
13762 # see comment about AmigaOS4 .so support
13763 lt_prog_compiler_pic_CXX='-fPIC'
13765 m68k)
13766 # FIXME: we need at least 68020 code to build shared libraries, but
13767 # adding the `-m68020' flag to GCC prevents building anything better,
13768 # like `-m68040'.
13769 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13771 esac
13774 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13775 # PIC is the default for these OSes.
13777 mingw* | cygwin* | os2* | pw32* | cegcc*)
13778 # This hack is so that the source file can tell whether it is being
13779 # built for inclusion in a dll (and should export symbols for example).
13780 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13781 # (--disable-auto-import) libraries
13782 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13784 darwin* | rhapsody*)
13785 # PIC is the default on this platform
13786 # Common symbols not allowed in MH_DYLIB files
13787 lt_prog_compiler_pic_CXX='-fno-common'
13789 *djgpp*)
13790 # DJGPP does not support shared libraries at all
13791 lt_prog_compiler_pic_CXX=
13793 haiku*)
13794 # PIC is the default for Haiku.
13795 # The "-static" flag exists, but is broken.
13796 lt_prog_compiler_static_CXX=
13798 interix[3-9]*)
13799 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13800 # Instead, we relocate shared libraries at runtime.
13802 sysv4*MP*)
13803 if test -d /usr/nec; then
13804 lt_prog_compiler_pic_CXX=-Kconform_pic
13807 hpux*)
13808 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13809 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13810 # sets the default TLS model and affects inlining.
13811 case $host_cpu in
13812 hppa*64*)
13815 lt_prog_compiler_pic_CXX='-fPIC'
13817 esac
13819 *qnx* | *nto*)
13820 # QNX uses GNU C++, but need to define -shared option too, otherwise
13821 # it will coredump.
13822 lt_prog_compiler_pic_CXX='-fPIC -shared'
13825 lt_prog_compiler_pic_CXX='-fPIC'
13827 esac
13828 else
13829 case $host_os in
13830 aix[4-9]*)
13831 # All AIX code is PIC.
13832 if test "$host_cpu" = ia64; then
13833 # AIX 5 now supports IA64 processor
13834 lt_prog_compiler_static_CXX='-Bstatic'
13835 else
13836 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13839 chorus*)
13840 case $cc_basename in
13841 cxch68*)
13842 # Green Hills C++ Compiler
13843 # _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"
13845 esac
13847 dgux*)
13848 case $cc_basename in
13849 ec++*)
13850 lt_prog_compiler_pic_CXX='-KPIC'
13852 ghcx*)
13853 # Green Hills C++ Compiler
13854 lt_prog_compiler_pic_CXX='-pic'
13858 esac
13860 freebsd* | dragonfly*)
13861 # FreeBSD uses GNU C++
13863 hpux9* | hpux10* | hpux11*)
13864 case $cc_basename in
13865 CC*)
13866 lt_prog_compiler_wl_CXX='-Wl,'
13867 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13868 if test "$host_cpu" != ia64; then
13869 lt_prog_compiler_pic_CXX='+Z'
13872 aCC*)
13873 lt_prog_compiler_wl_CXX='-Wl,'
13874 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13875 case $host_cpu in
13876 hppa*64*|ia64*)
13877 # +Z the default
13880 lt_prog_compiler_pic_CXX='+Z'
13882 esac
13886 esac
13888 interix*)
13889 # This is c89, which is MS Visual C++ (no shared libs)
13890 # Anyone wants to do a port?
13892 irix5* | irix6* | nonstopux*)
13893 case $cc_basename in
13894 CC*)
13895 lt_prog_compiler_wl_CXX='-Wl,'
13896 lt_prog_compiler_static_CXX='-non_shared'
13897 # CC pic flag -KPIC is the default.
13901 esac
13903 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13904 case $cc_basename in
13905 KCC*)
13906 # KAI C++ Compiler
13907 lt_prog_compiler_wl_CXX='--backend -Wl,'
13908 lt_prog_compiler_pic_CXX='-fPIC'
13910 ecpc* )
13911 # old Intel C++ for x86_64 which still supported -KPIC.
13912 lt_prog_compiler_wl_CXX='-Wl,'
13913 lt_prog_compiler_pic_CXX='-KPIC'
13914 lt_prog_compiler_static_CXX='-static'
13916 icpc* )
13917 # Intel C++, used to be incompatible with GCC.
13918 # ICC 10 doesn't accept -KPIC any more.
13919 lt_prog_compiler_wl_CXX='-Wl,'
13920 lt_prog_compiler_pic_CXX='-fPIC'
13921 lt_prog_compiler_static_CXX='-static'
13923 pgCC* | pgcpp*)
13924 # Portland Group C++ compiler
13925 lt_prog_compiler_wl_CXX='-Wl,'
13926 lt_prog_compiler_pic_CXX='-fpic'
13927 lt_prog_compiler_static_CXX='-Bstatic'
13929 cxx*)
13930 # Compaq C++
13931 # Make sure the PIC flag is empty. It appears that all Alpha
13932 # Linux and Compaq Tru64 Unix objects are PIC.
13933 lt_prog_compiler_pic_CXX=
13934 lt_prog_compiler_static_CXX='-non_shared'
13936 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13937 # IBM XL 8.0, 9.0 on PPC and BlueGene
13938 lt_prog_compiler_wl_CXX='-Wl,'
13939 lt_prog_compiler_pic_CXX='-qpic'
13940 lt_prog_compiler_static_CXX='-qstaticlink'
13943 case `$CC -V 2>&1 | sed 5q` in
13944 *Sun\ C*)
13945 # Sun C++ 5.9
13946 lt_prog_compiler_pic_CXX='-KPIC'
13947 lt_prog_compiler_static_CXX='-Bstatic'
13948 lt_prog_compiler_wl_CXX='-Qoption ld '
13950 esac
13952 esac
13954 lynxos*)
13956 m88k*)
13958 mvs*)
13959 case $cc_basename in
13960 cxx*)
13961 lt_prog_compiler_pic_CXX='-W c,exportall'
13965 esac
13967 netbsd*)
13969 *qnx* | *nto*)
13970 # QNX uses GNU C++, but need to define -shared option too, otherwise
13971 # it will coredump.
13972 lt_prog_compiler_pic_CXX='-fPIC -shared'
13974 osf3* | osf4* | osf5*)
13975 case $cc_basename in
13976 KCC*)
13977 lt_prog_compiler_wl_CXX='--backend -Wl,'
13979 RCC*)
13980 # Rational C++ 2.4.1
13981 lt_prog_compiler_pic_CXX='-pic'
13983 cxx*)
13984 # Digital/Compaq C++
13985 lt_prog_compiler_wl_CXX='-Wl,'
13986 # Make sure the PIC flag is empty. It appears that all Alpha
13987 # Linux and Compaq Tru64 Unix objects are PIC.
13988 lt_prog_compiler_pic_CXX=
13989 lt_prog_compiler_static_CXX='-non_shared'
13993 esac
13995 psos*)
13997 solaris*)
13998 case $cc_basename in
13999 CC*)
14000 # Sun C++ 4.2, 5.x and Centerline C++
14001 lt_prog_compiler_pic_CXX='-KPIC'
14002 lt_prog_compiler_static_CXX='-Bstatic'
14003 lt_prog_compiler_wl_CXX='-Qoption ld '
14005 gcx*)
14006 # Green Hills C++ Compiler
14007 lt_prog_compiler_pic_CXX='-PIC'
14011 esac
14013 sunos4*)
14014 case $cc_basename in
14015 CC*)
14016 # Sun C++ 4.x
14017 lt_prog_compiler_pic_CXX='-pic'
14018 lt_prog_compiler_static_CXX='-Bstatic'
14020 lcc*)
14021 # Lucid
14022 lt_prog_compiler_pic_CXX='-pic'
14026 esac
14028 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14029 case $cc_basename in
14030 CC*)
14031 lt_prog_compiler_wl_CXX='-Wl,'
14032 lt_prog_compiler_pic_CXX='-KPIC'
14033 lt_prog_compiler_static_CXX='-Bstatic'
14035 esac
14037 tandem*)
14038 case $cc_basename in
14039 NCC*)
14040 # NonStop-UX NCC 3.20
14041 lt_prog_compiler_pic_CXX='-KPIC'
14045 esac
14047 vxworks*)
14050 lt_prog_compiler_can_build_shared_CXX=no
14052 esac
14055 case $host_os in
14056 # For platforms which do not support PIC, -DPIC is meaningless:
14057 *djgpp*)
14058 lt_prog_compiler_pic_CXX=
14061 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14063 esac
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14065 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14070 # Check to make sure the PIC flag actually works.
14072 if test -n "$lt_prog_compiler_pic_CXX"; then
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14074 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14075 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14076 $as_echo_n "(cached) " >&6
14077 else
14078 lt_cv_prog_compiler_pic_works_CXX=no
14079 ac_outfile=conftest.$ac_objext
14080 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14081 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14082 # Insert the option either (1) after the last *FLAGS variable, or
14083 # (2) before a word containing "conftest.", or (3) at the end.
14084 # Note that $ac_compile itself does not contain backslashes and begins
14085 # with a dollar sign (not a hyphen), so the echo should work correctly.
14086 # The option is referenced via a variable to avoid confusing sed.
14087 lt_compile=`echo "$ac_compile" | $SED \
14088 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14089 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14090 -e 's:$: $lt_compiler_flag:'`
14091 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14092 (eval "$lt_compile" 2>conftest.err)
14093 ac_status=$?
14094 cat conftest.err >&5
14095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14096 if (exit $ac_status) && test -s "$ac_outfile"; then
14097 # The compiler can only warn and ignore the option if not recognized
14098 # So say no if there are warnings other than the usual output.
14099 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14100 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14101 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14102 lt_cv_prog_compiler_pic_works_CXX=yes
14105 $RM conftest*
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14109 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14111 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14112 case $lt_prog_compiler_pic_CXX in
14113 "" | " "*) ;;
14114 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14115 esac
14116 else
14117 lt_prog_compiler_pic_CXX=
14118 lt_prog_compiler_can_build_shared_CXX=no
14126 # Check to make sure the static flag actually works.
14128 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14130 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14131 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14132 $as_echo_n "(cached) " >&6
14133 else
14134 lt_cv_prog_compiler_static_works_CXX=no
14135 save_LDFLAGS="$LDFLAGS"
14136 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14137 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14138 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14139 # The linker can only warn and ignore the option if not recognized
14140 # So say no if there are warnings
14141 if test -s conftest.err; then
14142 # Append any errors to the config.log.
14143 cat conftest.err 1>&5
14144 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14145 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14146 if diff conftest.exp conftest.er2 >/dev/null; then
14147 lt_cv_prog_compiler_static_works_CXX=yes
14149 else
14150 lt_cv_prog_compiler_static_works_CXX=yes
14153 $RM -r conftest*
14154 LDFLAGS="$save_LDFLAGS"
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14158 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14160 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14162 else
14163 lt_prog_compiler_static_CXX=
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14170 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14171 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14172 $as_echo_n "(cached) " >&6
14173 else
14174 lt_cv_prog_compiler_c_o_CXX=no
14175 $RM -r conftest 2>/dev/null
14176 mkdir conftest
14177 cd conftest
14178 mkdir out
14179 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14181 lt_compiler_flag="-o out/conftest2.$ac_objext"
14182 # Insert the option either (1) after the last *FLAGS variable, or
14183 # (2) before a word containing "conftest.", or (3) at the end.
14184 # Note that $ac_compile itself does not contain backslashes and begins
14185 # with a dollar sign (not a hyphen), so the echo should work correctly.
14186 lt_compile=`echo "$ac_compile" | $SED \
14187 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14188 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14189 -e 's:$: $lt_compiler_flag:'`
14190 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14191 (eval "$lt_compile" 2>out/conftest.err)
14192 ac_status=$?
14193 cat out/conftest.err >&5
14194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14195 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14196 then
14197 # The compiler can only warn and ignore the option if not recognized
14198 # So say no if there are warnings
14199 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14200 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14201 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14202 lt_cv_prog_compiler_c_o_CXX=yes
14205 chmod u+w . 2>&5
14206 $RM conftest*
14207 # SGI C++ compiler will create directory out/ii_files/ for
14208 # template instantiation
14209 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14210 $RM out/* && rmdir out
14211 cd ..
14212 $RM -r conftest
14213 $RM conftest*
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14217 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14222 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14223 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14224 $as_echo_n "(cached) " >&6
14225 else
14226 lt_cv_prog_compiler_c_o_CXX=no
14227 $RM -r conftest 2>/dev/null
14228 mkdir conftest
14229 cd conftest
14230 mkdir out
14231 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14233 lt_compiler_flag="-o out/conftest2.$ac_objext"
14234 # Insert the option either (1) after the last *FLAGS variable, or
14235 # (2) before a word containing "conftest.", or (3) at the end.
14236 # Note that $ac_compile itself does not contain backslashes and begins
14237 # with a dollar sign (not a hyphen), so the echo should work correctly.
14238 lt_compile=`echo "$ac_compile" | $SED \
14239 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14240 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14241 -e 's:$: $lt_compiler_flag:'`
14242 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14243 (eval "$lt_compile" 2>out/conftest.err)
14244 ac_status=$?
14245 cat out/conftest.err >&5
14246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14247 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14248 then
14249 # The compiler can only warn and ignore the option if not recognized
14250 # So say no if there are warnings
14251 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14252 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14253 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14254 lt_cv_prog_compiler_c_o_CXX=yes
14257 chmod u+w . 2>&5
14258 $RM conftest*
14259 # SGI C++ compiler will create directory out/ii_files/ for
14260 # template instantiation
14261 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14262 $RM out/* && rmdir out
14263 cd ..
14264 $RM -r conftest
14265 $RM conftest*
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14269 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14274 hard_links="nottested"
14275 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14276 # do not overwrite the value of need_locks provided by the user
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14278 $as_echo_n "checking if we can lock with hard links... " >&6; }
14279 hard_links=yes
14280 $RM conftest*
14281 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14282 touch conftest.a
14283 ln conftest.a conftest.b 2>&5 || hard_links=no
14284 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14286 $as_echo "$hard_links" >&6; }
14287 if test "$hard_links" = no; then
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14289 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14290 need_locks=warn
14292 else
14293 need_locks=no
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14299 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14301 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14302 case $host_os in
14303 aix[4-9]*)
14304 # If we're using GNU nm, then we don't want the "-C" option.
14305 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14306 # Also, AIX nm treats weak defined symbols like other global defined
14307 # symbols, whereas GNU nm marks them as "W".
14308 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14309 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'
14310 else
14311 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'
14314 pw32*)
14315 export_symbols_cmds_CXX="$ltdll_cmds"
14317 cygwin* | mingw* | cegcc*)
14318 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'
14321 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14323 esac
14324 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14327 $as_echo "$ld_shlibs_CXX" >&6; }
14328 test "$ld_shlibs_CXX" = no && can_build_shared=no
14330 with_gnu_ld_CXX=$with_gnu_ld
14338 # Do we need to explicitly link libc?
14340 case "x$archive_cmds_need_lc_CXX" in
14341 x|xyes)
14342 # Assume -lc should be added
14343 archive_cmds_need_lc_CXX=yes
14345 if test "$enable_shared" = yes && test "$GCC" = yes; then
14346 case $archive_cmds_CXX in
14347 *'~'*)
14348 # FIXME: we may have to deal with multi-command sequences.
14350 '$CC '*)
14351 # Test whether the compiler implicitly links with -lc since on some
14352 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14353 # to ld, don't add -lc before -lgcc.
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14355 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14356 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14357 $as_echo_n "(cached) " >&6
14358 else
14359 $RM conftest*
14360 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14362 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14363 (eval $ac_compile) 2>&5
14364 ac_status=$?
14365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14366 test $ac_status = 0; } 2>conftest.err; then
14367 soname=conftest
14368 lib=conftest
14369 libobjs=conftest.$ac_objext
14370 deplibs=
14371 wl=$lt_prog_compiler_wl_CXX
14372 pic_flag=$lt_prog_compiler_pic_CXX
14373 compiler_flags=-v
14374 linker_flags=-v
14375 verstring=
14376 output_objdir=.
14377 libname=conftest
14378 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14379 allow_undefined_flag_CXX=
14380 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14381 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14382 ac_status=$?
14383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14384 test $ac_status = 0; }
14385 then
14386 lt_cv_archive_cmds_need_lc_CXX=no
14387 else
14388 lt_cv_archive_cmds_need_lc_CXX=yes
14390 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14391 else
14392 cat conftest.err 1>&5
14394 $RM conftest*
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14398 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14399 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14401 esac
14404 esac
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14470 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14472 library_names_spec=
14473 libname_spec='lib$name'
14474 soname_spec=
14475 shrext_cmds=".so"
14476 postinstall_cmds=
14477 postuninstall_cmds=
14478 finish_cmds=
14479 finish_eval=
14480 shlibpath_var=
14481 shlibpath_overrides_runpath=unknown
14482 version_type=none
14483 dynamic_linker="$host_os ld.so"
14484 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14485 need_lib_prefix=unknown
14486 hardcode_into_libs=no
14488 # when you set need_version to no, make sure it does not cause -set_version
14489 # flags to be left without arguments
14490 need_version=unknown
14492 case $host_os in
14493 aix3*)
14494 version_type=linux
14495 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14496 shlibpath_var=LIBPATH
14498 # AIX 3 has no versioning support, so we append a major version to the name.
14499 soname_spec='${libname}${release}${shared_ext}$major'
14502 aix[4-9]*)
14503 version_type=linux
14504 need_lib_prefix=no
14505 need_version=no
14506 hardcode_into_libs=yes
14507 if test "$host_cpu" = ia64; then
14508 # AIX 5 supports IA64
14509 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14510 shlibpath_var=LD_LIBRARY_PATH
14511 else
14512 # With GCC up to 2.95.x, collect2 would create an import file
14513 # for dependence libraries. The import file would start with
14514 # the line `#! .'. This would cause the generated library to
14515 # depend on `.', always an invalid library. This was fixed in
14516 # development snapshots of GCC prior to 3.0.
14517 case $host_os in
14518 aix4 | aix4.[01] | aix4.[01].*)
14519 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14520 echo ' yes '
14521 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14523 else
14524 can_build_shared=no
14527 esac
14528 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14529 # soname into executable. Probably we can add versioning support to
14530 # collect2, so additional links can be useful in future.
14531 if test "$aix_use_runtimelinking" = yes; then
14532 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14533 # instead of lib<name>.a to let people know that these are not
14534 # typical AIX shared libraries.
14535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14536 else
14537 # We preserve .a as extension for shared libraries through AIX4.2
14538 # and later when we are not doing run time linking.
14539 library_names_spec='${libname}${release}.a $libname.a'
14540 soname_spec='${libname}${release}${shared_ext}$major'
14542 shlibpath_var=LIBPATH
14546 amigaos*)
14547 case $host_cpu in
14548 powerpc)
14549 # Since July 2007 AmigaOS4 officially supports .so libraries.
14550 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14553 m68k)
14554 library_names_spec='$libname.ixlibrary $libname.a'
14555 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14556 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'
14558 esac
14561 beos*)
14562 library_names_spec='${libname}${shared_ext}'
14563 dynamic_linker="$host_os ld.so"
14564 shlibpath_var=LIBRARY_PATH
14567 bsdi[45]*)
14568 version_type=linux
14569 need_version=no
14570 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14571 soname_spec='${libname}${release}${shared_ext}$major'
14572 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14573 shlibpath_var=LD_LIBRARY_PATH
14574 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14575 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14576 # the default ld.so.conf also contains /usr/contrib/lib and
14577 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14578 # libtool to hard-code these into programs
14581 cygwin* | mingw* | pw32* | cegcc*)
14582 version_type=windows
14583 shrext_cmds=".dll"
14584 need_version=no
14585 need_lib_prefix=no
14587 case $GCC,$host_os in
14588 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14589 library_names_spec='$libname.dll.a'
14590 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14591 postinstall_cmds='base_file=`basename \${file}`~
14592 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14593 dldir=$destdir/`dirname \$dlpath`~
14594 test -d \$dldir || mkdir -p \$dldir~
14595 $install_prog $dir/$dlname \$dldir/$dlname~
14596 chmod a+x \$dldir/$dlname~
14597 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14598 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14600 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14601 dlpath=$dir/\$dldll~
14602 $RM \$dlpath'
14603 shlibpath_overrides_runpath=yes
14605 case $host_os in
14606 cygwin*)
14607 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14608 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14611 mingw* | cegcc*)
14612 # MinGW DLLs use traditional 'lib' prefix
14613 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14615 pw32*)
14616 # pw32 DLLs use 'pw' prefix rather than 'lib'
14617 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14619 esac
14623 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14625 esac
14626 dynamic_linker='Win32 ld.exe'
14627 # FIXME: first we should search . and the directory the executable is in
14628 shlibpath_var=PATH
14631 darwin* | rhapsody*)
14632 dynamic_linker="$host_os dyld"
14633 version_type=darwin
14634 need_lib_prefix=no
14635 need_version=no
14636 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14637 soname_spec='${libname}${release}${major}$shared_ext'
14638 shlibpath_overrides_runpath=yes
14639 shlibpath_var=DYLD_LIBRARY_PATH
14640 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14642 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14645 dgux*)
14646 version_type=linux
14647 need_lib_prefix=no
14648 need_version=no
14649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14650 soname_spec='${libname}${release}${shared_ext}$major'
14651 shlibpath_var=LD_LIBRARY_PATH
14654 freebsd* | dragonfly*)
14655 # DragonFly does not have aout. When/if they implement a new
14656 # versioning mechanism, adjust this.
14657 if test -x /usr/bin/objformat; then
14658 objformat=`/usr/bin/objformat`
14659 else
14660 case $host_os in
14661 freebsd[23].*) objformat=aout ;;
14662 *) objformat=elf ;;
14663 esac
14665 version_type=freebsd-$objformat
14666 case $version_type in
14667 freebsd-elf*)
14668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14669 need_version=no
14670 need_lib_prefix=no
14672 freebsd-*)
14673 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14674 need_version=yes
14676 esac
14677 shlibpath_var=LD_LIBRARY_PATH
14678 case $host_os in
14679 freebsd2.*)
14680 shlibpath_overrides_runpath=yes
14682 freebsd3.[01]* | freebsdelf3.[01]*)
14683 shlibpath_overrides_runpath=yes
14684 hardcode_into_libs=yes
14686 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14687 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14688 shlibpath_overrides_runpath=no
14689 hardcode_into_libs=yes
14691 *) # from 4.6 on, and DragonFly
14692 shlibpath_overrides_runpath=yes
14693 hardcode_into_libs=yes
14695 esac
14698 gnu*)
14699 version_type=linux
14700 need_lib_prefix=no
14701 need_version=no
14702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14703 soname_spec='${libname}${release}${shared_ext}$major'
14704 shlibpath_var=LD_LIBRARY_PATH
14705 hardcode_into_libs=yes
14708 haiku*)
14709 version_type=linux
14710 need_lib_prefix=no
14711 need_version=no
14712 dynamic_linker="$host_os runtime_loader"
14713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14714 soname_spec='${libname}${release}${shared_ext}$major'
14715 shlibpath_var=LIBRARY_PATH
14716 shlibpath_overrides_runpath=yes
14717 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14718 hardcode_into_libs=yes
14721 hpux9* | hpux10* | hpux11*)
14722 # Give a soname corresponding to the major version so that dld.sl refuses to
14723 # link against other versions.
14724 version_type=sunos
14725 need_lib_prefix=no
14726 need_version=no
14727 case $host_cpu in
14728 ia64*)
14729 shrext_cmds='.so'
14730 hardcode_into_libs=yes
14731 dynamic_linker="$host_os dld.so"
14732 shlibpath_var=LD_LIBRARY_PATH
14733 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14735 soname_spec='${libname}${release}${shared_ext}$major'
14736 if test "X$HPUX_IA64_MODE" = X32; then
14737 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14738 else
14739 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14741 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14743 hppa*64*)
14744 shrext_cmds='.sl'
14745 hardcode_into_libs=yes
14746 dynamic_linker="$host_os dld.sl"
14747 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14748 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14750 soname_spec='${libname}${release}${shared_ext}$major'
14751 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14752 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14755 shrext_cmds='.sl'
14756 dynamic_linker="$host_os dld.sl"
14757 shlibpath_var=SHLIB_PATH
14758 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14759 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14760 soname_spec='${libname}${release}${shared_ext}$major'
14762 esac
14763 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14764 postinstall_cmds='chmod 555 $lib'
14765 # or fails outright, so override atomically:
14766 install_override_mode=555
14769 interix[3-9]*)
14770 version_type=linux
14771 need_lib_prefix=no
14772 need_version=no
14773 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14774 soname_spec='${libname}${release}${shared_ext}$major'
14775 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14776 shlibpath_var=LD_LIBRARY_PATH
14777 shlibpath_overrides_runpath=no
14778 hardcode_into_libs=yes
14781 irix5* | irix6* | nonstopux*)
14782 case $host_os in
14783 nonstopux*) version_type=nonstopux ;;
14785 if test "$lt_cv_prog_gnu_ld" = yes; then
14786 version_type=linux
14787 else
14788 version_type=irix
14789 fi ;;
14790 esac
14791 need_lib_prefix=no
14792 need_version=no
14793 soname_spec='${libname}${release}${shared_ext}$major'
14794 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14795 case $host_os in
14796 irix5* | nonstopux*)
14797 libsuff= shlibsuff=
14800 case $LD in # libtool.m4 will add one of these switches to LD
14801 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14802 libsuff= shlibsuff= libmagic=32-bit;;
14803 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14804 libsuff=32 shlibsuff=N32 libmagic=N32;;
14805 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14806 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14807 *) libsuff= shlibsuff= libmagic=never-match;;
14808 esac
14810 esac
14811 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14812 shlibpath_overrides_runpath=no
14813 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14814 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14815 hardcode_into_libs=yes
14818 # No shared lib support for Linux oldld, aout, or coff.
14819 linux*oldld* | linux*aout* | linux*coff*)
14820 dynamic_linker=no
14823 # This must be Linux ELF.
14824 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14825 version_type=linux
14826 need_lib_prefix=no
14827 need_version=no
14828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14829 soname_spec='${libname}${release}${shared_ext}$major'
14830 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14831 shlibpath_var=LD_LIBRARY_PATH
14832 shlibpath_overrides_runpath=no
14834 # Some binutils ld are patched to set DT_RUNPATH
14835 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14836 $as_echo_n "(cached) " >&6
14837 else
14838 lt_cv_shlibpath_overrides_runpath=no
14839 save_LDFLAGS=$LDFLAGS
14840 save_libdir=$libdir
14841 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14842 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14843 if test x$gcc_no_link = xyes; then
14844 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14847 /* end confdefs.h. */
14850 main ()
14854 return 0;
14856 _ACEOF
14857 if ac_fn_cxx_try_link "$LINENO"; then :
14858 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14859 lt_cv_shlibpath_overrides_runpath=yes
14862 rm -f core conftest.err conftest.$ac_objext \
14863 conftest$ac_exeext conftest.$ac_ext
14864 LDFLAGS=$save_LDFLAGS
14865 libdir=$save_libdir
14869 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14871 # This implies no fast_install, which is unacceptable.
14872 # Some rework will be needed to allow for fast_install
14873 # before this can be enabled.
14874 hardcode_into_libs=yes
14876 # Append ld.so.conf contents to the search path
14877 if test -f /etc/ld.so.conf; then
14878 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' ' '`
14879 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14882 # We used to test for /lib/ld.so.1 and disable shared libraries on
14883 # powerpc, because MkLinux only supported shared libraries with the
14884 # GNU dynamic linker. Since this was broken with cross compilers,
14885 # most powerpc-linux boxes support dynamic linking these days and
14886 # people can always --disable-shared, the test was removed, and we
14887 # assume the GNU/Linux dynamic linker is in use.
14888 dynamic_linker='GNU/Linux ld.so'
14891 netbsd*)
14892 version_type=sunos
14893 need_lib_prefix=no
14894 need_version=no
14895 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14897 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14898 dynamic_linker='NetBSD (a.out) ld.so'
14899 else
14900 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14901 soname_spec='${libname}${release}${shared_ext}$major'
14902 dynamic_linker='NetBSD ld.elf_so'
14904 shlibpath_var=LD_LIBRARY_PATH
14905 shlibpath_overrides_runpath=yes
14906 hardcode_into_libs=yes
14909 newsos6)
14910 version_type=linux
14911 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14912 shlibpath_var=LD_LIBRARY_PATH
14913 shlibpath_overrides_runpath=yes
14916 *nto* | *qnx*)
14917 version_type=qnx
14918 need_lib_prefix=no
14919 need_version=no
14920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14921 soname_spec='${libname}${release}${shared_ext}$major'
14922 shlibpath_var=LD_LIBRARY_PATH
14923 shlibpath_overrides_runpath=no
14924 hardcode_into_libs=yes
14925 dynamic_linker='ldqnx.so'
14928 openbsd*)
14929 version_type=sunos
14930 sys_lib_dlsearch_path_spec="/usr/lib"
14931 need_lib_prefix=no
14932 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14933 case $host_os in
14934 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14935 *) need_version=no ;;
14936 esac
14937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14938 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14939 shlibpath_var=LD_LIBRARY_PATH
14940 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14941 case $host_os in
14942 openbsd2.[89] | openbsd2.[89].*)
14943 shlibpath_overrides_runpath=no
14946 shlibpath_overrides_runpath=yes
14948 esac
14949 else
14950 shlibpath_overrides_runpath=yes
14954 os2*)
14955 libname_spec='$name'
14956 shrext_cmds=".dll"
14957 need_lib_prefix=no
14958 library_names_spec='$libname${shared_ext} $libname.a'
14959 dynamic_linker='OS/2 ld.exe'
14960 shlibpath_var=LIBPATH
14963 osf3* | osf4* | osf5*)
14964 version_type=osf
14965 need_lib_prefix=no
14966 need_version=no
14967 soname_spec='${libname}${release}${shared_ext}$major'
14968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14969 shlibpath_var=LD_LIBRARY_PATH
14970 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14971 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14974 rdos*)
14975 dynamic_linker=no
14978 solaris*)
14979 version_type=linux
14980 need_lib_prefix=no
14981 need_version=no
14982 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14983 soname_spec='${libname}${release}${shared_ext}$major'
14984 shlibpath_var=LD_LIBRARY_PATH
14985 shlibpath_overrides_runpath=yes
14986 hardcode_into_libs=yes
14987 # ldd complains unless libraries are executable
14988 postinstall_cmds='chmod +x $lib'
14991 sunos4*)
14992 version_type=sunos
14993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14994 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14995 shlibpath_var=LD_LIBRARY_PATH
14996 shlibpath_overrides_runpath=yes
14997 if test "$with_gnu_ld" = yes; then
14998 need_lib_prefix=no
15000 need_version=yes
15003 sysv4 | sysv4.3*)
15004 version_type=linux
15005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15006 soname_spec='${libname}${release}${shared_ext}$major'
15007 shlibpath_var=LD_LIBRARY_PATH
15008 case $host_vendor in
15009 sni)
15010 shlibpath_overrides_runpath=no
15011 need_lib_prefix=no
15012 runpath_var=LD_RUN_PATH
15014 siemens)
15015 need_lib_prefix=no
15017 motorola)
15018 need_lib_prefix=no
15019 need_version=no
15020 shlibpath_overrides_runpath=no
15021 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15023 esac
15026 sysv4*MP*)
15027 if test -d /usr/nec ;then
15028 version_type=linux
15029 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15030 soname_spec='$libname${shared_ext}.$major'
15031 shlibpath_var=LD_LIBRARY_PATH
15035 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15036 version_type=freebsd-elf
15037 need_lib_prefix=no
15038 need_version=no
15039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15040 soname_spec='${libname}${release}${shared_ext}$major'
15041 shlibpath_var=LD_LIBRARY_PATH
15042 shlibpath_overrides_runpath=yes
15043 hardcode_into_libs=yes
15044 if test "$with_gnu_ld" = yes; then
15045 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15046 else
15047 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15048 case $host_os in
15049 sco3.2v5*)
15050 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15052 esac
15054 sys_lib_dlsearch_path_spec='/usr/lib'
15057 tpf*)
15058 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15059 version_type=linux
15060 need_lib_prefix=no
15061 need_version=no
15062 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15063 shlibpath_var=LD_LIBRARY_PATH
15064 shlibpath_overrides_runpath=no
15065 hardcode_into_libs=yes
15068 uts4*)
15069 version_type=linux
15070 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15071 soname_spec='${libname}${release}${shared_ext}$major'
15072 shlibpath_var=LD_LIBRARY_PATH
15076 dynamic_linker=no
15078 esac
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15080 $as_echo "$dynamic_linker" >&6; }
15081 test "$dynamic_linker" = no && can_build_shared=no
15083 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15084 if test "$GCC" = yes; then
15085 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15088 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15089 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15091 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15092 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15133 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15134 hardcode_action_CXX=
15135 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15136 test -n "$runpath_var_CXX" ||
15137 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15139 # We can hardcode non-existent directories.
15140 if test "$hardcode_direct_CXX" != no &&
15141 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15142 # have to relink, otherwise we might link with an installed library
15143 # when we should be linking with a yet-to-be-installed one
15144 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15145 test "$hardcode_minus_L_CXX" != no; then
15146 # Linking always hardcodes the temporary library directory.
15147 hardcode_action_CXX=relink
15148 else
15149 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15150 hardcode_action_CXX=immediate
15152 else
15153 # We cannot hardcode anything, or else we can only hardcode existing
15154 # directories.
15155 hardcode_action_CXX=unsupported
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15158 $as_echo "$hardcode_action_CXX" >&6; }
15160 if test "$hardcode_action_CXX" = relink ||
15161 test "$inherit_rpath_CXX" = yes; then
15162 # Fast installation is not supported
15163 enable_fast_install=no
15164 elif test "$shlibpath_overrides_runpath" = yes ||
15165 test "$enable_shared" = no; then
15166 # Fast installation is not necessary
15167 enable_fast_install=needless
15176 fi # test -n "$compiler"
15178 CC=$lt_save_CC
15179 LDCXX=$LD
15180 LD=$lt_save_LD
15181 GCC=$lt_save_GCC
15182 with_gnu_ld=$lt_save_with_gnu_ld
15183 lt_cv_path_LDCXX=$lt_cv_path_LD
15184 lt_cv_path_LD=$lt_save_path_LD
15185 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15186 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15187 fi # test "$_lt_caught_CXX_error" != yes
15189 ac_ext=c
15190 ac_cpp='$CPP $CPPFLAGS'
15191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15207 ac_config_commands="$ac_config_commands libtool"
15212 # Only expand once:
15218 case $host in
15219 *-cygwin* | *-mingw*)
15220 # 'host' will be top-level target in the case of a target lib,
15221 # we must compare to with_cross_host to decide if this is a native
15222 # or cross-compiler and select where to install dlls appropriately.
15223 if test -n "$with_cross_host" &&
15224 test x"$with_cross_host" != x"no"; then
15225 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15226 else
15227 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15231 lt_host_flags=
15233 esac
15240 if test "$enable_vtable_verify" = yes; then
15241 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15242 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15246 # libtool variables for C++ shared and position-independent compiles.
15248 # Use glibcxx_lt_pic_flag to designate the automake variable
15249 # used to encapsulate the default libtool approach to creating objects
15250 # with position-independent code. Default: -prefer-pic.
15252 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15253 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15255 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15256 # creating position-independent objects. This varies with the target
15257 # hardware and operating system, but is often: -DPIC -fPIC.
15258 if test "$enable_shared" = yes; then
15259 glibcxx_lt_pic_flag="-prefer-pic"
15260 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15261 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15263 else
15264 glibcxx_lt_pic_flag=
15265 glibcxx_compiler_pic_flag=
15266 glibcxx_compiler_shared_flag=
15272 # Override the libtool's pic_flag and pic_mode.
15273 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15274 # NB: this impacts --with-pic and --without-pic.
15275 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15276 pic_mode='default'
15278 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15279 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15281 # Possibly disable most of the library.
15282 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15283 ## than just ignoring the results. Faster /and/ more correct, win win.
15285 # Check whether --enable-hosted-libstdcxx was given.
15286 if test "${enable_hosted_libstdcxx+set}" = set; then :
15287 enableval=$enable_hosted_libstdcxx;
15288 else
15289 case "$host" in
15290 arm*-*-symbianelf*)
15291 enable_hosted_libstdcxx=no
15294 enable_hosted_libstdcxx=yes
15296 esac
15299 if test "$enable_hosted_libstdcxx" = no; then
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15301 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15302 is_hosted=no
15303 hosted_define=0
15304 enable_abi_check=no
15305 enable_libstdcxx_pch=no
15306 else
15307 is_hosted=yes
15308 hosted_define=1
15312 cat >>confdefs.h <<_ACEOF
15313 #define _GLIBCXX_HOSTED $hosted_define
15314 _ACEOF
15318 # Enable descriptive messages to standard output on termination.
15320 # Check whether --enable-libstdcxx-verbose was given.
15321 if test "${enable_libstdcxx_verbose+set}" = set; then :
15322 enableval=$enable_libstdcxx_verbose;
15323 else
15324 enable_libstdcxx_verbose=yes
15327 if test x"$enable_libstdcxx_verbose" = xyes; then
15328 verbose_define=1
15329 else
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15331 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15332 verbose_define=0
15335 cat >>confdefs.h <<_ACEOF
15336 #define _GLIBCXX_VERBOSE $verbose_define
15337 _ACEOF
15341 # Enable compiler support that doesn't require linking.
15343 # Check whether --enable-libstdcxx-pch was given.
15344 if test "${enable_libstdcxx_pch+set}" = set; then :
15345 enableval=$enable_libstdcxx_pch;
15346 case "$enableval" in
15347 yes|no) ;;
15348 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15349 esac
15351 else
15352 enable_libstdcxx_pch=$is_hosted
15356 if test $enable_libstdcxx_pch = yes; then
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15358 $as_echo_n "checking for compiler with PCH support... " >&6; }
15359 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15360 $as_echo_n "(cached) " >&6
15361 else
15362 ac_save_CXXFLAGS="$CXXFLAGS"
15363 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15365 ac_ext=cpp
15366 ac_cpp='$CXXCPP $CPPFLAGS'
15367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15371 echo '#include <math.h>' > conftest.h
15372 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15373 -o conftest.h.gch 1>&5 2>&1 &&
15374 echo '#error "pch failed"' > conftest.h &&
15375 echo '#include "conftest.h"' > conftest.cc &&
15376 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15377 then
15378 glibcxx_cv_prog_CXX_pch=yes
15379 else
15380 glibcxx_cv_prog_CXX_pch=no
15382 rm -f conftest*
15383 CXXFLAGS=$ac_save_CXXFLAGS
15384 ac_ext=c
15385 ac_cpp='$CPP $CPPFLAGS'
15386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15393 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15394 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15398 $as_echo_n "checking for enabled PCH... " >&6; }
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15400 $as_echo "$enable_libstdcxx_pch" >&6; }
15403 if test $enable_libstdcxx_pch = yes; then
15404 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15405 else
15406 glibcxx_PCHFLAGS=""
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15412 $as_echo_n "checking for thread model used by GCC... " >&6; }
15413 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15415 $as_echo "$target_thread_file" >&6; }
15417 case $target_thread_file in
15418 aix) thread_header=config/rs6000/gthr-aix.h ;;
15419 dce) thread_header=config/pa/gthr-dce.h ;;
15420 lynx) thread_header=config/gthr-lynx.h ;;
15421 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15422 posix) thread_header=gthr-posix.h ;;
15423 rtems) thread_header=config/gthr-rtems.h ;;
15424 single) thread_header=gthr-single.h ;;
15425 tpf) thread_header=config/s390/gthr-tpf.h ;;
15426 vxworks) thread_header=config/gthr-vxworks.h ;;
15427 win32) thread_header=config/i386/gthr-win32.h ;;
15428 esac
15434 ac_ext=cpp
15435 ac_cpp='$CXXCPP $CPPFLAGS'
15436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15440 old_CXXFLAGS="$CXXFLAGS"
15442 # Do link tests if possible, instead asm tests, limited to some platforms
15443 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15444 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15445 atomic_builtins_link_tests=no
15446 if test x$gcc_no_link != xyes; then
15447 # Can do link tests. Limit to some tested platforms
15448 case "$host" in
15449 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15450 atomic_builtins_link_tests=yes
15452 esac
15455 if test x$atomic_builtins_link_tests = xyes; then
15457 # Do link tests.
15459 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15462 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15463 if ${glibcxx_cv_atomic_bool+:} false; then :
15464 $as_echo_n "(cached) " >&6
15465 else
15467 if test x$gcc_no_link = xyes; then
15468 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15471 /* end confdefs.h. */
15474 main ()
15476 typedef bool atomic_type;
15477 atomic_type c1;
15478 atomic_type c2;
15479 atomic_type c3(0);
15480 // N.B. __atomic_fetch_add is not supported for bool.
15481 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15482 __ATOMIC_RELAXED);
15483 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15484 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15487 return 0;
15489 _ACEOF
15490 if ac_fn_cxx_try_link "$LINENO"; then :
15491 glibcxx_cv_atomic_bool=yes
15492 else
15493 glibcxx_cv_atomic_bool=no
15495 rm -f core conftest.err conftest.$ac_objext \
15496 conftest$ac_exeext conftest.$ac_ext
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15501 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15504 $as_echo_n "checking for atomic builtins for short... " >&6; }
15505 if ${glibcxx_cv_atomic_short+:} false; then :
15506 $as_echo_n "(cached) " >&6
15507 else
15509 if test x$gcc_no_link = xyes; then
15510 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15513 /* end confdefs.h. */
15516 main ()
15518 typedef short atomic_type;
15519 atomic_type c1;
15520 atomic_type c2;
15521 atomic_type c3(0);
15522 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15523 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15524 __ATOMIC_RELAXED);
15525 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15526 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15529 return 0;
15531 _ACEOF
15532 if ac_fn_cxx_try_link "$LINENO"; then :
15533 glibcxx_cv_atomic_short=yes
15534 else
15535 glibcxx_cv_atomic_short=no
15537 rm -f core conftest.err conftest.$ac_objext \
15538 conftest$ac_exeext conftest.$ac_ext
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15543 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15546 $as_echo_n "checking for atomic builtins for int... " >&6; }
15547 if ${glibcxx_cv_atomic_int+:} false; then :
15548 $as_echo_n "(cached) " >&6
15549 else
15551 if test x$gcc_no_link = xyes; then
15552 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15555 /* end confdefs.h. */
15558 main ()
15560 typedef int atomic_type;
15561 atomic_type c1;
15562 atomic_type c2;
15563 atomic_type c3(0);
15564 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15565 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15566 __ATOMIC_RELAXED);
15567 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15568 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15571 return 0;
15573 _ACEOF
15574 if ac_fn_cxx_try_link "$LINENO"; then :
15575 glibcxx_cv_atomic_int=yes
15576 else
15577 glibcxx_cv_atomic_int=no
15579 rm -f core conftest.err conftest.$ac_objext \
15580 conftest$ac_exeext conftest.$ac_ext
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15585 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15588 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15589 if ${glibcxx_cv_atomic_long_long+:} false; then :
15590 $as_echo_n "(cached) " >&6
15591 else
15593 if test x$gcc_no_link = xyes; then
15594 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15597 /* end confdefs.h. */
15600 main ()
15602 typedef long long atomic_type;
15603 atomic_type c1;
15604 atomic_type c2;
15605 atomic_type c3(0);
15606 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15607 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15608 __ATOMIC_RELAXED);
15609 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15610 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15613 return 0;
15615 _ACEOF
15616 if ac_fn_cxx_try_link "$LINENO"; then :
15617 glibcxx_cv_atomic_long_long=yes
15618 else
15619 glibcxx_cv_atomic_long_long=no
15621 rm -f core conftest.err conftest.$ac_objext \
15622 conftest$ac_exeext conftest.$ac_ext
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15627 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15629 else
15631 # Do asm tests.
15633 # Compile unoptimized.
15634 CXXFLAGS='-O0 -S'
15636 # Fake what AC_TRY_COMPILE does.
15638 cat > conftest.$ac_ext << EOF
15639 #line 15639 "configure"
15640 int main()
15642 typedef bool atomic_type;
15643 atomic_type c1;
15644 atomic_type c2;
15645 atomic_type c3(0);
15646 // N.B. __atomic_fetch_add is not supported for bool.
15647 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15648 __ATOMIC_RELAXED);
15649 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15650 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15652 return 0;
15656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15657 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15658 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15659 (eval $ac_compile) 2>&5
15660 ac_status=$?
15661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15662 test $ac_status = 0; }; then
15663 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15664 glibcxx_cv_atomic_bool=no
15665 else
15666 glibcxx_cv_atomic_bool=yes
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15670 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15671 rm -f conftest*
15673 cat > conftest.$ac_ext << EOF
15674 #line 15674 "configure"
15675 int main()
15677 typedef short atomic_type;
15678 atomic_type c1;
15679 atomic_type c2;
15680 atomic_type c3(0);
15681 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15682 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15683 __ATOMIC_RELAXED);
15684 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15685 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15687 return 0;
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15692 $as_echo_n "checking for atomic builtins for short... " >&6; }
15693 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15694 (eval $ac_compile) 2>&5
15695 ac_status=$?
15696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15697 test $ac_status = 0; }; then
15698 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15699 glibcxx_cv_atomic_short=no
15700 else
15701 glibcxx_cv_atomic_short=yes
15704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15705 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15706 rm -f conftest*
15708 cat > conftest.$ac_ext << EOF
15709 #line 15709 "configure"
15710 int main()
15712 // NB: _Atomic_word not necessarily int.
15713 typedef int atomic_type;
15714 atomic_type c1;
15715 atomic_type c2;
15716 atomic_type c3(0);
15717 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15718 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15719 __ATOMIC_RELAXED);
15720 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15721 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15723 return 0;
15727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15728 $as_echo_n "checking for atomic builtins for int... " >&6; }
15729 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15730 (eval $ac_compile) 2>&5
15731 ac_status=$?
15732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15733 test $ac_status = 0; }; then
15734 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15735 glibcxx_cv_atomic_int=no
15736 else
15737 glibcxx_cv_atomic_int=yes
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15741 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15742 rm -f conftest*
15744 cat > conftest.$ac_ext << EOF
15745 #line 15745 "configure"
15746 int main()
15748 typedef long long atomic_type;
15749 atomic_type c1;
15750 atomic_type c2;
15751 atomic_type c3(0);
15752 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15753 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15754 __ATOMIC_RELAXED);
15755 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15756 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15758 return 0;
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15763 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15764 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15765 (eval $ac_compile) 2>&5
15766 ac_status=$?
15767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15768 test $ac_status = 0; }; then
15769 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15770 glibcxx_cv_atomic_long_long=no
15771 else
15772 glibcxx_cv_atomic_long_long=yes
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15776 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15777 rm -f conftest*
15781 CXXFLAGS="$old_CXXFLAGS"
15782 ac_ext=c
15783 ac_cpp='$CPP $CPPFLAGS'
15784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15789 # Set atomicity_dir to builtins if all but the long long test above passes,
15790 # or if the builtins were already chosen (e.g. by configure.host).
15791 if { test "$glibcxx_cv_atomic_bool" = yes \
15792 && test "$glibcxx_cv_atomic_short" = yes \
15793 && test "$glibcxx_cv_atomic_int" = yes; } \
15794 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
15796 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15798 atomicity_dir=cpu/generic/atomicity_builtins
15801 # If still generic, set to mutex.
15802 if test $atomicity_dir = "cpu/generic" ; then
15803 atomicity_dir=cpu/generic/atomicity_mutex
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15805 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15806 if test "x$target_thread_file" = xsingle; then
15807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15808 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15810 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15811 else
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15813 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15815 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15823 # Check whether --with-libstdcxx-lock-policy was given.
15824 if test "${with_libstdcxx_lock_policy+set}" = set; then :
15825 withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
15826 else
15827 libstdcxx_atomic_lock_policy=auto
15831 case "$libstdcxx_atomic_lock_policy" in
15832 atomic|mutex|auto) ;;
15833 *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
15834 esac
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
15836 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
15838 if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
15840 ac_ext=cpp
15841 ac_cpp='$CXXCPP $CPPFLAGS'
15842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15846 ac_save_CXXFLAGS="$CXXFLAGS"
15848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15849 /* end confdefs.h. */
15851 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
15852 # error "No 2-byte compare-and-swap"
15853 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
15854 # error "No 4-byte compare-and-swap"
15855 #endif
15858 main ()
15862 return 0;
15864 _ACEOF
15865 if ac_fn_cxx_try_compile "$LINENO"; then :
15866 libstdcxx_atomic_lock_policy=atomic
15867 else
15868 libstdcxx_atomic_lock_policy=mutex
15870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15871 ac_ext=c
15872 ac_cpp='$CPP $CPPFLAGS'
15873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15877 CXXFLAGS="$ac_save_CXXFLAGS"
15880 if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
15882 $as_echo "atomic" >&6; }
15884 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
15886 else
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
15888 $as_echo "mutex" >&6; }
15894 # Fake what AC_TRY_COMPILE does, without linking as this is
15895 # unnecessary for this test.
15897 cat > conftest.$ac_ext << EOF
15898 #line 15898 "configure"
15899 int main()
15901 _Decimal32 d1;
15902 _Decimal64 d2;
15903 _Decimal128 d3;
15904 return 0;
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15909 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15910 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15911 (eval $ac_compile) 2>&5
15912 ac_status=$?
15913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15914 test $ac_status = 0; }; then
15916 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15918 enable_dfp=yes
15919 else
15920 enable_dfp=no
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15923 $as_echo "$enable_dfp" >&6; }
15924 rm -f conftest*
15929 ac_ext=cpp
15930 ac_cpp='$CXXCPP $CPPFLAGS'
15931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15936 # Fake what AC_TRY_COMPILE does, without linking as this is
15937 # unnecessary for this test.
15939 cat > conftest.$ac_ext << EOF
15940 #line 15940 "configure"
15941 template<typename T1, typename T2>
15942 struct same
15943 { typedef T2 type; };
15945 template<typename T>
15946 struct same<T, T>;
15948 int main()
15950 typename same<long, __int128>::type i1;
15951 typename same<long long, __int128>::type i2;
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15956 $as_echo_n "checking for __int128... " >&6; }
15957 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15958 (eval $ac_compile) 2>&5
15959 ac_status=$?
15960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15961 test $ac_status = 0; }; then
15963 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15965 enable_int128=yes
15966 else
15967 enable_int128=no
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15970 $as_echo "$enable_int128" >&6; }
15971 rm -f conftest*
15973 cat > conftest.$ac_ext << EOF
15974 #line 15974 "configure"
15975 template<typename T1, typename T2>
15976 struct same
15977 { typedef T2 type; };
15979 template<typename T>
15980 struct same<T, T>;
15982 int main()
15984 typename same<double, __float128>::type f1;
15985 typename same<long double, __float128>::type f2;
15989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15990 $as_echo_n "checking for __float128... " >&6; }
15991 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15992 (eval $ac_compile) 2>&5
15993 ac_status=$?
15994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15995 test $ac_status = 0; }; then
15996 enable_float128=yes
15997 else
15998 enable_float128=no
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16001 $as_echo "$enable_float128" >&6; }
16003 rm -f conftest*
16005 ac_ext=c
16006 ac_cpp='$CPP $CPPFLAGS'
16007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16012 if test "$enable_float128" = yes; then
16013 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16016 # Checks for compiler support that doesn't require linking.
16018 # All these tests are for C++; save the language and the compiler flags.
16019 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16020 # found in GLIBCXX_CONFIGURE.
16022 ac_ext=cpp
16023 ac_cpp='$CXXCPP $CPPFLAGS'
16024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16028 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16029 ac_save_CXXFLAGS="$CXXFLAGS"
16031 # Check for -ffunction-sections -fdata-sections
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16033 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16034 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16036 /* end confdefs.h. */
16037 int foo; void bar() { };
16039 main ()
16043 return 0;
16045 _ACEOF
16046 if ac_fn_cxx_try_compile "$LINENO"; then :
16047 ac_fdsections=yes
16048 else
16049 ac_fdsections=no
16051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16052 if test "$ac_test_CXXFLAGS" = set; then
16053 CXXFLAGS="$ac_save_CXXFLAGS"
16054 else
16055 # this is the suspicious part
16056 CXXFLAGS=''
16058 if test x"$ac_fdsections" = x"yes"; then
16059 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16062 $as_echo "$ac_fdsections" >&6; }
16064 ac_ext=c
16065 ac_cpp='$CPP $CPPFLAGS'
16066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16073 # Enable all the variable C++ runtime options that don't require linking.
16075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16076 $as_echo_n "checking for underlying I/O to use... " >&6; }
16077 # Check whether --enable-cstdio was given.
16078 if test "${enable_cstdio+set}" = set; then :
16079 enableval=$enable_cstdio;
16080 case "$enableval" in
16081 stdio) ;;
16082 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16083 esac
16085 else
16086 enable_cstdio=stdio
16091 # Now that libio has been removed, you can have any color you want as long
16092 # as it's black. This is one big no-op until other packages are added, but
16093 # showing the framework never hurts.
16094 case ${enable_cstdio} in
16095 stdio)
16096 CSTDIO_H=config/io/c_io_stdio.h
16097 BASIC_FILE_H=config/io/basic_file_stdio.h
16098 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
16100 $as_echo "stdio" >&6; }
16102 esac
16109 # Check whether --enable-clocale was given.
16110 if test "${enable_clocale+set}" = set; then :
16111 enableval=$enable_clocale;
16112 case "$enableval" in
16113 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16114 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16115 esac
16117 else
16118 enable_clocale=auto
16123 # Deal with gettext issues. Default to not using it (=no) until we detect
16124 # support for it later. Let the user turn it off via --e/d, but let that
16125 # default to on for easier handling.
16126 USE_NLS=no
16127 # Check whether --enable-nls was given.
16128 if test "${enable_nls+set}" = set; then :
16129 enableval=$enable_nls;
16130 else
16131 enable_nls=yes
16135 # Either a known package, or "auto"
16136 if test $enable_clocale = no || test $enable_clocale = yes; then
16137 enable_clocale=auto
16139 enable_clocale_flag=$enable_clocale
16141 # Probe for locale model to use if none specified.
16142 # Default to "generic".
16143 if test $enable_clocale_flag = auto; then
16144 case ${target_os} in
16145 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16146 enable_clocale_flag=gnu
16148 darwin*)
16149 enable_clocale_flag=darwin
16151 dragonfly* | freebsd*)
16152 enable_clocale_flag=dragonfly
16154 openbsd*)
16155 enable_clocale_flag=newlib
16158 if test x"$with_newlib" = x"yes"; then
16159 enable_clocale_flag=newlib
16160 else
16161 enable_clocale_flag=generic
16164 esac
16167 # Sanity check model, and test for special functionality.
16168 if test $enable_clocale_flag = gnu; then
16169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16170 /* end confdefs.h. */
16172 #include <features.h>
16173 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16174 _GLIBCXX_ok
16175 #endif
16177 _ACEOF
16178 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16179 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16180 enable_clocale_flag=gnu
16181 else
16182 enable_clocale_flag=generic
16184 rm -f conftest*
16187 # Set it to scream when it hurts.
16188 ac_save_CFLAGS="$CFLAGS"
16189 CFLAGS="-Wimplicit-function-declaration -Werror"
16191 # Use strxfrm_l if available.
16192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16193 /* end confdefs.h. */
16194 #define _GNU_SOURCE 1
16195 #include <string.h>
16196 #include <locale.h>
16198 main ()
16200 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16202 return 0;
16204 _ACEOF
16205 if ac_fn_c_try_compile "$LINENO"; then :
16207 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16212 # Use strerror_l if available.
16213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16214 /* end confdefs.h. */
16215 #define _GNU_SOURCE 1
16216 #include <string.h>
16217 #include <locale.h>
16219 main ()
16221 __locale_t loc; strerror_l(5, loc);
16223 return 0;
16225 _ACEOF
16226 if ac_fn_c_try_compile "$LINENO"; then :
16228 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16233 CFLAGS="$ac_save_CFLAGS"
16236 # Perhaps use strerror_r if available, and strerror_l isn't.
16237 ac_save_CFLAGS="$CFLAGS"
16238 CFLAGS="-Wimplicit-function-declaration -Werror"
16239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16240 /* end confdefs.h. */
16241 #define _GNU_SOURCE 1
16242 #include <string.h>
16243 #include <locale.h>
16245 main ()
16247 char s[128]; strerror_r(5, s, 128);
16249 return 0;
16251 _ACEOF
16252 if ac_fn_c_try_compile "$LINENO"; then :
16254 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16258 CFLAGS="$ac_save_CFLAGS"
16260 # Set configure bits for specified locale package
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16262 $as_echo_n "checking for C locale to use... " >&6; }
16263 case ${enable_clocale_flag} in
16264 generic)
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16266 $as_echo "generic" >&6; }
16268 CLOCALE_H=config/locale/generic/c_locale.h
16269 CLOCALE_CC=config/locale/generic/c_locale.cc
16270 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16271 CCOLLATE_CC=config/locale/generic/collate_members.cc
16272 CCTYPE_CC=config/locale/generic/ctype_members.cc
16273 CMESSAGES_H=config/locale/generic/messages_members.h
16274 CMESSAGES_CC=config/locale/generic/messages_members.cc
16275 CMONEY_CC=config/locale/generic/monetary_members.cc
16276 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16277 CTIME_H=config/locale/generic/time_members.h
16278 CTIME_CC=config/locale/generic/time_members.cc
16279 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16281 darwin)
16282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16283 $as_echo "darwin" >&6; }
16285 CLOCALE_H=config/locale/generic/c_locale.h
16286 CLOCALE_CC=config/locale/generic/c_locale.cc
16287 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16288 CCOLLATE_CC=config/locale/generic/collate_members.cc
16289 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16290 CMESSAGES_H=config/locale/generic/messages_members.h
16291 CMESSAGES_CC=config/locale/generic/messages_members.cc
16292 CMONEY_CC=config/locale/generic/monetary_members.cc
16293 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16294 CTIME_H=config/locale/generic/time_members.h
16295 CTIME_CC=config/locale/generic/time_members.cc
16296 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16299 dragonfly)
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16301 $as_echo "dragonfly or freebsd" >&6; }
16303 CLOCALE_H=config/locale/dragonfly/c_locale.h
16304 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16305 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16306 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16307 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16308 CMESSAGES_H=config/locale/generic/messages_members.h
16309 CMESSAGES_CC=config/locale/generic/messages_members.cc
16310 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16311 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16312 CTIME_H=config/locale/dragonfly/time_members.h
16313 CTIME_CC=config/locale/dragonfly/time_members.cc
16314 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16317 gnu)
16318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16319 $as_echo "gnu" >&6; }
16321 # Declare intention to use gettext, and add support for specific
16322 # languages.
16323 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16324 ALL_LINGUAS="de fr"
16326 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16327 # Extract the first word of "msgfmt", so it can be a program name with args.
16328 set dummy msgfmt; ac_word=$2
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16330 $as_echo_n "checking for $ac_word... " >&6; }
16331 if ${ac_cv_prog_check_msgfmt+:} false; then :
16332 $as_echo_n "(cached) " >&6
16333 else
16334 if test -n "$check_msgfmt"; then
16335 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16336 else
16337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16338 for as_dir in $PATH
16340 IFS=$as_save_IFS
16341 test -z "$as_dir" && as_dir=.
16342 for ac_exec_ext in '' $ac_executable_extensions; do
16343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16344 ac_cv_prog_check_msgfmt="yes"
16345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16346 break 2
16348 done
16349 done
16350 IFS=$as_save_IFS
16352 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16355 check_msgfmt=$ac_cv_prog_check_msgfmt
16356 if test -n "$check_msgfmt"; then
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16358 $as_echo "$check_msgfmt" >&6; }
16359 else
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16361 $as_echo "no" >&6; }
16365 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16366 USE_NLS=yes
16368 # Export the build objects.
16369 for ling in $ALL_LINGUAS; do \
16370 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16371 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16372 done
16376 CLOCALE_H=config/locale/gnu/c_locale.h
16377 CLOCALE_CC=config/locale/gnu/c_locale.cc
16378 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16379 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16380 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16381 CMESSAGES_H=config/locale/gnu/messages_members.h
16382 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16383 CMONEY_CC=config/locale/gnu/monetary_members.cc
16384 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16385 CTIME_H=config/locale/gnu/time_members.h
16386 CTIME_CC=config/locale/gnu/time_members.cc
16387 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16389 ieee_1003.1-2001)
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16391 $as_echo "IEEE 1003.1" >&6; }
16393 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16394 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16395 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16396 CCOLLATE_CC=config/locale/generic/collate_members.cc
16397 CCTYPE_CC=config/locale/generic/ctype_members.cc
16398 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16399 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16400 CMONEY_CC=config/locale/generic/monetary_members.cc
16401 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16402 CTIME_H=config/locale/generic/time_members.h
16403 CTIME_CC=config/locale/generic/time_members.cc
16404 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16406 newlib)
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16408 $as_echo "newlib" >&6; }
16410 CLOCALE_H=config/locale/generic/c_locale.h
16411 CLOCALE_CC=config/locale/generic/c_locale.cc
16412 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16413 CCOLLATE_CC=config/locale/generic/collate_members.cc
16414 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16415 CMESSAGES_H=config/locale/generic/messages_members.h
16416 CMESSAGES_CC=config/locale/generic/messages_members.cc
16417 CMONEY_CC=config/locale/generic/monetary_members.cc
16418 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16419 CTIME_H=config/locale/generic/time_members.h
16420 CTIME_CC=config/locale/generic/time_members.cc
16421 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16423 esac
16425 # This is where the testsuite looks for locale catalogs, using the
16426 # -DLOCALEDIR define during testsuite compilation.
16427 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16430 # A standalone libintl (e.g., GNU libintl) may be in use.
16431 if test $USE_NLS = yes; then
16432 for ac_header in libintl.h
16433 do :
16434 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16435 if test "x$ac_cv_header_libintl_h" = xyes; then :
16436 cat >>confdefs.h <<_ACEOF
16437 #define HAVE_LIBINTL_H 1
16438 _ACEOF
16440 else
16441 USE_NLS=no
16444 done
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16447 $as_echo_n "checking for library containing gettext... " >&6; }
16448 if ${ac_cv_search_gettext+:} false; then :
16449 $as_echo_n "(cached) " >&6
16450 else
16451 ac_func_search_save_LIBS=$LIBS
16452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16453 /* end confdefs.h. */
16455 /* Override any GCC internal prototype to avoid an error.
16456 Use char because int might match the return type of a GCC
16457 builtin and then its argument prototype would still apply. */
16458 #ifdef __cplusplus
16459 extern "C"
16460 #endif
16461 char gettext ();
16463 main ()
16465 return gettext ();
16467 return 0;
16469 _ACEOF
16470 for ac_lib in '' intl; do
16471 if test -z "$ac_lib"; then
16472 ac_res="none required"
16473 else
16474 ac_res=-l$ac_lib
16475 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16477 if test x$gcc_no_link = xyes; then
16478 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16480 if ac_fn_c_try_link "$LINENO"; then :
16481 ac_cv_search_gettext=$ac_res
16483 rm -f core conftest.err conftest.$ac_objext \
16484 conftest$ac_exeext
16485 if ${ac_cv_search_gettext+:} false; then :
16486 break
16488 done
16489 if ${ac_cv_search_gettext+:} false; then :
16491 else
16492 ac_cv_search_gettext=no
16494 rm conftest.$ac_ext
16495 LIBS=$ac_func_search_save_LIBS
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16498 $as_echo "$ac_cv_search_gettext" >&6; }
16499 ac_res=$ac_cv_search_gettext
16500 if test "$ac_res" != no; then :
16501 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16503 else
16504 USE_NLS=no
16508 if test $USE_NLS = yes; then
16510 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16530 $as_echo_n "checking for std::allocator base class... " >&6; }
16531 # Check whether --enable-libstdcxx-allocator was given.
16532 if test "${enable_libstdcxx_allocator+set}" = set; then :
16533 enableval=$enable_libstdcxx_allocator;
16534 case "$enableval" in
16535 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16536 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16537 esac
16539 else
16540 enable_libstdcxx_allocator=auto
16545 # If they didn't use this option switch, or if they specified --enable
16546 # with no specific model, we'll have to look for one. If they
16547 # specified --disable (???), do likewise.
16548 if test $enable_libstdcxx_allocator = no ||
16549 test $enable_libstdcxx_allocator = yes;
16550 then
16551 enable_libstdcxx_allocator=auto
16554 # Either a known package, or "auto". Auto implies the default choice
16555 # for a particular platform.
16556 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16558 # Probe for host-specific support if no specific model is specified.
16559 # Default to "new".
16560 if test $enable_libstdcxx_allocator_flag = auto; then
16561 case ${target_os} in
16562 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16563 enable_libstdcxx_allocator_flag=new
16566 enable_libstdcxx_allocator_flag=new
16568 esac
16570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16571 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16574 # Set configure bits for specified locale package
16575 case ${enable_libstdcxx_allocator_flag} in
16576 bitmap)
16577 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16578 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16580 malloc)
16581 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16582 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16585 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16586 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16588 new)
16589 ALLOCATOR_H=config/allocator/new_allocator_base.h
16590 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16592 pool)
16593 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16594 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16596 esac
16603 # Check whether --enable-cheaders was given.
16604 if test "${enable_cheaders+set}" = set; then :
16605 enableval=$enable_cheaders;
16606 case "$enableval" in
16607 c|c_std|c_global) ;;
16608 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16609 esac
16611 else
16612 enable_cheaders=$c_model
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16617 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16619 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16621 # Allow overrides to configure.host here.
16622 if test $enable_cheaders = c_global; then
16623 c_compatibility=yes
16632 # Check whether --enable-long-long was given.
16633 if test "${enable_long_long+set}" = set; then :
16634 enableval=$enable_long_long;
16635 case "$enableval" in
16636 yes|no) ;;
16637 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16638 esac
16640 else
16641 enable_long_long=yes
16645 if test $enable_long_long = yes; then
16647 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16651 $as_echo_n "checking for enabled long long specializations... " >&6; }
16652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16653 $as_echo "$enable_long_long" >&6; }
16656 # Check whether --enable-wchar_t was given.
16657 if test "${enable_wchar_t+set}" = set; then :
16658 enableval=$enable_wchar_t;
16659 case "$enableval" in
16660 yes|no) ;;
16661 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16662 esac
16664 else
16665 enable_wchar_t=yes
16670 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16671 for ac_header in wchar.h
16672 do :
16673 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16674 if test "x$ac_cv_header_wchar_h" = xyes; then :
16675 cat >>confdefs.h <<_ACEOF
16676 #define HAVE_WCHAR_H 1
16677 _ACEOF
16678 ac_has_wchar_h=yes
16679 else
16680 ac_has_wchar_h=no
16683 done
16685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16686 $as_echo_n "checking for mbstate_t... " >&6; }
16687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16688 /* end confdefs.h. */
16689 #include <wchar.h>
16691 main ()
16693 mbstate_t teststate;
16695 return 0;
16697 _ACEOF
16698 if ac_fn_c_try_compile "$LINENO"; then :
16699 have_mbstate_t=yes
16700 else
16701 have_mbstate_t=no
16703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16705 $as_echo "$have_mbstate_t" >&6; }
16706 if test x"$have_mbstate_t" = xyes; then
16708 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16712 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16713 # ac_has_wchar_h.
16714 for ac_header in wctype.h
16715 do :
16716 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16717 if test "x$ac_cv_header_wctype_h" = xyes; then :
16718 cat >>confdefs.h <<_ACEOF
16719 #define HAVE_WCTYPE_H 1
16720 _ACEOF
16721 ac_has_wctype_h=yes
16722 else
16723 ac_has_wctype_h=no
16726 done
16729 if test x"$enable_wchar_t" = x"yes"; then
16732 ac_ext=cpp
16733 ac_cpp='$CXXCPP $CPPFLAGS'
16734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16739 if test x"$ac_has_wchar_h" = xyes &&
16740 test x"$ac_has_wctype_h" = xyes; then
16741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16742 /* end confdefs.h. */
16743 #include <wchar.h>
16744 #include <stddef.h>
16745 wint_t i;
16746 long l = WEOF;
16747 long j = WCHAR_MIN;
16748 long k = WCHAR_MAX;
16749 namespace test
16751 using ::btowc;
16752 using ::fgetwc;
16753 using ::fgetws;
16754 using ::fputwc;
16755 using ::fputws;
16756 using ::fwide;
16757 using ::fwprintf;
16758 using ::fwscanf;
16759 using ::getwc;
16760 using ::getwchar;
16761 using ::mbrlen;
16762 using ::mbrtowc;
16763 using ::mbsinit;
16764 using ::mbsrtowcs;
16765 using ::putwc;
16766 using ::putwchar;
16767 using ::swprintf;
16768 using ::swscanf;
16769 using ::ungetwc;
16770 using ::vfwprintf;
16771 using ::vswprintf;
16772 using ::vwprintf;
16773 using ::wcrtomb;
16774 using ::wcscat;
16775 using ::wcschr;
16776 using ::wcscmp;
16777 using ::wcscoll;
16778 using ::wcscpy;
16779 using ::wcscspn;
16780 using ::wcsftime;
16781 using ::wcslen;
16782 using ::wcsncat;
16783 using ::wcsncmp;
16784 using ::wcsncpy;
16785 using ::wcspbrk;
16786 using ::wcsrchr;
16787 using ::wcsrtombs;
16788 using ::wcsspn;
16789 using ::wcsstr;
16790 using ::wcstod;
16791 using ::wcstok;
16792 using ::wcstol;
16793 using ::wcstoul;
16794 using ::wcsxfrm;
16795 using ::wctob;
16796 using ::wmemchr;
16797 using ::wmemcmp;
16798 using ::wmemcpy;
16799 using ::wmemmove;
16800 using ::wmemset;
16801 using ::wprintf;
16802 using ::wscanf;
16806 main ()
16810 return 0;
16812 _ACEOF
16813 if ac_fn_cxx_try_compile "$LINENO"; then :
16815 else
16816 enable_wchar_t=no
16818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16819 else
16820 enable_wchar_t=no
16823 ac_ext=c
16824 ac_cpp='$CPP $CPPFLAGS'
16825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16831 if test x"$enable_wchar_t" = x"yes"; then
16833 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16838 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16840 $as_echo "$enable_wchar_t" >&6; }
16844 # Check whether --enable-c99 was given.
16845 if test "${enable_c99+set}" = set; then :
16846 enableval=$enable_c99;
16847 case "$enableval" in
16848 yes|no) ;;
16849 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16850 esac
16852 else
16853 enable_c99=yes
16858 if test x"$enable_c99" = x"yes"; then
16860 ac_ext=cpp
16861 ac_cpp='$CXXCPP $CPPFLAGS'
16862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16867 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16868 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16869 # to be spuriously enabled.
16870 ac_save_CXXFLAGS="$CXXFLAGS"
16871 CXXFLAGS="$CXXFLAGS -std=c++98"
16872 ac_save_LIBS="$LIBS"
16873 ac_save_gcc_no_link="$gcc_no_link"
16875 if test x$gcc_no_link != xyes; then
16876 # Use -fno-exceptions to that the C driver can link these tests without
16877 # hitting undefined references to personality routines.
16878 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16880 $as_echo_n "checking for sin in -lm... " >&6; }
16881 if ${ac_cv_lib_m_sin+:} false; then :
16882 $as_echo_n "(cached) " >&6
16883 else
16884 ac_check_lib_save_LIBS=$LIBS
16885 LIBS="-lm $LIBS"
16886 if test x$gcc_no_link = xyes; then
16887 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16890 /* end confdefs.h. */
16892 /* Override any GCC internal prototype to avoid an error.
16893 Use char because int might match the return type of a GCC
16894 builtin and then its argument prototype would still apply. */
16895 #ifdef __cplusplus
16896 extern "C"
16897 #endif
16898 char sin ();
16900 main ()
16902 return sin ();
16904 return 0;
16906 _ACEOF
16907 if ac_fn_cxx_try_link "$LINENO"; then :
16908 ac_cv_lib_m_sin=yes
16909 else
16910 ac_cv_lib_m_sin=no
16912 rm -f core conftest.err conftest.$ac_objext \
16913 conftest$ac_exeext conftest.$ac_ext
16914 LIBS=$ac_check_lib_save_LIBS
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16917 $as_echo "$ac_cv_lib_m_sin" >&6; }
16918 if test "x$ac_cv_lib_m_sin" = xyes; then :
16919 LIBS="$LIBS -lm"
16920 else
16922 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16923 gcc_no_link=yes
16929 # Check for the existence of <math.h> functions used if C99 is enabled.
16930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16931 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16932 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
16933 $as_echo_n "(cached) " >&6
16934 else
16936 if test x$gcc_no_link = xyes; then
16937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16938 /* end confdefs.h. */
16939 #include <math.h>
16940 volatile double d1, d2;
16941 volatile int i;
16943 main ()
16945 i = fpclassify(d1);
16946 i = isfinite(d1);
16947 i = isinf(d1);
16948 i = isnan(d1);
16949 i = isnormal(d1);
16950 i = signbit(d1);
16951 i = isgreater(d1, d2);
16952 i = isgreaterequal(d1, d2);
16953 i = isless(d1, d2);
16954 i = islessequal(d1, d2);
16955 i = islessgreater(d1, d2);
16956 i = islessgreater(d1, d2);
16957 i = isunordered(d1, d2);
16960 return 0;
16962 _ACEOF
16963 if ac_fn_cxx_try_compile "$LINENO"; then :
16964 glibcxx_cv_c99_math_cxx98=yes
16965 else
16966 glibcxx_cv_c99_math_cxx98=no
16968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16969 else
16970 if test x$gcc_no_link = xyes; then
16971 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16974 /* end confdefs.h. */
16975 #include <math.h>
16976 volatile double d1, d2;
16977 volatile int i;
16979 main ()
16981 i = fpclassify(d1);
16982 i = isfinite(d1);
16983 i = isinf(d1);
16984 i = isnan(d1);
16985 i = isnormal(d1);
16986 i = signbit(d1);
16987 i = isgreater(d1, d2);
16988 i = isgreaterequal(d1, d2);
16989 i = isless(d1, d2);
16990 i = islessequal(d1, d2);
16991 i = islessgreater(d1, d2);
16992 i = islessgreater(d1, d2);
16993 i = isunordered(d1, d2);
16996 return 0;
16998 _ACEOF
16999 if ac_fn_cxx_try_link "$LINENO"; then :
17000 glibcxx_cv_c99_math_cxx98=yes
17001 else
17002 glibcxx_cv_c99_math_cxx98=no
17004 rm -f core conftest.err conftest.$ac_objext \
17005 conftest$ac_exeext conftest.$ac_ext
17010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17011 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17012 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17014 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17018 # Check for the existence of <complex.h> complex math functions.
17019 # This is necessary even though libstdc++ uses the builtin versions
17020 # of these functions, because if the builtin cannot be used, a reference
17021 # to the library function is emitted.
17022 for ac_header in tgmath.h
17023 do :
17024 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17025 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17026 cat >>confdefs.h <<_ACEOF
17027 #define HAVE_TGMATH_H 1
17028 _ACEOF
17029 ac_has_tgmath_h=yes
17030 else
17031 ac_has_tgmath_h=no
17034 done
17036 for ac_header in complex.h
17037 do :
17038 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17039 if test "x$ac_cv_header_complex_h" = xyes; then :
17040 cat >>confdefs.h <<_ACEOF
17041 #define HAVE_COMPLEX_H 1
17042 _ACEOF
17043 ac_has_complex_h=yes
17044 else
17045 ac_has_complex_h=no
17048 done
17050 if test x"$ac_has_complex_h" = x"yes"; then
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17052 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17053 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17054 $as_echo_n "(cached) " >&6
17055 else
17057 if test x$gcc_no_link = xyes; then
17058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17059 /* end confdefs.h. */
17060 #include <complex.h>
17061 typedef __complex__ float float_type;
17062 typedef __complex__ double double_type;
17063 typedef __complex__ long double ld_type;
17064 volatile float_type tmpf;
17065 volatile double_type tmpd;
17066 volatile ld_type tmpld;
17067 volatile float f;
17068 volatile double d;
17069 volatile long double ld;
17071 main ()
17073 f = cabsf(tmpf);
17074 f = cargf(tmpf);
17075 tmpf = ccosf(tmpf);
17076 tmpf = ccoshf(tmpf);
17077 tmpf = cexpf(tmpf);
17078 tmpf = clogf(tmpf);
17079 tmpf = csinf(tmpf);
17080 tmpf = csinhf(tmpf);
17081 tmpf = csqrtf(tmpf);
17082 tmpf = ctanf(tmpf);
17083 tmpf = ctanhf(tmpf);
17084 tmpf = cpowf(tmpf, tmpf);
17085 tmpf = cprojf(tmpf);
17086 d = cabs(tmpd);
17087 d = carg(tmpd);
17088 tmpd = ccos(tmpd);
17089 tmpd = ccosh(tmpd);
17090 tmpd = cexp(tmpd);
17091 tmpd = clog(tmpd);
17092 tmpd = csin(tmpd);
17093 tmpd = csinh(tmpd);
17094 tmpd = csqrt(tmpd);
17095 tmpd = ctan(tmpd);
17096 tmpd = ctanh(tmpd);
17097 tmpd = cpow(tmpd, tmpd);
17098 tmpd = cproj(tmpd);
17099 ld = cabsl(tmpld);
17100 ld = cargl(tmpld);
17101 tmpld = ccosl(tmpld);
17102 tmpld = ccoshl(tmpld);
17103 tmpld = cexpl(tmpld);
17104 tmpld = clogl(tmpld);
17105 tmpld = csinl(tmpld);
17106 tmpld = csinhl(tmpld);
17107 tmpld = csqrtl(tmpld);
17108 tmpld = ctanl(tmpld);
17109 tmpld = ctanhl(tmpld);
17110 tmpld = cpowl(tmpld, tmpld);
17111 tmpld = cprojl(tmpld);
17114 return 0;
17116 _ACEOF
17117 if ac_fn_cxx_try_compile "$LINENO"; then :
17118 glibcxx_cv_c99_complex_cxx98=yes
17119 else
17120 glibcxx_cv_c99_complex_cxx98=no
17122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17123 else
17124 if test x$gcc_no_link = xyes; then
17125 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17128 /* end confdefs.h. */
17129 #include <complex.h>
17130 typedef __complex__ float float_type;
17131 typedef __complex__ double double_type;
17132 typedef __complex__ long double ld_type;
17133 volatile float_type tmpf;
17134 volatile double_type tmpd;
17135 volatile ld_type tmpld;
17136 volatile float f;
17137 volatile double d;
17138 volatile long double ld;
17140 main ()
17142 f = cabsf(tmpf);
17143 f = cargf(tmpf);
17144 tmpf = ccosf(tmpf);
17145 tmpf = ccoshf(tmpf);
17146 tmpf = cexpf(tmpf);
17147 tmpf = clogf(tmpf);
17148 tmpf = csinf(tmpf);
17149 tmpf = csinhf(tmpf);
17150 tmpf = csqrtf(tmpf);
17151 tmpf = ctanf(tmpf);
17152 tmpf = ctanhf(tmpf);
17153 tmpf = cpowf(tmpf, tmpf);
17154 tmpf = cprojf(tmpf);
17155 d = cabs(tmpd);
17156 d = carg(tmpd);
17157 tmpd = ccos(tmpd);
17158 tmpd = ccosh(tmpd);
17159 tmpd = cexp(tmpd);
17160 tmpd = clog(tmpd);
17161 tmpd = csin(tmpd);
17162 tmpd = csinh(tmpd);
17163 tmpd = csqrt(tmpd);
17164 tmpd = ctan(tmpd);
17165 tmpd = ctanh(tmpd);
17166 tmpd = cpow(tmpd, tmpd);
17167 tmpd = cproj(tmpd);
17168 ld = cabsl(tmpld);
17169 ld = cargl(tmpld);
17170 tmpld = ccosl(tmpld);
17171 tmpld = ccoshl(tmpld);
17172 tmpld = cexpl(tmpld);
17173 tmpld = clogl(tmpld);
17174 tmpld = csinl(tmpld);
17175 tmpld = csinhl(tmpld);
17176 tmpld = csqrtl(tmpld);
17177 tmpld = ctanl(tmpld);
17178 tmpld = ctanhl(tmpld);
17179 tmpld = cpowl(tmpld, tmpld);
17180 tmpld = cprojl(tmpld);
17183 return 0;
17185 _ACEOF
17186 if ac_fn_cxx_try_link "$LINENO"; then :
17187 glibcxx_cv_c99_complex_cxx98=yes
17188 else
17189 glibcxx_cv_c99_complex_cxx98=no
17191 rm -f core conftest.err conftest.$ac_objext \
17192 conftest$ac_exeext conftest.$ac_ext
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17199 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17200 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17202 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17206 # Check for the existence in <stdio.h> of vscanf, et. al.
17207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17208 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17209 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17210 $as_echo_n "(cached) " >&6
17211 else
17213 if test x$gcc_no_link = xyes; then
17214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17215 /* end confdefs.h. */
17216 #include <stdio.h>
17217 #include <stdarg.h>
17218 void foo(char* fmt, ...)
17220 va_list args; va_start(args, fmt);
17221 vfscanf(stderr, "%i", args);
17222 vscanf("%i", args);
17223 vsnprintf(fmt, 0, "%i", args);
17224 vsscanf(fmt, "%i", args);
17225 snprintf(fmt, 0, "%i");
17228 main ()
17232 return 0;
17234 _ACEOF
17235 if ac_fn_cxx_try_compile "$LINENO"; then :
17236 glibcxx_cv_c99_stdio_cxx98=yes
17237 else
17238 glibcxx_cv_c99_stdio_cxx98=no
17240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17241 else
17242 if test x$gcc_no_link = xyes; then
17243 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17246 /* end confdefs.h. */
17247 #include <stdio.h>
17248 #include <stdarg.h>
17249 void foo(char* fmt, ...)
17251 va_list args; va_start(args, fmt);
17252 vfscanf(stderr, "%i", args);
17253 vscanf("%i", args);
17254 vsnprintf(fmt, 0, "%i", args);
17255 vsscanf(fmt, "%i", args);
17256 snprintf(fmt, 0, "%i");
17259 main ()
17263 return 0;
17265 _ACEOF
17266 if ac_fn_cxx_try_link "$LINENO"; then :
17267 glibcxx_cv_c99_stdio_cxx98=yes
17268 else
17269 glibcxx_cv_c99_stdio_cxx98=no
17271 rm -f core conftest.err conftest.$ac_objext \
17272 conftest$ac_exeext conftest.$ac_ext
17277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17278 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17279 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17281 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17285 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17287 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17288 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17289 $as_echo_n "(cached) " >&6
17290 else
17292 if test x$gcc_no_link = xyes; then
17293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17294 /* end confdefs.h. */
17295 #include <stdlib.h>
17296 volatile float f;
17297 volatile long double ld;
17298 volatile unsigned long long ll;
17299 lldiv_t mydivt;
17301 main ()
17303 char* tmp;
17304 f = strtof("gnu", &tmp);
17305 ld = strtold("gnu", &tmp);
17306 ll = strtoll("gnu", &tmp, 10);
17307 ll = strtoull("gnu", &tmp, 10);
17308 ll = llabs(10);
17309 mydivt = lldiv(10,1);
17310 ll = mydivt.quot;
17311 ll = mydivt.rem;
17312 ll = atoll("10");
17313 _Exit(0);
17316 return 0;
17318 _ACEOF
17319 if ac_fn_cxx_try_compile "$LINENO"; then :
17320 glibcxx_cv_c99_stdlib_cxx98=yes
17321 else
17322 glibcxx_cv_c99_stdlib_cxx98=no
17324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17325 else
17326 if test x$gcc_no_link = xyes; then
17327 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17330 /* end confdefs.h. */
17331 #include <stdlib.h>
17332 volatile float f;
17333 volatile long double ld;
17334 volatile unsigned long long ll;
17335 lldiv_t mydivt;
17337 main ()
17339 char* tmp;
17340 f = strtof("gnu", &tmp);
17341 ld = strtold("gnu", &tmp);
17342 ll = strtoll("gnu", &tmp, 10);
17343 ll = strtoull("gnu", &tmp, 10);
17344 ll = llabs(10);
17345 mydivt = lldiv(10,1);
17346 ll = mydivt.quot;
17347 ll = mydivt.rem;
17348 ll = atoll("10");
17349 _Exit(0);
17352 return 0;
17354 _ACEOF
17355 if ac_fn_cxx_try_link "$LINENO"; then :
17356 glibcxx_cv_c99_stdlib_cxx98=yes
17357 else
17358 glibcxx_cv_c99_stdlib_cxx98=no
17360 rm -f core conftest.err conftest.$ac_objext \
17361 conftest$ac_exeext conftest.$ac_ext
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17367 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17368 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17370 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17374 # Check for the existence in <wchar.h> of wcstold, etc.
17375 if test x"$ac_has_wchar_h" = xyes &&
17376 test x"$ac_has_wctype_h" = xyes; then
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17378 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17379 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17380 $as_echo_n "(cached) " >&6
17381 else
17383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17384 /* end confdefs.h. */
17385 #include <wchar.h>
17386 namespace test
17388 using ::wcstold;
17389 using ::wcstoll;
17390 using ::wcstoull;
17394 main ()
17398 return 0;
17400 _ACEOF
17401 if ac_fn_cxx_try_compile "$LINENO"; then :
17402 glibcxx_cv_c99_wchar_cxx98=yes
17403 else
17404 glibcxx_cv_c99_wchar_cxx98=no
17406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17411 # Checks for wide character functions that may not be present.
17412 # Injection of these is wrapped with guard macros.
17413 # NB: only put functions here, instead of immediately above, if
17414 # absolutely necessary.
17415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17416 /* end confdefs.h. */
17417 #include <wchar.h>
17418 namespace test { using ::vfwscanf; }
17420 main ()
17424 return 0;
17426 _ACEOF
17427 if ac_fn_cxx_try_compile "$LINENO"; then :
17429 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17435 /* end confdefs.h. */
17436 #include <wchar.h>
17437 namespace test { using ::vswscanf; }
17439 main ()
17443 return 0;
17445 _ACEOF
17446 if ac_fn_cxx_try_compile "$LINENO"; then :
17448 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17454 /* end confdefs.h. */
17455 #include <wchar.h>
17456 namespace test { using ::vwscanf; }
17458 main ()
17462 return 0;
17464 _ACEOF
17465 if ac_fn_cxx_try_compile "$LINENO"; then :
17467 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17473 /* end confdefs.h. */
17474 #include <wchar.h>
17475 namespace test { using ::wcstof; }
17477 main ()
17481 return 0;
17483 _ACEOF
17484 if ac_fn_cxx_try_compile "$LINENO"; then :
17486 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17492 /* end confdefs.h. */
17493 #include <wctype.h>
17495 main ()
17497 wint_t t; int i = iswblank(t);
17499 return 0;
17501 _ACEOF
17502 if ac_fn_cxx_try_compile "$LINENO"; then :
17504 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17510 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17511 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17513 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17518 # Option parsed, now set things appropriately.
17519 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17520 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17521 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17522 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17523 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17524 enable_c99=no;
17525 else
17527 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17531 gcc_no_link="$ac_save_gcc_no_link"
17532 LIBS="$ac_save_LIBS"
17533 CXXFLAGS="$ac_save_CXXFLAGS"
17534 ac_ext=c
17535 ac_cpp='$CPP $CPPFLAGS'
17536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17542 ac_ext=cpp
17543 ac_cpp='$CXXCPP $CPPFLAGS'
17544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17549 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17550 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17551 ac_save_CXXFLAGS="$CXXFLAGS"
17552 CXXFLAGS="$CXXFLAGS -std=c++11"
17553 ac_save_LIBS="$LIBS"
17554 ac_save_gcc_no_link="$gcc_no_link"
17556 if test x$gcc_no_link != xyes; then
17557 # Use -fno-exceptions to that the C driver can link these tests without
17558 # hitting undefined references to personality routines.
17559 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17561 $as_echo_n "checking for sin in -lm... " >&6; }
17562 if ${ac_cv_lib_m_sin+:} false; then :
17563 $as_echo_n "(cached) " >&6
17564 else
17565 ac_check_lib_save_LIBS=$LIBS
17566 LIBS="-lm $LIBS"
17567 if test x$gcc_no_link = xyes; then
17568 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17571 /* end confdefs.h. */
17573 /* Override any GCC internal prototype to avoid an error.
17574 Use char because int might match the return type of a GCC
17575 builtin and then its argument prototype would still apply. */
17576 #ifdef __cplusplus
17577 extern "C"
17578 #endif
17579 char sin ();
17581 main ()
17583 return sin ();
17585 return 0;
17587 _ACEOF
17588 if ac_fn_cxx_try_link "$LINENO"; then :
17589 ac_cv_lib_m_sin=yes
17590 else
17591 ac_cv_lib_m_sin=no
17593 rm -f core conftest.err conftest.$ac_objext \
17594 conftest$ac_exeext conftest.$ac_ext
17595 LIBS=$ac_check_lib_save_LIBS
17597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17598 $as_echo "$ac_cv_lib_m_sin" >&6; }
17599 if test "x$ac_cv_lib_m_sin" = xyes; then :
17600 LIBS="$LIBS -lm"
17601 else
17603 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17604 gcc_no_link=yes
17610 # Check for the existence of <math.h> functions used if C99 is enabled.
17611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17612 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17613 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
17614 $as_echo_n "(cached) " >&6
17615 else
17617 if test x$gcc_no_link = xyes; then
17618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17619 /* end confdefs.h. */
17620 #include <math.h>
17621 volatile double d1, d2;
17622 volatile int i;
17624 main ()
17626 i = fpclassify(d1);
17627 i = isfinite(d1);
17628 i = isinf(d1);
17629 i = isnan(d1);
17630 i = isnormal(d1);
17631 i = signbit(d1);
17632 i = isgreater(d1, d2);
17633 i = isgreaterequal(d1, d2);
17634 i = isless(d1, d2);
17635 i = islessequal(d1, d2);
17636 i = islessgreater(d1, d2);
17637 i = islessgreater(d1, d2);
17638 i = isunordered(d1, d2);
17641 return 0;
17643 _ACEOF
17644 if ac_fn_cxx_try_compile "$LINENO"; then :
17645 glibcxx_cv_c99_math_cxx11=yes
17646 else
17647 glibcxx_cv_c99_math_cxx11=no
17649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17650 else
17651 if test x$gcc_no_link = xyes; then
17652 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17655 /* end confdefs.h. */
17656 #include <math.h>
17657 volatile double d1, d2;
17658 volatile int i;
17660 main ()
17662 i = fpclassify(d1);
17663 i = isfinite(d1);
17664 i = isinf(d1);
17665 i = isnan(d1);
17666 i = isnormal(d1);
17667 i = signbit(d1);
17668 i = isgreater(d1, d2);
17669 i = isgreaterequal(d1, d2);
17670 i = isless(d1, d2);
17671 i = islessequal(d1, d2);
17672 i = islessgreater(d1, d2);
17673 i = islessgreater(d1, d2);
17674 i = isunordered(d1, d2);
17677 return 0;
17679 _ACEOF
17680 if ac_fn_cxx_try_link "$LINENO"; then :
17681 glibcxx_cv_c99_math_cxx11=yes
17682 else
17683 glibcxx_cv_c99_math_cxx11=no
17685 rm -f core conftest.err conftest.$ac_objext \
17686 conftest$ac_exeext conftest.$ac_ext
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17692 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17693 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17695 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17699 # Check for the existence of <complex.h> complex math functions.
17700 # This is necessary even though libstdc++ uses the builtin versions
17701 # of these functions, because if the builtin cannot be used, a reference
17702 # to the library function is emitted.
17703 for ac_header in tgmath.h
17704 do :
17705 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17706 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17707 cat >>confdefs.h <<_ACEOF
17708 #define HAVE_TGMATH_H 1
17709 _ACEOF
17710 ac_has_tgmath_h=yes
17711 else
17712 ac_has_tgmath_h=no
17715 done
17717 for ac_header in complex.h
17718 do :
17719 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17720 if test "x$ac_cv_header_complex_h" = xyes; then :
17721 cat >>confdefs.h <<_ACEOF
17722 #define HAVE_COMPLEX_H 1
17723 _ACEOF
17724 ac_has_complex_h=yes
17725 else
17726 ac_has_complex_h=no
17729 done
17731 if test x"$ac_has_complex_h" = x"yes"; then
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17733 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17734 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
17735 $as_echo_n "(cached) " >&6
17736 else
17738 if test x$gcc_no_link = xyes; then
17739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17740 /* end confdefs.h. */
17741 #include <complex.h>
17742 typedef __complex__ float float_type;
17743 typedef __complex__ double double_type;
17744 typedef __complex__ long double ld_type;
17745 volatile float_type tmpf;
17746 volatile double_type tmpd;
17747 volatile ld_type tmpld;
17748 volatile float f;
17749 volatile double d;
17750 volatile long double ld;
17752 main ()
17754 f = cabsf(tmpf);
17755 f = cargf(tmpf);
17756 tmpf = ccosf(tmpf);
17757 tmpf = ccoshf(tmpf);
17758 tmpf = cexpf(tmpf);
17759 tmpf = clogf(tmpf);
17760 tmpf = csinf(tmpf);
17761 tmpf = csinhf(tmpf);
17762 tmpf = csqrtf(tmpf);
17763 tmpf = ctanf(tmpf);
17764 tmpf = ctanhf(tmpf);
17765 tmpf = cpowf(tmpf, tmpf);
17766 tmpf = cprojf(tmpf);
17767 d = cabs(tmpd);
17768 d = carg(tmpd);
17769 tmpd = ccos(tmpd);
17770 tmpd = ccosh(tmpd);
17771 tmpd = cexp(tmpd);
17772 tmpd = clog(tmpd);
17773 tmpd = csin(tmpd);
17774 tmpd = csinh(tmpd);
17775 tmpd = csqrt(tmpd);
17776 tmpd = ctan(tmpd);
17777 tmpd = ctanh(tmpd);
17778 tmpd = cpow(tmpd, tmpd);
17779 tmpd = cproj(tmpd);
17780 ld = cabsl(tmpld);
17781 ld = cargl(tmpld);
17782 tmpld = ccosl(tmpld);
17783 tmpld = ccoshl(tmpld);
17784 tmpld = cexpl(tmpld);
17785 tmpld = clogl(tmpld);
17786 tmpld = csinl(tmpld);
17787 tmpld = csinhl(tmpld);
17788 tmpld = csqrtl(tmpld);
17789 tmpld = ctanl(tmpld);
17790 tmpld = ctanhl(tmpld);
17791 tmpld = cpowl(tmpld, tmpld);
17792 tmpld = cprojl(tmpld);
17795 return 0;
17797 _ACEOF
17798 if ac_fn_cxx_try_compile "$LINENO"; then :
17799 glibcxx_cv_c99_complex_cxx11=yes
17800 else
17801 glibcxx_cv_c99_complex_cxx11=no
17803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17804 else
17805 if test x$gcc_no_link = xyes; then
17806 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17809 /* end confdefs.h. */
17810 #include <complex.h>
17811 typedef __complex__ float float_type;
17812 typedef __complex__ double double_type;
17813 typedef __complex__ long double ld_type;
17814 volatile float_type tmpf;
17815 volatile double_type tmpd;
17816 volatile ld_type tmpld;
17817 volatile float f;
17818 volatile double d;
17819 volatile long double ld;
17821 main ()
17823 f = cabsf(tmpf);
17824 f = cargf(tmpf);
17825 tmpf = ccosf(tmpf);
17826 tmpf = ccoshf(tmpf);
17827 tmpf = cexpf(tmpf);
17828 tmpf = clogf(tmpf);
17829 tmpf = csinf(tmpf);
17830 tmpf = csinhf(tmpf);
17831 tmpf = csqrtf(tmpf);
17832 tmpf = ctanf(tmpf);
17833 tmpf = ctanhf(tmpf);
17834 tmpf = cpowf(tmpf, tmpf);
17835 tmpf = cprojf(tmpf);
17836 d = cabs(tmpd);
17837 d = carg(tmpd);
17838 tmpd = ccos(tmpd);
17839 tmpd = ccosh(tmpd);
17840 tmpd = cexp(tmpd);
17841 tmpd = clog(tmpd);
17842 tmpd = csin(tmpd);
17843 tmpd = csinh(tmpd);
17844 tmpd = csqrt(tmpd);
17845 tmpd = ctan(tmpd);
17846 tmpd = ctanh(tmpd);
17847 tmpd = cpow(tmpd, tmpd);
17848 tmpd = cproj(tmpd);
17849 ld = cabsl(tmpld);
17850 ld = cargl(tmpld);
17851 tmpld = ccosl(tmpld);
17852 tmpld = ccoshl(tmpld);
17853 tmpld = cexpl(tmpld);
17854 tmpld = clogl(tmpld);
17855 tmpld = csinl(tmpld);
17856 tmpld = csinhl(tmpld);
17857 tmpld = csqrtl(tmpld);
17858 tmpld = ctanl(tmpld);
17859 tmpld = ctanhl(tmpld);
17860 tmpld = cpowl(tmpld, tmpld);
17861 tmpld = cprojl(tmpld);
17864 return 0;
17866 _ACEOF
17867 if ac_fn_cxx_try_link "$LINENO"; then :
17868 glibcxx_cv_c99_complex_cxx11=yes
17869 else
17870 glibcxx_cv_c99_complex_cxx11=no
17872 rm -f core conftest.err conftest.$ac_objext \
17873 conftest$ac_exeext conftest.$ac_ext
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17880 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17881 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17883 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17887 # Check for the existence in <stdio.h> of vscanf, et. al.
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17889 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17890 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
17891 $as_echo_n "(cached) " >&6
17892 else
17894 if test x$gcc_no_link = xyes; then
17895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17896 /* end confdefs.h. */
17897 #include <stdio.h>
17898 #include <stdarg.h>
17899 void foo(char* fmt, ...)
17901 va_list args; va_start(args, fmt);
17902 vfscanf(stderr, "%i", args);
17903 vscanf("%i", args);
17904 vsnprintf(fmt, 0, "%i", args);
17905 vsscanf(fmt, "%i", args);
17906 snprintf(fmt, 0, "%i");
17909 main ()
17913 return 0;
17915 _ACEOF
17916 if ac_fn_cxx_try_compile "$LINENO"; then :
17917 glibcxx_cv_c99_stdio_cxx11=yes
17918 else
17919 glibcxx_cv_c99_stdio_cxx11=no
17921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17922 else
17923 if test x$gcc_no_link = xyes; then
17924 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17927 /* end confdefs.h. */
17928 #include <stdio.h>
17929 #include <stdarg.h>
17930 void foo(char* fmt, ...)
17932 va_list args; va_start(args, fmt);
17933 vfscanf(stderr, "%i", args);
17934 vscanf("%i", args);
17935 vsnprintf(fmt, 0, "%i", args);
17936 vsscanf(fmt, "%i", args);
17937 snprintf(fmt, 0, "%i");
17940 main ()
17944 return 0;
17946 _ACEOF
17947 if ac_fn_cxx_try_link "$LINENO"; then :
17948 glibcxx_cv_c99_stdio_cxx11=yes
17949 else
17950 glibcxx_cv_c99_stdio_cxx11=no
17952 rm -f core conftest.err conftest.$ac_objext \
17953 conftest$ac_exeext conftest.$ac_ext
17958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17959 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17960 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17962 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17966 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17968 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17969 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
17970 $as_echo_n "(cached) " >&6
17971 else
17973 if test x$gcc_no_link = xyes; then
17974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17975 /* end confdefs.h. */
17976 #include <stdlib.h>
17977 volatile float f;
17978 volatile long double ld;
17979 volatile unsigned long long ll;
17980 lldiv_t mydivt;
17982 main ()
17984 char* tmp;
17985 f = strtof("gnu", &tmp);
17986 ld = strtold("gnu", &tmp);
17987 ll = strtoll("gnu", &tmp, 10);
17988 ll = strtoull("gnu", &tmp, 10);
17989 ll = llabs(10);
17990 mydivt = lldiv(10,1);
17991 ll = mydivt.quot;
17992 ll = mydivt.rem;
17993 ll = atoll("10");
17994 _Exit(0);
17997 return 0;
17999 _ACEOF
18000 if ac_fn_cxx_try_compile "$LINENO"; then :
18001 glibcxx_cv_c99_stdlib_cxx11=yes
18002 else
18003 glibcxx_cv_c99_stdlib_cxx11=no
18005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18006 else
18007 if test x$gcc_no_link = xyes; then
18008 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18011 /* end confdefs.h. */
18012 #include <stdlib.h>
18013 volatile float f;
18014 volatile long double ld;
18015 volatile unsigned long long ll;
18016 lldiv_t mydivt;
18018 main ()
18020 char* tmp;
18021 f = strtof("gnu", &tmp);
18022 ld = strtold("gnu", &tmp);
18023 ll = strtoll("gnu", &tmp, 10);
18024 ll = strtoull("gnu", &tmp, 10);
18025 ll = llabs(10);
18026 mydivt = lldiv(10,1);
18027 ll = mydivt.quot;
18028 ll = mydivt.rem;
18029 ll = atoll("10");
18030 _Exit(0);
18033 return 0;
18035 _ACEOF
18036 if ac_fn_cxx_try_link "$LINENO"; then :
18037 glibcxx_cv_c99_stdlib_cxx11=yes
18038 else
18039 glibcxx_cv_c99_stdlib_cxx11=no
18041 rm -f core conftest.err conftest.$ac_objext \
18042 conftest$ac_exeext conftest.$ac_ext
18047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18048 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18049 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18051 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18055 # Check for the existence in <wchar.h> of wcstold, etc.
18056 if test x"$ac_has_wchar_h" = xyes &&
18057 test x"$ac_has_wctype_h" = xyes; then
18058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18059 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18060 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18061 $as_echo_n "(cached) " >&6
18062 else
18064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18065 /* end confdefs.h. */
18066 #include <wchar.h>
18067 namespace test
18069 using ::wcstold;
18070 using ::wcstoll;
18071 using ::wcstoull;
18075 main ()
18079 return 0;
18081 _ACEOF
18082 if ac_fn_cxx_try_compile "$LINENO"; then :
18083 glibcxx_cv_c99_wchar_cxx11=yes
18084 else
18085 glibcxx_cv_c99_wchar_cxx11=no
18087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18092 # Checks for wide character functions that may not be present.
18093 # Injection of these is wrapped with guard macros.
18094 # NB: only put functions here, instead of immediately above, if
18095 # absolutely necessary.
18096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18097 /* end confdefs.h. */
18098 #include <wchar.h>
18099 namespace test { using ::vfwscanf; }
18101 main ()
18105 return 0;
18107 _ACEOF
18108 if ac_fn_cxx_try_compile "$LINENO"; then :
18110 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18116 /* end confdefs.h. */
18117 #include <wchar.h>
18118 namespace test { using ::vswscanf; }
18120 main ()
18124 return 0;
18126 _ACEOF
18127 if ac_fn_cxx_try_compile "$LINENO"; then :
18129 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18135 /* end confdefs.h. */
18136 #include <wchar.h>
18137 namespace test { using ::vwscanf; }
18139 main ()
18143 return 0;
18145 _ACEOF
18146 if ac_fn_cxx_try_compile "$LINENO"; then :
18148 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18154 /* end confdefs.h. */
18155 #include <wchar.h>
18156 namespace test { using ::wcstof; }
18158 main ()
18162 return 0;
18164 _ACEOF
18165 if ac_fn_cxx_try_compile "$LINENO"; then :
18167 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18173 /* end confdefs.h. */
18174 #include <wctype.h>
18176 main ()
18178 wint_t t; int i = iswblank(t);
18180 return 0;
18182 _ACEOF
18183 if ac_fn_cxx_try_compile "$LINENO"; then :
18185 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18191 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18192 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18194 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18199 gcc_no_link="$ac_save_gcc_no_link"
18200 LIBS="$ac_save_LIBS"
18201 CXXFLAGS="$ac_save_CXXFLAGS"
18202 ac_ext=c
18203 ac_cpp='$CPP $CPPFLAGS'
18204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18211 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18213 $as_echo "$enable_c99" >&6; }
18216 # Check whether --enable-concept-checks was given.
18217 if test "${enable_concept_checks+set}" = set; then :
18218 enableval=$enable_concept_checks;
18219 case "$enableval" in
18220 yes|no) ;;
18221 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18222 esac
18224 else
18225 enable_concept_checks=no
18229 if test $enable_concept_checks = yes; then
18231 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18236 # Check whether --enable-libstdcxx-debug-flags was given.
18237 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18238 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18239 xno | x) enable_libstdcxx_debug_flags= ;;
18240 x-*) ;;
18241 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18242 esac
18243 else
18244 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"
18249 # Option parsed, now set things appropriately
18250 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18253 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18254 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18258 $as_echo_n "checking for additional debug build... " >&6; }
18259 # Check whether --enable-libstdcxx-debug was given.
18260 if test "${enable_libstdcxx_debug+set}" = set; then :
18261 enableval=$enable_libstdcxx_debug;
18262 case "$enableval" in
18263 yes|no) ;;
18264 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18265 esac
18267 else
18268 enable_libstdcxx_debug=no
18272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
18273 $as_echo "$enable_libstdcxx_debug" >&6; }
18278 enable_parallel=no;
18280 # See if configured libgomp/omp.h exists. (libgomp may be in
18281 # noconfigdirs but not explicitly disabled.)
18282 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18283 enable_parallel=yes;
18284 else
18285 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18286 $as_echo "$as_me: target-libgomp not built" >&6;}
18289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18290 $as_echo_n "checking for parallel mode support... " >&6; }
18291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18292 $as_echo "$enable_parallel" >&6; }
18294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18295 $as_echo_n "checking for extra compiler flags for building... " >&6; }
18296 # Check whether --enable-cxx-flags was given.
18297 if test "${enable_cxx_flags+set}" = set; then :
18298 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18299 xno | x) enable_cxx_flags= ;;
18300 x-*) ;;
18301 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18302 esac
18303 else
18304 enable_cxx_flags=
18309 # Run through flags (either default or command-line) and set anything
18310 # extra (e.g., #defines) that must accompany particular g++ options.
18311 if test -n "$enable_cxx_flags"; then
18312 for f in $enable_cxx_flags; do
18313 case "$f" in
18314 -fhonor-std) ;;
18315 -*) ;;
18316 *) # and we're trying to pass /what/ exactly?
18317 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18318 esac
18319 done
18322 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18324 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18328 # Check whether --enable-fully-dynamic-string was given.
18329 if test "${enable_fully_dynamic_string+set}" = set; then :
18330 enableval=$enable_fully_dynamic_string;
18331 case "$enableval" in
18332 yes|no) ;;
18333 *) as_fn_error $? "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18334 esac
18336 else
18337 enable_fully_dynamic_string=no
18341 if test $enable_fully_dynamic_string = yes; then
18342 enable_fully_dynamic_string_def=1
18343 else
18344 enable_fully_dynamic_string_def=0
18347 cat >>confdefs.h <<_ACEOF
18348 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18349 _ACEOF
18354 # Check whether --enable-extern-template was given.
18355 if test "${enable_extern_template+set}" = set; then :
18356 enableval=$enable_extern_template;
18357 case "$enableval" in
18358 yes|no) ;;
18359 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18360 esac
18362 else
18363 enable_extern_template=yes
18368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18369 $as_echo_n "checking for extern template support... " >&6; }
18370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18371 $as_echo "$enable_extern_template" >&6; }
18377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18378 $as_echo_n "checking for custom python install directory... " >&6; }
18380 # Check whether --with-python-dir was given.
18381 if test "${with_python_dir+set}" = set; then :
18382 withval=$with_python_dir; with_python_dir=$withval
18383 else
18384 with_python_dir="no"
18387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18388 $as_echo "${with_python_dir}" >&6; }
18390 # Needed for installing Python modules during make install.
18391 python_mod_dir="${with_python_dir}"
18396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18397 $as_echo_n "checking for -Werror... " >&6; }
18398 # Check whether --enable-werror was given.
18399 if test "${enable_werror+set}" = set; then :
18400 enableval=$enable_werror;
18401 case "$enableval" in
18402 yes|no) ;;
18403 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18404 esac
18406 else
18407 enable_werror=no
18411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18412 $as_echo "$enable_werror" >&6; }
18417 # Check whether --enable-vtable-verify was given.
18418 if test "${enable_vtable_verify+set}" = set; then :
18419 enableval=$enable_vtable_verify;
18420 case "$enableval" in
18421 yes|no) ;;
18422 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18423 esac
18425 else
18426 enable_vtable_verify=no
18431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18432 $as_echo_n "checking for vtable verify support... " >&6; }
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18434 $as_echo "$enable_vtable_verify" >&6; }
18436 vtv_cygmin=no
18437 if test $enable_vtable_verify = yes; then
18438 case ${target_os} in
18439 cygwin*|mingw32*)
18440 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18441 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18442 vtv_cygmin=yes
18444 darwin*)
18445 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18446 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18448 solaris2*)
18449 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18450 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18453 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18454 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18456 esac
18457 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18458 else
18459 VTV_CXXFLAGS=
18460 VTV_PCH_CXXFLAGS=
18461 VTV_CXXLINKFLAGS=
18467 if test x$vtv_cygmin = xyes; then
18468 VTV_CYGMIN_TRUE=
18469 VTV_CYGMIN_FALSE='#'
18470 else
18471 VTV_CYGMIN_TRUE='#'
18472 VTV_CYGMIN_FALSE=
18478 # Checks for operating systems support that doesn't require linking.
18482 ac_ext=cpp
18483 ac_cpp='$CXXCPP $CPPFLAGS'
18484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18488 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18489 # and we don't need a declaration for C++14 anyway.
18490 ac_save_CXXFLAGS="$CXXFLAGS"
18491 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18494 $as_echo_n "checking for gets declaration... " >&6; }
18495 if ${glibcxx_cv_gets+:} false; then :
18496 $as_echo_n "(cached) " >&6
18497 else
18499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18500 /* end confdefs.h. */
18501 #include <stdio.h>
18502 namespace test
18504 using ::gets;
18507 _ACEOF
18508 if ac_fn_cxx_try_compile "$LINENO"; then :
18509 glibcxx_cv_gets=yes
18510 else
18511 glibcxx_cv_gets=no
18514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18518 if test $glibcxx_cv_gets = yes; then
18520 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18524 $as_echo "$glibcxx_cv_gets" >&6; }
18526 CXXFLAGS="$ac_save_CXXFLAGS"
18527 ac_ext=c
18528 ac_cpp='$CPP $CPPFLAGS'
18529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18537 ac_ext=cpp
18538 ac_cpp='$CXXCPP $CPPFLAGS'
18539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18543 ac_save_CXXFLAGS="$CXXFLAGS"
18544 CXXFLAGS="$CXXFLAGS -std=c++11"
18546 case "$host" in
18547 *-*-solaris2.*)
18548 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18549 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18551 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18552 if ${glibcxx_cv_math11_fp_overload+:} false; then :
18553 $as_echo_n "(cached) " >&6
18554 else
18556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18557 /* end confdefs.h. */
18558 #include <math.h>
18559 #undef isfinite
18560 namespace std {
18561 inline bool isfinite(float __x)
18562 { return __builtin_isfinite(__x); }
18565 _ACEOF
18566 if ac_fn_cxx_try_compile "$LINENO"; then :
18567 glibcxx_cv_math11_fp_overload=no
18568 else
18569 glibcxx_cv_math11_fp_overload=yes
18572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18576 # autoheader cannot handle indented templates.
18579 if test $glibcxx_cv_math11_fp_overload = yes; then
18580 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18584 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18586 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18587 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18589 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18590 if ${glibcxx_cv_math11_int_overload+:} false; then :
18591 $as_echo_n "(cached) " >&6
18592 else
18594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18595 /* end confdefs.h. */
18596 #include <math.h>
18597 namespace std {
18598 template<typename _Tp>
18599 struct __is_integer;
18600 template<>
18601 struct __is_integer<int>
18603 enum { __value = 1 };
18606 namespace __gnu_cxx {
18607 template<bool, typename>
18608 struct __enable_if;
18609 template<typename _Tp>
18610 struct __enable_if<true, _Tp>
18611 { typedef _Tp __type; };
18613 namespace std {
18614 template<typename _Tp>
18615 constexpr typename __gnu_cxx::__enable_if
18616 <__is_integer<_Tp>::__value, double>::__type
18617 log2(_Tp __x)
18618 { return __builtin_log2(__x); }
18621 main (void)
18623 int i = 1000;
18624 return std::log2(i);
18627 _ACEOF
18628 if ac_fn_cxx_try_compile "$LINENO"; then :
18629 glibcxx_cv_math11_int_overload=no
18630 else
18631 glibcxx_cv_math11_int_overload=yes
18634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18638 # autoheader cannot handle indented templates.
18641 if test $glibcxx_cv_math11_int_overload = yes; then
18642 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18646 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18649 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18650 # functions (instead of or as well as the C99 generic macros) then we
18651 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18652 # and must use the ones from <math.h> instead.
18653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18654 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18655 if ${glibcxx_cv_obsolete_isinf+:} false; then :
18656 $as_echo_n "(cached) " >&6
18657 else
18659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18660 /* end confdefs.h. */
18661 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18662 #include <math.h>
18663 #undef isinf
18664 namespace std {
18665 using ::isinf;
18666 bool isinf(float);
18667 bool isinf(long double);
18669 using std::isinf;
18670 bool b = isinf(0.0);
18672 _ACEOF
18673 if ac_fn_cxx_try_compile "$LINENO"; then :
18674 glibcxx_cv_obsolete_isinf=yes
18675 else
18676 glibcxx_cv_obsolete_isinf=no
18679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18683 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18684 if test $glibcxx_cv_obsolete_isinf = yes; then
18686 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18691 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18692 if ${glibcxx_cv_obsolete_isnan+:} false; then :
18693 $as_echo_n "(cached) " >&6
18694 else
18696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18697 /* end confdefs.h. */
18698 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18699 #include <math.h>
18700 #undef isnan
18701 namespace std {
18702 using ::isnan;
18703 bool isnan(float);
18704 bool isnan(long double);
18706 using std::isnan;
18707 bool b = isnan(0.0);
18709 _ACEOF
18710 if ac_fn_cxx_try_compile "$LINENO"; then :
18711 glibcxx_cv_obsolete_isnan=yes
18712 else
18713 glibcxx_cv_obsolete_isnan=no
18716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18720 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18721 if test $glibcxx_cv_obsolete_isnan = yes; then
18723 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18727 esac
18729 CXXFLAGS="$ac_save_CXXFLAGS"
18730 ac_ext=c
18731 ac_cpp='$CPP $CPPFLAGS'
18732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18740 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18741 if ${glibcxx_cv_system_error1+:} false; then :
18742 $as_echo_n "(cached) " >&6
18743 else
18745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18746 /* end confdefs.h. */
18747 #include <errno.h>
18749 main ()
18751 int i = EOWNERDEAD;
18753 return 0;
18755 _ACEOF
18756 if ac_fn_c_try_compile "$LINENO"; then :
18757 glibcxx_cv_system_error1=yes
18758 else
18759 glibcxx_cv_system_error1=no
18761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18766 $as_echo "$glibcxx_cv_system_error1" >&6; }
18767 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18769 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18773 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18774 if ${glibcxx_cv_system_error2+:} false; then :
18775 $as_echo_n "(cached) " >&6
18776 else
18778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18779 /* end confdefs.h. */
18780 #include <errno.h>
18782 main ()
18784 int i = ENOTRECOVERABLE;
18786 return 0;
18788 _ACEOF
18789 if ac_fn_c_try_compile "$LINENO"; then :
18790 glibcxx_cv_system_error2=yes
18791 else
18792 glibcxx_cv_system_error2=no
18794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18799 $as_echo "$glibcxx_cv_system_error2" >&6; }
18800 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18802 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18806 $as_echo_n "checking for ENOLINK... " >&6; }
18807 if ${glibcxx_cv_system_error3+:} false; then :
18808 $as_echo_n "(cached) " >&6
18809 else
18811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18812 /* end confdefs.h. */
18813 #include <errno.h>
18815 main ()
18817 int i = ENOLINK;
18819 return 0;
18821 _ACEOF
18822 if ac_fn_c_try_compile "$LINENO"; then :
18823 glibcxx_cv_system_error3=yes
18824 else
18825 glibcxx_cv_system_error3=no
18827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18832 $as_echo "$glibcxx_cv_system_error3" >&6; }
18833 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18835 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18839 $as_echo_n "checking for EPROTO... " >&6; }
18840 if ${glibcxx_cv_system_error4+:} false; then :
18841 $as_echo_n "(cached) " >&6
18842 else
18844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18845 /* end confdefs.h. */
18846 #include <errno.h>
18848 main ()
18850 int i = EPROTO;
18852 return 0;
18854 _ACEOF
18855 if ac_fn_c_try_compile "$LINENO"; then :
18856 glibcxx_cv_system_error4=yes
18857 else
18858 glibcxx_cv_system_error4=no
18860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18865 $as_echo "$glibcxx_cv_system_error4" >&6; }
18866 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18868 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18872 $as_echo_n "checking for ENODATA... " >&6; }
18873 if ${glibcxx_cv_system_error5+:} false; then :
18874 $as_echo_n "(cached) " >&6
18875 else
18877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18878 /* end confdefs.h. */
18879 #include <errno.h>
18881 main ()
18883 int i = ENODATA;
18885 return 0;
18887 _ACEOF
18888 if ac_fn_c_try_compile "$LINENO"; then :
18889 glibcxx_cv_system_error5=yes
18890 else
18891 glibcxx_cv_system_error5=no
18893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18898 $as_echo "$glibcxx_cv_system_error5" >&6; }
18899 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18901 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18905 $as_echo_n "checking for ENOSR... " >&6; }
18906 if ${glibcxx_cv_system_error6+:} false; then :
18907 $as_echo_n "(cached) " >&6
18908 else
18910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18911 /* end confdefs.h. */
18912 #include <errno.h>
18914 main ()
18916 int i = ENOSR;
18918 return 0;
18920 _ACEOF
18921 if ac_fn_c_try_compile "$LINENO"; then :
18922 glibcxx_cv_system_error6=yes
18923 else
18924 glibcxx_cv_system_error6=no
18926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18931 $as_echo "$glibcxx_cv_system_error6" >&6; }
18932 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18934 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18938 $as_echo_n "checking for ENOSTR... " >&6; }
18939 if ${glibcxx_cv_system_error7+:} false; then :
18940 $as_echo_n "(cached) " >&6
18941 else
18943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18944 /* end confdefs.h. */
18945 #include <errno.h>
18947 main ()
18949 int i = ENOSTR;
18951 return 0;
18953 _ACEOF
18954 if ac_fn_c_try_compile "$LINENO"; then :
18955 glibcxx_cv_system_error7=yes
18956 else
18957 glibcxx_cv_system_error7=no
18959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18964 $as_echo "$glibcxx_cv_system_error7" >&6; }
18965 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18967 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18971 $as_echo_n "checking for ETIME... " >&6; }
18972 if ${glibcxx_cv_system_error8+:} false; then :
18973 $as_echo_n "(cached) " >&6
18974 else
18976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18977 /* end confdefs.h. */
18978 #include <errno.h>
18980 main ()
18982 int i = ETIME;
18984 return 0;
18986 _ACEOF
18987 if ac_fn_c_try_compile "$LINENO"; then :
18988 glibcxx_cv_system_error8=yes
18989 else
18990 glibcxx_cv_system_error8=no
18992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18997 $as_echo "$glibcxx_cv_system_error8" >&6; }
18998 if test x"$glibcxx_cv_system_error8" = x"yes"; then
19000 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
19003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
19004 $as_echo_n "checking for EBADMSG... " >&6; }
19005 if ${glibcxx_cv_system_error9+:} false; then :
19006 $as_echo_n "(cached) " >&6
19007 else
19009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19010 /* end confdefs.h. */
19011 #include <errno.h>
19013 main ()
19015 int i = EBADMSG;
19017 return 0;
19019 _ACEOF
19020 if ac_fn_c_try_compile "$LINENO"; then :
19021 glibcxx_cv_system_error9=yes
19022 else
19023 glibcxx_cv_system_error9=no
19025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
19030 $as_echo "$glibcxx_cv_system_error9" >&6; }
19031 if test x"$glibcxx_cv_system_error9" = x"yes"; then
19033 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
19036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
19037 $as_echo_n "checking for ECANCELED... " >&6; }
19038 if ${glibcxx_cv_system_error10+:} false; then :
19039 $as_echo_n "(cached) " >&6
19040 else
19042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19043 /* end confdefs.h. */
19044 #include <errno.h>
19046 main ()
19048 int i = ECANCELED;
19050 return 0;
19052 _ACEOF
19053 if ac_fn_c_try_compile "$LINENO"; then :
19054 glibcxx_cv_system_error10=yes
19055 else
19056 glibcxx_cv_system_error10=no
19058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
19063 $as_echo "$glibcxx_cv_system_error10" >&6; }
19064 if test x"$glibcxx_cv_system_error10" = x"yes"; then
19066 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
19069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
19070 $as_echo_n "checking for EOVERFLOW... " >&6; }
19071 if ${glibcxx_cv_system_error11+:} false; then :
19072 $as_echo_n "(cached) " >&6
19073 else
19075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19076 /* end confdefs.h. */
19077 #include <errno.h>
19079 main ()
19081 int i = EOVERFLOW;
19083 return 0;
19085 _ACEOF
19086 if ac_fn_c_try_compile "$LINENO"; then :
19087 glibcxx_cv_system_error11=yes
19088 else
19089 glibcxx_cv_system_error11=no
19091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
19096 $as_echo "$glibcxx_cv_system_error11" >&6; }
19097 if test x"$glibcxx_cv_system_error11" = x"yes"; then
19099 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
19102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
19103 $as_echo_n "checking for ENOTSUP... " >&6; }
19104 if ${glibcxx_cv_system_error12+:} false; then :
19105 $as_echo_n "(cached) " >&6
19106 else
19108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19109 /* end confdefs.h. */
19110 #include <errno.h>
19112 main ()
19114 int i = ENOTSUP;
19116 return 0;
19118 _ACEOF
19119 if ac_fn_c_try_compile "$LINENO"; then :
19120 glibcxx_cv_system_error12=yes
19121 else
19122 glibcxx_cv_system_error12=no
19124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
19129 $as_echo "$glibcxx_cv_system_error12" >&6; }
19130 if test x"$glibcxx_cv_system_error12" = x"yes"; then
19132 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
19136 $as_echo_n "checking for EIDRM... " >&6; }
19137 if ${glibcxx_cv_system_error13+:} false; then :
19138 $as_echo_n "(cached) " >&6
19139 else
19141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19142 /* end confdefs.h. */
19143 #include <errno.h>
19145 main ()
19147 int i = EIDRM;
19149 return 0;
19151 _ACEOF
19152 if ac_fn_c_try_compile "$LINENO"; then :
19153 glibcxx_cv_system_error13=yes
19154 else
19155 glibcxx_cv_system_error13=no
19157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
19162 $as_echo "$glibcxx_cv_system_error13" >&6; }
19163 if test x"$glibcxx_cv_system_error13" = x"yes"; then
19165 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
19168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
19169 $as_echo_n "checking for ETXTBSY... " >&6; }
19170 if ${glibcxx_cv_system_error14+:} false; then :
19171 $as_echo_n "(cached) " >&6
19172 else
19174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19175 /* end confdefs.h. */
19176 #include <errno.h>
19178 main ()
19180 int i = ETXTBSY;
19182 return 0;
19184 _ACEOF
19185 if ac_fn_c_try_compile "$LINENO"; then :
19186 glibcxx_cv_system_error14=yes
19187 else
19188 glibcxx_cv_system_error14=no
19190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
19195 $as_echo "$glibcxx_cv_system_error14" >&6; }
19196 if test x"$glibcxx_cv_system_error14" = x"yes"; then
19198 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
19201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
19202 $as_echo_n "checking for ECHILD... " >&6; }
19203 if ${glibcxx_cv_system_error15+:} false; then :
19204 $as_echo_n "(cached) " >&6
19205 else
19207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19208 /* end confdefs.h. */
19209 #include <errno.h>
19211 main ()
19213 int i = ECHILD;
19215 return 0;
19217 _ACEOF
19218 if ac_fn_c_try_compile "$LINENO"; then :
19219 glibcxx_cv_system_error15=yes
19220 else
19221 glibcxx_cv_system_error15=no
19223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
19228 $as_echo "$glibcxx_cv_system_error15" >&6; }
19229 if test x"$glibcxx_cv_system_error15" = x"yes"; then
19231 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
19235 $as_echo_n "checking for ENOSPC... " >&6; }
19236 if ${glibcxx_cv_system_error16+:} false; then :
19237 $as_echo_n "(cached) " >&6
19238 else
19240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19241 /* end confdefs.h. */
19242 #include <errno.h>
19244 main ()
19246 int i = ENOSPC;
19248 return 0;
19250 _ACEOF
19251 if ac_fn_c_try_compile "$LINENO"; then :
19252 glibcxx_cv_system_error16=yes
19253 else
19254 glibcxx_cv_system_error16=no
19256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
19261 $as_echo "$glibcxx_cv_system_error16" >&6; }
19262 if test x"$glibcxx_cv_system_error16" = x"yes"; then
19264 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
19267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
19268 $as_echo_n "checking for EPERM... " >&6; }
19269 if ${glibcxx_cv_system_error17+:} false; then :
19270 $as_echo_n "(cached) " >&6
19271 else
19273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19274 /* end confdefs.h. */
19275 #include <errno.h>
19277 main ()
19279 int i = EPERM;
19281 return 0;
19283 _ACEOF
19284 if ac_fn_c_try_compile "$LINENO"; then :
19285 glibcxx_cv_system_error17=yes
19286 else
19287 glibcxx_cv_system_error17=no
19289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
19294 $as_echo "$glibcxx_cv_system_error17" >&6; }
19295 if test x"$glibcxx_cv_system_error17" = x"yes"; then
19297 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
19300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
19301 $as_echo_n "checking for ETIMEDOUT... " >&6; }
19302 if ${glibcxx_cv_system_error18+:} false; then :
19303 $as_echo_n "(cached) " >&6
19304 else
19306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19307 /* end confdefs.h. */
19308 #include <errno.h>
19310 main ()
19312 int i = ETIMEDOUT;
19314 return 0;
19316 _ACEOF
19317 if ac_fn_c_try_compile "$LINENO"; then :
19318 glibcxx_cv_system_error18=yes
19319 else
19320 glibcxx_cv_system_error18=no
19322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19327 $as_echo "$glibcxx_cv_system_error18" >&6; }
19328 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19330 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19334 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19335 if ${glibcxx_cv_system_error19+:} false; then :
19336 $as_echo_n "(cached) " >&6
19337 else
19339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19340 /* end confdefs.h. */
19341 #include <errno.h>
19343 main ()
19345 int i = EWOULDBLOCK;
19347 return 0;
19349 _ACEOF
19350 if ac_fn_c_try_compile "$LINENO"; then :
19351 glibcxx_cv_system_error19=yes
19352 else
19353 glibcxx_cv_system_error19=no
19355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19360 $as_echo "$glibcxx_cv_system_error19" >&6; }
19361 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19363 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19370 # Test uchar.h.
19371 for ac_header in uchar.h
19372 do :
19373 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19374 if test "x$ac_cv_header_uchar_h" = xyes; then :
19375 cat >>confdefs.h <<_ACEOF
19376 #define HAVE_UCHAR_H 1
19377 _ACEOF
19378 ac_has_uchar_h=yes
19379 else
19380 ac_has_uchar_h=no
19383 done
19387 ac_ext=cpp
19388 ac_cpp='$CXXCPP $CPPFLAGS'
19389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19393 ac_save_CXXFLAGS="$CXXFLAGS"
19394 CXXFLAGS="$CXXFLAGS -std=c++11"
19396 if test x"$ac_has_uchar_h" = x"yes"; then
19397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19398 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19400 /* end confdefs.h. */
19401 #include <uchar.h>
19402 #ifdef __STDC_UTF_16__
19403 long i = __STDC_UTF_16__;
19404 #endif
19405 #ifdef __STDC_UTF_32__
19406 long j = __STDC_UTF_32__;
19407 #endif
19408 namespace test
19410 using ::c16rtomb;
19411 using ::c32rtomb;
19412 using ::mbrtoc16;
19413 using ::mbrtoc32;
19417 main ()
19421 return 0;
19423 _ACEOF
19424 if ac_fn_cxx_try_compile "$LINENO"; then :
19425 ac_c11_uchar_cxx11=yes
19426 else
19427 ac_c11_uchar_cxx11=no
19429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19430 else
19431 ac_c11_uchar_cxx11=no
19433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19434 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19435 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19437 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19441 CXXFLAGS="$ac_save_CXXFLAGS"
19442 ac_ext=c
19443 ac_cpp='$CPP $CPPFLAGS'
19444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19450 # For the streamoff typedef.
19454 ac_ext=cpp
19455 ac_cpp='$CXXCPP $CPPFLAGS'
19456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19462 $as_echo_n "checking for int64_t... " >&6; }
19463 if ${glibcxx_cv_INT64_T+:} false; then :
19464 $as_echo_n "(cached) " >&6
19465 else
19467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19468 /* end confdefs.h. */
19469 #include <stdint.h>
19471 main ()
19473 int64_t var;
19475 return 0;
19477 _ACEOF
19478 if ac_fn_cxx_try_compile "$LINENO"; then :
19479 glibcxx_cv_INT64_T=yes
19480 else
19481 glibcxx_cv_INT64_T=no
19483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19488 if test $glibcxx_cv_INT64_T = yes; then
19490 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19493 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19496 $as_echo_n "checking for int64_t as long... " >&6; }
19497 if ${glibcxx_cv_int64_t_long+:} false; then :
19498 $as_echo_n "(cached) " >&6
19499 else
19501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19502 /* end confdefs.h. */
19503 #include <stdint.h>
19504 template<typename, typename> struct same { enum { value = -1 }; };
19505 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19506 int array[same<int64_t, long>::value];
19508 main ()
19512 return 0;
19514 _ACEOF
19515 if ac_fn_cxx_try_compile "$LINENO"; then :
19516 glibcxx_cv_int64_t_long=yes
19517 else
19518 glibcxx_cv_int64_t_long=no
19520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19525 if test $glibcxx_cv_int64_t_long = yes; then
19527 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19530 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19534 $as_echo_n "checking for int64_t as long long... " >&6; }
19535 if ${glibcxx_cv_int64_t_long_long+:} false; then :
19536 $as_echo_n "(cached) " >&6
19537 else
19539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19540 /* end confdefs.h. */
19541 #include <stdint.h>
19542 template<typename, typename> struct same { enum { value = -1 }; };
19543 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19544 int array[same<int64_t, long long>::value];
19546 main ()
19550 return 0;
19552 _ACEOF
19553 if ac_fn_cxx_try_compile "$LINENO"; then :
19554 glibcxx_cv_int64_t_long_long=yes
19555 else
19556 glibcxx_cv_int64_t_long_long=no
19558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19563 if test $glibcxx_cv_int64_t_long_long = yes; then
19565 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19568 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19572 ac_ext=c
19573 ac_cpp='$CPP $CPPFLAGS'
19574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19580 # For LFS support.
19583 ac_ext=cpp
19584 ac_cpp='$CXXCPP $CPPFLAGS'
19585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19589 ac_save_CXXFLAGS="$CXXFLAGS"
19590 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19592 $as_echo_n "checking for LFS support... " >&6; }
19593 if ${glibcxx_cv_LFS+:} false; then :
19594 $as_echo_n "(cached) " >&6
19595 else
19597 if test x$gcc_no_link = xyes; then
19598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19599 /* end confdefs.h. */
19600 #include <unistd.h>
19601 #include <stdio.h>
19602 #include <sys/stat.h>
19605 main ()
19607 FILE* fp;
19608 fopen64("t", "w");
19609 fseeko64(fp, 0, SEEK_CUR);
19610 ftello64(fp);
19611 lseek64(1, 0, SEEK_CUR);
19612 struct stat64 buf;
19613 fstat64(1, &buf);
19615 return 0;
19617 _ACEOF
19618 if ac_fn_cxx_try_compile "$LINENO"; then :
19619 glibcxx_cv_LFS=yes
19620 else
19621 glibcxx_cv_LFS=no
19623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19624 else
19625 if test x$gcc_no_link = xyes; then
19626 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19629 /* end confdefs.h. */
19630 #include <unistd.h>
19631 #include <stdio.h>
19632 #include <sys/stat.h>
19635 main ()
19637 FILE* fp;
19638 fopen64("t", "w");
19639 fseeko64(fp, 0, SEEK_CUR);
19640 ftello64(fp);
19641 lseek64(1, 0, SEEK_CUR);
19642 struct stat64 buf;
19643 fstat64(1, &buf);
19645 return 0;
19647 _ACEOF
19648 if ac_fn_cxx_try_link "$LINENO"; then :
19649 glibcxx_cv_LFS=yes
19650 else
19651 glibcxx_cv_LFS=no
19653 rm -f core conftest.err conftest.$ac_objext \
19654 conftest$ac_exeext conftest.$ac_ext
19659 if test $glibcxx_cv_LFS = yes; then
19661 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19665 $as_echo "$glibcxx_cv_LFS" >&6; }
19666 CXXFLAGS="$ac_save_CXXFLAGS"
19667 ac_ext=c
19668 ac_cpp='$CPP $CPPFLAGS'
19669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19675 # For showmanyc_helper().
19676 for ac_header in sys/ioctl.h sys/filio.h
19677 do :
19678 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19679 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19680 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19681 cat >>confdefs.h <<_ACEOF
19682 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19683 _ACEOF
19687 done
19692 ac_ext=cpp
19693 ac_cpp='$CXXCPP $CPPFLAGS'
19694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19698 ac_save_CXXFLAGS="$CXXFLAGS"
19699 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19702 $as_echo_n "checking for poll... " >&6; }
19703 if ${glibcxx_cv_POLL+:} false; then :
19704 $as_echo_n "(cached) " >&6
19705 else
19707 if test x$gcc_no_link = xyes; then
19708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19709 /* end confdefs.h. */
19710 #include <poll.h>
19712 main ()
19714 struct pollfd pfd[1];
19715 pfd[0].events = POLLIN;
19716 poll(pfd, 1, 0);
19718 return 0;
19720 _ACEOF
19721 if ac_fn_cxx_try_compile "$LINENO"; then :
19722 glibcxx_cv_POLL=yes
19723 else
19724 glibcxx_cv_POLL=no
19726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19727 else
19728 if test x$gcc_no_link = xyes; then
19729 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19732 /* end confdefs.h. */
19733 #include <poll.h>
19735 main ()
19737 struct pollfd pfd[1];
19738 pfd[0].events = POLLIN;
19739 poll(pfd, 1, 0);
19741 return 0;
19743 _ACEOF
19744 if ac_fn_cxx_try_link "$LINENO"; then :
19745 glibcxx_cv_POLL=yes
19746 else
19747 glibcxx_cv_POLL=no
19749 rm -f core conftest.err conftest.$ac_objext \
19750 conftest$ac_exeext conftest.$ac_ext
19755 if test $glibcxx_cv_POLL = yes; then
19757 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19761 $as_echo "$glibcxx_cv_POLL" >&6; }
19763 CXXFLAGS="$ac_save_CXXFLAGS"
19764 ac_ext=c
19765 ac_cpp='$CPP $CPPFLAGS'
19766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19774 ac_ext=cpp
19775 ac_cpp='$CXXCPP $CPPFLAGS'
19776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19780 ac_save_CXXFLAGS="$CXXFLAGS"
19781 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19784 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19785 if ${glibcxx_cv_S_ISREG+:} false; then :
19786 $as_echo_n "(cached) " >&6
19787 else
19789 if test x$gcc_no_link = xyes; then
19790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19791 /* end confdefs.h. */
19792 #include <sys/stat.h>
19794 main ()
19796 struct stat buffer;
19797 fstat(0, &buffer);
19798 S_ISREG(buffer.st_mode);
19800 return 0;
19802 _ACEOF
19803 if ac_fn_cxx_try_compile "$LINENO"; then :
19804 glibcxx_cv_S_ISREG=yes
19805 else
19806 glibcxx_cv_S_ISREG=no
19808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19809 else
19810 if test x$gcc_no_link = xyes; then
19811 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19814 /* end confdefs.h. */
19815 #include <sys/stat.h>
19817 main ()
19819 struct stat buffer;
19820 fstat(0, &buffer);
19821 S_ISREG(buffer.st_mode);
19823 return 0;
19825 _ACEOF
19826 if ac_fn_cxx_try_link "$LINENO"; then :
19827 glibcxx_cv_S_ISREG=yes
19828 else
19829 glibcxx_cv_S_ISREG=no
19831 rm -f core conftest.err conftest.$ac_objext \
19832 conftest$ac_exeext conftest.$ac_ext
19837 if ${glibcxx_cv_S_IFREG+:} false; then :
19838 $as_echo_n "(cached) " >&6
19839 else
19841 if test x$gcc_no_link = xyes; then
19842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19843 /* end confdefs.h. */
19844 #include <sys/stat.h>
19846 main ()
19848 struct stat buffer;
19849 fstat(0, &buffer);
19850 S_IFREG & buffer.st_mode;
19852 return 0;
19854 _ACEOF
19855 if ac_fn_cxx_try_compile "$LINENO"; then :
19856 glibcxx_cv_S_IFREG=yes
19857 else
19858 glibcxx_cv_S_IFREG=no
19860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19861 else
19862 if test x$gcc_no_link = xyes; then
19863 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19866 /* end confdefs.h. */
19867 #include <sys/stat.h>
19869 main ()
19871 struct stat buffer;
19872 fstat(0, &buffer);
19873 S_IFREG & buffer.st_mode;
19875 return 0;
19877 _ACEOF
19878 if ac_fn_cxx_try_link "$LINENO"; then :
19879 glibcxx_cv_S_IFREG=yes
19880 else
19881 glibcxx_cv_S_IFREG=no
19883 rm -f core conftest.err conftest.$ac_objext \
19884 conftest$ac_exeext conftest.$ac_ext
19889 res=no
19890 if test $glibcxx_cv_S_ISREG = yes; then
19892 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19894 res=S_ISREG
19895 elif test $glibcxx_cv_S_IFREG = yes; then
19897 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19899 res=S_IFREG
19901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19902 $as_echo "$res" >&6; }
19904 CXXFLAGS="$ac_save_CXXFLAGS"
19905 ac_ext=c
19906 ac_cpp='$CPP $CPPFLAGS'
19907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19913 # For xsputn_2().
19914 for ac_header in sys/uio.h
19915 do :
19916 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19917 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
19918 cat >>confdefs.h <<_ACEOF
19919 #define HAVE_SYS_UIO_H 1
19920 _ACEOF
19924 done
19929 ac_ext=cpp
19930 ac_cpp='$CXXCPP $CPPFLAGS'
19931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19935 ac_save_CXXFLAGS="$CXXFLAGS"
19936 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19939 $as_echo_n "checking for writev... " >&6; }
19940 if ${glibcxx_cv_WRITEV+:} false; then :
19941 $as_echo_n "(cached) " >&6
19942 else
19944 if test x$gcc_no_link = xyes; then
19945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19946 /* end confdefs.h. */
19947 #include <sys/uio.h>
19949 main ()
19951 struct iovec iov[2];
19952 writev(0, iov, 0);
19954 return 0;
19956 _ACEOF
19957 if ac_fn_cxx_try_compile "$LINENO"; then :
19958 glibcxx_cv_WRITEV=yes
19959 else
19960 glibcxx_cv_WRITEV=no
19962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19963 else
19964 if test x$gcc_no_link = xyes; then
19965 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19968 /* end confdefs.h. */
19969 #include <sys/uio.h>
19971 main ()
19973 struct iovec iov[2];
19974 writev(0, iov, 0);
19976 return 0;
19978 _ACEOF
19979 if ac_fn_cxx_try_link "$LINENO"; then :
19980 glibcxx_cv_WRITEV=yes
19981 else
19982 glibcxx_cv_WRITEV=no
19984 rm -f core conftest.err conftest.$ac_objext \
19985 conftest$ac_exeext conftest.$ac_ext
19990 if test $glibcxx_cv_WRITEV = yes; then
19992 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19996 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19998 CXXFLAGS="$ac_save_CXXFLAGS"
19999 ac_ext=c
20000 ac_cpp='$CPP $CPPFLAGS'
20001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20007 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
20008 # so that the check is done with the C compiler (not C++).
20009 # Checking with C++ can break a canadian cross build if either
20010 # file does not exist in C but does in C++.
20011 for ac_header in fenv.h complex.h
20012 do :
20013 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20014 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20015 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20016 cat >>confdefs.h <<_ACEOF
20017 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20018 _ACEOF
20022 done
20025 # For C99 support to TR1.
20029 ac_ext=cpp
20030 ac_cpp='$CXXCPP $CPPFLAGS'
20031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20036 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
20037 # undefined and fake C99 facilities may be spuriously enabled.
20038 ac_save_CXXFLAGS="$CXXFLAGS"
20039 CXXFLAGS="$CXXFLAGS -std=c++98"
20041 # Check for the existence of <complex.h> complex math functions used
20042 # by tr1/complex.
20043 for ac_header in complex.h
20044 do :
20045 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
20046 if test "x$ac_cv_header_complex_h" = xyes; then :
20047 cat >>confdefs.h <<_ACEOF
20048 #define HAVE_COMPLEX_H 1
20049 _ACEOF
20050 ac_has_complex_h=yes
20051 else
20052 ac_has_complex_h=no
20055 done
20057 ac_c99_complex_tr1=no;
20058 if test x"$ac_has_complex_h" = x"yes"; then
20059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
20060 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
20061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20062 /* end confdefs.h. */
20063 #include <complex.h>
20065 main ()
20067 typedef __complex__ float float_type; float_type tmpf;
20068 cacosf(tmpf);
20069 casinf(tmpf);
20070 catanf(tmpf);
20071 cacoshf(tmpf);
20072 casinhf(tmpf);
20073 catanhf(tmpf);
20074 typedef __complex__ double double_type; double_type tmpd;
20075 cacos(tmpd);
20076 casin(tmpd);
20077 catan(tmpd);
20078 cacosh(tmpd);
20079 casinh(tmpd);
20080 catanh(tmpd);
20081 typedef __complex__ long double ld_type; ld_type tmpld;
20082 cacosl(tmpld);
20083 casinl(tmpld);
20084 catanl(tmpld);
20085 cacoshl(tmpld);
20086 casinhl(tmpld);
20087 catanhl(tmpld);
20090 return 0;
20092 _ACEOF
20093 if ac_fn_cxx_try_compile "$LINENO"; then :
20094 ac_c99_complex_tr1=yes
20095 else
20096 ac_c99_complex_tr1=no
20098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
20101 $as_echo "$ac_c99_complex_tr1" >&6; }
20102 if test x"$ac_c99_complex_tr1" = x"yes"; then
20104 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
20108 # Check for the existence of <ctype.h> functions.
20109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20110 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
20111 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
20112 $as_echo_n "(cached) " >&6
20113 else
20115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20116 /* end confdefs.h. */
20117 #include <ctype.h>
20119 main ()
20121 int ch;
20122 int ret;
20123 ret = isblank(ch);
20126 return 0;
20128 _ACEOF
20129 if ac_fn_cxx_try_compile "$LINENO"; then :
20130 glibcxx_cv_c99_ctype_tr1=yes
20131 else
20132 glibcxx_cv_c99_ctype_tr1=no
20134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
20139 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
20140 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
20142 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
20146 # Check for the existence of <fenv.h> functions.
20147 for ac_header in fenv.h
20148 do :
20149 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
20150 if test "x$ac_cv_header_fenv_h" = xyes; then :
20151 cat >>confdefs.h <<_ACEOF
20152 #define HAVE_FENV_H 1
20153 _ACEOF
20154 ac_has_fenv_h=yes
20155 else
20156 ac_has_fenv_h=no
20159 done
20161 ac_c99_fenv_tr1=no;
20162 if test x"$ac_has_fenv_h" = x"yes"; then
20163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20164 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
20165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20166 /* end confdefs.h. */
20167 #include <fenv.h>
20169 main ()
20171 int except, mode;
20172 fexcept_t* pflag;
20173 fenv_t* penv;
20174 int ret;
20175 ret = feclearexcept(except);
20176 ret = fegetexceptflag(pflag, except);
20177 ret = feraiseexcept(except);
20178 ret = fesetexceptflag(pflag, except);
20179 ret = fetestexcept(except);
20180 ret = fegetround();
20181 ret = fesetround(mode);
20182 ret = fegetenv(penv);
20183 ret = feholdexcept(penv);
20184 ret = fesetenv(penv);
20185 ret = feupdateenv(penv);
20188 return 0;
20190 _ACEOF
20191 if ac_fn_cxx_try_compile "$LINENO"; then :
20192 ac_c99_fenv_tr1=yes
20193 else
20194 ac_c99_fenv_tr1=no
20196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
20199 $as_echo "$ac_c99_fenv_tr1" >&6; }
20200 if test x"$ac_c99_fenv_tr1" = x"yes"; then
20202 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
20206 # Check for the existence of <stdint.h> types.
20207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20208 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
20209 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
20210 $as_echo_n "(cached) " >&6
20211 else
20213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20214 /* end confdefs.h. */
20215 #define __STDC_LIMIT_MACROS
20216 #define __STDC_CONSTANT_MACROS
20217 #include <stdint.h>
20219 main ()
20221 typedef int8_t my_int8_t;
20222 my_int8_t i8 = INT8_MIN;
20223 i8 = INT8_MAX;
20224 typedef int16_t my_int16_t;
20225 my_int16_t i16 = INT16_MIN;
20226 i16 = INT16_MAX;
20227 typedef int32_t my_int32_t;
20228 my_int32_t i32 = INT32_MIN;
20229 i32 = INT32_MAX;
20230 typedef int64_t my_int64_t;
20231 my_int64_t i64 = INT64_MIN;
20232 i64 = INT64_MAX;
20233 typedef int_fast8_t my_int_fast8_t;
20234 my_int_fast8_t if8 = INT_FAST8_MIN;
20235 if8 = INT_FAST8_MAX;
20236 typedef int_fast16_t my_int_fast16_t;
20237 my_int_fast16_t if16 = INT_FAST16_MIN;
20238 if16 = INT_FAST16_MAX;
20239 typedef int_fast32_t my_int_fast32_t;
20240 my_int_fast32_t if32 = INT_FAST32_MIN;
20241 if32 = INT_FAST32_MAX;
20242 typedef int_fast64_t my_int_fast64_t;
20243 my_int_fast64_t if64 = INT_FAST64_MIN;
20244 if64 = INT_FAST64_MAX;
20245 typedef int_least8_t my_int_least8_t;
20246 my_int_least8_t il8 = INT_LEAST8_MIN;
20247 il8 = INT_LEAST8_MAX;
20248 typedef int_least16_t my_int_least16_t;
20249 my_int_least16_t il16 = INT_LEAST16_MIN;
20250 il16 = INT_LEAST16_MAX;
20251 typedef int_least32_t my_int_least32_t;
20252 my_int_least32_t il32 = INT_LEAST32_MIN;
20253 il32 = INT_LEAST32_MAX;
20254 typedef int_least64_t my_int_least64_t;
20255 my_int_least64_t il64 = INT_LEAST64_MIN;
20256 il64 = INT_LEAST64_MAX;
20257 typedef intmax_t my_intmax_t;
20258 my_intmax_t im = INTMAX_MAX;
20259 im = INTMAX_MIN;
20260 typedef intptr_t my_intptr_t;
20261 my_intptr_t ip = INTPTR_MAX;
20262 ip = INTPTR_MIN;
20263 typedef uint8_t my_uint8_t;
20264 my_uint8_t ui8 = UINT8_MAX;
20265 ui8 = UINT8_MAX;
20266 typedef uint16_t my_uint16_t;
20267 my_uint16_t ui16 = UINT16_MAX;
20268 ui16 = UINT16_MAX;
20269 typedef uint32_t my_uint32_t;
20270 my_uint32_t ui32 = UINT32_MAX;
20271 ui32 = UINT32_MAX;
20272 typedef uint64_t my_uint64_t;
20273 my_uint64_t ui64 = UINT64_MAX;
20274 ui64 = UINT64_MAX;
20275 typedef uint_fast8_t my_uint_fast8_t;
20276 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
20277 uif8 = UINT_FAST8_MAX;
20278 typedef uint_fast16_t my_uint_fast16_t;
20279 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
20280 uif16 = UINT_FAST16_MAX;
20281 typedef uint_fast32_t my_uint_fast32_t;
20282 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
20283 uif32 = UINT_FAST32_MAX;
20284 typedef uint_fast64_t my_uint_fast64_t;
20285 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
20286 uif64 = UINT_FAST64_MAX;
20287 typedef uint_least8_t my_uint_least8_t;
20288 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
20289 uil8 = UINT_LEAST8_MAX;
20290 typedef uint_least16_t my_uint_least16_t;
20291 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
20292 uil16 = UINT_LEAST16_MAX;
20293 typedef uint_least32_t my_uint_least32_t;
20294 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
20295 uil32 = UINT_LEAST32_MAX;
20296 typedef uint_least64_t my_uint_least64_t;
20297 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20298 uil64 = UINT_LEAST64_MAX;
20299 typedef uintmax_t my_uintmax_t;
20300 my_uintmax_t uim = UINTMAX_MAX;
20301 uim = UINTMAX_MAX;
20302 typedef uintptr_t my_uintptr_t;
20303 my_uintptr_t uip = UINTPTR_MAX;
20304 uip = UINTPTR_MAX;
20307 return 0;
20309 _ACEOF
20310 if ac_fn_cxx_try_compile "$LINENO"; then :
20311 glibcxx_cv_c99_stdint_tr1=yes
20312 else
20313 glibcxx_cv_c99_stdint_tr1=no
20315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20320 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20321 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20323 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20327 # Check for the existence of <math.h> functions.
20328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20329 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20330 if ${glibcxx_cv_c99_math_tr1+:} false; then :
20331 $as_echo_n "(cached) " >&6
20332 else
20334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20335 /* end confdefs.h. */
20336 #include <math.h>
20338 main ()
20340 typedef double_t my_double_t;
20341 typedef float_t my_float_t;
20342 acosh(0.0);
20343 acoshf(0.0f);
20344 acoshl(0.0l);
20345 asinh(0.0);
20346 asinhf(0.0f);
20347 asinhl(0.0l);
20348 atanh(0.0);
20349 atanhf(0.0f);
20350 atanhl(0.0l);
20351 cbrt(0.0);
20352 cbrtf(0.0f);
20353 cbrtl(0.0l);
20354 copysign(0.0, 0.0);
20355 copysignf(0.0f, 0.0f);
20356 copysignl(0.0l, 0.0l);
20357 erf(0.0);
20358 erff(0.0f);
20359 erfl(0.0l);
20360 erfc(0.0);
20361 erfcf(0.0f);
20362 erfcl(0.0l);
20363 exp2(0.0);
20364 exp2f(0.0f);
20365 exp2l(0.0l);
20366 expm1(0.0);
20367 expm1f(0.0f);
20368 expm1l(0.0l);
20369 fdim(0.0, 0.0);
20370 fdimf(0.0f, 0.0f);
20371 fdiml(0.0l, 0.0l);
20372 fma(0.0, 0.0, 0.0);
20373 fmaf(0.0f, 0.0f, 0.0f);
20374 fmal(0.0l, 0.0l, 0.0l);
20375 fmax(0.0, 0.0);
20376 fmaxf(0.0f, 0.0f);
20377 fmaxl(0.0l, 0.0l);
20378 fmin(0.0, 0.0);
20379 fminf(0.0f, 0.0f);
20380 fminl(0.0l, 0.0l);
20381 hypot(0.0, 0.0);
20382 hypotf(0.0f, 0.0f);
20383 hypotl(0.0l, 0.0l);
20384 ilogb(0.0);
20385 ilogbf(0.0f);
20386 ilogbl(0.0l);
20387 lgamma(0.0);
20388 lgammaf(0.0f);
20389 lgammal(0.0l);
20390 #ifndef __APPLE__ /* see below */
20391 llrint(0.0);
20392 llrintf(0.0f);
20393 llrintl(0.0l);
20394 llround(0.0);
20395 llroundf(0.0f);
20396 llroundl(0.0l);
20397 #endif
20398 log1p(0.0);
20399 log1pf(0.0f);
20400 log1pl(0.0l);
20401 log2(0.0);
20402 log2f(0.0f);
20403 log2l(0.0l);
20404 logb(0.0);
20405 logbf(0.0f);
20406 logbl(0.0l);
20407 lrint(0.0);
20408 lrintf(0.0f);
20409 lrintl(0.0l);
20410 lround(0.0);
20411 lroundf(0.0f);
20412 lroundl(0.0l);
20413 nan(0);
20414 nanf(0);
20415 nanl(0);
20416 nearbyint(0.0);
20417 nearbyintf(0.0f);
20418 nearbyintl(0.0l);
20419 nextafter(0.0, 0.0);
20420 nextafterf(0.0f, 0.0f);
20421 nextafterl(0.0l, 0.0l);
20422 nexttoward(0.0, 0.0);
20423 nexttowardf(0.0f, 0.0f);
20424 nexttowardl(0.0l, 0.0l);
20425 remainder(0.0, 0.0);
20426 remainderf(0.0f, 0.0f);
20427 remainderl(0.0l, 0.0l);
20428 remquo(0.0, 0.0, 0);
20429 remquof(0.0f, 0.0f, 0);
20430 remquol(0.0l, 0.0l, 0);
20431 rint(0.0);
20432 rintf(0.0f);
20433 rintl(0.0l);
20434 round(0.0);
20435 roundf(0.0f);
20436 roundl(0.0l);
20437 scalbln(0.0, 0l);
20438 scalblnf(0.0f, 0l);
20439 scalblnl(0.0l, 0l);
20440 scalbn(0.0, 0);
20441 scalbnf(0.0f, 0);
20442 scalbnl(0.0l, 0);
20443 tgamma(0.0);
20444 tgammaf(0.0f);
20445 tgammal(0.0l);
20446 trunc(0.0);
20447 truncf(0.0f);
20448 truncl(0.0l);
20451 return 0;
20453 _ACEOF
20454 if ac_fn_cxx_try_compile "$LINENO"; then :
20455 glibcxx_cv_c99_math_tr1=yes
20456 else
20457 glibcxx_cv_c99_math_tr1=no
20459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20464 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20465 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20467 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20470 case "${target_os}" in
20471 darwin*)
20472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20473 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20474 if ${glibcxx_cv_c99_math_llround+:} false; then :
20475 $as_echo_n "(cached) " >&6
20476 else
20478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20479 /* end confdefs.h. */
20480 #include <math.h>
20482 main ()
20484 llrint(0.0);
20485 llrintf(0.0f);
20486 llrintl(0.0l);
20487 llround(0.0);
20488 llroundf(0.0f);
20489 llroundl(0.0l);
20492 return 0;
20494 _ACEOF
20495 if ac_fn_cxx_try_compile "$LINENO"; then :
20496 glibcxx_cv_c99_math_llround=yes
20497 else
20498 glibcxx_cv_c99_math_llround=no
20500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20505 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20507 esac
20508 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20510 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20515 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20516 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20517 ac_c99_inttypes_tr1=no;
20518 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20520 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20522 /* end confdefs.h. */
20523 #include <inttypes.h>
20525 main ()
20527 intmax_t i, numer, denom, base;
20528 const char* s;
20529 char** endptr;
20530 intmax_t ret = imaxabs(i);
20531 imaxdiv_t dret = imaxdiv(numer, denom);
20532 ret = strtoimax(s, endptr, base);
20533 uintmax_t uret = strtoumax(s, endptr, base);
20536 return 0;
20538 _ACEOF
20539 if ac_fn_cxx_try_compile "$LINENO"; then :
20540 ac_c99_inttypes_tr1=yes
20541 else
20542 ac_c99_inttypes_tr1=no
20544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20547 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20548 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20550 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20554 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20555 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20556 ac_c99_inttypes_wchar_t_tr1=no;
20557 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20559 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20561 /* end confdefs.h. */
20562 #include <inttypes.h>
20564 main ()
20566 intmax_t base;
20567 const wchar_t* s;
20568 wchar_t** endptr;
20569 intmax_t ret = wcstoimax(s, endptr, base);
20570 uintmax_t uret = wcstoumax(s, endptr, base);
20573 return 0;
20575 _ACEOF
20576 if ac_fn_cxx_try_compile "$LINENO"; then :
20577 ac_c99_inttypes_wchar_t_tr1=yes
20578 else
20579 ac_c99_inttypes_wchar_t_tr1=no
20581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20584 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20585 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20587 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20591 # Check for the existence of the <stdbool.h> header.
20592 for ac_header in stdbool.h
20593 do :
20594 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20595 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20596 cat >>confdefs.h <<_ACEOF
20597 #define HAVE_STDBOOL_H 1
20598 _ACEOF
20602 done
20605 # Check for the existence of the <stdalign.h> header.
20606 for ac_header in stdalign.h
20607 do :
20608 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20609 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20610 cat >>confdefs.h <<_ACEOF
20611 #define HAVE_STDALIGN_H 1
20612 _ACEOF
20616 done
20619 CXXFLAGS="$ac_save_CXXFLAGS"
20620 ac_ext=c
20621 ac_cpp='$CPP $CPPFLAGS'
20622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20628 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20632 $as_echo_n "checking for the value of EOF... " >&6; }
20633 if ${glibcxx_cv_stdio_eof+:} false; then :
20634 $as_echo_n "(cached) " >&6
20635 else
20637 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20639 else
20640 as_fn_error $? "computing EOF failed" "$LINENO" 5
20645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20646 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20648 cat >>confdefs.h <<_ACEOF
20649 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20650 _ACEOF
20653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20654 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20655 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20656 $as_echo_n "(cached) " >&6
20657 else
20659 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20661 else
20662 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20668 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20670 cat >>confdefs.h <<_ACEOF
20671 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20672 _ACEOF
20675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20676 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20677 if ${glibcxx_cv_stdio_seek_end+:} false; then :
20678 $as_echo_n "(cached) " >&6
20679 else
20681 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20683 else
20684 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20690 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20692 cat >>confdefs.h <<_ACEOF
20693 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20694 _ACEOF
20698 # For gettimeofday support.
20701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20702 $as_echo_n "checking for gettimeofday... " >&6; }
20705 ac_ext=cpp
20706 ac_cpp='$CXXCPP $CPPFLAGS'
20707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20711 ac_save_CXXFLAGS="$CXXFLAGS"
20712 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20714 ac_has_gettimeofday=no;
20715 for ac_header in sys/time.h
20716 do :
20717 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20718 if test "x$ac_cv_header_sys_time_h" = xyes; then :
20719 cat >>confdefs.h <<_ACEOF
20720 #define HAVE_SYS_TIME_H 1
20721 _ACEOF
20722 ac_has_sys_time_h=yes
20723 else
20724 ac_has_sys_time_h=no
20727 done
20729 if test x"$ac_has_sys_time_h" = x"yes"; then
20730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20731 $as_echo_n "checking for gettimeofday... " >&6; }
20732 if test x$gcc_no_link = xyes; then
20733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20734 /* end confdefs.h. */
20735 #include <sys/time.h>
20737 main ()
20739 timeval tv; gettimeofday(&tv, 0);
20741 return 0;
20743 _ACEOF
20744 if ac_fn_cxx_try_compile "$LINENO"; then :
20745 ac_has_gettimeofday=yes
20746 else
20747 ac_has_gettimeofday=no
20749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20750 else
20751 if test x$gcc_no_link = xyes; then
20752 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20755 /* end confdefs.h. */
20756 #include <sys/time.h>
20758 main ()
20760 timeval tv; gettimeofday(&tv, 0);
20762 return 0;
20764 _ACEOF
20765 if ac_fn_cxx_try_link "$LINENO"; then :
20766 ac_has_gettimeofday=yes
20767 else
20768 ac_has_gettimeofday=no
20770 rm -f core conftest.err conftest.$ac_objext \
20771 conftest$ac_exeext conftest.$ac_ext
20774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20775 $as_echo "$ac_has_gettimeofday" >&6; }
20778 if test x"$ac_has_gettimeofday" = x"yes"; then
20780 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20784 CXXFLAGS="$ac_save_CXXFLAGS"
20785 ac_ext=c
20786 ac_cpp='$CPP $CPPFLAGS'
20787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20793 # For clock_gettime, nanosleep and sched_yield support.
20796 # Check whether --enable-libstdcxx-time was given.
20797 if test "${enable_libstdcxx_time+set}" = set; then :
20798 enableval=$enable_libstdcxx_time;
20799 case "$enableval" in
20800 yes|no|rt) ;;
20801 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20802 esac
20804 else
20805 enable_libstdcxx_time=auto
20811 ac_ext=cpp
20812 ac_cpp='$CXXCPP $CPPFLAGS'
20813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20817 ac_save_CXXFLAGS="$CXXFLAGS"
20818 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20819 ac_save_LIBS="$LIBS"
20821 ac_has_clock_monotonic=no
20822 ac_has_clock_realtime=no
20823 ac_has_nanosleep=no
20824 ac_has_sched_yield=no
20826 if test x"$enable_libstdcxx_time" = x"auto"; then
20828 case "${target_os}" in
20829 cygwin*)
20830 ac_has_nanosleep=yes
20832 darwin*)
20833 ac_has_nanosleep=yes
20834 ac_has_sched_yield=yes
20836 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20838 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20840 /* end confdefs.h. */
20841 #include <features.h>
20843 main ()
20846 #if ! __GLIBC_PREREQ(2, 17)
20847 #error
20848 #endif
20851 return 0;
20853 _ACEOF
20854 if ac_fn_cxx_try_compile "$LINENO"; then :
20855 glibcxx_glibc217=yes
20856 else
20857 glibcxx_glibc217=no
20859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20861 $as_echo "$glibcxx_glibc217" >&6; }
20863 if test x"$glibcxx_glibc217" = x"yes"; then
20864 ac_has_clock_monotonic=yes
20865 ac_has_clock_realtime=yes
20867 ac_has_nanosleep=yes
20868 ac_has_sched_yield=yes
20870 freebsd*|netbsd*|dragonfly*|rtems*)
20871 ac_has_clock_monotonic=yes
20872 ac_has_clock_realtime=yes
20873 ac_has_nanosleep=yes
20874 ac_has_sched_yield=yes
20876 openbsd*)
20877 ac_has_clock_monotonic=yes
20878 ac_has_clock_realtime=yes
20879 ac_has_nanosleep=yes
20881 solaris*)
20882 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20883 ac_has_clock_monotonic=yes
20884 ac_has_clock_realtime=yes
20885 ac_has_nanosleep=yes
20886 ac_has_sched_yield=yes
20888 esac
20890 elif test x"$enable_libstdcxx_time" != x"no"; then
20892 if test x"$enable_libstdcxx_time" = x"rt"; then
20893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20894 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20895 if ${ac_cv_search_clock_gettime+:} false; then :
20896 $as_echo_n "(cached) " >&6
20897 else
20898 ac_func_search_save_LIBS=$LIBS
20899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20900 /* end confdefs.h. */
20902 /* Override any GCC internal prototype to avoid an error.
20903 Use char because int might match the return type of a GCC
20904 builtin and then its argument prototype would still apply. */
20905 #ifdef __cplusplus
20906 extern "C"
20907 #endif
20908 char clock_gettime ();
20910 main ()
20912 return clock_gettime ();
20914 return 0;
20916 _ACEOF
20917 for ac_lib in '' rt posix4; do
20918 if test -z "$ac_lib"; then
20919 ac_res="none required"
20920 else
20921 ac_res=-l$ac_lib
20922 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20924 if test x$gcc_no_link = xyes; then
20925 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20927 if ac_fn_cxx_try_link "$LINENO"; then :
20928 ac_cv_search_clock_gettime=$ac_res
20930 rm -f core conftest.err conftest.$ac_objext \
20931 conftest$ac_exeext
20932 if ${ac_cv_search_clock_gettime+:} false; then :
20933 break
20935 done
20936 if ${ac_cv_search_clock_gettime+:} false; then :
20938 else
20939 ac_cv_search_clock_gettime=no
20941 rm conftest.$ac_ext
20942 LIBS=$ac_func_search_save_LIBS
20944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20945 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20946 ac_res=$ac_cv_search_clock_gettime
20947 if test "$ac_res" != no; then :
20948 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20953 $as_echo_n "checking for library containing nanosleep... " >&6; }
20954 if ${ac_cv_search_nanosleep+:} false; then :
20955 $as_echo_n "(cached) " >&6
20956 else
20957 ac_func_search_save_LIBS=$LIBS
20958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20959 /* end confdefs.h. */
20961 /* Override any GCC internal prototype to avoid an error.
20962 Use char because int might match the return type of a GCC
20963 builtin and then its argument prototype would still apply. */
20964 #ifdef __cplusplus
20965 extern "C"
20966 #endif
20967 char nanosleep ();
20969 main ()
20971 return nanosleep ();
20973 return 0;
20975 _ACEOF
20976 for ac_lib in '' rt posix4; do
20977 if test -z "$ac_lib"; then
20978 ac_res="none required"
20979 else
20980 ac_res=-l$ac_lib
20981 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20983 if test x$gcc_no_link = xyes; then
20984 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20986 if ac_fn_cxx_try_link "$LINENO"; then :
20987 ac_cv_search_nanosleep=$ac_res
20989 rm -f core conftest.err conftest.$ac_objext \
20990 conftest$ac_exeext
20991 if ${ac_cv_search_nanosleep+:} false; then :
20992 break
20994 done
20995 if ${ac_cv_search_nanosleep+:} false; then :
20997 else
20998 ac_cv_search_nanosleep=no
21000 rm conftest.$ac_ext
21001 LIBS=$ac_func_search_save_LIBS
21003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21004 $as_echo "$ac_cv_search_nanosleep" >&6; }
21005 ac_res=$ac_cv_search_nanosleep
21006 if test "$ac_res" != no; then :
21007 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21011 else
21012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21013 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21014 if ${ac_cv_search_clock_gettime+:} false; then :
21015 $as_echo_n "(cached) " >&6
21016 else
21017 ac_func_search_save_LIBS=$LIBS
21018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21019 /* end confdefs.h. */
21021 /* Override any GCC internal prototype to avoid an error.
21022 Use char because int might match the return type of a GCC
21023 builtin and then its argument prototype would still apply. */
21024 #ifdef __cplusplus
21025 extern "C"
21026 #endif
21027 char clock_gettime ();
21029 main ()
21031 return clock_gettime ();
21033 return 0;
21035 _ACEOF
21036 for ac_lib in '' posix4; do
21037 if test -z "$ac_lib"; then
21038 ac_res="none required"
21039 else
21040 ac_res=-l$ac_lib
21041 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21043 if test x$gcc_no_link = xyes; then
21044 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21046 if ac_fn_cxx_try_link "$LINENO"; then :
21047 ac_cv_search_clock_gettime=$ac_res
21049 rm -f core conftest.err conftest.$ac_objext \
21050 conftest$ac_exeext
21051 if ${ac_cv_search_clock_gettime+:} false; then :
21052 break
21054 done
21055 if ${ac_cv_search_clock_gettime+:} false; then :
21057 else
21058 ac_cv_search_clock_gettime=no
21060 rm conftest.$ac_ext
21061 LIBS=$ac_func_search_save_LIBS
21063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21064 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21065 ac_res=$ac_cv_search_clock_gettime
21066 if test "$ac_res" != no; then :
21067 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
21072 $as_echo_n "checking for library containing nanosleep... " >&6; }
21073 if ${ac_cv_search_nanosleep+:} false; then :
21074 $as_echo_n "(cached) " >&6
21075 else
21076 ac_func_search_save_LIBS=$LIBS
21077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21078 /* end confdefs.h. */
21080 /* Override any GCC internal prototype to avoid an error.
21081 Use char because int might match the return type of a GCC
21082 builtin and then its argument prototype would still apply. */
21083 #ifdef __cplusplus
21084 extern "C"
21085 #endif
21086 char nanosleep ();
21088 main ()
21090 return nanosleep ();
21092 return 0;
21094 _ACEOF
21095 for ac_lib in '' posix4; do
21096 if test -z "$ac_lib"; then
21097 ac_res="none required"
21098 else
21099 ac_res=-l$ac_lib
21100 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21102 if test x$gcc_no_link = xyes; then
21103 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21105 if ac_fn_cxx_try_link "$LINENO"; then :
21106 ac_cv_search_nanosleep=$ac_res
21108 rm -f core conftest.err conftest.$ac_objext \
21109 conftest$ac_exeext
21110 if ${ac_cv_search_nanosleep+:} false; then :
21111 break
21113 done
21114 if ${ac_cv_search_nanosleep+:} false; then :
21116 else
21117 ac_cv_search_nanosleep=no
21119 rm conftest.$ac_ext
21120 LIBS=$ac_func_search_save_LIBS
21122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21123 $as_echo "$ac_cv_search_nanosleep" >&6; }
21124 ac_res=$ac_cv_search_nanosleep
21125 if test "$ac_res" != no; then :
21126 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21132 case "$ac_cv_search_clock_gettime" in
21133 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
21135 esac
21136 case "$ac_cv_search_nanosleep" in
21137 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
21139 esac
21141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
21142 $as_echo_n "checking for library containing sched_yield... " >&6; }
21143 if ${ac_cv_search_sched_yield+:} false; then :
21144 $as_echo_n "(cached) " >&6
21145 else
21146 ac_func_search_save_LIBS=$LIBS
21147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21148 /* end confdefs.h. */
21150 /* Override any GCC internal prototype to avoid an error.
21151 Use char because int might match the return type of a GCC
21152 builtin and then its argument prototype would still apply. */
21153 #ifdef __cplusplus
21154 extern "C"
21155 #endif
21156 char sched_yield ();
21158 main ()
21160 return sched_yield ();
21162 return 0;
21164 _ACEOF
21165 for ac_lib in '' rt posix4; do
21166 if test -z "$ac_lib"; then
21167 ac_res="none required"
21168 else
21169 ac_res=-l$ac_lib
21170 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21172 if test x$gcc_no_link = xyes; then
21173 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21175 if ac_fn_cxx_try_link "$LINENO"; then :
21176 ac_cv_search_sched_yield=$ac_res
21178 rm -f core conftest.err conftest.$ac_objext \
21179 conftest$ac_exeext
21180 if ${ac_cv_search_sched_yield+:} false; then :
21181 break
21183 done
21184 if ${ac_cv_search_sched_yield+:} false; then :
21186 else
21187 ac_cv_search_sched_yield=no
21189 rm conftest.$ac_ext
21190 LIBS=$ac_func_search_save_LIBS
21192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
21193 $as_echo "$ac_cv_search_sched_yield" >&6; }
21194 ac_res=$ac_cv_search_sched_yield
21195 if test "$ac_res" != no; then :
21196 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21201 case "$ac_cv_search_sched_yield" in
21202 -lposix4*)
21203 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21204 ac_has_sched_yield=yes
21206 -lrt*)
21207 if test x"$enable_libstdcxx_time" = x"rt"; then
21208 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21209 ac_has_sched_yield=yes
21213 ac_has_sched_yield=yes
21215 esac
21217 for ac_header in unistd.h
21218 do :
21219 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21220 if test "x$ac_cv_header_unistd_h" = xyes; then :
21221 cat >>confdefs.h <<_ACEOF
21222 #define HAVE_UNISTD_H 1
21223 _ACEOF
21224 ac_has_unistd_h=yes
21225 else
21226 ac_has_unistd_h=no
21229 done
21232 if test x"$ac_has_unistd_h" = x"yes"; then
21233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
21234 $as_echo_n "checking for monotonic clock... " >&6; }
21235 if test x$gcc_no_link = xyes; then
21236 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21239 /* end confdefs.h. */
21240 #include <unistd.h>
21241 #include <time.h>
21244 main ()
21246 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21247 timespec tp;
21248 #endif
21249 clock_gettime(CLOCK_MONOTONIC, &tp);
21252 return 0;
21254 _ACEOF
21255 if ac_fn_cxx_try_link "$LINENO"; then :
21256 ac_has_clock_monotonic=yes
21257 else
21258 ac_has_clock_monotonic=no
21260 rm -f core conftest.err conftest.$ac_objext \
21261 conftest$ac_exeext conftest.$ac_ext
21263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
21264 $as_echo "$ac_has_clock_monotonic" >&6; }
21266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
21267 $as_echo_n "checking for realtime clock... " >&6; }
21268 if test x$gcc_no_link = xyes; then
21269 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21272 /* end confdefs.h. */
21273 #include <unistd.h>
21274 #include <time.h>
21277 main ()
21279 #if _POSIX_TIMERS > 0
21280 timespec tp;
21281 #endif
21282 clock_gettime(CLOCK_REALTIME, &tp);
21285 return 0;
21287 _ACEOF
21288 if ac_fn_cxx_try_link "$LINENO"; then :
21289 ac_has_clock_realtime=yes
21290 else
21291 ac_has_clock_realtime=no
21293 rm -f core conftest.err conftest.$ac_objext \
21294 conftest$ac_exeext conftest.$ac_ext
21296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
21297 $as_echo "$ac_has_clock_realtime" >&6; }
21299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21300 $as_echo_n "checking for nanosleep... " >&6; }
21301 if test x$gcc_no_link = xyes; then
21302 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21305 /* end confdefs.h. */
21306 #include <unistd.h>
21307 #include <time.h>
21310 main ()
21312 #if _POSIX_TIMERS > 0
21313 timespec tp;
21314 #endif
21315 nanosleep(&tp, 0);
21318 return 0;
21320 _ACEOF
21321 if ac_fn_cxx_try_link "$LINENO"; then :
21322 ac_has_nanosleep=yes
21323 else
21324 ac_has_nanosleep=no
21326 rm -f core conftest.err conftest.$ac_objext \
21327 conftest$ac_exeext conftest.$ac_ext
21329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21330 $as_echo "$ac_has_nanosleep" >&6; }
21334 if test x"$ac_has_clock_monotonic" != x"yes"; then
21335 case ${target_os} in
21336 linux*)
21337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21338 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21340 /* end confdefs.h. */
21341 #include <unistd.h>
21342 #include <time.h>
21343 #include <sys/syscall.h>
21346 main ()
21348 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21349 timespec tp;
21350 #endif
21351 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21352 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21355 return 0;
21357 _ACEOF
21358 if ac_fn_cxx_try_compile "$LINENO"; then :
21359 ac_has_clock_monotonic_syscall=yes
21360 else
21361 ac_has_clock_monotonic_syscall=no
21363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21365 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21366 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21368 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21370 ac_has_clock_monotonic=yes
21371 ac_has_clock_realtime=yes
21372 fi;;
21373 esac
21376 if test x"$ac_has_clock_monotonic" = x"yes"; then
21378 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21382 if test x"$ac_has_clock_realtime" = x"yes"; then
21384 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21388 if test x"$ac_has_sched_yield" = x"yes"; then
21390 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21394 if test x"$ac_has_nanosleep" = x"yes"; then
21396 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21398 else
21399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21400 $as_echo_n "checking for sleep... " >&6; }
21401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21402 /* end confdefs.h. */
21403 #include <unistd.h>
21405 main ()
21407 sleep(1)
21409 return 0;
21411 _ACEOF
21412 if ac_fn_cxx_try_compile "$LINENO"; then :
21413 ac_has_sleep=yes
21414 else
21415 ac_has_sleep=no
21417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21418 if test x"$ac_has_sleep" = x"yes"; then
21420 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21424 $as_echo "$ac_has_sleep" >&6; }
21425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21426 $as_echo_n "checking for usleep... " >&6; }
21427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21428 /* end confdefs.h. */
21429 #include <unistd.h>
21431 main ()
21433 sleep(1);
21434 usleep(100);
21436 return 0;
21438 _ACEOF
21439 if ac_fn_cxx_try_compile "$LINENO"; then :
21440 ac_has_usleep=yes
21441 else
21442 ac_has_usleep=no
21444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21445 if test x"$ac_has_usleep" = x"yes"; then
21447 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21451 $as_echo "$ac_has_usleep" >&6; }
21454 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21456 $as_echo_n "checking for Sleep... " >&6; }
21457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21458 /* end confdefs.h. */
21459 #include <windows.h>
21461 main ()
21463 Sleep(1)
21465 return 0;
21467 _ACEOF
21468 if ac_fn_cxx_try_compile "$LINENO"; then :
21469 ac_has_win32_sleep=yes
21470 else
21471 ac_has_win32_sleep=no
21473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21474 if test x"$ac_has_win32_sleep" = x"yes"; then
21476 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21480 $as_echo "$ac_has_win32_sleep" >&6; }
21485 CXXFLAGS="$ac_save_CXXFLAGS"
21486 LIBS="$ac_save_LIBS"
21487 ac_ext=c
21488 ac_cpp='$CPP $CPPFLAGS'
21489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21495 # Check for tmpnam which is obsolescent in POSIX.1-2008
21497 ac_ext=cpp
21498 ac_cpp='$CXXCPP $CPPFLAGS'
21499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21503 ac_save_CXXFLAGS="$CXXFLAGS"
21504 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21506 $as_echo_n "checking for tmpnam... " >&6; }
21507 if ${glibcxx_cv_TMPNAM+:} false; then :
21508 $as_echo_n "(cached) " >&6
21509 else
21510 if test x$gcc_no_link = xyes; then
21511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21512 /* end confdefs.h. */
21513 #include <stdio.h>
21515 main ()
21517 char *tmp = tmpnam(NULL);
21519 return 0;
21521 _ACEOF
21522 if ac_fn_cxx_try_compile "$LINENO"; then :
21523 glibcxx_cv_TMPNAM=yes
21524 else
21525 glibcxx_cv_TMPNAM=no
21527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21528 else
21529 if test x$gcc_no_link = xyes; then
21530 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21533 /* end confdefs.h. */
21534 #include <stdio.h>
21536 main ()
21538 char *tmp = tmpnam(NULL);
21540 return 0;
21542 _ACEOF
21543 if ac_fn_cxx_try_link "$LINENO"; then :
21544 glibcxx_cv_TMPNAM=yes
21545 else
21546 glibcxx_cv_TMPNAM=no
21548 rm -f core conftest.err conftest.$ac_objext \
21549 conftest$ac_exeext conftest.$ac_ext
21554 if test $glibcxx_cv_TMPNAM = yes; then
21556 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21560 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21561 CXXFLAGS="$ac_save_CXXFLAGS"
21562 ac_ext=c
21563 ac_cpp='$CPP $CPPFLAGS'
21564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21571 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21572 if test "x$ac_cv_header_locale_h" = xyes; then :
21574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21575 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21576 if ${ac_cv_val_LC_MESSAGES+:} false; then :
21577 $as_echo_n "(cached) " >&6
21578 else
21579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21580 /* end confdefs.h. */
21581 #include <locale.h>
21583 main ()
21585 return LC_MESSAGES
21587 return 0;
21589 _ACEOF
21590 if ac_fn_c_try_compile "$LINENO"; then :
21591 ac_cv_val_LC_MESSAGES=yes
21592 else
21593 ac_cv_val_LC_MESSAGES=no
21595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21598 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21599 if test $ac_cv_val_LC_MESSAGES = yes; then
21601 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21610 # For hardware_concurrency
21611 for ac_header in sys/sysinfo.h
21612 do :
21613 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21614 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
21615 cat >>confdefs.h <<_ACEOF
21616 #define HAVE_SYS_SYSINFO_H 1
21617 _ACEOF
21621 done
21626 ac_ext=cpp
21627 ac_cpp='$CXXCPP $CPPFLAGS'
21628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21632 ac_save_CXXFLAGS="$CXXFLAGS"
21633 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21636 $as_echo_n "checking for get_nprocs... " >&6; }
21637 if ${glibcxx_cv_GET_NPROCS+:} false; then :
21638 $as_echo_n "(cached) " >&6
21639 else
21641 if test x$gcc_no_link = xyes; then
21642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21643 /* end confdefs.h. */
21644 #include <sys/sysinfo.h>
21646 main ()
21648 int n = get_nprocs();
21650 return 0;
21652 _ACEOF
21653 if ac_fn_cxx_try_compile "$LINENO"; then :
21654 glibcxx_cv_GET_NPROCS=yes
21655 else
21656 glibcxx_cv_GET_NPROCS=no
21658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21659 else
21660 if test x$gcc_no_link = xyes; then
21661 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21664 /* end confdefs.h. */
21665 #include <sys/sysinfo.h>
21667 main ()
21669 int n = get_nprocs();
21671 return 0;
21673 _ACEOF
21674 if ac_fn_cxx_try_link "$LINENO"; then :
21675 glibcxx_cv_GET_NPROCS=yes
21676 else
21677 glibcxx_cv_GET_NPROCS=no
21679 rm -f core conftest.err conftest.$ac_objext \
21680 conftest$ac_exeext conftest.$ac_ext
21685 if test $glibcxx_cv_GET_NPROCS = yes; then
21687 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21691 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21693 CXXFLAGS="$ac_save_CXXFLAGS"
21694 ac_ext=c
21695 ac_cpp='$CPP $CPPFLAGS'
21696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21701 for ac_header in unistd.h
21702 do :
21703 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21704 if test "x$ac_cv_header_unistd_h" = xyes; then :
21705 cat >>confdefs.h <<_ACEOF
21706 #define HAVE_UNISTD_H 1
21707 _ACEOF
21711 done
21716 ac_ext=cpp
21717 ac_cpp='$CXXCPP $CPPFLAGS'
21718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21722 ac_save_CXXFLAGS="$CXXFLAGS"
21723 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21726 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21727 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
21728 $as_echo_n "(cached) " >&6
21729 else
21731 if test x$gcc_no_link = xyes; then
21732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21733 /* end confdefs.h. */
21734 #include <unistd.h>
21736 main ()
21738 int n = sysconf(_SC_NPROCESSORS_ONLN);
21740 return 0;
21742 _ACEOF
21743 if ac_fn_cxx_try_compile "$LINENO"; then :
21744 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21745 else
21746 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21749 else
21750 if test x$gcc_no_link = xyes; then
21751 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21754 /* end confdefs.h. */
21755 #include <unistd.h>
21757 main ()
21759 int n = sysconf(_SC_NPROCESSORS_ONLN);
21761 return 0;
21763 _ACEOF
21764 if ac_fn_cxx_try_link "$LINENO"; then :
21765 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21766 else
21767 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21769 rm -f core conftest.err conftest.$ac_objext \
21770 conftest$ac_exeext conftest.$ac_ext
21775 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21777 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21781 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21783 CXXFLAGS="$ac_save_CXXFLAGS"
21784 ac_ext=c
21785 ac_cpp='$CPP $CPPFLAGS'
21786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21794 ac_ext=cpp
21795 ac_cpp='$CXXCPP $CPPFLAGS'
21796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21800 ac_save_CXXFLAGS="$CXXFLAGS"
21801 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21804 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21805 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
21806 $as_echo_n "(cached) " >&6
21807 else
21809 if test x$gcc_no_link = xyes; then
21810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21811 /* end confdefs.h. */
21812 #include <unistd.h>
21814 main ()
21816 int n = sysconf(_SC_NPROC_ONLN);
21818 return 0;
21820 _ACEOF
21821 if ac_fn_cxx_try_compile "$LINENO"; then :
21822 glibcxx_cv_SC_NPROC_ONLN=yes
21823 else
21824 glibcxx_cv_SC_NPROC_ONLN=no
21826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21827 else
21828 if test x$gcc_no_link = xyes; then
21829 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21832 /* end confdefs.h. */
21833 #include <unistd.h>
21835 main ()
21837 int n = sysconf(_SC_NPROC_ONLN);
21839 return 0;
21841 _ACEOF
21842 if ac_fn_cxx_try_link "$LINENO"; then :
21843 glibcxx_cv_SC_NPROC_ONLN=yes
21844 else
21845 glibcxx_cv_SC_NPROC_ONLN=no
21847 rm -f core conftest.err conftest.$ac_objext \
21848 conftest$ac_exeext conftest.$ac_ext
21853 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21855 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21859 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21861 CXXFLAGS="$ac_save_CXXFLAGS"
21862 ac_ext=c
21863 ac_cpp='$CPP $CPPFLAGS'
21864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21872 ac_ext=cpp
21873 ac_cpp='$CXXCPP $CPPFLAGS'
21874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21878 ac_save_CXXFLAGS="$CXXFLAGS"
21879 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21882 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21883 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
21884 $as_echo_n "(cached) " >&6
21885 else
21887 if test x$gcc_no_link = xyes; then
21888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21889 /* end confdefs.h. */
21890 #include <pthread.h>
21892 main ()
21894 int n = pthread_num_processors_np();
21896 return 0;
21898 _ACEOF
21899 if ac_fn_cxx_try_compile "$LINENO"; then :
21900 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21901 else
21902 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21905 else
21906 if test x$gcc_no_link = xyes; then
21907 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21910 /* end confdefs.h. */
21911 #include <pthread.h>
21913 main ()
21915 int n = pthread_num_processors_np();
21917 return 0;
21919 _ACEOF
21920 if ac_fn_cxx_try_link "$LINENO"; then :
21921 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21922 else
21923 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21925 rm -f core conftest.err conftest.$ac_objext \
21926 conftest$ac_exeext conftest.$ac_ext
21931 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21933 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21937 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21939 CXXFLAGS="$ac_save_CXXFLAGS"
21940 ac_ext=c
21941 ac_cpp='$CPP $CPPFLAGS'
21942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21950 ac_ext=cpp
21951 ac_cpp='$CXXCPP $CPPFLAGS'
21952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21956 ac_save_CXXFLAGS="$CXXFLAGS"
21957 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21960 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21961 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
21962 $as_echo_n "(cached) " >&6
21963 else
21965 if test x$gcc_no_link = xyes; then
21966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21967 /* end confdefs.h. */
21969 #include <stddef.h>
21970 #include <sys/sysctl.h>
21973 main ()
21976 int count;
21977 size_t size = sizeof(count);
21978 int mib[] = { CTL_HW, HW_NCPU };
21979 sysctl(mib, 2, &count, &size, NULL, 0);
21982 return 0;
21984 _ACEOF
21985 if ac_fn_cxx_try_compile "$LINENO"; then :
21986 glibcxx_cv_SYSCTL_HW_NCPU=yes
21987 else
21988 glibcxx_cv_SYSCTL_HW_NCPU=no
21990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21991 else
21992 if test x$gcc_no_link = xyes; then
21993 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21996 /* end confdefs.h. */
21998 #include <stddef.h>
21999 #include <sys/sysctl.h>
22002 main ()
22005 int count;
22006 size_t size = sizeof(count);
22007 int mib[] = { CTL_HW, HW_NCPU };
22008 sysctl(mib, 2, &count, &size, NULL, 0);
22011 return 0;
22013 _ACEOF
22014 if ac_fn_cxx_try_link "$LINENO"; then :
22015 glibcxx_cv_SYSCTL_HW_NCPU=yes
22016 else
22017 glibcxx_cv_SYSCTL_HW_NCPU=no
22019 rm -f core conftest.err conftest.$ac_objext \
22020 conftest$ac_exeext conftest.$ac_ext
22025 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
22027 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
22030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
22031 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
22033 CXXFLAGS="$ac_save_CXXFLAGS"
22034 ac_ext=c
22035 ac_cpp='$CPP $CPPFLAGS'
22036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
22043 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
22044 # Note that this test has to be run with the C language.
22045 # Otherwise, sdt.h will try to include some headers from
22046 # libstdc++ itself.
22048 ac_ext=c
22049 ac_cpp='$CPP $CPPFLAGS'
22050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22054 if ${glibcxx_cv_sys_sdt_h+:} false; then :
22055 $as_echo_n "(cached) " >&6
22056 else
22058 # Because we have to run the test in C, we use grep rather
22059 # than the compiler to check for the bug. The bug is that
22060 # were strings without trailing whitespace, causing g++
22061 # to look for operator"". The pattern searches for the fixed
22062 # output.
22063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22064 /* end confdefs.h. */
22066 #include <sys/sdt.h>
22067 int f() { STAP_PROBE(hi, bob); }
22069 _ACEOF
22070 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22071 $EGREP " \",\" " >/dev/null 2>&1; then :
22072 glibcxx_cv_sys_sdt_h=yes
22073 else
22074 glibcxx_cv_sys_sdt_h=no
22076 rm -f conftest*
22081 ac_ext=c
22082 ac_cpp='$CPP $CPPFLAGS'
22083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22087 if test $glibcxx_cv_sys_sdt_h = yes; then
22089 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
22092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
22093 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
22096 # Check for available headers.
22097 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
22098 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22099 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22100 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22101 wchar.h wctype.h linux/types.h
22102 do :
22103 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22104 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22105 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22106 cat >>confdefs.h <<_ACEOF
22107 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22108 _ACEOF
22112 done
22115 for ac_header in linux/random.h
22116 do :
22117 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
22118 # include <linux/types.h>
22119 #endif
22122 if test "x$ac_cv_header_linux_random_h" = xyes; then :
22123 cat >>confdefs.h <<_ACEOF
22124 #define HAVE_LINUX_RANDOM_H 1
22125 _ACEOF
22129 done
22132 # Only do link tests if native. Else, hardcode.
22133 if $GLIBCXX_IS_NATIVE; then
22135 # We can do more elaborate tests that assume a working linker.
22136 CANADIAN=no
22140 # Check whether --with-gnu-ld was given.
22141 if test "${with_gnu_ld+set}" = set; then :
22142 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22143 else
22144 with_gnu_ld=no
22147 ac_prog=ld
22148 if test "$GCC" = yes; then
22149 # Check if gcc -print-prog-name=ld gives a path.
22150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22151 $as_echo_n "checking for ld used by $CC... " >&6; }
22152 case $host in
22153 *-*-mingw*)
22154 # gcc leaves a trailing carriage return which upsets mingw
22155 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22157 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22158 esac
22159 case $ac_prog in
22160 # Accept absolute paths.
22161 [\\/]* | ?:[\\/]*)
22162 re_direlt='/[^/][^/]*/\.\./'
22163 # Canonicalize the pathname of ld
22164 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22165 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22166 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22167 done
22168 test -z "$LD" && LD="$ac_prog"
22171 # If it fails, then pretend we aren't using GCC.
22172 ac_prog=ld
22175 # If it is relative, then search for the first ld in PATH.
22176 with_gnu_ld=unknown
22178 esac
22179 elif test "$with_gnu_ld" = yes; then
22180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22181 $as_echo_n "checking for GNU ld... " >&6; }
22182 else
22183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22184 $as_echo_n "checking for non-GNU ld... " >&6; }
22186 if ${lt_cv_path_LD+:} false; then :
22187 $as_echo_n "(cached) " >&6
22188 else
22189 if test -z "$LD"; then
22190 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22191 for ac_dir in $PATH; do
22192 IFS="$lt_save_ifs"
22193 test -z "$ac_dir" && ac_dir=.
22194 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22195 lt_cv_path_LD="$ac_dir/$ac_prog"
22196 # Check to see if the program is GNU ld. I'd rather use --version,
22197 # but apparently some variants of GNU ld only accept -v.
22198 # Break only if it was the GNU/non-GNU ld that we prefer.
22199 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22200 *GNU* | *'with BFD'*)
22201 test "$with_gnu_ld" != no && break
22204 test "$with_gnu_ld" != yes && break
22206 esac
22208 done
22209 IFS="$lt_save_ifs"
22210 else
22211 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22215 LD="$lt_cv_path_LD"
22216 if test -n "$LD"; then
22217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22218 $as_echo "$LD" >&6; }
22219 else
22220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22221 $as_echo "no" >&6; }
22223 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22225 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22226 if ${lt_cv_prog_gnu_ld+:} false; then :
22227 $as_echo_n "(cached) " >&6
22228 else
22229 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22230 case `$LD -v 2>&1 </dev/null` in
22231 *GNU* | *'with BFD'*)
22232 lt_cv_prog_gnu_ld=yes
22235 lt_cv_prog_gnu_ld=no
22237 esac
22239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22240 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22241 with_gnu_ld=$lt_cv_prog_gnu_ld
22249 # If we're not using GNU ld, then there's no point in even trying these
22250 # tests. Check for that first. We should have already tested for gld
22251 # by now (in libtool), but require it now just to be safe...
22252 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22253 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22257 # The name set by libtool depends on the version of libtool. Shame on us
22258 # for depending on an impl detail, but c'est la vie. Older versions used
22259 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22260 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22261 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22262 # set (hence we're using an older libtool), then set it.
22263 if test x${with_gnu_ld+set} != xset; then
22264 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22265 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22266 with_gnu_ld=no
22267 else
22268 with_gnu_ld=$ac_cv_prog_gnu_ld
22272 # Start by getting the version number. I think the libtool test already
22273 # does some of this, but throws away the result.
22274 glibcxx_ld_is_gold=no
22275 if test x"$with_gnu_ld" = x"yes"; then
22276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22277 $as_echo_n "checking for ld version... " >&6; }
22279 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22280 glibcxx_ld_is_gold=yes
22282 ldver=`$LD --version 2>/dev/null |
22283 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'`
22285 glibcxx_gnu_ld_version=`echo $ldver | \
22286 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22288 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22291 # Set --gc-sections.
22292 glibcxx_have_gc_sections=no
22293 if test "$glibcxx_ld_is_gold" = "yes"; then
22294 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22295 glibcxx_have_gc_sections=yes
22297 else
22298 glibcxx_gcsections_min_ld=21602
22299 if test x"$with_gnu_ld" = x"yes" &&
22300 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22301 glibcxx_have_gc_sections=yes
22304 if test "$glibcxx_have_gc_sections" = "yes"; then
22305 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22306 # NB: This flag only works reliably after 2.16.1. Configure tests
22307 # for this are difficult, so hard wire a value that should work.
22309 ac_test_CFLAGS="${CFLAGS+set}"
22310 ac_save_CFLAGS="$CFLAGS"
22311 CFLAGS='-Wl,--gc-sections'
22313 # Check for -Wl,--gc-sections
22314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22315 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22316 if test x$gcc_no_link = xyes; then
22317 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22320 /* end confdefs.h. */
22321 int one(void) { return 1; }
22322 int two(void) { return 2; }
22325 main ()
22327 two();
22329 return 0;
22331 _ACEOF
22332 if ac_fn_c_try_link "$LINENO"; then :
22333 ac_gcsections=yes
22334 else
22335 ac_gcsections=no
22337 rm -f core conftest.err conftest.$ac_objext \
22338 conftest$ac_exeext conftest.$ac_ext
22339 if test "$ac_gcsections" = "yes"; then
22340 rm -f conftest.c
22341 touch conftest.c
22342 if $CC -c conftest.c; then
22343 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22344 grep "Warning: gc-sections option ignored" > /dev/null; then
22345 ac_gcsections=no
22348 rm -f conftest.c conftest.o conftest
22350 if test "$ac_gcsections" = "yes"; then
22351 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22354 $as_echo "$ac_gcsections" >&6; }
22356 if test "$ac_test_CFLAGS" = set; then
22357 CFLAGS="$ac_save_CFLAGS"
22358 else
22359 # this is the suspicious part
22360 CFLAGS=''
22364 # Set -z,relro.
22365 # Note this is only for shared objects.
22366 ac_ld_relro=no
22367 if test x"$with_gnu_ld" = x"yes"; then
22368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22369 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22370 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22371 if test -n "$cxx_z_relo"; then
22372 OPT_LDFLAGS="-Wl,-z,relro"
22373 ac_ld_relro=yes
22375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22376 $as_echo "$ac_ld_relro" >&6; }
22379 # Set linker optimization flags.
22380 if test x"$with_gnu_ld" = x"yes"; then
22381 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22388 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22389 ac_save_CXXFLAGS="$CXXFLAGS"
22390 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22393 $as_echo_n "checking for sin in -lm... " >&6; }
22394 if ${ac_cv_lib_m_sin+:} false; then :
22395 $as_echo_n "(cached) " >&6
22396 else
22397 ac_check_lib_save_LIBS=$LIBS
22398 LIBS="-lm $LIBS"
22399 if test x$gcc_no_link = xyes; then
22400 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22403 /* end confdefs.h. */
22405 /* Override any GCC internal prototype to avoid an error.
22406 Use char because int might match the return type of a GCC
22407 builtin and then its argument prototype would still apply. */
22408 #ifdef __cplusplus
22409 extern "C"
22410 #endif
22411 char sin ();
22413 main ()
22415 return sin ();
22417 return 0;
22419 _ACEOF
22420 if ac_fn_c_try_link "$LINENO"; then :
22421 ac_cv_lib_m_sin=yes
22422 else
22423 ac_cv_lib_m_sin=no
22425 rm -f core conftest.err conftest.$ac_objext \
22426 conftest$ac_exeext conftest.$ac_ext
22427 LIBS=$ac_check_lib_save_LIBS
22429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22430 $as_echo "$ac_cv_lib_m_sin" >&6; }
22431 if test "x$ac_cv_lib_m_sin" = xyes; then :
22432 libm="-lm"
22435 ac_save_LIBS="$LIBS"
22436 LIBS="$LIBS $libm"
22440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22441 $as_echo_n "checking for isinf declaration... " >&6; }
22442 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22443 if ${glibcxx_cv_func_isinf_use+:} false; then :
22444 $as_echo_n "(cached) " >&6
22445 else
22448 ac_ext=cpp
22449 ac_cpp='$CXXCPP $CPPFLAGS'
22450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22455 /* end confdefs.h. */
22456 #include <math.h>
22457 #ifdef HAVE_IEEEFP_H
22458 #include <ieeefp.h>
22459 #endif
22462 main ()
22464 isinf(0);
22466 return 0;
22468 _ACEOF
22469 if ac_fn_cxx_try_compile "$LINENO"; then :
22470 glibcxx_cv_func_isinf_use=yes
22471 else
22472 glibcxx_cv_func_isinf_use=no
22474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22475 ac_ext=c
22476 ac_cpp='$CPP $CPPFLAGS'
22477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22486 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22488 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22489 for ac_func in isinf
22490 do :
22491 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22492 if test "x$ac_cv_func_isinf" = xyes; then :
22493 cat >>confdefs.h <<_ACEOF
22494 #define HAVE_ISINF 1
22495 _ACEOF
22498 done
22500 else
22502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22503 $as_echo_n "checking for _isinf declaration... " >&6; }
22504 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22505 if ${glibcxx_cv_func__isinf_use+:} false; then :
22506 $as_echo_n "(cached) " >&6
22507 else
22510 ac_ext=cpp
22511 ac_cpp='$CXXCPP $CPPFLAGS'
22512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22517 /* end confdefs.h. */
22518 #include <math.h>
22519 #ifdef HAVE_IEEEFP_H
22520 #include <ieeefp.h>
22521 #endif
22524 main ()
22526 _isinf(0);
22528 return 0;
22530 _ACEOF
22531 if ac_fn_cxx_try_compile "$LINENO"; then :
22532 glibcxx_cv_func__isinf_use=yes
22533 else
22534 glibcxx_cv_func__isinf_use=no
22536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22537 ac_ext=c
22538 ac_cpp='$CPP $CPPFLAGS'
22539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22548 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22550 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22551 for ac_func in _isinf
22552 do :
22553 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22554 if test "x$ac_cv_func__isinf" = xyes; then :
22555 cat >>confdefs.h <<_ACEOF
22556 #define HAVE__ISINF 1
22557 _ACEOF
22560 done
22569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22570 $as_echo_n "checking for isnan declaration... " >&6; }
22571 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22572 if ${glibcxx_cv_func_isnan_use+:} false; then :
22573 $as_echo_n "(cached) " >&6
22574 else
22577 ac_ext=cpp
22578 ac_cpp='$CXXCPP $CPPFLAGS'
22579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22584 /* end confdefs.h. */
22585 #include <math.h>
22586 #ifdef HAVE_IEEEFP_H
22587 #include <ieeefp.h>
22588 #endif
22591 main ()
22593 isnan(0);
22595 return 0;
22597 _ACEOF
22598 if ac_fn_cxx_try_compile "$LINENO"; then :
22599 glibcxx_cv_func_isnan_use=yes
22600 else
22601 glibcxx_cv_func_isnan_use=no
22603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22604 ac_ext=c
22605 ac_cpp='$CPP $CPPFLAGS'
22606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22615 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22617 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22618 for ac_func in isnan
22619 do :
22620 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22621 if test "x$ac_cv_func_isnan" = xyes; then :
22622 cat >>confdefs.h <<_ACEOF
22623 #define HAVE_ISNAN 1
22624 _ACEOF
22627 done
22629 else
22631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22632 $as_echo_n "checking for _isnan declaration... " >&6; }
22633 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22634 if ${glibcxx_cv_func__isnan_use+:} false; then :
22635 $as_echo_n "(cached) " >&6
22636 else
22639 ac_ext=cpp
22640 ac_cpp='$CXXCPP $CPPFLAGS'
22641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22646 /* end confdefs.h. */
22647 #include <math.h>
22648 #ifdef HAVE_IEEEFP_H
22649 #include <ieeefp.h>
22650 #endif
22653 main ()
22655 _isnan(0);
22657 return 0;
22659 _ACEOF
22660 if ac_fn_cxx_try_compile "$LINENO"; then :
22661 glibcxx_cv_func__isnan_use=yes
22662 else
22663 glibcxx_cv_func__isnan_use=no
22665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22666 ac_ext=c
22667 ac_cpp='$CPP $CPPFLAGS'
22668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22677 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22679 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22680 for ac_func in _isnan
22681 do :
22682 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22683 if test "x$ac_cv_func__isnan" = xyes; then :
22684 cat >>confdefs.h <<_ACEOF
22685 #define HAVE__ISNAN 1
22686 _ACEOF
22689 done
22698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22699 $as_echo_n "checking for finite declaration... " >&6; }
22700 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22701 if ${glibcxx_cv_func_finite_use+:} false; then :
22702 $as_echo_n "(cached) " >&6
22703 else
22706 ac_ext=cpp
22707 ac_cpp='$CXXCPP $CPPFLAGS'
22708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22713 /* end confdefs.h. */
22714 #include <math.h>
22715 #ifdef HAVE_IEEEFP_H
22716 #include <ieeefp.h>
22717 #endif
22720 main ()
22722 finite(0);
22724 return 0;
22726 _ACEOF
22727 if ac_fn_cxx_try_compile "$LINENO"; then :
22728 glibcxx_cv_func_finite_use=yes
22729 else
22730 glibcxx_cv_func_finite_use=no
22732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22733 ac_ext=c
22734 ac_cpp='$CPP $CPPFLAGS'
22735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22744 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22746 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22747 for ac_func in finite
22748 do :
22749 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22750 if test "x$ac_cv_func_finite" = xyes; then :
22751 cat >>confdefs.h <<_ACEOF
22752 #define HAVE_FINITE 1
22753 _ACEOF
22756 done
22758 else
22760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22761 $as_echo_n "checking for _finite declaration... " >&6; }
22762 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22763 if ${glibcxx_cv_func__finite_use+:} false; then :
22764 $as_echo_n "(cached) " >&6
22765 else
22768 ac_ext=cpp
22769 ac_cpp='$CXXCPP $CPPFLAGS'
22770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22775 /* end confdefs.h. */
22776 #include <math.h>
22777 #ifdef HAVE_IEEEFP_H
22778 #include <ieeefp.h>
22779 #endif
22782 main ()
22784 _finite(0);
22786 return 0;
22788 _ACEOF
22789 if ac_fn_cxx_try_compile "$LINENO"; then :
22790 glibcxx_cv_func__finite_use=yes
22791 else
22792 glibcxx_cv_func__finite_use=no
22794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22795 ac_ext=c
22796 ac_cpp='$CPP $CPPFLAGS'
22797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22806 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22808 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22809 for ac_func in _finite
22810 do :
22811 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22812 if test "x$ac_cv_func__finite" = xyes; then :
22813 cat >>confdefs.h <<_ACEOF
22814 #define HAVE__FINITE 1
22815 _ACEOF
22818 done
22827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22828 $as_echo_n "checking for sincos declaration... " >&6; }
22829 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22830 if ${glibcxx_cv_func_sincos_use+:} false; then :
22831 $as_echo_n "(cached) " >&6
22832 else
22835 ac_ext=cpp
22836 ac_cpp='$CXXCPP $CPPFLAGS'
22837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22842 /* end confdefs.h. */
22843 #include <math.h>
22845 main ()
22847 sincos(0, 0, 0);
22849 return 0;
22851 _ACEOF
22852 if ac_fn_cxx_try_compile "$LINENO"; then :
22853 glibcxx_cv_func_sincos_use=yes
22854 else
22855 glibcxx_cv_func_sincos_use=no
22857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22858 ac_ext=c
22859 ac_cpp='$CPP $CPPFLAGS'
22860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22869 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22871 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22872 for ac_func in sincos
22873 do :
22874 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22875 if test "x$ac_cv_func_sincos" = xyes; then :
22876 cat >>confdefs.h <<_ACEOF
22877 #define HAVE_SINCOS 1
22878 _ACEOF
22881 done
22883 else
22885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22886 $as_echo_n "checking for _sincos declaration... " >&6; }
22887 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22888 if ${glibcxx_cv_func__sincos_use+:} false; then :
22889 $as_echo_n "(cached) " >&6
22890 else
22893 ac_ext=cpp
22894 ac_cpp='$CXXCPP $CPPFLAGS'
22895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22900 /* end confdefs.h. */
22901 #include <math.h>
22903 main ()
22905 _sincos(0, 0, 0);
22907 return 0;
22909 _ACEOF
22910 if ac_fn_cxx_try_compile "$LINENO"; then :
22911 glibcxx_cv_func__sincos_use=yes
22912 else
22913 glibcxx_cv_func__sincos_use=no
22915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22916 ac_ext=c
22917 ac_cpp='$CPP $CPPFLAGS'
22918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22927 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22929 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22930 for ac_func in _sincos
22931 do :
22932 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22933 if test "x$ac_cv_func__sincos" = xyes; then :
22934 cat >>confdefs.h <<_ACEOF
22935 #define HAVE__SINCOS 1
22936 _ACEOF
22939 done
22948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22949 $as_echo_n "checking for fpclass declaration... " >&6; }
22950 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22951 if ${glibcxx_cv_func_fpclass_use+:} false; then :
22952 $as_echo_n "(cached) " >&6
22953 else
22956 ac_ext=cpp
22957 ac_cpp='$CXXCPP $CPPFLAGS'
22958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22963 /* end confdefs.h. */
22964 #include <math.h>
22965 #ifdef HAVE_IEEEFP_H
22966 #include <ieeefp.h>
22967 #endif
22970 main ()
22972 fpclass(0);
22974 return 0;
22976 _ACEOF
22977 if ac_fn_cxx_try_compile "$LINENO"; then :
22978 glibcxx_cv_func_fpclass_use=yes
22979 else
22980 glibcxx_cv_func_fpclass_use=no
22982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22983 ac_ext=c
22984 ac_cpp='$CPP $CPPFLAGS'
22985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22994 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22996 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22997 for ac_func in fpclass
22998 do :
22999 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
23000 if test "x$ac_cv_func_fpclass" = xyes; then :
23001 cat >>confdefs.h <<_ACEOF
23002 #define HAVE_FPCLASS 1
23003 _ACEOF
23006 done
23008 else
23010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
23011 $as_echo_n "checking for _fpclass declaration... " >&6; }
23012 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
23013 if ${glibcxx_cv_func__fpclass_use+:} false; then :
23014 $as_echo_n "(cached) " >&6
23015 else
23018 ac_ext=cpp
23019 ac_cpp='$CXXCPP $CPPFLAGS'
23020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23025 /* end confdefs.h. */
23026 #include <math.h>
23027 #ifdef HAVE_IEEEFP_H
23028 #include <ieeefp.h>
23029 #endif
23032 main ()
23034 _fpclass(0);
23036 return 0;
23038 _ACEOF
23039 if ac_fn_cxx_try_compile "$LINENO"; then :
23040 glibcxx_cv_func__fpclass_use=yes
23041 else
23042 glibcxx_cv_func__fpclass_use=no
23044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23045 ac_ext=c
23046 ac_cpp='$CPP $CPPFLAGS'
23047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
23056 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
23058 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
23059 for ac_func in _fpclass
23060 do :
23061 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
23062 if test "x$ac_cv_func__fpclass" = xyes; then :
23063 cat >>confdefs.h <<_ACEOF
23064 #define HAVE__FPCLASS 1
23065 _ACEOF
23068 done
23077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
23078 $as_echo_n "checking for qfpclass declaration... " >&6; }
23079 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
23080 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
23081 $as_echo_n "(cached) " >&6
23082 else
23085 ac_ext=cpp
23086 ac_cpp='$CXXCPP $CPPFLAGS'
23087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23092 /* end confdefs.h. */
23093 #include <math.h>
23094 #ifdef HAVE_IEEEFP_H
23095 #include <ieeefp.h>
23096 #endif
23099 main ()
23101 qfpclass(0);
23103 return 0;
23105 _ACEOF
23106 if ac_fn_cxx_try_compile "$LINENO"; then :
23107 glibcxx_cv_func_qfpclass_use=yes
23108 else
23109 glibcxx_cv_func_qfpclass_use=no
23111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23112 ac_ext=c
23113 ac_cpp='$CPP $CPPFLAGS'
23114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23123 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23125 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23126 for ac_func in qfpclass
23127 do :
23128 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23129 if test "x$ac_cv_func_qfpclass" = xyes; then :
23130 cat >>confdefs.h <<_ACEOF
23131 #define HAVE_QFPCLASS 1
23132 _ACEOF
23135 done
23137 else
23139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23140 $as_echo_n "checking for _qfpclass declaration... " >&6; }
23141 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23142 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23143 $as_echo_n "(cached) " >&6
23144 else
23147 ac_ext=cpp
23148 ac_cpp='$CXXCPP $CPPFLAGS'
23149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23154 /* end confdefs.h. */
23155 #include <math.h>
23156 #ifdef HAVE_IEEEFP_H
23157 #include <ieeefp.h>
23158 #endif
23161 main ()
23163 _qfpclass(0);
23165 return 0;
23167 _ACEOF
23168 if ac_fn_cxx_try_compile "$LINENO"; then :
23169 glibcxx_cv_func__qfpclass_use=yes
23170 else
23171 glibcxx_cv_func__qfpclass_use=no
23173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23174 ac_ext=c
23175 ac_cpp='$CPP $CPPFLAGS'
23176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23185 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23187 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23188 for ac_func in _qfpclass
23189 do :
23190 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23191 if test "x$ac_cv_func__qfpclass" = xyes; then :
23192 cat >>confdefs.h <<_ACEOF
23193 #define HAVE__QFPCLASS 1
23194 _ACEOF
23197 done
23206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23207 $as_echo_n "checking for hypot declaration... " >&6; }
23208 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23209 if ${glibcxx_cv_func_hypot_use+:} false; then :
23210 $as_echo_n "(cached) " >&6
23211 else
23214 ac_ext=cpp
23215 ac_cpp='$CXXCPP $CPPFLAGS'
23216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23221 /* end confdefs.h. */
23222 #include <math.h>
23224 main ()
23226 hypot(0, 0);
23228 return 0;
23230 _ACEOF
23231 if ac_fn_cxx_try_compile "$LINENO"; then :
23232 glibcxx_cv_func_hypot_use=yes
23233 else
23234 glibcxx_cv_func_hypot_use=no
23236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23237 ac_ext=c
23238 ac_cpp='$CPP $CPPFLAGS'
23239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23248 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23250 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23251 for ac_func in hypot
23252 do :
23253 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23254 if test "x$ac_cv_func_hypot" = xyes; then :
23255 cat >>confdefs.h <<_ACEOF
23256 #define HAVE_HYPOT 1
23257 _ACEOF
23260 done
23262 else
23264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23265 $as_echo_n "checking for _hypot declaration... " >&6; }
23266 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23267 if ${glibcxx_cv_func__hypot_use+:} false; then :
23268 $as_echo_n "(cached) " >&6
23269 else
23272 ac_ext=cpp
23273 ac_cpp='$CXXCPP $CPPFLAGS'
23274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23279 /* end confdefs.h. */
23280 #include <math.h>
23282 main ()
23284 _hypot(0, 0);
23286 return 0;
23288 _ACEOF
23289 if ac_fn_cxx_try_compile "$LINENO"; then :
23290 glibcxx_cv_func__hypot_use=yes
23291 else
23292 glibcxx_cv_func__hypot_use=no
23294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23295 ac_ext=c
23296 ac_cpp='$CPP $CPPFLAGS'
23297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23306 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23308 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23309 for ac_func in _hypot
23310 do :
23311 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23312 if test "x$ac_cv_func__hypot" = xyes; then :
23313 cat >>confdefs.h <<_ACEOF
23314 #define HAVE__HYPOT 1
23315 _ACEOF
23318 done
23327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23328 $as_echo_n "checking for float trig functions... " >&6; }
23329 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23330 $as_echo_n "(cached) " >&6
23331 else
23334 ac_ext=cpp
23335 ac_cpp='$CXXCPP $CPPFLAGS'
23336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23341 /* end confdefs.h. */
23342 #include <math.h>
23344 main ()
23346 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23348 return 0;
23350 _ACEOF
23351 if ac_fn_cxx_try_compile "$LINENO"; then :
23352 glibcxx_cv_func_float_trig_use=yes
23353 else
23354 glibcxx_cv_func_float_trig_use=no
23356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23357 ac_ext=c
23358 ac_cpp='$CPP $CPPFLAGS'
23359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23366 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23367 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23368 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23369 do :
23370 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23371 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23372 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23373 cat >>confdefs.h <<_ACEOF
23374 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23375 _ACEOF
23378 done
23380 else
23381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23382 $as_echo_n "checking for _float trig functions... " >&6; }
23383 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23384 $as_echo_n "(cached) " >&6
23385 else
23388 ac_ext=cpp
23389 ac_cpp='$CXXCPP $CPPFLAGS'
23390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23395 /* end confdefs.h. */
23396 #include <math.h>
23398 main ()
23400 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23402 return 0;
23404 _ACEOF
23405 if ac_fn_cxx_try_compile "$LINENO"; then :
23406 glibcxx_cv_func__float_trig_use=yes
23407 else
23408 glibcxx_cv_func__float_trig_use=no
23410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23411 ac_ext=c
23412 ac_cpp='$CPP $CPPFLAGS'
23413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23420 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23421 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23422 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23423 do :
23424 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23425 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23426 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23427 cat >>confdefs.h <<_ACEOF
23428 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23429 _ACEOF
23432 done
23441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23442 $as_echo_n "checking for float round functions... " >&6; }
23443 if ${glibcxx_cv_func_float_round_use+:} false; then :
23444 $as_echo_n "(cached) " >&6
23445 else
23448 ac_ext=cpp
23449 ac_cpp='$CXXCPP $CPPFLAGS'
23450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23455 /* end confdefs.h. */
23456 #include <math.h>
23458 main ()
23460 ceilf (0); floorf (0);
23462 return 0;
23464 _ACEOF
23465 if ac_fn_cxx_try_compile "$LINENO"; then :
23466 glibcxx_cv_func_float_round_use=yes
23467 else
23468 glibcxx_cv_func_float_round_use=no
23470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23471 ac_ext=c
23472 ac_cpp='$CPP $CPPFLAGS'
23473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23480 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23481 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23482 for ac_func in ceilf floorf
23483 do :
23484 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23485 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23486 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23487 cat >>confdefs.h <<_ACEOF
23488 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23489 _ACEOF
23492 done
23494 else
23495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23496 $as_echo_n "checking for _float round functions... " >&6; }
23497 if ${glibcxx_cv_func__float_round_use+:} false; then :
23498 $as_echo_n "(cached) " >&6
23499 else
23502 ac_ext=cpp
23503 ac_cpp='$CXXCPP $CPPFLAGS'
23504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23509 /* end confdefs.h. */
23510 #include <math.h>
23512 main ()
23514 _ceilf (0); _floorf (0);
23516 return 0;
23518 _ACEOF
23519 if ac_fn_cxx_try_compile "$LINENO"; then :
23520 glibcxx_cv_func__float_round_use=yes
23521 else
23522 glibcxx_cv_func__float_round_use=no
23524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23525 ac_ext=c
23526 ac_cpp='$CPP $CPPFLAGS'
23527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23534 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23535 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23536 for ac_func in _ceilf _floorf
23537 do :
23538 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23539 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23540 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23541 cat >>confdefs.h <<_ACEOF
23542 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23543 _ACEOF
23546 done
23556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23557 $as_echo_n "checking for expf declaration... " >&6; }
23558 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23559 if ${glibcxx_cv_func_expf_use+:} false; then :
23560 $as_echo_n "(cached) " >&6
23561 else
23564 ac_ext=cpp
23565 ac_cpp='$CXXCPP $CPPFLAGS'
23566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23571 /* end confdefs.h. */
23572 #include <math.h>
23573 #ifdef HAVE_IEEEFP_H
23574 #include <ieeefp.h>
23575 #endif
23578 main ()
23580 expf(0);
23582 return 0;
23584 _ACEOF
23585 if ac_fn_cxx_try_compile "$LINENO"; then :
23586 glibcxx_cv_func_expf_use=yes
23587 else
23588 glibcxx_cv_func_expf_use=no
23590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23591 ac_ext=c
23592 ac_cpp='$CPP $CPPFLAGS'
23593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23602 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23604 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23605 for ac_func in expf
23606 do :
23607 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23608 if test "x$ac_cv_func_expf" = xyes; then :
23609 cat >>confdefs.h <<_ACEOF
23610 #define HAVE_EXPF 1
23611 _ACEOF
23614 done
23616 else
23618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23619 $as_echo_n "checking for _expf declaration... " >&6; }
23620 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23621 if ${glibcxx_cv_func__expf_use+:} false; then :
23622 $as_echo_n "(cached) " >&6
23623 else
23626 ac_ext=cpp
23627 ac_cpp='$CXXCPP $CPPFLAGS'
23628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23633 /* end confdefs.h. */
23634 #include <math.h>
23635 #ifdef HAVE_IEEEFP_H
23636 #include <ieeefp.h>
23637 #endif
23640 main ()
23642 _expf(0);
23644 return 0;
23646 _ACEOF
23647 if ac_fn_cxx_try_compile "$LINENO"; then :
23648 glibcxx_cv_func__expf_use=yes
23649 else
23650 glibcxx_cv_func__expf_use=no
23652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23653 ac_ext=c
23654 ac_cpp='$CPP $CPPFLAGS'
23655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23664 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23666 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23667 for ac_func in _expf
23668 do :
23669 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23670 if test "x$ac_cv_func__expf" = xyes; then :
23671 cat >>confdefs.h <<_ACEOF
23672 #define HAVE__EXPF 1
23673 _ACEOF
23676 done
23685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23686 $as_echo_n "checking for isnanf declaration... " >&6; }
23687 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23688 if ${glibcxx_cv_func_isnanf_use+:} false; then :
23689 $as_echo_n "(cached) " >&6
23690 else
23693 ac_ext=cpp
23694 ac_cpp='$CXXCPP $CPPFLAGS'
23695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23700 /* end confdefs.h. */
23701 #include <math.h>
23702 #ifdef HAVE_IEEEFP_H
23703 #include <ieeefp.h>
23704 #endif
23707 main ()
23709 isnanf(0);
23711 return 0;
23713 _ACEOF
23714 if ac_fn_cxx_try_compile "$LINENO"; then :
23715 glibcxx_cv_func_isnanf_use=yes
23716 else
23717 glibcxx_cv_func_isnanf_use=no
23719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23720 ac_ext=c
23721 ac_cpp='$CPP $CPPFLAGS'
23722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23731 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23733 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23734 for ac_func in isnanf
23735 do :
23736 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23737 if test "x$ac_cv_func_isnanf" = xyes; then :
23738 cat >>confdefs.h <<_ACEOF
23739 #define HAVE_ISNANF 1
23740 _ACEOF
23743 done
23745 else
23747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23748 $as_echo_n "checking for _isnanf declaration... " >&6; }
23749 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23750 if ${glibcxx_cv_func__isnanf_use+:} false; then :
23751 $as_echo_n "(cached) " >&6
23752 else
23755 ac_ext=cpp
23756 ac_cpp='$CXXCPP $CPPFLAGS'
23757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23762 /* end confdefs.h. */
23763 #include <math.h>
23764 #ifdef HAVE_IEEEFP_H
23765 #include <ieeefp.h>
23766 #endif
23769 main ()
23771 _isnanf(0);
23773 return 0;
23775 _ACEOF
23776 if ac_fn_cxx_try_compile "$LINENO"; then :
23777 glibcxx_cv_func__isnanf_use=yes
23778 else
23779 glibcxx_cv_func__isnanf_use=no
23781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23782 ac_ext=c
23783 ac_cpp='$CPP $CPPFLAGS'
23784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23793 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23795 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23796 for ac_func in _isnanf
23797 do :
23798 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23799 if test "x$ac_cv_func__isnanf" = xyes; then :
23800 cat >>confdefs.h <<_ACEOF
23801 #define HAVE__ISNANF 1
23802 _ACEOF
23805 done
23814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23815 $as_echo_n "checking for isinff declaration... " >&6; }
23816 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23817 if ${glibcxx_cv_func_isinff_use+:} false; then :
23818 $as_echo_n "(cached) " >&6
23819 else
23822 ac_ext=cpp
23823 ac_cpp='$CXXCPP $CPPFLAGS'
23824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23829 /* end confdefs.h. */
23830 #include <math.h>
23831 #ifdef HAVE_IEEEFP_H
23832 #include <ieeefp.h>
23833 #endif
23836 main ()
23838 isinff(0);
23840 return 0;
23842 _ACEOF
23843 if ac_fn_cxx_try_compile "$LINENO"; then :
23844 glibcxx_cv_func_isinff_use=yes
23845 else
23846 glibcxx_cv_func_isinff_use=no
23848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23849 ac_ext=c
23850 ac_cpp='$CPP $CPPFLAGS'
23851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23860 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23862 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23863 for ac_func in isinff
23864 do :
23865 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23866 if test "x$ac_cv_func_isinff" = xyes; then :
23867 cat >>confdefs.h <<_ACEOF
23868 #define HAVE_ISINFF 1
23869 _ACEOF
23872 done
23874 else
23876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23877 $as_echo_n "checking for _isinff declaration... " >&6; }
23878 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23879 if ${glibcxx_cv_func__isinff_use+:} false; then :
23880 $as_echo_n "(cached) " >&6
23881 else
23884 ac_ext=cpp
23885 ac_cpp='$CXXCPP $CPPFLAGS'
23886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23891 /* end confdefs.h. */
23892 #include <math.h>
23893 #ifdef HAVE_IEEEFP_H
23894 #include <ieeefp.h>
23895 #endif
23898 main ()
23900 _isinff(0);
23902 return 0;
23904 _ACEOF
23905 if ac_fn_cxx_try_compile "$LINENO"; then :
23906 glibcxx_cv_func__isinff_use=yes
23907 else
23908 glibcxx_cv_func__isinff_use=no
23910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23911 ac_ext=c
23912 ac_cpp='$CPP $CPPFLAGS'
23913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23922 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23924 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23925 for ac_func in _isinff
23926 do :
23927 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23928 if test "x$ac_cv_func__isinff" = xyes; then :
23929 cat >>confdefs.h <<_ACEOF
23930 #define HAVE__ISINFF 1
23931 _ACEOF
23934 done
23943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23944 $as_echo_n "checking for atan2f declaration... " >&6; }
23945 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23946 if ${glibcxx_cv_func_atan2f_use+:} false; then :
23947 $as_echo_n "(cached) " >&6
23948 else
23951 ac_ext=cpp
23952 ac_cpp='$CXXCPP $CPPFLAGS'
23953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23958 /* end confdefs.h. */
23959 #include <math.h>
23961 main ()
23963 atan2f(0, 0);
23965 return 0;
23967 _ACEOF
23968 if ac_fn_cxx_try_compile "$LINENO"; then :
23969 glibcxx_cv_func_atan2f_use=yes
23970 else
23971 glibcxx_cv_func_atan2f_use=no
23973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23974 ac_ext=c
23975 ac_cpp='$CPP $CPPFLAGS'
23976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23985 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23987 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23988 for ac_func in atan2f
23989 do :
23990 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23991 if test "x$ac_cv_func_atan2f" = xyes; then :
23992 cat >>confdefs.h <<_ACEOF
23993 #define HAVE_ATAN2F 1
23994 _ACEOF
23997 done
23999 else
24001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
24002 $as_echo_n "checking for _atan2f declaration... " >&6; }
24003 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
24004 if ${glibcxx_cv_func__atan2f_use+:} false; then :
24005 $as_echo_n "(cached) " >&6
24006 else
24009 ac_ext=cpp
24010 ac_cpp='$CXXCPP $CPPFLAGS'
24011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24016 /* end confdefs.h. */
24017 #include <math.h>
24019 main ()
24021 _atan2f(0, 0);
24023 return 0;
24025 _ACEOF
24026 if ac_fn_cxx_try_compile "$LINENO"; then :
24027 glibcxx_cv_func__atan2f_use=yes
24028 else
24029 glibcxx_cv_func__atan2f_use=no
24031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24032 ac_ext=c
24033 ac_cpp='$CPP $CPPFLAGS'
24034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
24043 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
24045 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
24046 for ac_func in _atan2f
24047 do :
24048 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
24049 if test "x$ac_cv_func__atan2f" = xyes; then :
24050 cat >>confdefs.h <<_ACEOF
24051 #define HAVE__ATAN2F 1
24052 _ACEOF
24055 done
24064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
24065 $as_echo_n "checking for fabsf declaration... " >&6; }
24066 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24067 if ${glibcxx_cv_func_fabsf_use+:} false; then :
24068 $as_echo_n "(cached) " >&6
24069 else
24072 ac_ext=cpp
24073 ac_cpp='$CXXCPP $CPPFLAGS'
24074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24079 /* end confdefs.h. */
24080 #include <math.h>
24081 #ifdef HAVE_IEEEFP_H
24082 #include <ieeefp.h>
24083 #endif
24086 main ()
24088 fabsf(0);
24090 return 0;
24092 _ACEOF
24093 if ac_fn_cxx_try_compile "$LINENO"; then :
24094 glibcxx_cv_func_fabsf_use=yes
24095 else
24096 glibcxx_cv_func_fabsf_use=no
24098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24099 ac_ext=c
24100 ac_cpp='$CPP $CPPFLAGS'
24101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24110 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24112 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24113 for ac_func in fabsf
24114 do :
24115 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24116 if test "x$ac_cv_func_fabsf" = xyes; then :
24117 cat >>confdefs.h <<_ACEOF
24118 #define HAVE_FABSF 1
24119 _ACEOF
24122 done
24124 else
24126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24127 $as_echo_n "checking for _fabsf declaration... " >&6; }
24128 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24129 if ${glibcxx_cv_func__fabsf_use+:} false; then :
24130 $as_echo_n "(cached) " >&6
24131 else
24134 ac_ext=cpp
24135 ac_cpp='$CXXCPP $CPPFLAGS'
24136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24141 /* end confdefs.h. */
24142 #include <math.h>
24143 #ifdef HAVE_IEEEFP_H
24144 #include <ieeefp.h>
24145 #endif
24148 main ()
24150 _fabsf(0);
24152 return 0;
24154 _ACEOF
24155 if ac_fn_cxx_try_compile "$LINENO"; then :
24156 glibcxx_cv_func__fabsf_use=yes
24157 else
24158 glibcxx_cv_func__fabsf_use=no
24160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24161 ac_ext=c
24162 ac_cpp='$CPP $CPPFLAGS'
24163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24172 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24174 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24175 for ac_func in _fabsf
24176 do :
24177 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24178 if test "x$ac_cv_func__fabsf" = xyes; then :
24179 cat >>confdefs.h <<_ACEOF
24180 #define HAVE__FABSF 1
24181 _ACEOF
24184 done
24193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24194 $as_echo_n "checking for fmodf declaration... " >&6; }
24195 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24196 if ${glibcxx_cv_func_fmodf_use+:} false; then :
24197 $as_echo_n "(cached) " >&6
24198 else
24201 ac_ext=cpp
24202 ac_cpp='$CXXCPP $CPPFLAGS'
24203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24208 /* end confdefs.h. */
24209 #include <math.h>
24211 main ()
24213 fmodf(0, 0);
24215 return 0;
24217 _ACEOF
24218 if ac_fn_cxx_try_compile "$LINENO"; then :
24219 glibcxx_cv_func_fmodf_use=yes
24220 else
24221 glibcxx_cv_func_fmodf_use=no
24223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24224 ac_ext=c
24225 ac_cpp='$CPP $CPPFLAGS'
24226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24235 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24237 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24238 for ac_func in fmodf
24239 do :
24240 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24241 if test "x$ac_cv_func_fmodf" = xyes; then :
24242 cat >>confdefs.h <<_ACEOF
24243 #define HAVE_FMODF 1
24244 _ACEOF
24247 done
24249 else
24251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24252 $as_echo_n "checking for _fmodf declaration... " >&6; }
24253 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24254 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24255 $as_echo_n "(cached) " >&6
24256 else
24259 ac_ext=cpp
24260 ac_cpp='$CXXCPP $CPPFLAGS'
24261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24266 /* end confdefs.h. */
24267 #include <math.h>
24269 main ()
24271 _fmodf(0, 0);
24273 return 0;
24275 _ACEOF
24276 if ac_fn_cxx_try_compile "$LINENO"; then :
24277 glibcxx_cv_func__fmodf_use=yes
24278 else
24279 glibcxx_cv_func__fmodf_use=no
24281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24282 ac_ext=c
24283 ac_cpp='$CPP $CPPFLAGS'
24284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24293 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24295 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24296 for ac_func in _fmodf
24297 do :
24298 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24299 if test "x$ac_cv_func__fmodf" = xyes; then :
24300 cat >>confdefs.h <<_ACEOF
24301 #define HAVE__FMODF 1
24302 _ACEOF
24305 done
24314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24315 $as_echo_n "checking for frexpf declaration... " >&6; }
24316 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24317 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24318 $as_echo_n "(cached) " >&6
24319 else
24322 ac_ext=cpp
24323 ac_cpp='$CXXCPP $CPPFLAGS'
24324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24329 /* end confdefs.h. */
24330 #include <math.h>
24332 main ()
24334 frexpf(0, 0);
24336 return 0;
24338 _ACEOF
24339 if ac_fn_cxx_try_compile "$LINENO"; then :
24340 glibcxx_cv_func_frexpf_use=yes
24341 else
24342 glibcxx_cv_func_frexpf_use=no
24344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24345 ac_ext=c
24346 ac_cpp='$CPP $CPPFLAGS'
24347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24356 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24358 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24359 for ac_func in frexpf
24360 do :
24361 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24362 if test "x$ac_cv_func_frexpf" = xyes; then :
24363 cat >>confdefs.h <<_ACEOF
24364 #define HAVE_FREXPF 1
24365 _ACEOF
24368 done
24370 else
24372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24373 $as_echo_n "checking for _frexpf declaration... " >&6; }
24374 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24375 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24376 $as_echo_n "(cached) " >&6
24377 else
24380 ac_ext=cpp
24381 ac_cpp='$CXXCPP $CPPFLAGS'
24382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24387 /* end confdefs.h. */
24388 #include <math.h>
24390 main ()
24392 _frexpf(0, 0);
24394 return 0;
24396 _ACEOF
24397 if ac_fn_cxx_try_compile "$LINENO"; then :
24398 glibcxx_cv_func__frexpf_use=yes
24399 else
24400 glibcxx_cv_func__frexpf_use=no
24402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24403 ac_ext=c
24404 ac_cpp='$CPP $CPPFLAGS'
24405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24414 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24416 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24417 for ac_func in _frexpf
24418 do :
24419 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24420 if test "x$ac_cv_func__frexpf" = xyes; then :
24421 cat >>confdefs.h <<_ACEOF
24422 #define HAVE__FREXPF 1
24423 _ACEOF
24426 done
24435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24436 $as_echo_n "checking for hypotf declaration... " >&6; }
24437 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24438 if ${glibcxx_cv_func_hypotf_use+:} false; then :
24439 $as_echo_n "(cached) " >&6
24440 else
24443 ac_ext=cpp
24444 ac_cpp='$CXXCPP $CPPFLAGS'
24445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24450 /* end confdefs.h. */
24451 #include <math.h>
24453 main ()
24455 hypotf(0, 0);
24457 return 0;
24459 _ACEOF
24460 if ac_fn_cxx_try_compile "$LINENO"; then :
24461 glibcxx_cv_func_hypotf_use=yes
24462 else
24463 glibcxx_cv_func_hypotf_use=no
24465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24466 ac_ext=c
24467 ac_cpp='$CPP $CPPFLAGS'
24468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24477 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24479 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24480 for ac_func in hypotf
24481 do :
24482 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24483 if test "x$ac_cv_func_hypotf" = xyes; then :
24484 cat >>confdefs.h <<_ACEOF
24485 #define HAVE_HYPOTF 1
24486 _ACEOF
24489 done
24491 else
24493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24494 $as_echo_n "checking for _hypotf declaration... " >&6; }
24495 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24496 if ${glibcxx_cv_func__hypotf_use+:} false; then :
24497 $as_echo_n "(cached) " >&6
24498 else
24501 ac_ext=cpp
24502 ac_cpp='$CXXCPP $CPPFLAGS'
24503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24508 /* end confdefs.h. */
24509 #include <math.h>
24511 main ()
24513 _hypotf(0, 0);
24515 return 0;
24517 _ACEOF
24518 if ac_fn_cxx_try_compile "$LINENO"; then :
24519 glibcxx_cv_func__hypotf_use=yes
24520 else
24521 glibcxx_cv_func__hypotf_use=no
24523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24524 ac_ext=c
24525 ac_cpp='$CPP $CPPFLAGS'
24526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24535 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24537 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24538 for ac_func in _hypotf
24539 do :
24540 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24541 if test "x$ac_cv_func__hypotf" = xyes; then :
24542 cat >>confdefs.h <<_ACEOF
24543 #define HAVE__HYPOTF 1
24544 _ACEOF
24547 done
24556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24557 $as_echo_n "checking for ldexpf declaration... " >&6; }
24558 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24559 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
24560 $as_echo_n "(cached) " >&6
24561 else
24564 ac_ext=cpp
24565 ac_cpp='$CXXCPP $CPPFLAGS'
24566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24571 /* end confdefs.h. */
24572 #include <math.h>
24574 main ()
24576 ldexpf(0, 0);
24578 return 0;
24580 _ACEOF
24581 if ac_fn_cxx_try_compile "$LINENO"; then :
24582 glibcxx_cv_func_ldexpf_use=yes
24583 else
24584 glibcxx_cv_func_ldexpf_use=no
24586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24587 ac_ext=c
24588 ac_cpp='$CPP $CPPFLAGS'
24589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24598 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24600 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24601 for ac_func in ldexpf
24602 do :
24603 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24604 if test "x$ac_cv_func_ldexpf" = xyes; then :
24605 cat >>confdefs.h <<_ACEOF
24606 #define HAVE_LDEXPF 1
24607 _ACEOF
24610 done
24612 else
24614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24615 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24616 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24617 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
24618 $as_echo_n "(cached) " >&6
24619 else
24622 ac_ext=cpp
24623 ac_cpp='$CXXCPP $CPPFLAGS'
24624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24629 /* end confdefs.h. */
24630 #include <math.h>
24632 main ()
24634 _ldexpf(0, 0);
24636 return 0;
24638 _ACEOF
24639 if ac_fn_cxx_try_compile "$LINENO"; then :
24640 glibcxx_cv_func__ldexpf_use=yes
24641 else
24642 glibcxx_cv_func__ldexpf_use=no
24644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24645 ac_ext=c
24646 ac_cpp='$CPP $CPPFLAGS'
24647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24656 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24658 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24659 for ac_func in _ldexpf
24660 do :
24661 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24662 if test "x$ac_cv_func__ldexpf" = xyes; then :
24663 cat >>confdefs.h <<_ACEOF
24664 #define HAVE__LDEXPF 1
24665 _ACEOF
24668 done
24677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24678 $as_echo_n "checking for logf declaration... " >&6; }
24679 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24680 if ${glibcxx_cv_func_logf_use+:} false; then :
24681 $as_echo_n "(cached) " >&6
24682 else
24685 ac_ext=cpp
24686 ac_cpp='$CXXCPP $CPPFLAGS'
24687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24692 /* end confdefs.h. */
24693 #include <math.h>
24694 #ifdef HAVE_IEEEFP_H
24695 #include <ieeefp.h>
24696 #endif
24699 main ()
24701 logf(0);
24703 return 0;
24705 _ACEOF
24706 if ac_fn_cxx_try_compile "$LINENO"; then :
24707 glibcxx_cv_func_logf_use=yes
24708 else
24709 glibcxx_cv_func_logf_use=no
24711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24712 ac_ext=c
24713 ac_cpp='$CPP $CPPFLAGS'
24714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24723 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24725 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24726 for ac_func in logf
24727 do :
24728 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24729 if test "x$ac_cv_func_logf" = xyes; then :
24730 cat >>confdefs.h <<_ACEOF
24731 #define HAVE_LOGF 1
24732 _ACEOF
24735 done
24737 else
24739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24740 $as_echo_n "checking for _logf declaration... " >&6; }
24741 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24742 if ${glibcxx_cv_func__logf_use+:} false; then :
24743 $as_echo_n "(cached) " >&6
24744 else
24747 ac_ext=cpp
24748 ac_cpp='$CXXCPP $CPPFLAGS'
24749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24754 /* end confdefs.h. */
24755 #include <math.h>
24756 #ifdef HAVE_IEEEFP_H
24757 #include <ieeefp.h>
24758 #endif
24761 main ()
24763 _logf(0);
24765 return 0;
24767 _ACEOF
24768 if ac_fn_cxx_try_compile "$LINENO"; then :
24769 glibcxx_cv_func__logf_use=yes
24770 else
24771 glibcxx_cv_func__logf_use=no
24773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24774 ac_ext=c
24775 ac_cpp='$CPP $CPPFLAGS'
24776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24785 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24787 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24788 for ac_func in _logf
24789 do :
24790 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24791 if test "x$ac_cv_func__logf" = xyes; then :
24792 cat >>confdefs.h <<_ACEOF
24793 #define HAVE__LOGF 1
24794 _ACEOF
24797 done
24806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24807 $as_echo_n "checking for log10f declaration... " >&6; }
24808 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24809 if ${glibcxx_cv_func_log10f_use+:} false; then :
24810 $as_echo_n "(cached) " >&6
24811 else
24814 ac_ext=cpp
24815 ac_cpp='$CXXCPP $CPPFLAGS'
24816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24821 /* end confdefs.h. */
24822 #include <math.h>
24823 #ifdef HAVE_IEEEFP_H
24824 #include <ieeefp.h>
24825 #endif
24828 main ()
24830 log10f(0);
24832 return 0;
24834 _ACEOF
24835 if ac_fn_cxx_try_compile "$LINENO"; then :
24836 glibcxx_cv_func_log10f_use=yes
24837 else
24838 glibcxx_cv_func_log10f_use=no
24840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24841 ac_ext=c
24842 ac_cpp='$CPP $CPPFLAGS'
24843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24852 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24854 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24855 for ac_func in log10f
24856 do :
24857 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24858 if test "x$ac_cv_func_log10f" = xyes; then :
24859 cat >>confdefs.h <<_ACEOF
24860 #define HAVE_LOG10F 1
24861 _ACEOF
24864 done
24866 else
24868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24869 $as_echo_n "checking for _log10f declaration... " >&6; }
24870 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24871 if ${glibcxx_cv_func__log10f_use+:} false; then :
24872 $as_echo_n "(cached) " >&6
24873 else
24876 ac_ext=cpp
24877 ac_cpp='$CXXCPP $CPPFLAGS'
24878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24883 /* end confdefs.h. */
24884 #include <math.h>
24885 #ifdef HAVE_IEEEFP_H
24886 #include <ieeefp.h>
24887 #endif
24890 main ()
24892 _log10f(0);
24894 return 0;
24896 _ACEOF
24897 if ac_fn_cxx_try_compile "$LINENO"; then :
24898 glibcxx_cv_func__log10f_use=yes
24899 else
24900 glibcxx_cv_func__log10f_use=no
24902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24903 ac_ext=c
24904 ac_cpp='$CPP $CPPFLAGS'
24905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24914 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24916 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24917 for ac_func in _log10f
24918 do :
24919 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24920 if test "x$ac_cv_func__log10f" = xyes; then :
24921 cat >>confdefs.h <<_ACEOF
24922 #define HAVE__LOG10F 1
24923 _ACEOF
24926 done
24935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24936 $as_echo_n "checking for modff declaration... " >&6; }
24937 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24938 if ${glibcxx_cv_func_modff_use+:} false; then :
24939 $as_echo_n "(cached) " >&6
24940 else
24943 ac_ext=cpp
24944 ac_cpp='$CXXCPP $CPPFLAGS'
24945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24950 /* end confdefs.h. */
24951 #include <math.h>
24953 main ()
24955 modff(0, 0);
24957 return 0;
24959 _ACEOF
24960 if ac_fn_cxx_try_compile "$LINENO"; then :
24961 glibcxx_cv_func_modff_use=yes
24962 else
24963 glibcxx_cv_func_modff_use=no
24965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24966 ac_ext=c
24967 ac_cpp='$CPP $CPPFLAGS'
24968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24977 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24979 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24980 for ac_func in modff
24981 do :
24982 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24983 if test "x$ac_cv_func_modff" = xyes; then :
24984 cat >>confdefs.h <<_ACEOF
24985 #define HAVE_MODFF 1
24986 _ACEOF
24989 done
24991 else
24993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24994 $as_echo_n "checking for _modff declaration... " >&6; }
24995 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24996 if ${glibcxx_cv_func__modff_use+:} false; then :
24997 $as_echo_n "(cached) " >&6
24998 else
25001 ac_ext=cpp
25002 ac_cpp='$CXXCPP $CPPFLAGS'
25003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25008 /* end confdefs.h. */
25009 #include <math.h>
25011 main ()
25013 _modff(0, 0);
25015 return 0;
25017 _ACEOF
25018 if ac_fn_cxx_try_compile "$LINENO"; then :
25019 glibcxx_cv_func__modff_use=yes
25020 else
25021 glibcxx_cv_func__modff_use=no
25023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25024 ac_ext=c
25025 ac_cpp='$CPP $CPPFLAGS'
25026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
25035 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
25037 if test x$glibcxx_cv_func__modff_use = x"yes"; then
25038 for ac_func in _modff
25039 do :
25040 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
25041 if test "x$ac_cv_func__modff" = xyes; then :
25042 cat >>confdefs.h <<_ACEOF
25043 #define HAVE__MODFF 1
25044 _ACEOF
25047 done
25056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
25057 $as_echo_n "checking for modf declaration... " >&6; }
25058 if test x${glibcxx_cv_func_modf_use+set} != xset; then
25059 if ${glibcxx_cv_func_modf_use+:} false; then :
25060 $as_echo_n "(cached) " >&6
25061 else
25064 ac_ext=cpp
25065 ac_cpp='$CXXCPP $CPPFLAGS'
25066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25071 /* end confdefs.h. */
25072 #include <math.h>
25074 main ()
25076 modf(0, 0);
25078 return 0;
25080 _ACEOF
25081 if ac_fn_cxx_try_compile "$LINENO"; then :
25082 glibcxx_cv_func_modf_use=yes
25083 else
25084 glibcxx_cv_func_modf_use=no
25086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25087 ac_ext=c
25088 ac_cpp='$CPP $CPPFLAGS'
25089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25098 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
25100 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25101 for ac_func in modf
25102 do :
25103 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25104 if test "x$ac_cv_func_modf" = xyes; then :
25105 cat >>confdefs.h <<_ACEOF
25106 #define HAVE_MODF 1
25107 _ACEOF
25110 done
25112 else
25114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25115 $as_echo_n "checking for _modf declaration... " >&6; }
25116 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25117 if ${glibcxx_cv_func__modf_use+:} false; then :
25118 $as_echo_n "(cached) " >&6
25119 else
25122 ac_ext=cpp
25123 ac_cpp='$CXXCPP $CPPFLAGS'
25124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25129 /* end confdefs.h. */
25130 #include <math.h>
25132 main ()
25134 _modf(0, 0);
25136 return 0;
25138 _ACEOF
25139 if ac_fn_cxx_try_compile "$LINENO"; then :
25140 glibcxx_cv_func__modf_use=yes
25141 else
25142 glibcxx_cv_func__modf_use=no
25144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25145 ac_ext=c
25146 ac_cpp='$CPP $CPPFLAGS'
25147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25156 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
25158 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25159 for ac_func in _modf
25160 do :
25161 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25162 if test "x$ac_cv_func__modf" = xyes; then :
25163 cat >>confdefs.h <<_ACEOF
25164 #define HAVE__MODF 1
25165 _ACEOF
25168 done
25177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25178 $as_echo_n "checking for powf declaration... " >&6; }
25179 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25180 if ${glibcxx_cv_func_powf_use+:} false; then :
25181 $as_echo_n "(cached) " >&6
25182 else
25185 ac_ext=cpp
25186 ac_cpp='$CXXCPP $CPPFLAGS'
25187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25192 /* end confdefs.h. */
25193 #include <math.h>
25195 main ()
25197 powf(0, 0);
25199 return 0;
25201 _ACEOF
25202 if ac_fn_cxx_try_compile "$LINENO"; then :
25203 glibcxx_cv_func_powf_use=yes
25204 else
25205 glibcxx_cv_func_powf_use=no
25207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25208 ac_ext=c
25209 ac_cpp='$CPP $CPPFLAGS'
25210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25219 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25221 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25222 for ac_func in powf
25223 do :
25224 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25225 if test "x$ac_cv_func_powf" = xyes; then :
25226 cat >>confdefs.h <<_ACEOF
25227 #define HAVE_POWF 1
25228 _ACEOF
25231 done
25233 else
25235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25236 $as_echo_n "checking for _powf declaration... " >&6; }
25237 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25238 if ${glibcxx_cv_func__powf_use+:} false; then :
25239 $as_echo_n "(cached) " >&6
25240 else
25243 ac_ext=cpp
25244 ac_cpp='$CXXCPP $CPPFLAGS'
25245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25250 /* end confdefs.h. */
25251 #include <math.h>
25253 main ()
25255 _powf(0, 0);
25257 return 0;
25259 _ACEOF
25260 if ac_fn_cxx_try_compile "$LINENO"; then :
25261 glibcxx_cv_func__powf_use=yes
25262 else
25263 glibcxx_cv_func__powf_use=no
25265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25266 ac_ext=c
25267 ac_cpp='$CPP $CPPFLAGS'
25268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25277 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25279 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25280 for ac_func in _powf
25281 do :
25282 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25283 if test "x$ac_cv_func__powf" = xyes; then :
25284 cat >>confdefs.h <<_ACEOF
25285 #define HAVE__POWF 1
25286 _ACEOF
25289 done
25298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25299 $as_echo_n "checking for sqrtf declaration... " >&6; }
25300 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25301 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25302 $as_echo_n "(cached) " >&6
25303 else
25306 ac_ext=cpp
25307 ac_cpp='$CXXCPP $CPPFLAGS'
25308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25313 /* end confdefs.h. */
25314 #include <math.h>
25315 #ifdef HAVE_IEEEFP_H
25316 #include <ieeefp.h>
25317 #endif
25320 main ()
25322 sqrtf(0);
25324 return 0;
25326 _ACEOF
25327 if ac_fn_cxx_try_compile "$LINENO"; then :
25328 glibcxx_cv_func_sqrtf_use=yes
25329 else
25330 glibcxx_cv_func_sqrtf_use=no
25332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25333 ac_ext=c
25334 ac_cpp='$CPP $CPPFLAGS'
25335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25344 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25346 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25347 for ac_func in sqrtf
25348 do :
25349 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25350 if test "x$ac_cv_func_sqrtf" = xyes; then :
25351 cat >>confdefs.h <<_ACEOF
25352 #define HAVE_SQRTF 1
25353 _ACEOF
25356 done
25358 else
25360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25361 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25362 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25363 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25364 $as_echo_n "(cached) " >&6
25365 else
25368 ac_ext=cpp
25369 ac_cpp='$CXXCPP $CPPFLAGS'
25370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25375 /* end confdefs.h. */
25376 #include <math.h>
25377 #ifdef HAVE_IEEEFP_H
25378 #include <ieeefp.h>
25379 #endif
25382 main ()
25384 _sqrtf(0);
25386 return 0;
25388 _ACEOF
25389 if ac_fn_cxx_try_compile "$LINENO"; then :
25390 glibcxx_cv_func__sqrtf_use=yes
25391 else
25392 glibcxx_cv_func__sqrtf_use=no
25394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25395 ac_ext=c
25396 ac_cpp='$CPP $CPPFLAGS'
25397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25406 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25408 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25409 for ac_func in _sqrtf
25410 do :
25411 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25412 if test "x$ac_cv_func__sqrtf" = xyes; then :
25413 cat >>confdefs.h <<_ACEOF
25414 #define HAVE__SQRTF 1
25415 _ACEOF
25418 done
25427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25428 $as_echo_n "checking for sincosf declaration... " >&6; }
25429 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25430 if ${glibcxx_cv_func_sincosf_use+:} false; then :
25431 $as_echo_n "(cached) " >&6
25432 else
25435 ac_ext=cpp
25436 ac_cpp='$CXXCPP $CPPFLAGS'
25437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25442 /* end confdefs.h. */
25443 #include <math.h>
25445 main ()
25447 sincosf(0, 0, 0);
25449 return 0;
25451 _ACEOF
25452 if ac_fn_cxx_try_compile "$LINENO"; then :
25453 glibcxx_cv_func_sincosf_use=yes
25454 else
25455 glibcxx_cv_func_sincosf_use=no
25457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25458 ac_ext=c
25459 ac_cpp='$CPP $CPPFLAGS'
25460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25469 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25471 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25472 for ac_func in sincosf
25473 do :
25474 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25475 if test "x$ac_cv_func_sincosf" = xyes; then :
25476 cat >>confdefs.h <<_ACEOF
25477 #define HAVE_SINCOSF 1
25478 _ACEOF
25481 done
25483 else
25485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25486 $as_echo_n "checking for _sincosf declaration... " >&6; }
25487 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25488 if ${glibcxx_cv_func__sincosf_use+:} false; then :
25489 $as_echo_n "(cached) " >&6
25490 else
25493 ac_ext=cpp
25494 ac_cpp='$CXXCPP $CPPFLAGS'
25495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25500 /* end confdefs.h. */
25501 #include <math.h>
25503 main ()
25505 _sincosf(0, 0, 0);
25507 return 0;
25509 _ACEOF
25510 if ac_fn_cxx_try_compile "$LINENO"; then :
25511 glibcxx_cv_func__sincosf_use=yes
25512 else
25513 glibcxx_cv_func__sincosf_use=no
25515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25516 ac_ext=c
25517 ac_cpp='$CPP $CPPFLAGS'
25518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25527 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25529 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25530 for ac_func in _sincosf
25531 do :
25532 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25533 if test "x$ac_cv_func__sincosf" = xyes; then :
25534 cat >>confdefs.h <<_ACEOF
25535 #define HAVE__SINCOSF 1
25536 _ACEOF
25539 done
25548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25549 $as_echo_n "checking for finitef declaration... " >&6; }
25550 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25551 if ${glibcxx_cv_func_finitef_use+:} false; then :
25552 $as_echo_n "(cached) " >&6
25553 else
25556 ac_ext=cpp
25557 ac_cpp='$CXXCPP $CPPFLAGS'
25558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25563 /* end confdefs.h. */
25564 #include <math.h>
25565 #ifdef HAVE_IEEEFP_H
25566 #include <ieeefp.h>
25567 #endif
25570 main ()
25572 finitef(0);
25574 return 0;
25576 _ACEOF
25577 if ac_fn_cxx_try_compile "$LINENO"; then :
25578 glibcxx_cv_func_finitef_use=yes
25579 else
25580 glibcxx_cv_func_finitef_use=no
25582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25583 ac_ext=c
25584 ac_cpp='$CPP $CPPFLAGS'
25585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25594 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25596 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25597 for ac_func in finitef
25598 do :
25599 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25600 if test "x$ac_cv_func_finitef" = xyes; then :
25601 cat >>confdefs.h <<_ACEOF
25602 #define HAVE_FINITEF 1
25603 _ACEOF
25606 done
25608 else
25610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25611 $as_echo_n "checking for _finitef declaration... " >&6; }
25612 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25613 if ${glibcxx_cv_func__finitef_use+:} false; then :
25614 $as_echo_n "(cached) " >&6
25615 else
25618 ac_ext=cpp
25619 ac_cpp='$CXXCPP $CPPFLAGS'
25620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25625 /* end confdefs.h. */
25626 #include <math.h>
25627 #ifdef HAVE_IEEEFP_H
25628 #include <ieeefp.h>
25629 #endif
25632 main ()
25634 _finitef(0);
25636 return 0;
25638 _ACEOF
25639 if ac_fn_cxx_try_compile "$LINENO"; then :
25640 glibcxx_cv_func__finitef_use=yes
25641 else
25642 glibcxx_cv_func__finitef_use=no
25644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25645 ac_ext=c
25646 ac_cpp='$CPP $CPPFLAGS'
25647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25656 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25658 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25659 for ac_func in _finitef
25660 do :
25661 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25662 if test "x$ac_cv_func__finitef" = xyes; then :
25663 cat >>confdefs.h <<_ACEOF
25664 #define HAVE__FINITEF 1
25665 _ACEOF
25668 done
25677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25678 $as_echo_n "checking for long double trig functions... " >&6; }
25679 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
25680 $as_echo_n "(cached) " >&6
25681 else
25684 ac_ext=cpp
25685 ac_cpp='$CXXCPP $CPPFLAGS'
25686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25691 /* end confdefs.h. */
25692 #include <math.h>
25694 main ()
25696 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25698 return 0;
25700 _ACEOF
25701 if ac_fn_cxx_try_compile "$LINENO"; then :
25702 glibcxx_cv_func_long_double_trig_use=yes
25703 else
25704 glibcxx_cv_func_long_double_trig_use=no
25706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25707 ac_ext=c
25708 ac_cpp='$CPP $CPPFLAGS'
25709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25716 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25717 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25718 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25719 do :
25720 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25721 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25722 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25723 cat >>confdefs.h <<_ACEOF
25724 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25725 _ACEOF
25728 done
25730 else
25731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25732 $as_echo_n "checking for _long double trig functions... " >&6; }
25733 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
25734 $as_echo_n "(cached) " >&6
25735 else
25738 ac_ext=cpp
25739 ac_cpp='$CXXCPP $CPPFLAGS'
25740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25745 /* end confdefs.h. */
25746 #include <math.h>
25748 main ()
25750 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25752 return 0;
25754 _ACEOF
25755 if ac_fn_cxx_try_compile "$LINENO"; then :
25756 glibcxx_cv_func__long_double_trig_use=yes
25757 else
25758 glibcxx_cv_func__long_double_trig_use=no
25760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25761 ac_ext=c
25762 ac_cpp='$CPP $CPPFLAGS'
25763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25770 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25771 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25772 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25773 do :
25774 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25775 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25776 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25777 cat >>confdefs.h <<_ACEOF
25778 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25779 _ACEOF
25782 done
25791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25792 $as_echo_n "checking for long double round functions... " >&6; }
25793 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
25794 $as_echo_n "(cached) " >&6
25795 else
25798 ac_ext=cpp
25799 ac_cpp='$CXXCPP $CPPFLAGS'
25800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25805 /* end confdefs.h. */
25806 #include <math.h>
25808 main ()
25810 ceill (0); floorl (0);
25812 return 0;
25814 _ACEOF
25815 if ac_fn_cxx_try_compile "$LINENO"; then :
25816 glibcxx_cv_func_long_double_round_use=yes
25817 else
25818 glibcxx_cv_func_long_double_round_use=no
25820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25821 ac_ext=c
25822 ac_cpp='$CPP $CPPFLAGS'
25823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25830 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25831 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25832 for ac_func in ceill floorl
25833 do :
25834 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25835 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25836 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25837 cat >>confdefs.h <<_ACEOF
25838 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25839 _ACEOF
25842 done
25844 else
25845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25846 $as_echo_n "checking for _long double round functions... " >&6; }
25847 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
25848 $as_echo_n "(cached) " >&6
25849 else
25852 ac_ext=cpp
25853 ac_cpp='$CXXCPP $CPPFLAGS'
25854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25859 /* end confdefs.h. */
25860 #include <math.h>
25862 main ()
25864 _ceill (0); _floorl (0);
25866 return 0;
25868 _ACEOF
25869 if ac_fn_cxx_try_compile "$LINENO"; then :
25870 glibcxx_cv_func__long_double_round_use=yes
25871 else
25872 glibcxx_cv_func__long_double_round_use=no
25874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25875 ac_ext=c
25876 ac_cpp='$CPP $CPPFLAGS'
25877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25884 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25885 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25886 for ac_func in _ceill _floorl
25887 do :
25888 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25889 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25890 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25891 cat >>confdefs.h <<_ACEOF
25892 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25893 _ACEOF
25896 done
25906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25907 $as_echo_n "checking for isnanl declaration... " >&6; }
25908 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25909 if ${glibcxx_cv_func_isnanl_use+:} false; then :
25910 $as_echo_n "(cached) " >&6
25911 else
25914 ac_ext=cpp
25915 ac_cpp='$CXXCPP $CPPFLAGS'
25916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25921 /* end confdefs.h. */
25922 #include <math.h>
25923 #ifdef HAVE_IEEEFP_H
25924 #include <ieeefp.h>
25925 #endif
25928 main ()
25930 isnanl(0);
25932 return 0;
25934 _ACEOF
25935 if ac_fn_cxx_try_compile "$LINENO"; then :
25936 glibcxx_cv_func_isnanl_use=yes
25937 else
25938 glibcxx_cv_func_isnanl_use=no
25940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25941 ac_ext=c
25942 ac_cpp='$CPP $CPPFLAGS'
25943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25952 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25954 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25955 for ac_func in isnanl
25956 do :
25957 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25958 if test "x$ac_cv_func_isnanl" = xyes; then :
25959 cat >>confdefs.h <<_ACEOF
25960 #define HAVE_ISNANL 1
25961 _ACEOF
25964 done
25966 else
25968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25969 $as_echo_n "checking for _isnanl declaration... " >&6; }
25970 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25971 if ${glibcxx_cv_func__isnanl_use+:} false; then :
25972 $as_echo_n "(cached) " >&6
25973 else
25976 ac_ext=cpp
25977 ac_cpp='$CXXCPP $CPPFLAGS'
25978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25983 /* end confdefs.h. */
25984 #include <math.h>
25985 #ifdef HAVE_IEEEFP_H
25986 #include <ieeefp.h>
25987 #endif
25990 main ()
25992 _isnanl(0);
25994 return 0;
25996 _ACEOF
25997 if ac_fn_cxx_try_compile "$LINENO"; then :
25998 glibcxx_cv_func__isnanl_use=yes
25999 else
26000 glibcxx_cv_func__isnanl_use=no
26002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26003 ac_ext=c
26004 ac_cpp='$CPP $CPPFLAGS'
26005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
26014 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
26016 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
26017 for ac_func in _isnanl
26018 do :
26019 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
26020 if test "x$ac_cv_func__isnanl" = xyes; then :
26021 cat >>confdefs.h <<_ACEOF
26022 #define HAVE__ISNANL 1
26023 _ACEOF
26026 done
26035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
26036 $as_echo_n "checking for isinfl declaration... " >&6; }
26037 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
26038 if ${glibcxx_cv_func_isinfl_use+:} false; then :
26039 $as_echo_n "(cached) " >&6
26040 else
26043 ac_ext=cpp
26044 ac_cpp='$CXXCPP $CPPFLAGS'
26045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26050 /* end confdefs.h. */
26051 #include <math.h>
26052 #ifdef HAVE_IEEEFP_H
26053 #include <ieeefp.h>
26054 #endif
26057 main ()
26059 isinfl(0);
26061 return 0;
26063 _ACEOF
26064 if ac_fn_cxx_try_compile "$LINENO"; then :
26065 glibcxx_cv_func_isinfl_use=yes
26066 else
26067 glibcxx_cv_func_isinfl_use=no
26069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26070 ac_ext=c
26071 ac_cpp='$CPP $CPPFLAGS'
26072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
26081 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
26083 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
26084 for ac_func in isinfl
26085 do :
26086 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
26087 if test "x$ac_cv_func_isinfl" = xyes; then :
26088 cat >>confdefs.h <<_ACEOF
26089 #define HAVE_ISINFL 1
26090 _ACEOF
26093 done
26095 else
26097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26098 $as_echo_n "checking for _isinfl declaration... " >&6; }
26099 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26100 if ${glibcxx_cv_func__isinfl_use+:} false; then :
26101 $as_echo_n "(cached) " >&6
26102 else
26105 ac_ext=cpp
26106 ac_cpp='$CXXCPP $CPPFLAGS'
26107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26112 /* end confdefs.h. */
26113 #include <math.h>
26114 #ifdef HAVE_IEEEFP_H
26115 #include <ieeefp.h>
26116 #endif
26119 main ()
26121 _isinfl(0);
26123 return 0;
26125 _ACEOF
26126 if ac_fn_cxx_try_compile "$LINENO"; then :
26127 glibcxx_cv_func__isinfl_use=yes
26128 else
26129 glibcxx_cv_func__isinfl_use=no
26131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26132 ac_ext=c
26133 ac_cpp='$CPP $CPPFLAGS'
26134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26143 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26145 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26146 for ac_func in _isinfl
26147 do :
26148 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26149 if test "x$ac_cv_func__isinfl" = xyes; then :
26150 cat >>confdefs.h <<_ACEOF
26151 #define HAVE__ISINFL 1
26152 _ACEOF
26155 done
26164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26165 $as_echo_n "checking for atan2l declaration... " >&6; }
26166 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26167 if ${glibcxx_cv_func_atan2l_use+:} false; then :
26168 $as_echo_n "(cached) " >&6
26169 else
26172 ac_ext=cpp
26173 ac_cpp='$CXXCPP $CPPFLAGS'
26174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26179 /* end confdefs.h. */
26180 #include <math.h>
26182 main ()
26184 atan2l(0, 0);
26186 return 0;
26188 _ACEOF
26189 if ac_fn_cxx_try_compile "$LINENO"; then :
26190 glibcxx_cv_func_atan2l_use=yes
26191 else
26192 glibcxx_cv_func_atan2l_use=no
26194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26195 ac_ext=c
26196 ac_cpp='$CPP $CPPFLAGS'
26197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26206 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26208 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26209 for ac_func in atan2l
26210 do :
26211 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26212 if test "x$ac_cv_func_atan2l" = xyes; then :
26213 cat >>confdefs.h <<_ACEOF
26214 #define HAVE_ATAN2L 1
26215 _ACEOF
26218 done
26220 else
26222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26223 $as_echo_n "checking for _atan2l declaration... " >&6; }
26224 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26225 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26226 $as_echo_n "(cached) " >&6
26227 else
26230 ac_ext=cpp
26231 ac_cpp='$CXXCPP $CPPFLAGS'
26232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26237 /* end confdefs.h. */
26238 #include <math.h>
26240 main ()
26242 _atan2l(0, 0);
26244 return 0;
26246 _ACEOF
26247 if ac_fn_cxx_try_compile "$LINENO"; then :
26248 glibcxx_cv_func__atan2l_use=yes
26249 else
26250 glibcxx_cv_func__atan2l_use=no
26252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26253 ac_ext=c
26254 ac_cpp='$CPP $CPPFLAGS'
26255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26264 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26266 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26267 for ac_func in _atan2l
26268 do :
26269 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26270 if test "x$ac_cv_func__atan2l" = xyes; then :
26271 cat >>confdefs.h <<_ACEOF
26272 #define HAVE__ATAN2L 1
26273 _ACEOF
26276 done
26285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26286 $as_echo_n "checking for expl declaration... " >&6; }
26287 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26288 if ${glibcxx_cv_func_expl_use+:} false; then :
26289 $as_echo_n "(cached) " >&6
26290 else
26293 ac_ext=cpp
26294 ac_cpp='$CXXCPP $CPPFLAGS'
26295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26300 /* end confdefs.h. */
26301 #include <math.h>
26302 #ifdef HAVE_IEEEFP_H
26303 #include <ieeefp.h>
26304 #endif
26307 main ()
26309 expl(0);
26311 return 0;
26313 _ACEOF
26314 if ac_fn_cxx_try_compile "$LINENO"; then :
26315 glibcxx_cv_func_expl_use=yes
26316 else
26317 glibcxx_cv_func_expl_use=no
26319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26320 ac_ext=c
26321 ac_cpp='$CPP $CPPFLAGS'
26322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26331 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26333 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26334 for ac_func in expl
26335 do :
26336 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26337 if test "x$ac_cv_func_expl" = xyes; then :
26338 cat >>confdefs.h <<_ACEOF
26339 #define HAVE_EXPL 1
26340 _ACEOF
26343 done
26345 else
26347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26348 $as_echo_n "checking for _expl declaration... " >&6; }
26349 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26350 if ${glibcxx_cv_func__expl_use+:} false; then :
26351 $as_echo_n "(cached) " >&6
26352 else
26355 ac_ext=cpp
26356 ac_cpp='$CXXCPP $CPPFLAGS'
26357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26362 /* end confdefs.h. */
26363 #include <math.h>
26364 #ifdef HAVE_IEEEFP_H
26365 #include <ieeefp.h>
26366 #endif
26369 main ()
26371 _expl(0);
26373 return 0;
26375 _ACEOF
26376 if ac_fn_cxx_try_compile "$LINENO"; then :
26377 glibcxx_cv_func__expl_use=yes
26378 else
26379 glibcxx_cv_func__expl_use=no
26381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26382 ac_ext=c
26383 ac_cpp='$CPP $CPPFLAGS'
26384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26393 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26395 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26396 for ac_func in _expl
26397 do :
26398 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26399 if test "x$ac_cv_func__expl" = xyes; then :
26400 cat >>confdefs.h <<_ACEOF
26401 #define HAVE__EXPL 1
26402 _ACEOF
26405 done
26414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26415 $as_echo_n "checking for fabsl declaration... " >&6; }
26416 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26417 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26418 $as_echo_n "(cached) " >&6
26419 else
26422 ac_ext=cpp
26423 ac_cpp='$CXXCPP $CPPFLAGS'
26424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26429 /* end confdefs.h. */
26430 #include <math.h>
26431 #ifdef HAVE_IEEEFP_H
26432 #include <ieeefp.h>
26433 #endif
26436 main ()
26438 fabsl(0);
26440 return 0;
26442 _ACEOF
26443 if ac_fn_cxx_try_compile "$LINENO"; then :
26444 glibcxx_cv_func_fabsl_use=yes
26445 else
26446 glibcxx_cv_func_fabsl_use=no
26448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26449 ac_ext=c
26450 ac_cpp='$CPP $CPPFLAGS'
26451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26460 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26462 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26463 for ac_func in fabsl
26464 do :
26465 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26466 if test "x$ac_cv_func_fabsl" = xyes; then :
26467 cat >>confdefs.h <<_ACEOF
26468 #define HAVE_FABSL 1
26469 _ACEOF
26472 done
26474 else
26476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26477 $as_echo_n "checking for _fabsl declaration... " >&6; }
26478 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26479 if ${glibcxx_cv_func__fabsl_use+:} false; then :
26480 $as_echo_n "(cached) " >&6
26481 else
26484 ac_ext=cpp
26485 ac_cpp='$CXXCPP $CPPFLAGS'
26486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26491 /* end confdefs.h. */
26492 #include <math.h>
26493 #ifdef HAVE_IEEEFP_H
26494 #include <ieeefp.h>
26495 #endif
26498 main ()
26500 _fabsl(0);
26502 return 0;
26504 _ACEOF
26505 if ac_fn_cxx_try_compile "$LINENO"; then :
26506 glibcxx_cv_func__fabsl_use=yes
26507 else
26508 glibcxx_cv_func__fabsl_use=no
26510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26511 ac_ext=c
26512 ac_cpp='$CPP $CPPFLAGS'
26513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26522 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26524 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26525 for ac_func in _fabsl
26526 do :
26527 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26528 if test "x$ac_cv_func__fabsl" = xyes; then :
26529 cat >>confdefs.h <<_ACEOF
26530 #define HAVE__FABSL 1
26531 _ACEOF
26534 done
26543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26544 $as_echo_n "checking for fmodl declaration... " >&6; }
26545 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26546 if ${glibcxx_cv_func_fmodl_use+:} false; then :
26547 $as_echo_n "(cached) " >&6
26548 else
26551 ac_ext=cpp
26552 ac_cpp='$CXXCPP $CPPFLAGS'
26553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26558 /* end confdefs.h. */
26559 #include <math.h>
26561 main ()
26563 fmodl(0, 0);
26565 return 0;
26567 _ACEOF
26568 if ac_fn_cxx_try_compile "$LINENO"; then :
26569 glibcxx_cv_func_fmodl_use=yes
26570 else
26571 glibcxx_cv_func_fmodl_use=no
26573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26574 ac_ext=c
26575 ac_cpp='$CPP $CPPFLAGS'
26576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26585 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26587 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26588 for ac_func in fmodl
26589 do :
26590 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26591 if test "x$ac_cv_func_fmodl" = xyes; then :
26592 cat >>confdefs.h <<_ACEOF
26593 #define HAVE_FMODL 1
26594 _ACEOF
26597 done
26599 else
26601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26602 $as_echo_n "checking for _fmodl declaration... " >&6; }
26603 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26604 if ${glibcxx_cv_func__fmodl_use+:} false; then :
26605 $as_echo_n "(cached) " >&6
26606 else
26609 ac_ext=cpp
26610 ac_cpp='$CXXCPP $CPPFLAGS'
26611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26616 /* end confdefs.h. */
26617 #include <math.h>
26619 main ()
26621 _fmodl(0, 0);
26623 return 0;
26625 _ACEOF
26626 if ac_fn_cxx_try_compile "$LINENO"; then :
26627 glibcxx_cv_func__fmodl_use=yes
26628 else
26629 glibcxx_cv_func__fmodl_use=no
26631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26632 ac_ext=c
26633 ac_cpp='$CPP $CPPFLAGS'
26634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26643 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26645 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26646 for ac_func in _fmodl
26647 do :
26648 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26649 if test "x$ac_cv_func__fmodl" = xyes; then :
26650 cat >>confdefs.h <<_ACEOF
26651 #define HAVE__FMODL 1
26652 _ACEOF
26655 done
26664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26665 $as_echo_n "checking for frexpl declaration... " >&6; }
26666 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26667 if ${glibcxx_cv_func_frexpl_use+:} false; then :
26668 $as_echo_n "(cached) " >&6
26669 else
26672 ac_ext=cpp
26673 ac_cpp='$CXXCPP $CPPFLAGS'
26674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26679 /* end confdefs.h. */
26680 #include <math.h>
26682 main ()
26684 frexpl(0, 0);
26686 return 0;
26688 _ACEOF
26689 if ac_fn_cxx_try_compile "$LINENO"; then :
26690 glibcxx_cv_func_frexpl_use=yes
26691 else
26692 glibcxx_cv_func_frexpl_use=no
26694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26695 ac_ext=c
26696 ac_cpp='$CPP $CPPFLAGS'
26697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26706 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26708 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26709 for ac_func in frexpl
26710 do :
26711 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26712 if test "x$ac_cv_func_frexpl" = xyes; then :
26713 cat >>confdefs.h <<_ACEOF
26714 #define HAVE_FREXPL 1
26715 _ACEOF
26718 done
26720 else
26722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26723 $as_echo_n "checking for _frexpl declaration... " >&6; }
26724 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26725 if ${glibcxx_cv_func__frexpl_use+:} false; then :
26726 $as_echo_n "(cached) " >&6
26727 else
26730 ac_ext=cpp
26731 ac_cpp='$CXXCPP $CPPFLAGS'
26732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26737 /* end confdefs.h. */
26738 #include <math.h>
26740 main ()
26742 _frexpl(0, 0);
26744 return 0;
26746 _ACEOF
26747 if ac_fn_cxx_try_compile "$LINENO"; then :
26748 glibcxx_cv_func__frexpl_use=yes
26749 else
26750 glibcxx_cv_func__frexpl_use=no
26752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26753 ac_ext=c
26754 ac_cpp='$CPP $CPPFLAGS'
26755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26764 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26766 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26767 for ac_func in _frexpl
26768 do :
26769 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26770 if test "x$ac_cv_func__frexpl" = xyes; then :
26771 cat >>confdefs.h <<_ACEOF
26772 #define HAVE__FREXPL 1
26773 _ACEOF
26776 done
26785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26786 $as_echo_n "checking for hypotl declaration... " >&6; }
26787 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26788 if ${glibcxx_cv_func_hypotl_use+:} false; then :
26789 $as_echo_n "(cached) " >&6
26790 else
26793 ac_ext=cpp
26794 ac_cpp='$CXXCPP $CPPFLAGS'
26795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26800 /* end confdefs.h. */
26801 #include <math.h>
26803 main ()
26805 hypotl(0, 0);
26807 return 0;
26809 _ACEOF
26810 if ac_fn_cxx_try_compile "$LINENO"; then :
26811 glibcxx_cv_func_hypotl_use=yes
26812 else
26813 glibcxx_cv_func_hypotl_use=no
26815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26816 ac_ext=c
26817 ac_cpp='$CPP $CPPFLAGS'
26818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26827 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26829 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26830 for ac_func in hypotl
26831 do :
26832 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26833 if test "x$ac_cv_func_hypotl" = xyes; then :
26834 cat >>confdefs.h <<_ACEOF
26835 #define HAVE_HYPOTL 1
26836 _ACEOF
26839 done
26841 else
26843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26844 $as_echo_n "checking for _hypotl declaration... " >&6; }
26845 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26846 if ${glibcxx_cv_func__hypotl_use+:} false; then :
26847 $as_echo_n "(cached) " >&6
26848 else
26851 ac_ext=cpp
26852 ac_cpp='$CXXCPP $CPPFLAGS'
26853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26858 /* end confdefs.h. */
26859 #include <math.h>
26861 main ()
26863 _hypotl(0, 0);
26865 return 0;
26867 _ACEOF
26868 if ac_fn_cxx_try_compile "$LINENO"; then :
26869 glibcxx_cv_func__hypotl_use=yes
26870 else
26871 glibcxx_cv_func__hypotl_use=no
26873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26874 ac_ext=c
26875 ac_cpp='$CPP $CPPFLAGS'
26876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26885 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26887 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26888 for ac_func in _hypotl
26889 do :
26890 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26891 if test "x$ac_cv_func__hypotl" = xyes; then :
26892 cat >>confdefs.h <<_ACEOF
26893 #define HAVE__HYPOTL 1
26894 _ACEOF
26897 done
26906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26907 $as_echo_n "checking for ldexpl declaration... " >&6; }
26908 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26909 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
26910 $as_echo_n "(cached) " >&6
26911 else
26914 ac_ext=cpp
26915 ac_cpp='$CXXCPP $CPPFLAGS'
26916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26921 /* end confdefs.h. */
26922 #include <math.h>
26924 main ()
26926 ldexpl(0, 0);
26928 return 0;
26930 _ACEOF
26931 if ac_fn_cxx_try_compile "$LINENO"; then :
26932 glibcxx_cv_func_ldexpl_use=yes
26933 else
26934 glibcxx_cv_func_ldexpl_use=no
26936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26937 ac_ext=c
26938 ac_cpp='$CPP $CPPFLAGS'
26939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26948 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26950 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26951 for ac_func in ldexpl
26952 do :
26953 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26954 if test "x$ac_cv_func_ldexpl" = xyes; then :
26955 cat >>confdefs.h <<_ACEOF
26956 #define HAVE_LDEXPL 1
26957 _ACEOF
26960 done
26962 else
26964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26965 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26966 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26967 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
26968 $as_echo_n "(cached) " >&6
26969 else
26972 ac_ext=cpp
26973 ac_cpp='$CXXCPP $CPPFLAGS'
26974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26979 /* end confdefs.h. */
26980 #include <math.h>
26982 main ()
26984 _ldexpl(0, 0);
26986 return 0;
26988 _ACEOF
26989 if ac_fn_cxx_try_compile "$LINENO"; then :
26990 glibcxx_cv_func__ldexpl_use=yes
26991 else
26992 glibcxx_cv_func__ldexpl_use=no
26994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26995 ac_ext=c
26996 ac_cpp='$CPP $CPPFLAGS'
26997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
27006 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
27008 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
27009 for ac_func in _ldexpl
27010 do :
27011 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
27012 if test "x$ac_cv_func__ldexpl" = xyes; then :
27013 cat >>confdefs.h <<_ACEOF
27014 #define HAVE__LDEXPL 1
27015 _ACEOF
27018 done
27027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
27028 $as_echo_n "checking for logl declaration... " >&6; }
27029 if test x${glibcxx_cv_func_logl_use+set} != xset; then
27030 if ${glibcxx_cv_func_logl_use+:} false; then :
27031 $as_echo_n "(cached) " >&6
27032 else
27035 ac_ext=cpp
27036 ac_cpp='$CXXCPP $CPPFLAGS'
27037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27042 /* end confdefs.h. */
27043 #include <math.h>
27044 #ifdef HAVE_IEEEFP_H
27045 #include <ieeefp.h>
27046 #endif
27049 main ()
27051 logl(0);
27053 return 0;
27055 _ACEOF
27056 if ac_fn_cxx_try_compile "$LINENO"; then :
27057 glibcxx_cv_func_logl_use=yes
27058 else
27059 glibcxx_cv_func_logl_use=no
27061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27062 ac_ext=c
27063 ac_cpp='$CPP $CPPFLAGS'
27064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
27073 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
27075 if test x$glibcxx_cv_func_logl_use = x"yes"; then
27076 for ac_func in logl
27077 do :
27078 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
27079 if test "x$ac_cv_func_logl" = xyes; then :
27080 cat >>confdefs.h <<_ACEOF
27081 #define HAVE_LOGL 1
27082 _ACEOF
27085 done
27087 else
27089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
27090 $as_echo_n "checking for _logl declaration... " >&6; }
27091 if test x${glibcxx_cv_func__logl_use+set} != xset; then
27092 if ${glibcxx_cv_func__logl_use+:} false; then :
27093 $as_echo_n "(cached) " >&6
27094 else
27097 ac_ext=cpp
27098 ac_cpp='$CXXCPP $CPPFLAGS'
27099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27104 /* end confdefs.h. */
27105 #include <math.h>
27106 #ifdef HAVE_IEEEFP_H
27107 #include <ieeefp.h>
27108 #endif
27111 main ()
27113 _logl(0);
27115 return 0;
27117 _ACEOF
27118 if ac_fn_cxx_try_compile "$LINENO"; then :
27119 glibcxx_cv_func__logl_use=yes
27120 else
27121 glibcxx_cv_func__logl_use=no
27123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27124 ac_ext=c
27125 ac_cpp='$CPP $CPPFLAGS'
27126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27135 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
27137 if test x$glibcxx_cv_func__logl_use = x"yes"; then
27138 for ac_func in _logl
27139 do :
27140 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27141 if test "x$ac_cv_func__logl" = xyes; then :
27142 cat >>confdefs.h <<_ACEOF
27143 #define HAVE__LOGL 1
27144 _ACEOF
27147 done
27156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27157 $as_echo_n "checking for log10l declaration... " >&6; }
27158 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27159 if ${glibcxx_cv_func_log10l_use+:} false; then :
27160 $as_echo_n "(cached) " >&6
27161 else
27164 ac_ext=cpp
27165 ac_cpp='$CXXCPP $CPPFLAGS'
27166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27171 /* end confdefs.h. */
27172 #include <math.h>
27173 #ifdef HAVE_IEEEFP_H
27174 #include <ieeefp.h>
27175 #endif
27178 main ()
27180 log10l(0);
27182 return 0;
27184 _ACEOF
27185 if ac_fn_cxx_try_compile "$LINENO"; then :
27186 glibcxx_cv_func_log10l_use=yes
27187 else
27188 glibcxx_cv_func_log10l_use=no
27190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27191 ac_ext=c
27192 ac_cpp='$CPP $CPPFLAGS'
27193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27202 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27204 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27205 for ac_func in log10l
27206 do :
27207 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27208 if test "x$ac_cv_func_log10l" = xyes; then :
27209 cat >>confdefs.h <<_ACEOF
27210 #define HAVE_LOG10L 1
27211 _ACEOF
27214 done
27216 else
27218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27219 $as_echo_n "checking for _log10l declaration... " >&6; }
27220 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27221 if ${glibcxx_cv_func__log10l_use+:} false; then :
27222 $as_echo_n "(cached) " >&6
27223 else
27226 ac_ext=cpp
27227 ac_cpp='$CXXCPP $CPPFLAGS'
27228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27233 /* end confdefs.h. */
27234 #include <math.h>
27235 #ifdef HAVE_IEEEFP_H
27236 #include <ieeefp.h>
27237 #endif
27240 main ()
27242 _log10l(0);
27244 return 0;
27246 _ACEOF
27247 if ac_fn_cxx_try_compile "$LINENO"; then :
27248 glibcxx_cv_func__log10l_use=yes
27249 else
27250 glibcxx_cv_func__log10l_use=no
27252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27253 ac_ext=c
27254 ac_cpp='$CPP $CPPFLAGS'
27255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27264 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27266 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27267 for ac_func in _log10l
27268 do :
27269 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27270 if test "x$ac_cv_func__log10l" = xyes; then :
27271 cat >>confdefs.h <<_ACEOF
27272 #define HAVE__LOG10L 1
27273 _ACEOF
27276 done
27285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27286 $as_echo_n "checking for modfl declaration... " >&6; }
27287 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27288 if ${glibcxx_cv_func_modfl_use+:} false; then :
27289 $as_echo_n "(cached) " >&6
27290 else
27293 ac_ext=cpp
27294 ac_cpp='$CXXCPP $CPPFLAGS'
27295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27300 /* end confdefs.h. */
27301 #include <math.h>
27303 main ()
27305 modfl(0, 0);
27307 return 0;
27309 _ACEOF
27310 if ac_fn_cxx_try_compile "$LINENO"; then :
27311 glibcxx_cv_func_modfl_use=yes
27312 else
27313 glibcxx_cv_func_modfl_use=no
27315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27316 ac_ext=c
27317 ac_cpp='$CPP $CPPFLAGS'
27318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27327 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27329 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27330 for ac_func in modfl
27331 do :
27332 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27333 if test "x$ac_cv_func_modfl" = xyes; then :
27334 cat >>confdefs.h <<_ACEOF
27335 #define HAVE_MODFL 1
27336 _ACEOF
27339 done
27341 else
27343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27344 $as_echo_n "checking for _modfl declaration... " >&6; }
27345 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27346 if ${glibcxx_cv_func__modfl_use+:} false; then :
27347 $as_echo_n "(cached) " >&6
27348 else
27351 ac_ext=cpp
27352 ac_cpp='$CXXCPP $CPPFLAGS'
27353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27358 /* end confdefs.h. */
27359 #include <math.h>
27361 main ()
27363 _modfl(0, 0);
27365 return 0;
27367 _ACEOF
27368 if ac_fn_cxx_try_compile "$LINENO"; then :
27369 glibcxx_cv_func__modfl_use=yes
27370 else
27371 glibcxx_cv_func__modfl_use=no
27373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27374 ac_ext=c
27375 ac_cpp='$CPP $CPPFLAGS'
27376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27385 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27387 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27388 for ac_func in _modfl
27389 do :
27390 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27391 if test "x$ac_cv_func__modfl" = xyes; then :
27392 cat >>confdefs.h <<_ACEOF
27393 #define HAVE__MODFL 1
27394 _ACEOF
27397 done
27406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27407 $as_echo_n "checking for powl declaration... " >&6; }
27408 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27409 if ${glibcxx_cv_func_powl_use+:} false; then :
27410 $as_echo_n "(cached) " >&6
27411 else
27414 ac_ext=cpp
27415 ac_cpp='$CXXCPP $CPPFLAGS'
27416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27421 /* end confdefs.h. */
27422 #include <math.h>
27424 main ()
27426 powl(0, 0);
27428 return 0;
27430 _ACEOF
27431 if ac_fn_cxx_try_compile "$LINENO"; then :
27432 glibcxx_cv_func_powl_use=yes
27433 else
27434 glibcxx_cv_func_powl_use=no
27436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27437 ac_ext=c
27438 ac_cpp='$CPP $CPPFLAGS'
27439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27448 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27450 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27451 for ac_func in powl
27452 do :
27453 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27454 if test "x$ac_cv_func_powl" = xyes; then :
27455 cat >>confdefs.h <<_ACEOF
27456 #define HAVE_POWL 1
27457 _ACEOF
27460 done
27462 else
27464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27465 $as_echo_n "checking for _powl declaration... " >&6; }
27466 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27467 if ${glibcxx_cv_func__powl_use+:} false; then :
27468 $as_echo_n "(cached) " >&6
27469 else
27472 ac_ext=cpp
27473 ac_cpp='$CXXCPP $CPPFLAGS'
27474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27479 /* end confdefs.h. */
27480 #include <math.h>
27482 main ()
27484 _powl(0, 0);
27486 return 0;
27488 _ACEOF
27489 if ac_fn_cxx_try_compile "$LINENO"; then :
27490 glibcxx_cv_func__powl_use=yes
27491 else
27492 glibcxx_cv_func__powl_use=no
27494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27495 ac_ext=c
27496 ac_cpp='$CPP $CPPFLAGS'
27497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27506 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27508 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27509 for ac_func in _powl
27510 do :
27511 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27512 if test "x$ac_cv_func__powl" = xyes; then :
27513 cat >>confdefs.h <<_ACEOF
27514 #define HAVE__POWL 1
27515 _ACEOF
27518 done
27527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27528 $as_echo_n "checking for sqrtl declaration... " >&6; }
27529 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27530 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
27531 $as_echo_n "(cached) " >&6
27532 else
27535 ac_ext=cpp
27536 ac_cpp='$CXXCPP $CPPFLAGS'
27537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27542 /* end confdefs.h. */
27543 #include <math.h>
27544 #ifdef HAVE_IEEEFP_H
27545 #include <ieeefp.h>
27546 #endif
27549 main ()
27551 sqrtl(0);
27553 return 0;
27555 _ACEOF
27556 if ac_fn_cxx_try_compile "$LINENO"; then :
27557 glibcxx_cv_func_sqrtl_use=yes
27558 else
27559 glibcxx_cv_func_sqrtl_use=no
27561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27562 ac_ext=c
27563 ac_cpp='$CPP $CPPFLAGS'
27564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27573 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27575 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27576 for ac_func in sqrtl
27577 do :
27578 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27579 if test "x$ac_cv_func_sqrtl" = xyes; then :
27580 cat >>confdefs.h <<_ACEOF
27581 #define HAVE_SQRTL 1
27582 _ACEOF
27585 done
27587 else
27589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27590 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27591 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27592 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
27593 $as_echo_n "(cached) " >&6
27594 else
27597 ac_ext=cpp
27598 ac_cpp='$CXXCPP $CPPFLAGS'
27599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27604 /* end confdefs.h. */
27605 #include <math.h>
27606 #ifdef HAVE_IEEEFP_H
27607 #include <ieeefp.h>
27608 #endif
27611 main ()
27613 _sqrtl(0);
27615 return 0;
27617 _ACEOF
27618 if ac_fn_cxx_try_compile "$LINENO"; then :
27619 glibcxx_cv_func__sqrtl_use=yes
27620 else
27621 glibcxx_cv_func__sqrtl_use=no
27623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27624 ac_ext=c
27625 ac_cpp='$CPP $CPPFLAGS'
27626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27635 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27637 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27638 for ac_func in _sqrtl
27639 do :
27640 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27641 if test "x$ac_cv_func__sqrtl" = xyes; then :
27642 cat >>confdefs.h <<_ACEOF
27643 #define HAVE__SQRTL 1
27644 _ACEOF
27647 done
27656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27657 $as_echo_n "checking for sincosl declaration... " >&6; }
27658 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27659 if ${glibcxx_cv_func_sincosl_use+:} false; then :
27660 $as_echo_n "(cached) " >&6
27661 else
27664 ac_ext=cpp
27665 ac_cpp='$CXXCPP $CPPFLAGS'
27666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27671 /* end confdefs.h. */
27672 #include <math.h>
27674 main ()
27676 sincosl(0, 0, 0);
27678 return 0;
27680 _ACEOF
27681 if ac_fn_cxx_try_compile "$LINENO"; then :
27682 glibcxx_cv_func_sincosl_use=yes
27683 else
27684 glibcxx_cv_func_sincosl_use=no
27686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27687 ac_ext=c
27688 ac_cpp='$CPP $CPPFLAGS'
27689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27698 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27700 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27701 for ac_func in sincosl
27702 do :
27703 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27704 if test "x$ac_cv_func_sincosl" = xyes; then :
27705 cat >>confdefs.h <<_ACEOF
27706 #define HAVE_SINCOSL 1
27707 _ACEOF
27710 done
27712 else
27714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27715 $as_echo_n "checking for _sincosl declaration... " >&6; }
27716 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27717 if ${glibcxx_cv_func__sincosl_use+:} false; then :
27718 $as_echo_n "(cached) " >&6
27719 else
27722 ac_ext=cpp
27723 ac_cpp='$CXXCPP $CPPFLAGS'
27724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27729 /* end confdefs.h. */
27730 #include <math.h>
27732 main ()
27734 _sincosl(0, 0, 0);
27736 return 0;
27738 _ACEOF
27739 if ac_fn_cxx_try_compile "$LINENO"; then :
27740 glibcxx_cv_func__sincosl_use=yes
27741 else
27742 glibcxx_cv_func__sincosl_use=no
27744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27745 ac_ext=c
27746 ac_cpp='$CPP $CPPFLAGS'
27747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27756 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27758 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27759 for ac_func in _sincosl
27760 do :
27761 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27762 if test "x$ac_cv_func__sincosl" = xyes; then :
27763 cat >>confdefs.h <<_ACEOF
27764 #define HAVE__SINCOSL 1
27765 _ACEOF
27768 done
27777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27778 $as_echo_n "checking for finitel declaration... " >&6; }
27779 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27780 if ${glibcxx_cv_func_finitel_use+:} false; then :
27781 $as_echo_n "(cached) " >&6
27782 else
27785 ac_ext=cpp
27786 ac_cpp='$CXXCPP $CPPFLAGS'
27787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27792 /* end confdefs.h. */
27793 #include <math.h>
27794 #ifdef HAVE_IEEEFP_H
27795 #include <ieeefp.h>
27796 #endif
27799 main ()
27801 finitel(0);
27803 return 0;
27805 _ACEOF
27806 if ac_fn_cxx_try_compile "$LINENO"; then :
27807 glibcxx_cv_func_finitel_use=yes
27808 else
27809 glibcxx_cv_func_finitel_use=no
27811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27812 ac_ext=c
27813 ac_cpp='$CPP $CPPFLAGS'
27814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27823 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27825 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27826 for ac_func in finitel
27827 do :
27828 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27829 if test "x$ac_cv_func_finitel" = xyes; then :
27830 cat >>confdefs.h <<_ACEOF
27831 #define HAVE_FINITEL 1
27832 _ACEOF
27835 done
27837 else
27839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27840 $as_echo_n "checking for _finitel declaration... " >&6; }
27841 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27842 if ${glibcxx_cv_func__finitel_use+:} false; then :
27843 $as_echo_n "(cached) " >&6
27844 else
27847 ac_ext=cpp
27848 ac_cpp='$CXXCPP $CPPFLAGS'
27849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27854 /* end confdefs.h. */
27855 #include <math.h>
27856 #ifdef HAVE_IEEEFP_H
27857 #include <ieeefp.h>
27858 #endif
27861 main ()
27863 _finitel(0);
27865 return 0;
27867 _ACEOF
27868 if ac_fn_cxx_try_compile "$LINENO"; then :
27869 glibcxx_cv_func__finitel_use=yes
27870 else
27871 glibcxx_cv_func__finitel_use=no
27873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27874 ac_ext=c
27875 ac_cpp='$CPP $CPPFLAGS'
27876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27885 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27887 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27888 for ac_func in _finitel
27889 do :
27890 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27891 if test "x$ac_cv_func__finitel" = xyes; then :
27892 cat >>confdefs.h <<_ACEOF
27893 #define HAVE__FINITEL 1
27894 _ACEOF
27897 done
27905 LIBS="$ac_save_LIBS"
27906 CXXFLAGS="$ac_save_CXXFLAGS"
27909 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27910 ac_save_CXXFLAGS="$CXXFLAGS"
27911 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27915 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27916 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27917 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
27918 $as_echo_n "(cached) " >&6
27919 else
27922 ac_ext=cpp
27923 ac_cpp='$CXXCPP $CPPFLAGS'
27924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27929 /* end confdefs.h. */
27930 #include <stdlib.h>
27932 main ()
27934 at_quick_exit(0);
27936 return 0;
27938 _ACEOF
27939 if ac_fn_cxx_try_compile "$LINENO"; then :
27940 glibcxx_cv_func_at_quick_exit_use=yes
27941 else
27942 glibcxx_cv_func_at_quick_exit_use=no
27944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27945 ac_ext=c
27946 ac_cpp='$CPP $CPPFLAGS'
27947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27956 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27957 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27958 for ac_func in at_quick_exit
27959 do :
27960 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27961 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
27962 cat >>confdefs.h <<_ACEOF
27963 #define HAVE_AT_QUICK_EXIT 1
27964 _ACEOF
27967 done
27972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27973 $as_echo_n "checking for quick_exit declaration... " >&6; }
27974 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27975 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
27976 $as_echo_n "(cached) " >&6
27977 else
27980 ac_ext=cpp
27981 ac_cpp='$CXXCPP $CPPFLAGS'
27982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27987 /* end confdefs.h. */
27988 #include <stdlib.h>
27990 main ()
27992 quick_exit(0);
27994 return 0;
27996 _ACEOF
27997 if ac_fn_cxx_try_compile "$LINENO"; then :
27998 glibcxx_cv_func_quick_exit_use=yes
27999 else
28000 glibcxx_cv_func_quick_exit_use=no
28002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28003 ac_ext=c
28004 ac_cpp='$CPP $CPPFLAGS'
28005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
28014 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
28015 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
28016 for ac_func in quick_exit
28017 do :
28018 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
28019 if test "x$ac_cv_func_quick_exit" = xyes; then :
28020 cat >>confdefs.h <<_ACEOF
28021 #define HAVE_QUICK_EXIT 1
28022 _ACEOF
28025 done
28030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
28031 $as_echo_n "checking for strtold declaration... " >&6; }
28032 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28033 if ${glibcxx_cv_func_strtold_use+:} false; then :
28034 $as_echo_n "(cached) " >&6
28035 else
28038 ac_ext=cpp
28039 ac_cpp='$CXXCPP $CPPFLAGS'
28040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28045 /* end confdefs.h. */
28046 #include <stdlib.h>
28048 main ()
28050 strtold(0, 0);
28052 return 0;
28054 _ACEOF
28055 if ac_fn_cxx_try_compile "$LINENO"; then :
28056 glibcxx_cv_func_strtold_use=yes
28057 else
28058 glibcxx_cv_func_strtold_use=no
28060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28061 ac_ext=c
28062 ac_cpp='$CPP $CPPFLAGS'
28063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
28072 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
28073 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28074 for ac_func in strtold
28075 do :
28076 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
28077 if test "x$ac_cv_func_strtold" = xyes; then :
28078 cat >>confdefs.h <<_ACEOF
28079 #define HAVE_STRTOLD 1
28080 _ACEOF
28083 done
28090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
28091 $as_echo_n "checking for strtof declaration... " >&6; }
28092 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28093 if ${glibcxx_cv_func_strtof_use+:} false; then :
28094 $as_echo_n "(cached) " >&6
28095 else
28098 ac_ext=cpp
28099 ac_cpp='$CXXCPP $CPPFLAGS'
28100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28105 /* end confdefs.h. */
28106 #include <stdlib.h>
28108 main ()
28110 strtof(0, 0);
28112 return 0;
28114 _ACEOF
28115 if ac_fn_cxx_try_compile "$LINENO"; then :
28116 glibcxx_cv_func_strtof_use=yes
28117 else
28118 glibcxx_cv_func_strtof_use=no
28120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28121 ac_ext=c
28122 ac_cpp='$CPP $CPPFLAGS'
28123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28132 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28133 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28134 for ac_func in strtof
28135 do :
28136 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28137 if test "x$ac_cv_func_strtof" = xyes; then :
28138 cat >>confdefs.h <<_ACEOF
28139 #define HAVE_STRTOF 1
28140 _ACEOF
28143 done
28150 CXXFLAGS="$ac_save_CXXFLAGS"
28153 # For /dev/random and /dev/urandom for std::random_device.
28156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28157 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28158 if ${glibcxx_cv_dev_random+:} false; then :
28159 $as_echo_n "(cached) " >&6
28160 else
28162 if test -r /dev/random && test -r /dev/urandom; then
28163 ## For MSys environment the test above is detected as false-positive
28164 ## on mingw-targets. So disable it explicitly for them.
28165 case ${target_os} in
28166 *mingw*) glibcxx_cv_dev_random=no ;;
28167 *) glibcxx_cv_dev_random=yes ;;
28168 esac
28169 else
28170 glibcxx_cv_dev_random=no;
28175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28176 $as_echo "$glibcxx_cv_dev_random" >&6; }
28178 if test x"$glibcxx_cv_dev_random" = x"yes"; then
28180 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28183 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28189 # For TLS support.
28192 # Check whether --enable-tls was given.
28193 if test "${enable_tls+set}" = set; then :
28194 enableval=$enable_tls;
28195 case "$enableval" in
28196 yes|no) ;;
28197 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28198 esac
28200 else
28201 enable_tls=yes
28205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28206 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28207 if ${gcc_cv_have_tls+:} false; then :
28208 $as_echo_n "(cached) " >&6
28209 else
28211 if test "$cross_compiling" = yes; then :
28212 if test x$gcc_no_link = xyes; then
28213 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28216 /* end confdefs.h. */
28217 __thread int a; int b; int main() { return a = b; }
28218 _ACEOF
28219 if ac_fn_c_try_link "$LINENO"; then :
28220 chktls_save_LDFLAGS="$LDFLAGS"
28221 case $host in
28222 *-*-linux*)
28223 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28225 esac
28226 chktls_save_CFLAGS="$CFLAGS"
28227 CFLAGS="-fPIC $CFLAGS"
28228 if test x$gcc_no_link = xyes; then
28229 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28232 /* end confdefs.h. */
28233 int f() { return 0; }
28234 _ACEOF
28235 if ac_fn_c_try_link "$LINENO"; then :
28236 if test x$gcc_no_link = xyes; then
28237 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28240 /* end confdefs.h. */
28241 __thread int a; int b; int f() { return a = b; }
28242 _ACEOF
28243 if ac_fn_c_try_link "$LINENO"; then :
28244 gcc_cv_have_tls=yes
28245 else
28246 gcc_cv_have_tls=no
28248 rm -f core conftest.err conftest.$ac_objext \
28249 conftest$ac_exeext conftest.$ac_ext
28250 else
28251 gcc_cv_have_tls=yes
28253 rm -f core conftest.err conftest.$ac_objext \
28254 conftest$ac_exeext conftest.$ac_ext
28255 CFLAGS="$chktls_save_CFLAGS"
28256 LDFLAGS="$chktls_save_LDFLAGS"
28257 else
28258 gcc_cv_have_tls=no
28260 rm -f core conftest.err conftest.$ac_objext \
28261 conftest$ac_exeext conftest.$ac_ext
28264 else
28265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28266 /* end confdefs.h. */
28267 __thread int a; int b; int main() { return a = b; }
28268 _ACEOF
28269 if ac_fn_c_try_run "$LINENO"; then :
28270 chktls_save_LDFLAGS="$LDFLAGS"
28271 LDFLAGS="-static $LDFLAGS"
28272 if test x$gcc_no_link = xyes; then
28273 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28276 /* end confdefs.h. */
28277 int main() { return 0; }
28278 _ACEOF
28279 if ac_fn_c_try_link "$LINENO"; then :
28280 if test "$cross_compiling" = yes; then :
28281 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28283 as_fn_error $? "cannot run test program while cross compiling
28284 See \`config.log' for more details" "$LINENO" 5; }
28285 else
28286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28287 /* end confdefs.h. */
28288 __thread int a; int b; int main() { return a = b; }
28289 _ACEOF
28290 if ac_fn_c_try_run "$LINENO"; then :
28291 gcc_cv_have_tls=yes
28292 else
28293 gcc_cv_have_tls=no
28295 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28296 conftest.$ac_objext conftest.beam conftest.$ac_ext
28299 else
28300 gcc_cv_have_tls=yes
28302 rm -f core conftest.err conftest.$ac_objext \
28303 conftest$ac_exeext conftest.$ac_ext
28304 LDFLAGS="$chktls_save_LDFLAGS"
28305 if test $gcc_cv_have_tls = yes; then
28306 chktls_save_CFLAGS="$CFLAGS"
28307 thread_CFLAGS=failed
28308 for flag in '' '-pthread' '-lpthread'; do
28309 CFLAGS="$flag $chktls_save_CFLAGS"
28310 if test x$gcc_no_link = xyes; then
28311 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28314 /* end confdefs.h. */
28315 #include <pthread.h>
28316 void *g(void *d) { return NULL; }
28318 main ()
28320 pthread_t t; pthread_create(&t,NULL,g,NULL);
28322 return 0;
28324 _ACEOF
28325 if ac_fn_c_try_link "$LINENO"; then :
28326 thread_CFLAGS="$flag"
28328 rm -f core conftest.err conftest.$ac_objext \
28329 conftest$ac_exeext conftest.$ac_ext
28330 if test "X$thread_CFLAGS" != Xfailed; then
28331 break
28333 done
28334 CFLAGS="$chktls_save_CFLAGS"
28335 if test "X$thread_CFLAGS" != Xfailed; then
28336 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28337 if test "$cross_compiling" = yes; then :
28338 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28339 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28340 as_fn_error $? "cannot run test program while cross compiling
28341 See \`config.log' for more details" "$LINENO" 5; }
28342 else
28343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28344 /* end confdefs.h. */
28345 #include <pthread.h>
28346 __thread int a;
28347 static int *volatile a_in_other_thread;
28348 static void *
28349 thread_func (void *arg)
28351 a_in_other_thread = &a;
28352 return (void *)0;
28355 main ()
28357 pthread_t thread;
28358 void *thread_retval;
28359 int *volatile a_in_main_thread;
28360 a_in_main_thread = &a;
28361 if (pthread_create (&thread, (pthread_attr_t *)0,
28362 thread_func, (void *)0))
28363 return 0;
28364 if (pthread_join (thread, &thread_retval))
28365 return 0;
28366 return (a_in_other_thread == a_in_main_thread);
28368 return 0;
28370 _ACEOF
28371 if ac_fn_c_try_run "$LINENO"; then :
28372 gcc_cv_have_tls=yes
28373 else
28374 gcc_cv_have_tls=no
28376 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28377 conftest.$ac_objext conftest.beam conftest.$ac_ext
28380 CFLAGS="$chktls_save_CFLAGS"
28383 else
28384 gcc_cv_have_tls=no
28386 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28387 conftest.$ac_objext conftest.beam conftest.$ac_ext
28391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28392 $as_echo "$gcc_cv_have_tls" >&6; }
28393 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28395 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28399 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28400 do :
28401 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28402 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28403 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28404 cat >>confdefs.h <<_ACEOF
28405 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28406 _ACEOF
28409 done
28411 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28412 do :
28413 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28414 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28415 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28416 cat >>confdefs.h <<_ACEOF
28417 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28418 _ACEOF
28421 done
28423 for ac_func in _wfopen
28424 do :
28425 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28426 if test "x$ac_cv_func__wfopen" = xyes; then :
28427 cat >>confdefs.h <<_ACEOF
28428 #define HAVE__WFOPEN 1
28429 _ACEOF
28432 done
28435 # For iconv support.
28437 if test "X$prefix" = "XNONE"; then
28438 acl_final_prefix="$ac_default_prefix"
28439 else
28440 acl_final_prefix="$prefix"
28442 if test "X$exec_prefix" = "XNONE"; then
28443 acl_final_exec_prefix='${prefix}'
28444 else
28445 acl_final_exec_prefix="$exec_prefix"
28447 acl_save_prefix="$prefix"
28448 prefix="$acl_final_prefix"
28449 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28450 prefix="$acl_save_prefix"
28453 # Check whether --with-gnu-ld was given.
28454 if test "${with_gnu_ld+set}" = set; then :
28455 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28456 else
28457 with_gnu_ld=no
28460 # Prepare PATH_SEPARATOR.
28461 # The user is always right.
28462 if test "${PATH_SEPARATOR+set}" != set; then
28463 echo "#! /bin/sh" >conf$$.sh
28464 echo "exit 0" >>conf$$.sh
28465 chmod +x conf$$.sh
28466 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28467 PATH_SEPARATOR=';'
28468 else
28469 PATH_SEPARATOR=:
28471 rm -f conf$$.sh
28473 ac_prog=ld
28474 if test "$GCC" = yes; then
28475 # Check if gcc -print-prog-name=ld gives a path.
28476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28477 $as_echo_n "checking for ld used by GCC... " >&6; }
28478 case $host in
28479 *-*-mingw*)
28480 # gcc leaves a trailing carriage return which upsets mingw
28481 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28483 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28484 esac
28485 case $ac_prog in
28486 # Accept absolute paths.
28487 [\\/]* | [A-Za-z]:[\\/]*)
28488 re_direlt='/[^/][^/]*/\.\./'
28489 # Canonicalize the path of ld
28490 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28491 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28492 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28493 done
28494 test -z "$LD" && LD="$ac_prog"
28497 # If it fails, then pretend we aren't using GCC.
28498 ac_prog=ld
28501 # If it is relative, then search for the first ld in PATH.
28502 with_gnu_ld=unknown
28504 esac
28505 elif test "$with_gnu_ld" = yes; then
28506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28507 $as_echo_n "checking for GNU ld... " >&6; }
28508 else
28509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28510 $as_echo_n "checking for non-GNU ld... " >&6; }
28512 if ${acl_cv_path_LD+:} false; then :
28513 $as_echo_n "(cached) " >&6
28514 else
28515 if test -z "$LD"; then
28516 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28517 for ac_dir in $PATH; do
28518 test -z "$ac_dir" && ac_dir=.
28519 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28520 acl_cv_path_LD="$ac_dir/$ac_prog"
28521 # Check to see if the program is GNU ld. I'd rather use --version,
28522 # but apparently some GNU ld's only accept -v.
28523 # Break only if it was the GNU/non-GNU ld that we prefer.
28524 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28525 test "$with_gnu_ld" != no && break
28526 else
28527 test "$with_gnu_ld" != yes && break
28530 done
28531 IFS="$ac_save_ifs"
28532 else
28533 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28537 LD="$acl_cv_path_LD"
28538 if test -n "$LD"; then
28539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28540 $as_echo "$LD" >&6; }
28541 else
28542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28543 $as_echo "no" >&6; }
28545 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
28546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28547 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28548 if ${acl_cv_prog_gnu_ld+:} false; then :
28549 $as_echo_n "(cached) " >&6
28550 else
28551 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28552 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28553 acl_cv_prog_gnu_ld=yes
28554 else
28555 acl_cv_prog_gnu_ld=no
28558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28559 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28560 with_gnu_ld=$acl_cv_prog_gnu_ld
28564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28565 $as_echo_n "checking for shared library run path origin... " >&6; }
28566 if ${acl_cv_rpath+:} false; then :
28567 $as_echo_n "(cached) " >&6
28568 else
28570 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28571 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28572 . ./conftest.sh
28573 rm -f ./conftest.sh
28574 acl_cv_rpath=done
28577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28578 $as_echo "$acl_cv_rpath" >&6; }
28579 wl="$acl_cv_wl"
28580 libext="$acl_cv_libext"
28581 shlibext="$acl_cv_shlibext"
28582 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28583 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28584 hardcode_direct="$acl_cv_hardcode_direct"
28585 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28586 # Check whether --enable-rpath was given.
28587 if test "${enable_rpath+set}" = set; then :
28588 enableval=$enable_rpath; :
28589 else
28590 enable_rpath=yes
28600 use_additional=yes
28602 acl_save_prefix="$prefix"
28603 prefix="$acl_final_prefix"
28604 acl_save_exec_prefix="$exec_prefix"
28605 exec_prefix="$acl_final_exec_prefix"
28607 eval additional_includedir=\"$includedir\"
28608 eval additional_libdir=\"$libdir\"
28610 exec_prefix="$acl_save_exec_prefix"
28611 prefix="$acl_save_prefix"
28614 # Check whether --with-libiconv-prefix was given.
28615 if test "${with_libiconv_prefix+set}" = set; then :
28616 withval=$with_libiconv_prefix;
28617 if test "X$withval" = "Xno"; then
28618 use_additional=no
28619 else
28620 if test "X$withval" = "X"; then
28622 acl_save_prefix="$prefix"
28623 prefix="$acl_final_prefix"
28624 acl_save_exec_prefix="$exec_prefix"
28625 exec_prefix="$acl_final_exec_prefix"
28627 eval additional_includedir=\"$includedir\"
28628 eval additional_libdir=\"$libdir\"
28630 exec_prefix="$acl_save_exec_prefix"
28631 prefix="$acl_save_prefix"
28633 else
28634 additional_includedir="$withval/include"
28635 additional_libdir="$withval/lib"
28641 LIBICONV=
28642 LTLIBICONV=
28643 INCICONV=
28644 rpathdirs=
28645 ltrpathdirs=
28646 names_already_handled=
28647 names_next_round='iconv '
28648 while test -n "$names_next_round"; do
28649 names_this_round="$names_next_round"
28650 names_next_round=
28651 for name in $names_this_round; do
28652 already_handled=
28653 for n in $names_already_handled; do
28654 if test "$n" = "$name"; then
28655 already_handled=yes
28656 break
28658 done
28659 if test -z "$already_handled"; then
28660 names_already_handled="$names_already_handled $name"
28661 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28662 eval value=\"\$HAVE_LIB$uppername\"
28663 if test -n "$value"; then
28664 if test "$value" = yes; then
28665 eval value=\"\$LIB$uppername\"
28666 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28667 eval value=\"\$LTLIB$uppername\"
28668 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28669 else
28672 else
28673 found_dir=
28674 found_la=
28675 found_so=
28676 found_a=
28677 if test $use_additional = yes; then
28678 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28679 found_dir="$additional_libdir"
28680 found_so="$additional_libdir/lib$name.$shlibext"
28681 if test -f "$additional_libdir/lib$name.la"; then
28682 found_la="$additional_libdir/lib$name.la"
28684 else
28685 if test -f "$additional_libdir/lib$name.$libext"; then
28686 found_dir="$additional_libdir"
28687 found_a="$additional_libdir/lib$name.$libext"
28688 if test -f "$additional_libdir/lib$name.la"; then
28689 found_la="$additional_libdir/lib$name.la"
28694 if test "X$found_dir" = "X"; then
28695 for x in $LDFLAGS $LTLIBICONV; do
28697 acl_save_prefix="$prefix"
28698 prefix="$acl_final_prefix"
28699 acl_save_exec_prefix="$exec_prefix"
28700 exec_prefix="$acl_final_exec_prefix"
28701 eval x=\"$x\"
28702 exec_prefix="$acl_save_exec_prefix"
28703 prefix="$acl_save_prefix"
28705 case "$x" in
28706 -L*)
28707 dir=`echo "X$x" | sed -e 's/^X-L//'`
28708 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28709 found_dir="$dir"
28710 found_so="$dir/lib$name.$shlibext"
28711 if test -f "$dir/lib$name.la"; then
28712 found_la="$dir/lib$name.la"
28714 else
28715 if test -f "$dir/lib$name.$libext"; then
28716 found_dir="$dir"
28717 found_a="$dir/lib$name.$libext"
28718 if test -f "$dir/lib$name.la"; then
28719 found_la="$dir/lib$name.la"
28724 esac
28725 if test "X$found_dir" != "X"; then
28726 break
28728 done
28730 if test "X$found_dir" != "X"; then
28731 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28732 if test "X$found_so" != "X"; then
28733 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28734 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28735 else
28736 haveit=
28737 for x in $ltrpathdirs; do
28738 if test "X$x" = "X$found_dir"; then
28739 haveit=yes
28740 break
28742 done
28743 if test -z "$haveit"; then
28744 ltrpathdirs="$ltrpathdirs $found_dir"
28746 if test "$hardcode_direct" = yes; then
28747 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28748 else
28749 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28750 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28751 haveit=
28752 for x in $rpathdirs; do
28753 if test "X$x" = "X$found_dir"; then
28754 haveit=yes
28755 break
28757 done
28758 if test -z "$haveit"; then
28759 rpathdirs="$rpathdirs $found_dir"
28761 else
28762 haveit=
28763 for x in $LDFLAGS $LIBICONV; do
28765 acl_save_prefix="$prefix"
28766 prefix="$acl_final_prefix"
28767 acl_save_exec_prefix="$exec_prefix"
28768 exec_prefix="$acl_final_exec_prefix"
28769 eval x=\"$x\"
28770 exec_prefix="$acl_save_exec_prefix"
28771 prefix="$acl_save_prefix"
28773 if test "X$x" = "X-L$found_dir"; then
28774 haveit=yes
28775 break
28777 done
28778 if test -z "$haveit"; then
28779 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28781 if test "$hardcode_minus_L" != no; then
28782 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28783 else
28784 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28789 else
28790 if test "X$found_a" != "X"; then
28791 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28792 else
28793 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28796 additional_includedir=
28797 case "$found_dir" in
28798 */lib | */lib/)
28799 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28800 additional_includedir="$basedir/include"
28802 esac
28803 if test "X$additional_includedir" != "X"; then
28804 if test "X$additional_includedir" != "X/usr/include"; then
28805 haveit=
28806 if test "X$additional_includedir" = "X/usr/local/include"; then
28807 if test -n "$GCC"; then
28808 case $host_os in
28809 linux*) haveit=yes;;
28810 esac
28813 if test -z "$haveit"; then
28814 for x in $CPPFLAGS $INCICONV; do
28816 acl_save_prefix="$prefix"
28817 prefix="$acl_final_prefix"
28818 acl_save_exec_prefix="$exec_prefix"
28819 exec_prefix="$acl_final_exec_prefix"
28820 eval x=\"$x\"
28821 exec_prefix="$acl_save_exec_prefix"
28822 prefix="$acl_save_prefix"
28824 if test "X$x" = "X-I$additional_includedir"; then
28825 haveit=yes
28826 break
28828 done
28829 if test -z "$haveit"; then
28830 if test -d "$additional_includedir"; then
28831 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28837 if test -n "$found_la"; then
28838 save_libdir="$libdir"
28839 case "$found_la" in
28840 */* | *\\*) . "$found_la" ;;
28841 *) . "./$found_la" ;;
28842 esac
28843 libdir="$save_libdir"
28844 for dep in $dependency_libs; do
28845 case "$dep" in
28846 -L*)
28847 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28848 if test "X$additional_libdir" != "X/usr/lib"; then
28849 haveit=
28850 if test "X$additional_libdir" = "X/usr/local/lib"; then
28851 if test -n "$GCC"; then
28852 case $host_os in
28853 linux*) haveit=yes;;
28854 esac
28857 if test -z "$haveit"; then
28858 haveit=
28859 for x in $LDFLAGS $LIBICONV; do
28861 acl_save_prefix="$prefix"
28862 prefix="$acl_final_prefix"
28863 acl_save_exec_prefix="$exec_prefix"
28864 exec_prefix="$acl_final_exec_prefix"
28865 eval x=\"$x\"
28866 exec_prefix="$acl_save_exec_prefix"
28867 prefix="$acl_save_prefix"
28869 if test "X$x" = "X-L$additional_libdir"; then
28870 haveit=yes
28871 break
28873 done
28874 if test -z "$haveit"; then
28875 if test -d "$additional_libdir"; then
28876 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28879 haveit=
28880 for x in $LDFLAGS $LTLIBICONV; do
28882 acl_save_prefix="$prefix"
28883 prefix="$acl_final_prefix"
28884 acl_save_exec_prefix="$exec_prefix"
28885 exec_prefix="$acl_final_exec_prefix"
28886 eval x=\"$x\"
28887 exec_prefix="$acl_save_exec_prefix"
28888 prefix="$acl_save_prefix"
28890 if test "X$x" = "X-L$additional_libdir"; then
28891 haveit=yes
28892 break
28894 done
28895 if test -z "$haveit"; then
28896 if test -d "$additional_libdir"; then
28897 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28903 -R*)
28904 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28905 if test "$enable_rpath" != no; then
28906 haveit=
28907 for x in $rpathdirs; do
28908 if test "X$x" = "X$dir"; then
28909 haveit=yes
28910 break
28912 done
28913 if test -z "$haveit"; then
28914 rpathdirs="$rpathdirs $dir"
28916 haveit=
28917 for x in $ltrpathdirs; do
28918 if test "X$x" = "X$dir"; then
28919 haveit=yes
28920 break
28922 done
28923 if test -z "$haveit"; then
28924 ltrpathdirs="$ltrpathdirs $dir"
28928 -l*)
28929 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28931 *.la)
28932 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28935 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28936 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28938 esac
28939 done
28941 else
28942 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28943 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28947 done
28948 done
28949 if test "X$rpathdirs" != "X"; then
28950 if test -n "$hardcode_libdir_separator"; then
28951 alldirs=
28952 for found_dir in $rpathdirs; do
28953 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28954 done
28955 acl_save_libdir="$libdir"
28956 libdir="$alldirs"
28957 eval flag=\"$hardcode_libdir_flag_spec\"
28958 libdir="$acl_save_libdir"
28959 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28960 else
28961 for found_dir in $rpathdirs; do
28962 acl_save_libdir="$libdir"
28963 libdir="$found_dir"
28964 eval flag=\"$hardcode_libdir_flag_spec\"
28965 libdir="$acl_save_libdir"
28966 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28967 done
28970 if test "X$ltrpathdirs" != "X"; then
28971 for found_dir in $ltrpathdirs; do
28972 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28973 done
28982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28983 $as_echo_n "checking for iconv... " >&6; }
28984 if ${am_cv_func_iconv+:} false; then :
28985 $as_echo_n "(cached) " >&6
28986 else
28988 am_cv_func_iconv="no, consider installing GNU libiconv"
28989 am_cv_lib_iconv=no
28990 am_save_CPPFLAGS="$CPPFLAGS"
28991 CPPFLAGS="$CPPFLAGS $INCICONV"
28992 if test x$gcc_no_link = xyes; then
28993 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28996 /* end confdefs.h. */
28997 #include <stdlib.h>
28998 #include <iconv.h>
29000 main ()
29002 iconv_t cd = iconv_open("","");
29003 iconv(cd,NULL,NULL,NULL,NULL);
29004 iconv_close(cd);
29006 return 0;
29008 _ACEOF
29009 if ac_fn_c_try_link "$LINENO"; then :
29010 am_cv_func_iconv=yes
29012 rm -f core conftest.err conftest.$ac_objext \
29013 conftest$ac_exeext conftest.$ac_ext
29014 CPPFLAGS="$am_save_CPPFLAGS"
29016 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
29017 for _libs in .libs _libs; do
29018 am_save_CPPFLAGS="$CPPFLAGS"
29019 am_save_LIBS="$LIBS"
29020 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
29021 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
29022 if test x$gcc_no_link = xyes; then
29023 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29026 /* end confdefs.h. */
29027 #include <stdlib.h>
29028 #include <iconv.h>
29030 main ()
29032 iconv_t cd = iconv_open("","");
29033 iconv(cd,NULL,NULL,NULL,NULL);
29034 iconv_close(cd);
29036 return 0;
29038 _ACEOF
29039 if ac_fn_c_try_link "$LINENO"; then :
29040 INCICONV="-I../libiconv/include"
29041 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
29042 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
29043 am_cv_lib_iconv=yes
29044 am_cv_func_iconv=yes
29046 rm -f core conftest.err conftest.$ac_objext \
29047 conftest$ac_exeext conftest.$ac_ext
29048 CPPFLAGS="$am_save_CPPFLAGS"
29049 LIBS="$am_save_LIBS"
29050 if test "$am_cv_func_iconv" = "yes"; then
29051 break
29053 done
29056 if test "$am_cv_func_iconv" != yes; then
29057 am_save_CPPFLAGS="$CPPFLAGS"
29058 am_save_LIBS="$LIBS"
29059 CPPFLAGS="$CPPFLAGS $INCICONV"
29060 LIBS="$LIBS $LIBICONV"
29061 if test x$gcc_no_link = xyes; then
29062 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29065 /* end confdefs.h. */
29066 #include <stdlib.h>
29067 #include <iconv.h>
29069 main ()
29071 iconv_t cd = iconv_open("","");
29072 iconv(cd,NULL,NULL,NULL,NULL);
29073 iconv_close(cd);
29075 return 0;
29077 _ACEOF
29078 if ac_fn_c_try_link "$LINENO"; then :
29079 am_cv_lib_iconv=yes
29080 am_cv_func_iconv=yes
29082 rm -f core conftest.err conftest.$ac_objext \
29083 conftest$ac_exeext conftest.$ac_ext
29084 CPPFLAGS="$am_save_CPPFLAGS"
29085 LIBS="$am_save_LIBS"
29089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29090 $as_echo "$am_cv_func_iconv" >&6; }
29091 if test "$am_cv_func_iconv" = yes; then
29093 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29096 if test "$am_cv_lib_iconv" = yes; then
29098 for element in $INCICONV; do
29099 haveit=
29100 for x in $CPPFLAGS; do
29102 acl_save_prefix="$prefix"
29103 prefix="$acl_final_prefix"
29104 acl_save_exec_prefix="$exec_prefix"
29105 exec_prefix="$acl_final_exec_prefix"
29106 eval x=\"$x\"
29107 exec_prefix="$acl_save_exec_prefix"
29108 prefix="$acl_save_prefix"
29110 if test "X$x" = "X$element"; then
29111 haveit=yes
29112 break
29114 done
29115 if test -z "$haveit"; then
29116 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29118 done
29120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29121 $as_echo_n "checking how to link with libiconv... " >&6; }
29122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29123 $as_echo "$LIBICONV" >&6; }
29124 else
29125 LIBICONV=
29126 LTLIBICONV=
29131 if test "$am_cv_func_iconv" = yes; then
29132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29133 $as_echo_n "checking for iconv declaration... " >&6; }
29134 if ${am_cv_proto_iconv+:} false; then :
29135 $as_echo_n "(cached) " >&6
29136 else
29138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29139 /* end confdefs.h. */
29141 #include <stdlib.h>
29142 #include <iconv.h>
29143 extern
29144 #ifdef __cplusplus
29146 #endif
29147 #if defined(__STDC__) || defined(__cplusplus)
29148 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29149 #else
29150 size_t iconv();
29151 #endif
29154 main ()
29158 return 0;
29160 _ACEOF
29161 if ac_fn_c_try_compile "$LINENO"; then :
29162 am_cv_proto_iconv_arg1=""
29163 else
29164 am_cv_proto_iconv_arg1="const"
29166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29167 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);"
29170 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29172 }$am_cv_proto_iconv" >&5
29173 $as_echo "${ac_t:-
29174 }$am_cv_proto_iconv" >&6; }
29176 cat >>confdefs.h <<_ACEOF
29177 #define ICONV_CONST $am_cv_proto_iconv_arg1
29178 _ACEOF
29183 else
29185 # This lets us hard-code the functionality we know we'll have in the cross
29186 # target environment. "Let" is a sugar-coated word placed on an especially
29187 # dull and tedious hack, actually.
29189 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29190 # that involve linking, can't be used:
29191 # "cannot open sim-crt0.o"
29192 # "cannot open crt0.o"
29193 # etc. All this is because there currently exists no unified, consistent
29194 # way for top level CC information to be passed down to target directories:
29195 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29196 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29197 # crosses can be removed.
29199 # If Canadian cross, then don't pick up tools from the build directory.
29200 # Used only in GLIBCXX_EXPORT_INCLUDES.
29201 if test -n "$with_cross_host" &&
29202 test x"$build_alias" != x"$with_cross_host" &&
29203 test x"$build" != x"$target";
29204 then
29205 CANADIAN=yes
29206 else
29207 CANADIAN=no
29210 # Construct crosses by hand, eliminating bits that need ld...
29211 # GLIBCXX_CHECK_MATH_SUPPORT
29213 # First, test for "known" system libraries. We may be using newlib even
29214 # on a hosted environment.
29215 if test "x${with_newlib}" = "xyes"; then
29216 os_include_dir="os/newlib"
29217 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29220 # GLIBCXX_CHECK_STDLIB_SUPPORT
29221 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29224 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29226 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29228 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29230 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29232 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29234 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29236 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29238 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29240 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29242 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29244 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29246 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29248 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29250 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29252 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29254 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29256 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29258 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29260 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29262 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29264 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29266 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29269 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29271 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29273 else
29275 # Base decisions on target environment.
29276 case "${host}" in
29277 arm*-*-symbianelf*)
29278 # This is a freestanding configuration; there is nothing to do here.
29281 avr*-*-*)
29282 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29284 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29286 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29288 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29290 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29292 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29294 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29296 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29298 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29300 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29302 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29304 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29306 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29308 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29310 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29312 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29314 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29316 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29318 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29320 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29322 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29324 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29326 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29330 mips*-sde-elf*)
29331 # These definitions are for the SDE C library rather than newlib.
29332 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29335 # All these tests are for C++; save the language and the compiler flags.
29336 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29337 # found in GLIBCXX_CONFIGURE.
29339 ac_ext=cpp
29340 ac_cpp='$CXXCPP $CPPFLAGS'
29341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29345 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29346 ac_save_CXXFLAGS="$CXXFLAGS"
29348 # Check for -ffunction-sections -fdata-sections
29349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29350 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29351 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29353 /* end confdefs.h. */
29354 int foo; void bar() { };
29356 main ()
29360 return 0;
29362 _ACEOF
29363 if ac_fn_cxx_try_compile "$LINENO"; then :
29364 ac_fdsections=yes
29365 else
29366 ac_fdsections=no
29368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29369 if test "$ac_test_CXXFLAGS" = set; then
29370 CXXFLAGS="$ac_save_CXXFLAGS"
29371 else
29372 # this is the suspicious part
29373 CXXFLAGS=''
29375 if test x"$ac_fdsections" = x"yes"; then
29376 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29379 $as_echo "$ac_fdsections" >&6; }
29381 ac_ext=c
29382 ac_cpp='$CPP $CPPFLAGS'
29383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29390 # If we're not using GNU ld, then there's no point in even trying these
29391 # tests. Check for that first. We should have already tested for gld
29392 # by now (in libtool), but require it now just to be safe...
29393 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29394 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29398 # The name set by libtool depends on the version of libtool. Shame on us
29399 # for depending on an impl detail, but c'est la vie. Older versions used
29400 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29401 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29402 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29403 # set (hence we're using an older libtool), then set it.
29404 if test x${with_gnu_ld+set} != xset; then
29405 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29406 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29407 with_gnu_ld=no
29408 else
29409 with_gnu_ld=$ac_cv_prog_gnu_ld
29413 # Start by getting the version number. I think the libtool test already
29414 # does some of this, but throws away the result.
29415 glibcxx_ld_is_gold=no
29416 if test x"$with_gnu_ld" = x"yes"; then
29417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29418 $as_echo_n "checking for ld version... " >&6; }
29420 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29421 glibcxx_ld_is_gold=yes
29423 ldver=`$LD --version 2>/dev/null |
29424 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'`
29426 glibcxx_gnu_ld_version=`echo $ldver | \
29427 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29429 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29432 # Set --gc-sections.
29433 glibcxx_have_gc_sections=no
29434 if test "$glibcxx_ld_is_gold" = "yes"; then
29435 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29436 glibcxx_have_gc_sections=yes
29438 else
29439 glibcxx_gcsections_min_ld=21602
29440 if test x"$with_gnu_ld" = x"yes" &&
29441 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29442 glibcxx_have_gc_sections=yes
29445 if test "$glibcxx_have_gc_sections" = "yes"; then
29446 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29447 # NB: This flag only works reliably after 2.16.1. Configure tests
29448 # for this are difficult, so hard wire a value that should work.
29450 ac_test_CFLAGS="${CFLAGS+set}"
29451 ac_save_CFLAGS="$CFLAGS"
29452 CFLAGS='-Wl,--gc-sections'
29454 # Check for -Wl,--gc-sections
29455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29456 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29457 if test x$gcc_no_link = xyes; then
29458 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29461 /* end confdefs.h. */
29462 int one(void) { return 1; }
29463 int two(void) { return 2; }
29466 main ()
29468 two();
29470 return 0;
29472 _ACEOF
29473 if ac_fn_c_try_link "$LINENO"; then :
29474 ac_gcsections=yes
29475 else
29476 ac_gcsections=no
29478 rm -f core conftest.err conftest.$ac_objext \
29479 conftest$ac_exeext conftest.$ac_ext
29480 if test "$ac_gcsections" = "yes"; then
29481 rm -f conftest.c
29482 touch conftest.c
29483 if $CC -c conftest.c; then
29484 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29485 grep "Warning: gc-sections option ignored" > /dev/null; then
29486 ac_gcsections=no
29489 rm -f conftest.c conftest.o conftest
29491 if test "$ac_gcsections" = "yes"; then
29492 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29495 $as_echo "$ac_gcsections" >&6; }
29497 if test "$ac_test_CFLAGS" = set; then
29498 CFLAGS="$ac_save_CFLAGS"
29499 else
29500 # this is the suspicious part
29501 CFLAGS=''
29505 # Set -z,relro.
29506 # Note this is only for shared objects.
29507 ac_ld_relro=no
29508 if test x"$with_gnu_ld" = x"yes"; then
29509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29510 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29511 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29512 if test -n "$cxx_z_relo"; then
29513 OPT_LDFLAGS="-Wl,-z,relro"
29514 ac_ld_relro=yes
29516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29517 $as_echo "$ac_ld_relro" >&6; }
29520 # Set linker optimization flags.
29521 if test x"$with_gnu_ld" = x"yes"; then
29522 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29529 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29530 ac_save_CXXFLAGS="$CXXFLAGS"
29531 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29534 $as_echo_n "checking for sin in -lm... " >&6; }
29535 if ${ac_cv_lib_m_sin+:} false; then :
29536 $as_echo_n "(cached) " >&6
29537 else
29538 ac_check_lib_save_LIBS=$LIBS
29539 LIBS="-lm $LIBS"
29540 if test x$gcc_no_link = xyes; then
29541 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29544 /* end confdefs.h. */
29546 /* Override any GCC internal prototype to avoid an error.
29547 Use char because int might match the return type of a GCC
29548 builtin and then its argument prototype would still apply. */
29549 #ifdef __cplusplus
29550 extern "C"
29551 #endif
29552 char sin ();
29554 main ()
29556 return sin ();
29558 return 0;
29560 _ACEOF
29561 if ac_fn_c_try_link "$LINENO"; then :
29562 ac_cv_lib_m_sin=yes
29563 else
29564 ac_cv_lib_m_sin=no
29566 rm -f core conftest.err conftest.$ac_objext \
29567 conftest$ac_exeext conftest.$ac_ext
29568 LIBS=$ac_check_lib_save_LIBS
29570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29571 $as_echo "$ac_cv_lib_m_sin" >&6; }
29572 if test "x$ac_cv_lib_m_sin" = xyes; then :
29573 libm="-lm"
29576 ac_save_LIBS="$LIBS"
29577 LIBS="$LIBS $libm"
29581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29582 $as_echo_n "checking for isinf declaration... " >&6; }
29583 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29584 if ${glibcxx_cv_func_isinf_use+:} false; then :
29585 $as_echo_n "(cached) " >&6
29586 else
29589 ac_ext=cpp
29590 ac_cpp='$CXXCPP $CPPFLAGS'
29591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29596 /* end confdefs.h. */
29597 #include <math.h>
29598 #ifdef HAVE_IEEEFP_H
29599 #include <ieeefp.h>
29600 #endif
29603 main ()
29605 isinf(0);
29607 return 0;
29609 _ACEOF
29610 if ac_fn_cxx_try_compile "$LINENO"; then :
29611 glibcxx_cv_func_isinf_use=yes
29612 else
29613 glibcxx_cv_func_isinf_use=no
29615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29616 ac_ext=c
29617 ac_cpp='$CPP $CPPFLAGS'
29618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29627 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29629 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29630 for ac_func in isinf
29631 do :
29632 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29633 if test "x$ac_cv_func_isinf" = xyes; then :
29634 cat >>confdefs.h <<_ACEOF
29635 #define HAVE_ISINF 1
29636 _ACEOF
29639 done
29641 else
29643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29644 $as_echo_n "checking for _isinf declaration... " >&6; }
29645 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29646 if ${glibcxx_cv_func__isinf_use+:} false; then :
29647 $as_echo_n "(cached) " >&6
29648 else
29651 ac_ext=cpp
29652 ac_cpp='$CXXCPP $CPPFLAGS'
29653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29658 /* end confdefs.h. */
29659 #include <math.h>
29660 #ifdef HAVE_IEEEFP_H
29661 #include <ieeefp.h>
29662 #endif
29665 main ()
29667 _isinf(0);
29669 return 0;
29671 _ACEOF
29672 if ac_fn_cxx_try_compile "$LINENO"; then :
29673 glibcxx_cv_func__isinf_use=yes
29674 else
29675 glibcxx_cv_func__isinf_use=no
29677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29678 ac_ext=c
29679 ac_cpp='$CPP $CPPFLAGS'
29680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29689 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29691 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29692 for ac_func in _isinf
29693 do :
29694 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29695 if test "x$ac_cv_func__isinf" = xyes; then :
29696 cat >>confdefs.h <<_ACEOF
29697 #define HAVE__ISINF 1
29698 _ACEOF
29701 done
29710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29711 $as_echo_n "checking for isnan declaration... " >&6; }
29712 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29713 if ${glibcxx_cv_func_isnan_use+:} false; then :
29714 $as_echo_n "(cached) " >&6
29715 else
29718 ac_ext=cpp
29719 ac_cpp='$CXXCPP $CPPFLAGS'
29720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29725 /* end confdefs.h. */
29726 #include <math.h>
29727 #ifdef HAVE_IEEEFP_H
29728 #include <ieeefp.h>
29729 #endif
29732 main ()
29734 isnan(0);
29736 return 0;
29738 _ACEOF
29739 if ac_fn_cxx_try_compile "$LINENO"; then :
29740 glibcxx_cv_func_isnan_use=yes
29741 else
29742 glibcxx_cv_func_isnan_use=no
29744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29745 ac_ext=c
29746 ac_cpp='$CPP $CPPFLAGS'
29747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29756 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29758 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29759 for ac_func in isnan
29760 do :
29761 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29762 if test "x$ac_cv_func_isnan" = xyes; then :
29763 cat >>confdefs.h <<_ACEOF
29764 #define HAVE_ISNAN 1
29765 _ACEOF
29768 done
29770 else
29772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29773 $as_echo_n "checking for _isnan declaration... " >&6; }
29774 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29775 if ${glibcxx_cv_func__isnan_use+:} false; then :
29776 $as_echo_n "(cached) " >&6
29777 else
29780 ac_ext=cpp
29781 ac_cpp='$CXXCPP $CPPFLAGS'
29782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29787 /* end confdefs.h. */
29788 #include <math.h>
29789 #ifdef HAVE_IEEEFP_H
29790 #include <ieeefp.h>
29791 #endif
29794 main ()
29796 _isnan(0);
29798 return 0;
29800 _ACEOF
29801 if ac_fn_cxx_try_compile "$LINENO"; then :
29802 glibcxx_cv_func__isnan_use=yes
29803 else
29804 glibcxx_cv_func__isnan_use=no
29806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29807 ac_ext=c
29808 ac_cpp='$CPP $CPPFLAGS'
29809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29818 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29820 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29821 for ac_func in _isnan
29822 do :
29823 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29824 if test "x$ac_cv_func__isnan" = xyes; then :
29825 cat >>confdefs.h <<_ACEOF
29826 #define HAVE__ISNAN 1
29827 _ACEOF
29830 done
29839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29840 $as_echo_n "checking for finite declaration... " >&6; }
29841 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29842 if ${glibcxx_cv_func_finite_use+:} false; then :
29843 $as_echo_n "(cached) " >&6
29844 else
29847 ac_ext=cpp
29848 ac_cpp='$CXXCPP $CPPFLAGS'
29849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29854 /* end confdefs.h. */
29855 #include <math.h>
29856 #ifdef HAVE_IEEEFP_H
29857 #include <ieeefp.h>
29858 #endif
29861 main ()
29863 finite(0);
29865 return 0;
29867 _ACEOF
29868 if ac_fn_cxx_try_compile "$LINENO"; then :
29869 glibcxx_cv_func_finite_use=yes
29870 else
29871 glibcxx_cv_func_finite_use=no
29873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29874 ac_ext=c
29875 ac_cpp='$CPP $CPPFLAGS'
29876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29885 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29887 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29888 for ac_func in finite
29889 do :
29890 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29891 if test "x$ac_cv_func_finite" = xyes; then :
29892 cat >>confdefs.h <<_ACEOF
29893 #define HAVE_FINITE 1
29894 _ACEOF
29897 done
29899 else
29901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29902 $as_echo_n "checking for _finite declaration... " >&6; }
29903 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29904 if ${glibcxx_cv_func__finite_use+:} false; then :
29905 $as_echo_n "(cached) " >&6
29906 else
29909 ac_ext=cpp
29910 ac_cpp='$CXXCPP $CPPFLAGS'
29911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29916 /* end confdefs.h. */
29917 #include <math.h>
29918 #ifdef HAVE_IEEEFP_H
29919 #include <ieeefp.h>
29920 #endif
29923 main ()
29925 _finite(0);
29927 return 0;
29929 _ACEOF
29930 if ac_fn_cxx_try_compile "$LINENO"; then :
29931 glibcxx_cv_func__finite_use=yes
29932 else
29933 glibcxx_cv_func__finite_use=no
29935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29936 ac_ext=c
29937 ac_cpp='$CPP $CPPFLAGS'
29938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29947 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29949 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29950 for ac_func in _finite
29951 do :
29952 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29953 if test "x$ac_cv_func__finite" = xyes; then :
29954 cat >>confdefs.h <<_ACEOF
29955 #define HAVE__FINITE 1
29956 _ACEOF
29959 done
29968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29969 $as_echo_n "checking for sincos declaration... " >&6; }
29970 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29971 if ${glibcxx_cv_func_sincos_use+:} false; then :
29972 $as_echo_n "(cached) " >&6
29973 else
29976 ac_ext=cpp
29977 ac_cpp='$CXXCPP $CPPFLAGS'
29978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29983 /* end confdefs.h. */
29984 #include <math.h>
29986 main ()
29988 sincos(0, 0, 0);
29990 return 0;
29992 _ACEOF
29993 if ac_fn_cxx_try_compile "$LINENO"; then :
29994 glibcxx_cv_func_sincos_use=yes
29995 else
29996 glibcxx_cv_func_sincos_use=no
29998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29999 ac_ext=c
30000 ac_cpp='$CPP $CPPFLAGS'
30001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
30010 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
30012 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
30013 for ac_func in sincos
30014 do :
30015 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
30016 if test "x$ac_cv_func_sincos" = xyes; then :
30017 cat >>confdefs.h <<_ACEOF
30018 #define HAVE_SINCOS 1
30019 _ACEOF
30022 done
30024 else
30026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
30027 $as_echo_n "checking for _sincos declaration... " >&6; }
30028 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
30029 if ${glibcxx_cv_func__sincos_use+:} false; then :
30030 $as_echo_n "(cached) " >&6
30031 else
30034 ac_ext=cpp
30035 ac_cpp='$CXXCPP $CPPFLAGS'
30036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30041 /* end confdefs.h. */
30042 #include <math.h>
30044 main ()
30046 _sincos(0, 0, 0);
30048 return 0;
30050 _ACEOF
30051 if ac_fn_cxx_try_compile "$LINENO"; then :
30052 glibcxx_cv_func__sincos_use=yes
30053 else
30054 glibcxx_cv_func__sincos_use=no
30056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30057 ac_ext=c
30058 ac_cpp='$CPP $CPPFLAGS'
30059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
30068 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
30070 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
30071 for ac_func in _sincos
30072 do :
30073 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
30074 if test "x$ac_cv_func__sincos" = xyes; then :
30075 cat >>confdefs.h <<_ACEOF
30076 #define HAVE__SINCOS 1
30077 _ACEOF
30080 done
30089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30090 $as_echo_n "checking for fpclass declaration... " >&6; }
30091 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30092 if ${glibcxx_cv_func_fpclass_use+:} false; then :
30093 $as_echo_n "(cached) " >&6
30094 else
30097 ac_ext=cpp
30098 ac_cpp='$CXXCPP $CPPFLAGS'
30099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30104 /* end confdefs.h. */
30105 #include <math.h>
30106 #ifdef HAVE_IEEEFP_H
30107 #include <ieeefp.h>
30108 #endif
30111 main ()
30113 fpclass(0);
30115 return 0;
30117 _ACEOF
30118 if ac_fn_cxx_try_compile "$LINENO"; then :
30119 glibcxx_cv_func_fpclass_use=yes
30120 else
30121 glibcxx_cv_func_fpclass_use=no
30123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30124 ac_ext=c
30125 ac_cpp='$CPP $CPPFLAGS'
30126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30135 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30137 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30138 for ac_func in fpclass
30139 do :
30140 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30141 if test "x$ac_cv_func_fpclass" = xyes; then :
30142 cat >>confdefs.h <<_ACEOF
30143 #define HAVE_FPCLASS 1
30144 _ACEOF
30147 done
30149 else
30151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30152 $as_echo_n "checking for _fpclass declaration... " >&6; }
30153 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30154 if ${glibcxx_cv_func__fpclass_use+:} false; then :
30155 $as_echo_n "(cached) " >&6
30156 else
30159 ac_ext=cpp
30160 ac_cpp='$CXXCPP $CPPFLAGS'
30161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30166 /* end confdefs.h. */
30167 #include <math.h>
30168 #ifdef HAVE_IEEEFP_H
30169 #include <ieeefp.h>
30170 #endif
30173 main ()
30175 _fpclass(0);
30177 return 0;
30179 _ACEOF
30180 if ac_fn_cxx_try_compile "$LINENO"; then :
30181 glibcxx_cv_func__fpclass_use=yes
30182 else
30183 glibcxx_cv_func__fpclass_use=no
30185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30186 ac_ext=c
30187 ac_cpp='$CPP $CPPFLAGS'
30188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30197 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30199 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30200 for ac_func in _fpclass
30201 do :
30202 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30203 if test "x$ac_cv_func__fpclass" = xyes; then :
30204 cat >>confdefs.h <<_ACEOF
30205 #define HAVE__FPCLASS 1
30206 _ACEOF
30209 done
30218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30219 $as_echo_n "checking for qfpclass declaration... " >&6; }
30220 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30221 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30222 $as_echo_n "(cached) " >&6
30223 else
30226 ac_ext=cpp
30227 ac_cpp='$CXXCPP $CPPFLAGS'
30228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30233 /* end confdefs.h. */
30234 #include <math.h>
30235 #ifdef HAVE_IEEEFP_H
30236 #include <ieeefp.h>
30237 #endif
30240 main ()
30242 qfpclass(0);
30244 return 0;
30246 _ACEOF
30247 if ac_fn_cxx_try_compile "$LINENO"; then :
30248 glibcxx_cv_func_qfpclass_use=yes
30249 else
30250 glibcxx_cv_func_qfpclass_use=no
30252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30253 ac_ext=c
30254 ac_cpp='$CPP $CPPFLAGS'
30255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30264 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30266 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30267 for ac_func in qfpclass
30268 do :
30269 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30270 if test "x$ac_cv_func_qfpclass" = xyes; then :
30271 cat >>confdefs.h <<_ACEOF
30272 #define HAVE_QFPCLASS 1
30273 _ACEOF
30276 done
30278 else
30280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30281 $as_echo_n "checking for _qfpclass declaration... " >&6; }
30282 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30283 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30284 $as_echo_n "(cached) " >&6
30285 else
30288 ac_ext=cpp
30289 ac_cpp='$CXXCPP $CPPFLAGS'
30290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30295 /* end confdefs.h. */
30296 #include <math.h>
30297 #ifdef HAVE_IEEEFP_H
30298 #include <ieeefp.h>
30299 #endif
30302 main ()
30304 _qfpclass(0);
30306 return 0;
30308 _ACEOF
30309 if ac_fn_cxx_try_compile "$LINENO"; then :
30310 glibcxx_cv_func__qfpclass_use=yes
30311 else
30312 glibcxx_cv_func__qfpclass_use=no
30314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30315 ac_ext=c
30316 ac_cpp='$CPP $CPPFLAGS'
30317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30326 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30328 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30329 for ac_func in _qfpclass
30330 do :
30331 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30332 if test "x$ac_cv_func__qfpclass" = xyes; then :
30333 cat >>confdefs.h <<_ACEOF
30334 #define HAVE__QFPCLASS 1
30335 _ACEOF
30338 done
30347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30348 $as_echo_n "checking for hypot declaration... " >&6; }
30349 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30350 if ${glibcxx_cv_func_hypot_use+:} false; then :
30351 $as_echo_n "(cached) " >&6
30352 else
30355 ac_ext=cpp
30356 ac_cpp='$CXXCPP $CPPFLAGS'
30357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30362 /* end confdefs.h. */
30363 #include <math.h>
30365 main ()
30367 hypot(0, 0);
30369 return 0;
30371 _ACEOF
30372 if ac_fn_cxx_try_compile "$LINENO"; then :
30373 glibcxx_cv_func_hypot_use=yes
30374 else
30375 glibcxx_cv_func_hypot_use=no
30377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30378 ac_ext=c
30379 ac_cpp='$CPP $CPPFLAGS'
30380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30389 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30391 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30392 for ac_func in hypot
30393 do :
30394 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30395 if test "x$ac_cv_func_hypot" = xyes; then :
30396 cat >>confdefs.h <<_ACEOF
30397 #define HAVE_HYPOT 1
30398 _ACEOF
30401 done
30403 else
30405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30406 $as_echo_n "checking for _hypot declaration... " >&6; }
30407 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30408 if ${glibcxx_cv_func__hypot_use+:} false; then :
30409 $as_echo_n "(cached) " >&6
30410 else
30413 ac_ext=cpp
30414 ac_cpp='$CXXCPP $CPPFLAGS'
30415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30420 /* end confdefs.h. */
30421 #include <math.h>
30423 main ()
30425 _hypot(0, 0);
30427 return 0;
30429 _ACEOF
30430 if ac_fn_cxx_try_compile "$LINENO"; then :
30431 glibcxx_cv_func__hypot_use=yes
30432 else
30433 glibcxx_cv_func__hypot_use=no
30435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30436 ac_ext=c
30437 ac_cpp='$CPP $CPPFLAGS'
30438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30447 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30449 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30450 for ac_func in _hypot
30451 do :
30452 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30453 if test "x$ac_cv_func__hypot" = xyes; then :
30454 cat >>confdefs.h <<_ACEOF
30455 #define HAVE__HYPOT 1
30456 _ACEOF
30459 done
30468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30469 $as_echo_n "checking for float trig functions... " >&6; }
30470 if ${glibcxx_cv_func_float_trig_use+:} false; then :
30471 $as_echo_n "(cached) " >&6
30472 else
30475 ac_ext=cpp
30476 ac_cpp='$CXXCPP $CPPFLAGS'
30477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30482 /* end confdefs.h. */
30483 #include <math.h>
30485 main ()
30487 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30489 return 0;
30491 _ACEOF
30492 if ac_fn_cxx_try_compile "$LINENO"; then :
30493 glibcxx_cv_func_float_trig_use=yes
30494 else
30495 glibcxx_cv_func_float_trig_use=no
30497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30498 ac_ext=c
30499 ac_cpp='$CPP $CPPFLAGS'
30500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30507 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30508 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30509 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30510 do :
30511 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30512 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30513 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30514 cat >>confdefs.h <<_ACEOF
30515 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30516 _ACEOF
30519 done
30521 else
30522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30523 $as_echo_n "checking for _float trig functions... " >&6; }
30524 if ${glibcxx_cv_func__float_trig_use+:} false; then :
30525 $as_echo_n "(cached) " >&6
30526 else
30529 ac_ext=cpp
30530 ac_cpp='$CXXCPP $CPPFLAGS'
30531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30536 /* end confdefs.h. */
30537 #include <math.h>
30539 main ()
30541 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30543 return 0;
30545 _ACEOF
30546 if ac_fn_cxx_try_compile "$LINENO"; then :
30547 glibcxx_cv_func__float_trig_use=yes
30548 else
30549 glibcxx_cv_func__float_trig_use=no
30551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30552 ac_ext=c
30553 ac_cpp='$CPP $CPPFLAGS'
30554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30561 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30562 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30563 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30564 do :
30565 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30566 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30567 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30568 cat >>confdefs.h <<_ACEOF
30569 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30570 _ACEOF
30573 done
30582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30583 $as_echo_n "checking for float round functions... " >&6; }
30584 if ${glibcxx_cv_func_float_round_use+:} false; then :
30585 $as_echo_n "(cached) " >&6
30586 else
30589 ac_ext=cpp
30590 ac_cpp='$CXXCPP $CPPFLAGS'
30591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30596 /* end confdefs.h. */
30597 #include <math.h>
30599 main ()
30601 ceilf (0); floorf (0);
30603 return 0;
30605 _ACEOF
30606 if ac_fn_cxx_try_compile "$LINENO"; then :
30607 glibcxx_cv_func_float_round_use=yes
30608 else
30609 glibcxx_cv_func_float_round_use=no
30611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30612 ac_ext=c
30613 ac_cpp='$CPP $CPPFLAGS'
30614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30621 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30622 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30623 for ac_func in ceilf floorf
30624 do :
30625 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30626 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30627 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30628 cat >>confdefs.h <<_ACEOF
30629 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30630 _ACEOF
30633 done
30635 else
30636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30637 $as_echo_n "checking for _float round functions... " >&6; }
30638 if ${glibcxx_cv_func__float_round_use+:} false; then :
30639 $as_echo_n "(cached) " >&6
30640 else
30643 ac_ext=cpp
30644 ac_cpp='$CXXCPP $CPPFLAGS'
30645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30650 /* end confdefs.h. */
30651 #include <math.h>
30653 main ()
30655 _ceilf (0); _floorf (0);
30657 return 0;
30659 _ACEOF
30660 if ac_fn_cxx_try_compile "$LINENO"; then :
30661 glibcxx_cv_func__float_round_use=yes
30662 else
30663 glibcxx_cv_func__float_round_use=no
30665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30666 ac_ext=c
30667 ac_cpp='$CPP $CPPFLAGS'
30668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30675 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30676 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30677 for ac_func in _ceilf _floorf
30678 do :
30679 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30680 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30681 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30682 cat >>confdefs.h <<_ACEOF
30683 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30684 _ACEOF
30687 done
30697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30698 $as_echo_n "checking for expf declaration... " >&6; }
30699 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30700 if ${glibcxx_cv_func_expf_use+:} false; then :
30701 $as_echo_n "(cached) " >&6
30702 else
30705 ac_ext=cpp
30706 ac_cpp='$CXXCPP $CPPFLAGS'
30707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30712 /* end confdefs.h. */
30713 #include <math.h>
30714 #ifdef HAVE_IEEEFP_H
30715 #include <ieeefp.h>
30716 #endif
30719 main ()
30721 expf(0);
30723 return 0;
30725 _ACEOF
30726 if ac_fn_cxx_try_compile "$LINENO"; then :
30727 glibcxx_cv_func_expf_use=yes
30728 else
30729 glibcxx_cv_func_expf_use=no
30731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30732 ac_ext=c
30733 ac_cpp='$CPP $CPPFLAGS'
30734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30743 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30745 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30746 for ac_func in expf
30747 do :
30748 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30749 if test "x$ac_cv_func_expf" = xyes; then :
30750 cat >>confdefs.h <<_ACEOF
30751 #define HAVE_EXPF 1
30752 _ACEOF
30755 done
30757 else
30759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30760 $as_echo_n "checking for _expf declaration... " >&6; }
30761 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30762 if ${glibcxx_cv_func__expf_use+:} false; then :
30763 $as_echo_n "(cached) " >&6
30764 else
30767 ac_ext=cpp
30768 ac_cpp='$CXXCPP $CPPFLAGS'
30769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30774 /* end confdefs.h. */
30775 #include <math.h>
30776 #ifdef HAVE_IEEEFP_H
30777 #include <ieeefp.h>
30778 #endif
30781 main ()
30783 _expf(0);
30785 return 0;
30787 _ACEOF
30788 if ac_fn_cxx_try_compile "$LINENO"; then :
30789 glibcxx_cv_func__expf_use=yes
30790 else
30791 glibcxx_cv_func__expf_use=no
30793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30794 ac_ext=c
30795 ac_cpp='$CPP $CPPFLAGS'
30796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30805 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30807 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30808 for ac_func in _expf
30809 do :
30810 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30811 if test "x$ac_cv_func__expf" = xyes; then :
30812 cat >>confdefs.h <<_ACEOF
30813 #define HAVE__EXPF 1
30814 _ACEOF
30817 done
30826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30827 $as_echo_n "checking for isnanf declaration... " >&6; }
30828 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30829 if ${glibcxx_cv_func_isnanf_use+:} false; then :
30830 $as_echo_n "(cached) " >&6
30831 else
30834 ac_ext=cpp
30835 ac_cpp='$CXXCPP $CPPFLAGS'
30836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30841 /* end confdefs.h. */
30842 #include <math.h>
30843 #ifdef HAVE_IEEEFP_H
30844 #include <ieeefp.h>
30845 #endif
30848 main ()
30850 isnanf(0);
30852 return 0;
30854 _ACEOF
30855 if ac_fn_cxx_try_compile "$LINENO"; then :
30856 glibcxx_cv_func_isnanf_use=yes
30857 else
30858 glibcxx_cv_func_isnanf_use=no
30860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30861 ac_ext=c
30862 ac_cpp='$CPP $CPPFLAGS'
30863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30872 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30874 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30875 for ac_func in isnanf
30876 do :
30877 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30878 if test "x$ac_cv_func_isnanf" = xyes; then :
30879 cat >>confdefs.h <<_ACEOF
30880 #define HAVE_ISNANF 1
30881 _ACEOF
30884 done
30886 else
30888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30889 $as_echo_n "checking for _isnanf declaration... " >&6; }
30890 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30891 if ${glibcxx_cv_func__isnanf_use+:} false; then :
30892 $as_echo_n "(cached) " >&6
30893 else
30896 ac_ext=cpp
30897 ac_cpp='$CXXCPP $CPPFLAGS'
30898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30903 /* end confdefs.h. */
30904 #include <math.h>
30905 #ifdef HAVE_IEEEFP_H
30906 #include <ieeefp.h>
30907 #endif
30910 main ()
30912 _isnanf(0);
30914 return 0;
30916 _ACEOF
30917 if ac_fn_cxx_try_compile "$LINENO"; then :
30918 glibcxx_cv_func__isnanf_use=yes
30919 else
30920 glibcxx_cv_func__isnanf_use=no
30922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30923 ac_ext=c
30924 ac_cpp='$CPP $CPPFLAGS'
30925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30934 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30936 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30937 for ac_func in _isnanf
30938 do :
30939 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30940 if test "x$ac_cv_func__isnanf" = xyes; then :
30941 cat >>confdefs.h <<_ACEOF
30942 #define HAVE__ISNANF 1
30943 _ACEOF
30946 done
30955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30956 $as_echo_n "checking for isinff declaration... " >&6; }
30957 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30958 if ${glibcxx_cv_func_isinff_use+:} false; then :
30959 $as_echo_n "(cached) " >&6
30960 else
30963 ac_ext=cpp
30964 ac_cpp='$CXXCPP $CPPFLAGS'
30965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30970 /* end confdefs.h. */
30971 #include <math.h>
30972 #ifdef HAVE_IEEEFP_H
30973 #include <ieeefp.h>
30974 #endif
30977 main ()
30979 isinff(0);
30981 return 0;
30983 _ACEOF
30984 if ac_fn_cxx_try_compile "$LINENO"; then :
30985 glibcxx_cv_func_isinff_use=yes
30986 else
30987 glibcxx_cv_func_isinff_use=no
30989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30990 ac_ext=c
30991 ac_cpp='$CPP $CPPFLAGS'
30992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
31001 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
31003 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31004 for ac_func in isinff
31005 do :
31006 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
31007 if test "x$ac_cv_func_isinff" = xyes; then :
31008 cat >>confdefs.h <<_ACEOF
31009 #define HAVE_ISINFF 1
31010 _ACEOF
31013 done
31015 else
31017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
31018 $as_echo_n "checking for _isinff declaration... " >&6; }
31019 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
31020 if ${glibcxx_cv_func__isinff_use+:} false; then :
31021 $as_echo_n "(cached) " >&6
31022 else
31025 ac_ext=cpp
31026 ac_cpp='$CXXCPP $CPPFLAGS'
31027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31032 /* end confdefs.h. */
31033 #include <math.h>
31034 #ifdef HAVE_IEEEFP_H
31035 #include <ieeefp.h>
31036 #endif
31039 main ()
31041 _isinff(0);
31043 return 0;
31045 _ACEOF
31046 if ac_fn_cxx_try_compile "$LINENO"; then :
31047 glibcxx_cv_func__isinff_use=yes
31048 else
31049 glibcxx_cv_func__isinff_use=no
31051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31052 ac_ext=c
31053 ac_cpp='$CPP $CPPFLAGS'
31054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
31063 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
31065 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31066 for ac_func in _isinff
31067 do :
31068 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
31069 if test "x$ac_cv_func__isinff" = xyes; then :
31070 cat >>confdefs.h <<_ACEOF
31071 #define HAVE__ISINFF 1
31072 _ACEOF
31075 done
31084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31085 $as_echo_n "checking for atan2f declaration... " >&6; }
31086 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31087 if ${glibcxx_cv_func_atan2f_use+:} false; then :
31088 $as_echo_n "(cached) " >&6
31089 else
31092 ac_ext=cpp
31093 ac_cpp='$CXXCPP $CPPFLAGS'
31094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31099 /* end confdefs.h. */
31100 #include <math.h>
31102 main ()
31104 atan2f(0, 0);
31106 return 0;
31108 _ACEOF
31109 if ac_fn_cxx_try_compile "$LINENO"; then :
31110 glibcxx_cv_func_atan2f_use=yes
31111 else
31112 glibcxx_cv_func_atan2f_use=no
31114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31115 ac_ext=c
31116 ac_cpp='$CPP $CPPFLAGS'
31117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31126 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31128 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31129 for ac_func in atan2f
31130 do :
31131 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31132 if test "x$ac_cv_func_atan2f" = xyes; then :
31133 cat >>confdefs.h <<_ACEOF
31134 #define HAVE_ATAN2F 1
31135 _ACEOF
31138 done
31140 else
31142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31143 $as_echo_n "checking for _atan2f declaration... " >&6; }
31144 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31145 if ${glibcxx_cv_func__atan2f_use+:} false; then :
31146 $as_echo_n "(cached) " >&6
31147 else
31150 ac_ext=cpp
31151 ac_cpp='$CXXCPP $CPPFLAGS'
31152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31157 /* end confdefs.h. */
31158 #include <math.h>
31160 main ()
31162 _atan2f(0, 0);
31164 return 0;
31166 _ACEOF
31167 if ac_fn_cxx_try_compile "$LINENO"; then :
31168 glibcxx_cv_func__atan2f_use=yes
31169 else
31170 glibcxx_cv_func__atan2f_use=no
31172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31173 ac_ext=c
31174 ac_cpp='$CPP $CPPFLAGS'
31175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31184 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31186 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31187 for ac_func in _atan2f
31188 do :
31189 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31190 if test "x$ac_cv_func__atan2f" = xyes; then :
31191 cat >>confdefs.h <<_ACEOF
31192 #define HAVE__ATAN2F 1
31193 _ACEOF
31196 done
31205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31206 $as_echo_n "checking for fabsf declaration... " >&6; }
31207 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31208 if ${glibcxx_cv_func_fabsf_use+:} false; then :
31209 $as_echo_n "(cached) " >&6
31210 else
31213 ac_ext=cpp
31214 ac_cpp='$CXXCPP $CPPFLAGS'
31215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31220 /* end confdefs.h. */
31221 #include <math.h>
31222 #ifdef HAVE_IEEEFP_H
31223 #include <ieeefp.h>
31224 #endif
31227 main ()
31229 fabsf(0);
31231 return 0;
31233 _ACEOF
31234 if ac_fn_cxx_try_compile "$LINENO"; then :
31235 glibcxx_cv_func_fabsf_use=yes
31236 else
31237 glibcxx_cv_func_fabsf_use=no
31239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31240 ac_ext=c
31241 ac_cpp='$CPP $CPPFLAGS'
31242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31251 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31253 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31254 for ac_func in fabsf
31255 do :
31256 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31257 if test "x$ac_cv_func_fabsf" = xyes; then :
31258 cat >>confdefs.h <<_ACEOF
31259 #define HAVE_FABSF 1
31260 _ACEOF
31263 done
31265 else
31267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31268 $as_echo_n "checking for _fabsf declaration... " >&6; }
31269 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31270 if ${glibcxx_cv_func__fabsf_use+:} false; then :
31271 $as_echo_n "(cached) " >&6
31272 else
31275 ac_ext=cpp
31276 ac_cpp='$CXXCPP $CPPFLAGS'
31277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31282 /* end confdefs.h. */
31283 #include <math.h>
31284 #ifdef HAVE_IEEEFP_H
31285 #include <ieeefp.h>
31286 #endif
31289 main ()
31291 _fabsf(0);
31293 return 0;
31295 _ACEOF
31296 if ac_fn_cxx_try_compile "$LINENO"; then :
31297 glibcxx_cv_func__fabsf_use=yes
31298 else
31299 glibcxx_cv_func__fabsf_use=no
31301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31302 ac_ext=c
31303 ac_cpp='$CPP $CPPFLAGS'
31304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31313 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31315 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31316 for ac_func in _fabsf
31317 do :
31318 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31319 if test "x$ac_cv_func__fabsf" = xyes; then :
31320 cat >>confdefs.h <<_ACEOF
31321 #define HAVE__FABSF 1
31322 _ACEOF
31325 done
31334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31335 $as_echo_n "checking for fmodf declaration... " >&6; }
31336 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31337 if ${glibcxx_cv_func_fmodf_use+:} false; then :
31338 $as_echo_n "(cached) " >&6
31339 else
31342 ac_ext=cpp
31343 ac_cpp='$CXXCPP $CPPFLAGS'
31344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31349 /* end confdefs.h. */
31350 #include <math.h>
31352 main ()
31354 fmodf(0, 0);
31356 return 0;
31358 _ACEOF
31359 if ac_fn_cxx_try_compile "$LINENO"; then :
31360 glibcxx_cv_func_fmodf_use=yes
31361 else
31362 glibcxx_cv_func_fmodf_use=no
31364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31365 ac_ext=c
31366 ac_cpp='$CPP $CPPFLAGS'
31367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31376 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31378 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31379 for ac_func in fmodf
31380 do :
31381 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31382 if test "x$ac_cv_func_fmodf" = xyes; then :
31383 cat >>confdefs.h <<_ACEOF
31384 #define HAVE_FMODF 1
31385 _ACEOF
31388 done
31390 else
31392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31393 $as_echo_n "checking for _fmodf declaration... " >&6; }
31394 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31395 if ${glibcxx_cv_func__fmodf_use+:} false; then :
31396 $as_echo_n "(cached) " >&6
31397 else
31400 ac_ext=cpp
31401 ac_cpp='$CXXCPP $CPPFLAGS'
31402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31407 /* end confdefs.h. */
31408 #include <math.h>
31410 main ()
31412 _fmodf(0, 0);
31414 return 0;
31416 _ACEOF
31417 if ac_fn_cxx_try_compile "$LINENO"; then :
31418 glibcxx_cv_func__fmodf_use=yes
31419 else
31420 glibcxx_cv_func__fmodf_use=no
31422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31423 ac_ext=c
31424 ac_cpp='$CPP $CPPFLAGS'
31425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31434 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31436 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31437 for ac_func in _fmodf
31438 do :
31439 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31440 if test "x$ac_cv_func__fmodf" = xyes; then :
31441 cat >>confdefs.h <<_ACEOF
31442 #define HAVE__FMODF 1
31443 _ACEOF
31446 done
31455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31456 $as_echo_n "checking for frexpf declaration... " >&6; }
31457 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31458 if ${glibcxx_cv_func_frexpf_use+:} false; then :
31459 $as_echo_n "(cached) " >&6
31460 else
31463 ac_ext=cpp
31464 ac_cpp='$CXXCPP $CPPFLAGS'
31465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31470 /* end confdefs.h. */
31471 #include <math.h>
31473 main ()
31475 frexpf(0, 0);
31477 return 0;
31479 _ACEOF
31480 if ac_fn_cxx_try_compile "$LINENO"; then :
31481 glibcxx_cv_func_frexpf_use=yes
31482 else
31483 glibcxx_cv_func_frexpf_use=no
31485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31486 ac_ext=c
31487 ac_cpp='$CPP $CPPFLAGS'
31488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31497 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31499 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31500 for ac_func in frexpf
31501 do :
31502 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31503 if test "x$ac_cv_func_frexpf" = xyes; then :
31504 cat >>confdefs.h <<_ACEOF
31505 #define HAVE_FREXPF 1
31506 _ACEOF
31509 done
31511 else
31513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31514 $as_echo_n "checking for _frexpf declaration... " >&6; }
31515 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31516 if ${glibcxx_cv_func__frexpf_use+:} false; then :
31517 $as_echo_n "(cached) " >&6
31518 else
31521 ac_ext=cpp
31522 ac_cpp='$CXXCPP $CPPFLAGS'
31523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31528 /* end confdefs.h. */
31529 #include <math.h>
31531 main ()
31533 _frexpf(0, 0);
31535 return 0;
31537 _ACEOF
31538 if ac_fn_cxx_try_compile "$LINENO"; then :
31539 glibcxx_cv_func__frexpf_use=yes
31540 else
31541 glibcxx_cv_func__frexpf_use=no
31543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31544 ac_ext=c
31545 ac_cpp='$CPP $CPPFLAGS'
31546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31555 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31557 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31558 for ac_func in _frexpf
31559 do :
31560 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31561 if test "x$ac_cv_func__frexpf" = xyes; then :
31562 cat >>confdefs.h <<_ACEOF
31563 #define HAVE__FREXPF 1
31564 _ACEOF
31567 done
31576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31577 $as_echo_n "checking for hypotf declaration... " >&6; }
31578 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31579 if ${glibcxx_cv_func_hypotf_use+:} false; then :
31580 $as_echo_n "(cached) " >&6
31581 else
31584 ac_ext=cpp
31585 ac_cpp='$CXXCPP $CPPFLAGS'
31586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31591 /* end confdefs.h. */
31592 #include <math.h>
31594 main ()
31596 hypotf(0, 0);
31598 return 0;
31600 _ACEOF
31601 if ac_fn_cxx_try_compile "$LINENO"; then :
31602 glibcxx_cv_func_hypotf_use=yes
31603 else
31604 glibcxx_cv_func_hypotf_use=no
31606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31607 ac_ext=c
31608 ac_cpp='$CPP $CPPFLAGS'
31609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31618 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31620 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31621 for ac_func in hypotf
31622 do :
31623 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31624 if test "x$ac_cv_func_hypotf" = xyes; then :
31625 cat >>confdefs.h <<_ACEOF
31626 #define HAVE_HYPOTF 1
31627 _ACEOF
31630 done
31632 else
31634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31635 $as_echo_n "checking for _hypotf declaration... " >&6; }
31636 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31637 if ${glibcxx_cv_func__hypotf_use+:} false; then :
31638 $as_echo_n "(cached) " >&6
31639 else
31642 ac_ext=cpp
31643 ac_cpp='$CXXCPP $CPPFLAGS'
31644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31649 /* end confdefs.h. */
31650 #include <math.h>
31652 main ()
31654 _hypotf(0, 0);
31656 return 0;
31658 _ACEOF
31659 if ac_fn_cxx_try_compile "$LINENO"; then :
31660 glibcxx_cv_func__hypotf_use=yes
31661 else
31662 glibcxx_cv_func__hypotf_use=no
31664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31665 ac_ext=c
31666 ac_cpp='$CPP $CPPFLAGS'
31667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31676 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31678 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31679 for ac_func in _hypotf
31680 do :
31681 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31682 if test "x$ac_cv_func__hypotf" = xyes; then :
31683 cat >>confdefs.h <<_ACEOF
31684 #define HAVE__HYPOTF 1
31685 _ACEOF
31688 done
31697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31698 $as_echo_n "checking for ldexpf declaration... " >&6; }
31699 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31700 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
31701 $as_echo_n "(cached) " >&6
31702 else
31705 ac_ext=cpp
31706 ac_cpp='$CXXCPP $CPPFLAGS'
31707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31712 /* end confdefs.h. */
31713 #include <math.h>
31715 main ()
31717 ldexpf(0, 0);
31719 return 0;
31721 _ACEOF
31722 if ac_fn_cxx_try_compile "$LINENO"; then :
31723 glibcxx_cv_func_ldexpf_use=yes
31724 else
31725 glibcxx_cv_func_ldexpf_use=no
31727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31728 ac_ext=c
31729 ac_cpp='$CPP $CPPFLAGS'
31730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31739 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31741 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31742 for ac_func in ldexpf
31743 do :
31744 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31745 if test "x$ac_cv_func_ldexpf" = xyes; then :
31746 cat >>confdefs.h <<_ACEOF
31747 #define HAVE_LDEXPF 1
31748 _ACEOF
31751 done
31753 else
31755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31756 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31757 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31758 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
31759 $as_echo_n "(cached) " >&6
31760 else
31763 ac_ext=cpp
31764 ac_cpp='$CXXCPP $CPPFLAGS'
31765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31770 /* end confdefs.h. */
31771 #include <math.h>
31773 main ()
31775 _ldexpf(0, 0);
31777 return 0;
31779 _ACEOF
31780 if ac_fn_cxx_try_compile "$LINENO"; then :
31781 glibcxx_cv_func__ldexpf_use=yes
31782 else
31783 glibcxx_cv_func__ldexpf_use=no
31785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31786 ac_ext=c
31787 ac_cpp='$CPP $CPPFLAGS'
31788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31797 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31799 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31800 for ac_func in _ldexpf
31801 do :
31802 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31803 if test "x$ac_cv_func__ldexpf" = xyes; then :
31804 cat >>confdefs.h <<_ACEOF
31805 #define HAVE__LDEXPF 1
31806 _ACEOF
31809 done
31818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31819 $as_echo_n "checking for logf declaration... " >&6; }
31820 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31821 if ${glibcxx_cv_func_logf_use+:} false; then :
31822 $as_echo_n "(cached) " >&6
31823 else
31826 ac_ext=cpp
31827 ac_cpp='$CXXCPP $CPPFLAGS'
31828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31833 /* end confdefs.h. */
31834 #include <math.h>
31835 #ifdef HAVE_IEEEFP_H
31836 #include <ieeefp.h>
31837 #endif
31840 main ()
31842 logf(0);
31844 return 0;
31846 _ACEOF
31847 if ac_fn_cxx_try_compile "$LINENO"; then :
31848 glibcxx_cv_func_logf_use=yes
31849 else
31850 glibcxx_cv_func_logf_use=no
31852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31853 ac_ext=c
31854 ac_cpp='$CPP $CPPFLAGS'
31855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31864 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31866 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31867 for ac_func in logf
31868 do :
31869 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31870 if test "x$ac_cv_func_logf" = xyes; then :
31871 cat >>confdefs.h <<_ACEOF
31872 #define HAVE_LOGF 1
31873 _ACEOF
31876 done
31878 else
31880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31881 $as_echo_n "checking for _logf declaration... " >&6; }
31882 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31883 if ${glibcxx_cv_func__logf_use+:} false; then :
31884 $as_echo_n "(cached) " >&6
31885 else
31888 ac_ext=cpp
31889 ac_cpp='$CXXCPP $CPPFLAGS'
31890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31895 /* end confdefs.h. */
31896 #include <math.h>
31897 #ifdef HAVE_IEEEFP_H
31898 #include <ieeefp.h>
31899 #endif
31902 main ()
31904 _logf(0);
31906 return 0;
31908 _ACEOF
31909 if ac_fn_cxx_try_compile "$LINENO"; then :
31910 glibcxx_cv_func__logf_use=yes
31911 else
31912 glibcxx_cv_func__logf_use=no
31914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31915 ac_ext=c
31916 ac_cpp='$CPP $CPPFLAGS'
31917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31926 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31928 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31929 for ac_func in _logf
31930 do :
31931 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31932 if test "x$ac_cv_func__logf" = xyes; then :
31933 cat >>confdefs.h <<_ACEOF
31934 #define HAVE__LOGF 1
31935 _ACEOF
31938 done
31947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31948 $as_echo_n "checking for log10f declaration... " >&6; }
31949 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31950 if ${glibcxx_cv_func_log10f_use+:} false; then :
31951 $as_echo_n "(cached) " >&6
31952 else
31955 ac_ext=cpp
31956 ac_cpp='$CXXCPP $CPPFLAGS'
31957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31962 /* end confdefs.h. */
31963 #include <math.h>
31964 #ifdef HAVE_IEEEFP_H
31965 #include <ieeefp.h>
31966 #endif
31969 main ()
31971 log10f(0);
31973 return 0;
31975 _ACEOF
31976 if ac_fn_cxx_try_compile "$LINENO"; then :
31977 glibcxx_cv_func_log10f_use=yes
31978 else
31979 glibcxx_cv_func_log10f_use=no
31981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31982 ac_ext=c
31983 ac_cpp='$CPP $CPPFLAGS'
31984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31993 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31995 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31996 for ac_func in log10f
31997 do :
31998 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31999 if test "x$ac_cv_func_log10f" = xyes; then :
32000 cat >>confdefs.h <<_ACEOF
32001 #define HAVE_LOG10F 1
32002 _ACEOF
32005 done
32007 else
32009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
32010 $as_echo_n "checking for _log10f declaration... " >&6; }
32011 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
32012 if ${glibcxx_cv_func__log10f_use+:} false; then :
32013 $as_echo_n "(cached) " >&6
32014 else
32017 ac_ext=cpp
32018 ac_cpp='$CXXCPP $CPPFLAGS'
32019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32024 /* end confdefs.h. */
32025 #include <math.h>
32026 #ifdef HAVE_IEEEFP_H
32027 #include <ieeefp.h>
32028 #endif
32031 main ()
32033 _log10f(0);
32035 return 0;
32037 _ACEOF
32038 if ac_fn_cxx_try_compile "$LINENO"; then :
32039 glibcxx_cv_func__log10f_use=yes
32040 else
32041 glibcxx_cv_func__log10f_use=no
32043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32044 ac_ext=c
32045 ac_cpp='$CPP $CPPFLAGS'
32046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
32055 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
32057 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
32058 for ac_func in _log10f
32059 do :
32060 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
32061 if test "x$ac_cv_func__log10f" = xyes; then :
32062 cat >>confdefs.h <<_ACEOF
32063 #define HAVE__LOG10F 1
32064 _ACEOF
32067 done
32076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
32077 $as_echo_n "checking for modff declaration... " >&6; }
32078 if test x${glibcxx_cv_func_modff_use+set} != xset; then
32079 if ${glibcxx_cv_func_modff_use+:} false; then :
32080 $as_echo_n "(cached) " >&6
32081 else
32084 ac_ext=cpp
32085 ac_cpp='$CXXCPP $CPPFLAGS'
32086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32091 /* end confdefs.h. */
32092 #include <math.h>
32094 main ()
32096 modff(0, 0);
32098 return 0;
32100 _ACEOF
32101 if ac_fn_cxx_try_compile "$LINENO"; then :
32102 glibcxx_cv_func_modff_use=yes
32103 else
32104 glibcxx_cv_func_modff_use=no
32106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32107 ac_ext=c
32108 ac_cpp='$CPP $CPPFLAGS'
32109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32118 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
32120 if test x$glibcxx_cv_func_modff_use = x"yes"; then
32121 for ac_func in modff
32122 do :
32123 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32124 if test "x$ac_cv_func_modff" = xyes; then :
32125 cat >>confdefs.h <<_ACEOF
32126 #define HAVE_MODFF 1
32127 _ACEOF
32130 done
32132 else
32134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32135 $as_echo_n "checking for _modff declaration... " >&6; }
32136 if test x${glibcxx_cv_func__modff_use+set} != xset; then
32137 if ${glibcxx_cv_func__modff_use+:} false; then :
32138 $as_echo_n "(cached) " >&6
32139 else
32142 ac_ext=cpp
32143 ac_cpp='$CXXCPP $CPPFLAGS'
32144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32149 /* end confdefs.h. */
32150 #include <math.h>
32152 main ()
32154 _modff(0, 0);
32156 return 0;
32158 _ACEOF
32159 if ac_fn_cxx_try_compile "$LINENO"; then :
32160 glibcxx_cv_func__modff_use=yes
32161 else
32162 glibcxx_cv_func__modff_use=no
32164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32165 ac_ext=c
32166 ac_cpp='$CPP $CPPFLAGS'
32167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32176 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
32178 if test x$glibcxx_cv_func__modff_use = x"yes"; then
32179 for ac_func in _modff
32180 do :
32181 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32182 if test "x$ac_cv_func__modff" = xyes; then :
32183 cat >>confdefs.h <<_ACEOF
32184 #define HAVE__MODFF 1
32185 _ACEOF
32188 done
32197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32198 $as_echo_n "checking for modf declaration... " >&6; }
32199 if test x${glibcxx_cv_func_modf_use+set} != xset; then
32200 if ${glibcxx_cv_func_modf_use+:} false; then :
32201 $as_echo_n "(cached) " >&6
32202 else
32205 ac_ext=cpp
32206 ac_cpp='$CXXCPP $CPPFLAGS'
32207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32212 /* end confdefs.h. */
32213 #include <math.h>
32215 main ()
32217 modf(0, 0);
32219 return 0;
32221 _ACEOF
32222 if ac_fn_cxx_try_compile "$LINENO"; then :
32223 glibcxx_cv_func_modf_use=yes
32224 else
32225 glibcxx_cv_func_modf_use=no
32227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32228 ac_ext=c
32229 ac_cpp='$CPP $CPPFLAGS'
32230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32239 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
32241 if test x$glibcxx_cv_func_modf_use = x"yes"; then
32242 for ac_func in modf
32243 do :
32244 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32245 if test "x$ac_cv_func_modf" = xyes; then :
32246 cat >>confdefs.h <<_ACEOF
32247 #define HAVE_MODF 1
32248 _ACEOF
32251 done
32253 else
32255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32256 $as_echo_n "checking for _modf declaration... " >&6; }
32257 if test x${glibcxx_cv_func__modf_use+set} != xset; then
32258 if ${glibcxx_cv_func__modf_use+:} false; then :
32259 $as_echo_n "(cached) " >&6
32260 else
32263 ac_ext=cpp
32264 ac_cpp='$CXXCPP $CPPFLAGS'
32265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32270 /* end confdefs.h. */
32271 #include <math.h>
32273 main ()
32275 _modf(0, 0);
32277 return 0;
32279 _ACEOF
32280 if ac_fn_cxx_try_compile "$LINENO"; then :
32281 glibcxx_cv_func__modf_use=yes
32282 else
32283 glibcxx_cv_func__modf_use=no
32285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32286 ac_ext=c
32287 ac_cpp='$CPP $CPPFLAGS'
32288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32297 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32299 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32300 for ac_func in _modf
32301 do :
32302 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32303 if test "x$ac_cv_func__modf" = xyes; then :
32304 cat >>confdefs.h <<_ACEOF
32305 #define HAVE__MODF 1
32306 _ACEOF
32309 done
32318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32319 $as_echo_n "checking for powf declaration... " >&6; }
32320 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32321 if ${glibcxx_cv_func_powf_use+:} false; then :
32322 $as_echo_n "(cached) " >&6
32323 else
32326 ac_ext=cpp
32327 ac_cpp='$CXXCPP $CPPFLAGS'
32328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32333 /* end confdefs.h. */
32334 #include <math.h>
32336 main ()
32338 powf(0, 0);
32340 return 0;
32342 _ACEOF
32343 if ac_fn_cxx_try_compile "$LINENO"; then :
32344 glibcxx_cv_func_powf_use=yes
32345 else
32346 glibcxx_cv_func_powf_use=no
32348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32349 ac_ext=c
32350 ac_cpp='$CPP $CPPFLAGS'
32351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32360 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32362 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32363 for ac_func in powf
32364 do :
32365 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32366 if test "x$ac_cv_func_powf" = xyes; then :
32367 cat >>confdefs.h <<_ACEOF
32368 #define HAVE_POWF 1
32369 _ACEOF
32372 done
32374 else
32376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32377 $as_echo_n "checking for _powf declaration... " >&6; }
32378 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32379 if ${glibcxx_cv_func__powf_use+:} false; then :
32380 $as_echo_n "(cached) " >&6
32381 else
32384 ac_ext=cpp
32385 ac_cpp='$CXXCPP $CPPFLAGS'
32386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32391 /* end confdefs.h. */
32392 #include <math.h>
32394 main ()
32396 _powf(0, 0);
32398 return 0;
32400 _ACEOF
32401 if ac_fn_cxx_try_compile "$LINENO"; then :
32402 glibcxx_cv_func__powf_use=yes
32403 else
32404 glibcxx_cv_func__powf_use=no
32406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32407 ac_ext=c
32408 ac_cpp='$CPP $CPPFLAGS'
32409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32418 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32420 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32421 for ac_func in _powf
32422 do :
32423 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32424 if test "x$ac_cv_func__powf" = xyes; then :
32425 cat >>confdefs.h <<_ACEOF
32426 #define HAVE__POWF 1
32427 _ACEOF
32430 done
32439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32440 $as_echo_n "checking for sqrtf declaration... " >&6; }
32441 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32442 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
32443 $as_echo_n "(cached) " >&6
32444 else
32447 ac_ext=cpp
32448 ac_cpp='$CXXCPP $CPPFLAGS'
32449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32454 /* end confdefs.h. */
32455 #include <math.h>
32456 #ifdef HAVE_IEEEFP_H
32457 #include <ieeefp.h>
32458 #endif
32461 main ()
32463 sqrtf(0);
32465 return 0;
32467 _ACEOF
32468 if ac_fn_cxx_try_compile "$LINENO"; then :
32469 glibcxx_cv_func_sqrtf_use=yes
32470 else
32471 glibcxx_cv_func_sqrtf_use=no
32473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32474 ac_ext=c
32475 ac_cpp='$CPP $CPPFLAGS'
32476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32485 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32487 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32488 for ac_func in sqrtf
32489 do :
32490 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32491 if test "x$ac_cv_func_sqrtf" = xyes; then :
32492 cat >>confdefs.h <<_ACEOF
32493 #define HAVE_SQRTF 1
32494 _ACEOF
32497 done
32499 else
32501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32502 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32503 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32504 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
32505 $as_echo_n "(cached) " >&6
32506 else
32509 ac_ext=cpp
32510 ac_cpp='$CXXCPP $CPPFLAGS'
32511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32516 /* end confdefs.h. */
32517 #include <math.h>
32518 #ifdef HAVE_IEEEFP_H
32519 #include <ieeefp.h>
32520 #endif
32523 main ()
32525 _sqrtf(0);
32527 return 0;
32529 _ACEOF
32530 if ac_fn_cxx_try_compile "$LINENO"; then :
32531 glibcxx_cv_func__sqrtf_use=yes
32532 else
32533 glibcxx_cv_func__sqrtf_use=no
32535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32536 ac_ext=c
32537 ac_cpp='$CPP $CPPFLAGS'
32538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32547 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32549 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32550 for ac_func in _sqrtf
32551 do :
32552 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32553 if test "x$ac_cv_func__sqrtf" = xyes; then :
32554 cat >>confdefs.h <<_ACEOF
32555 #define HAVE__SQRTF 1
32556 _ACEOF
32559 done
32568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32569 $as_echo_n "checking for sincosf declaration... " >&6; }
32570 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32571 if ${glibcxx_cv_func_sincosf_use+:} false; then :
32572 $as_echo_n "(cached) " >&6
32573 else
32576 ac_ext=cpp
32577 ac_cpp='$CXXCPP $CPPFLAGS'
32578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32583 /* end confdefs.h. */
32584 #include <math.h>
32586 main ()
32588 sincosf(0, 0, 0);
32590 return 0;
32592 _ACEOF
32593 if ac_fn_cxx_try_compile "$LINENO"; then :
32594 glibcxx_cv_func_sincosf_use=yes
32595 else
32596 glibcxx_cv_func_sincosf_use=no
32598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32599 ac_ext=c
32600 ac_cpp='$CPP $CPPFLAGS'
32601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32610 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32612 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32613 for ac_func in sincosf
32614 do :
32615 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32616 if test "x$ac_cv_func_sincosf" = xyes; then :
32617 cat >>confdefs.h <<_ACEOF
32618 #define HAVE_SINCOSF 1
32619 _ACEOF
32622 done
32624 else
32626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32627 $as_echo_n "checking for _sincosf declaration... " >&6; }
32628 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32629 if ${glibcxx_cv_func__sincosf_use+:} false; then :
32630 $as_echo_n "(cached) " >&6
32631 else
32634 ac_ext=cpp
32635 ac_cpp='$CXXCPP $CPPFLAGS'
32636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32641 /* end confdefs.h. */
32642 #include <math.h>
32644 main ()
32646 _sincosf(0, 0, 0);
32648 return 0;
32650 _ACEOF
32651 if ac_fn_cxx_try_compile "$LINENO"; then :
32652 glibcxx_cv_func__sincosf_use=yes
32653 else
32654 glibcxx_cv_func__sincosf_use=no
32656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32657 ac_ext=c
32658 ac_cpp='$CPP $CPPFLAGS'
32659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32668 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32670 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32671 for ac_func in _sincosf
32672 do :
32673 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32674 if test "x$ac_cv_func__sincosf" = xyes; then :
32675 cat >>confdefs.h <<_ACEOF
32676 #define HAVE__SINCOSF 1
32677 _ACEOF
32680 done
32689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32690 $as_echo_n "checking for finitef declaration... " >&6; }
32691 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32692 if ${glibcxx_cv_func_finitef_use+:} false; then :
32693 $as_echo_n "(cached) " >&6
32694 else
32697 ac_ext=cpp
32698 ac_cpp='$CXXCPP $CPPFLAGS'
32699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32704 /* end confdefs.h. */
32705 #include <math.h>
32706 #ifdef HAVE_IEEEFP_H
32707 #include <ieeefp.h>
32708 #endif
32711 main ()
32713 finitef(0);
32715 return 0;
32717 _ACEOF
32718 if ac_fn_cxx_try_compile "$LINENO"; then :
32719 glibcxx_cv_func_finitef_use=yes
32720 else
32721 glibcxx_cv_func_finitef_use=no
32723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32724 ac_ext=c
32725 ac_cpp='$CPP $CPPFLAGS'
32726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32735 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32737 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32738 for ac_func in finitef
32739 do :
32740 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32741 if test "x$ac_cv_func_finitef" = xyes; then :
32742 cat >>confdefs.h <<_ACEOF
32743 #define HAVE_FINITEF 1
32744 _ACEOF
32747 done
32749 else
32751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32752 $as_echo_n "checking for _finitef declaration... " >&6; }
32753 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32754 if ${glibcxx_cv_func__finitef_use+:} false; then :
32755 $as_echo_n "(cached) " >&6
32756 else
32759 ac_ext=cpp
32760 ac_cpp='$CXXCPP $CPPFLAGS'
32761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32766 /* end confdefs.h. */
32767 #include <math.h>
32768 #ifdef HAVE_IEEEFP_H
32769 #include <ieeefp.h>
32770 #endif
32773 main ()
32775 _finitef(0);
32777 return 0;
32779 _ACEOF
32780 if ac_fn_cxx_try_compile "$LINENO"; then :
32781 glibcxx_cv_func__finitef_use=yes
32782 else
32783 glibcxx_cv_func__finitef_use=no
32785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32786 ac_ext=c
32787 ac_cpp='$CPP $CPPFLAGS'
32788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32797 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32799 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32800 for ac_func in _finitef
32801 do :
32802 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32803 if test "x$ac_cv_func__finitef" = xyes; then :
32804 cat >>confdefs.h <<_ACEOF
32805 #define HAVE__FINITEF 1
32806 _ACEOF
32809 done
32818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32819 $as_echo_n "checking for long double trig functions... " >&6; }
32820 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
32821 $as_echo_n "(cached) " >&6
32822 else
32825 ac_ext=cpp
32826 ac_cpp='$CXXCPP $CPPFLAGS'
32827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32832 /* end confdefs.h. */
32833 #include <math.h>
32835 main ()
32837 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32839 return 0;
32841 _ACEOF
32842 if ac_fn_cxx_try_compile "$LINENO"; then :
32843 glibcxx_cv_func_long_double_trig_use=yes
32844 else
32845 glibcxx_cv_func_long_double_trig_use=no
32847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32848 ac_ext=c
32849 ac_cpp='$CPP $CPPFLAGS'
32850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32857 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32858 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32859 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32860 do :
32861 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32862 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32863 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32864 cat >>confdefs.h <<_ACEOF
32865 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32866 _ACEOF
32869 done
32871 else
32872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32873 $as_echo_n "checking for _long double trig functions... " >&6; }
32874 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
32875 $as_echo_n "(cached) " >&6
32876 else
32879 ac_ext=cpp
32880 ac_cpp='$CXXCPP $CPPFLAGS'
32881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32886 /* end confdefs.h. */
32887 #include <math.h>
32889 main ()
32891 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32893 return 0;
32895 _ACEOF
32896 if ac_fn_cxx_try_compile "$LINENO"; then :
32897 glibcxx_cv_func__long_double_trig_use=yes
32898 else
32899 glibcxx_cv_func__long_double_trig_use=no
32901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32902 ac_ext=c
32903 ac_cpp='$CPP $CPPFLAGS'
32904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32911 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32912 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32913 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32914 do :
32915 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32916 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32917 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32918 cat >>confdefs.h <<_ACEOF
32919 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32920 _ACEOF
32923 done
32932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32933 $as_echo_n "checking for long double round functions... " >&6; }
32934 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
32935 $as_echo_n "(cached) " >&6
32936 else
32939 ac_ext=cpp
32940 ac_cpp='$CXXCPP $CPPFLAGS'
32941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32946 /* end confdefs.h. */
32947 #include <math.h>
32949 main ()
32951 ceill (0); floorl (0);
32953 return 0;
32955 _ACEOF
32956 if ac_fn_cxx_try_compile "$LINENO"; then :
32957 glibcxx_cv_func_long_double_round_use=yes
32958 else
32959 glibcxx_cv_func_long_double_round_use=no
32961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32962 ac_ext=c
32963 ac_cpp='$CPP $CPPFLAGS'
32964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32971 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32972 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32973 for ac_func in ceill floorl
32974 do :
32975 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32976 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32977 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32978 cat >>confdefs.h <<_ACEOF
32979 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32980 _ACEOF
32983 done
32985 else
32986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32987 $as_echo_n "checking for _long double round functions... " >&6; }
32988 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
32989 $as_echo_n "(cached) " >&6
32990 else
32993 ac_ext=cpp
32994 ac_cpp='$CXXCPP $CPPFLAGS'
32995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33000 /* end confdefs.h. */
33001 #include <math.h>
33003 main ()
33005 _ceill (0); _floorl (0);
33007 return 0;
33009 _ACEOF
33010 if ac_fn_cxx_try_compile "$LINENO"; then :
33011 glibcxx_cv_func__long_double_round_use=yes
33012 else
33013 glibcxx_cv_func__long_double_round_use=no
33015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33016 ac_ext=c
33017 ac_cpp='$CPP $CPPFLAGS'
33018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
33025 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
33026 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
33027 for ac_func in _ceill _floorl
33028 do :
33029 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33030 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33031 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33032 cat >>confdefs.h <<_ACEOF
33033 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33034 _ACEOF
33037 done
33047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
33048 $as_echo_n "checking for isnanl declaration... " >&6; }
33049 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
33050 if ${glibcxx_cv_func_isnanl_use+:} false; then :
33051 $as_echo_n "(cached) " >&6
33052 else
33055 ac_ext=cpp
33056 ac_cpp='$CXXCPP $CPPFLAGS'
33057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33062 /* end confdefs.h. */
33063 #include <math.h>
33064 #ifdef HAVE_IEEEFP_H
33065 #include <ieeefp.h>
33066 #endif
33069 main ()
33071 isnanl(0);
33073 return 0;
33075 _ACEOF
33076 if ac_fn_cxx_try_compile "$LINENO"; then :
33077 glibcxx_cv_func_isnanl_use=yes
33078 else
33079 glibcxx_cv_func_isnanl_use=no
33081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33082 ac_ext=c
33083 ac_cpp='$CPP $CPPFLAGS'
33084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33093 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33095 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33096 for ac_func in isnanl
33097 do :
33098 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33099 if test "x$ac_cv_func_isnanl" = xyes; then :
33100 cat >>confdefs.h <<_ACEOF
33101 #define HAVE_ISNANL 1
33102 _ACEOF
33105 done
33107 else
33109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
33110 $as_echo_n "checking for _isnanl declaration... " >&6; }
33111 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33112 if ${glibcxx_cv_func__isnanl_use+:} false; then :
33113 $as_echo_n "(cached) " >&6
33114 else
33117 ac_ext=cpp
33118 ac_cpp='$CXXCPP $CPPFLAGS'
33119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33124 /* end confdefs.h. */
33125 #include <math.h>
33126 #ifdef HAVE_IEEEFP_H
33127 #include <ieeefp.h>
33128 #endif
33131 main ()
33133 _isnanl(0);
33135 return 0;
33137 _ACEOF
33138 if ac_fn_cxx_try_compile "$LINENO"; then :
33139 glibcxx_cv_func__isnanl_use=yes
33140 else
33141 glibcxx_cv_func__isnanl_use=no
33143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33144 ac_ext=c
33145 ac_cpp='$CPP $CPPFLAGS'
33146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33155 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33157 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33158 for ac_func in _isnanl
33159 do :
33160 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33161 if test "x$ac_cv_func__isnanl" = xyes; then :
33162 cat >>confdefs.h <<_ACEOF
33163 #define HAVE__ISNANL 1
33164 _ACEOF
33167 done
33176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33177 $as_echo_n "checking for isinfl declaration... " >&6; }
33178 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33179 if ${glibcxx_cv_func_isinfl_use+:} false; then :
33180 $as_echo_n "(cached) " >&6
33181 else
33184 ac_ext=cpp
33185 ac_cpp='$CXXCPP $CPPFLAGS'
33186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33191 /* end confdefs.h. */
33192 #include <math.h>
33193 #ifdef HAVE_IEEEFP_H
33194 #include <ieeefp.h>
33195 #endif
33198 main ()
33200 isinfl(0);
33202 return 0;
33204 _ACEOF
33205 if ac_fn_cxx_try_compile "$LINENO"; then :
33206 glibcxx_cv_func_isinfl_use=yes
33207 else
33208 glibcxx_cv_func_isinfl_use=no
33210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33211 ac_ext=c
33212 ac_cpp='$CPP $CPPFLAGS'
33213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33222 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33224 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33225 for ac_func in isinfl
33226 do :
33227 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33228 if test "x$ac_cv_func_isinfl" = xyes; then :
33229 cat >>confdefs.h <<_ACEOF
33230 #define HAVE_ISINFL 1
33231 _ACEOF
33234 done
33236 else
33238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33239 $as_echo_n "checking for _isinfl declaration... " >&6; }
33240 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33241 if ${glibcxx_cv_func__isinfl_use+:} false; then :
33242 $as_echo_n "(cached) " >&6
33243 else
33246 ac_ext=cpp
33247 ac_cpp='$CXXCPP $CPPFLAGS'
33248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33253 /* end confdefs.h. */
33254 #include <math.h>
33255 #ifdef HAVE_IEEEFP_H
33256 #include <ieeefp.h>
33257 #endif
33260 main ()
33262 _isinfl(0);
33264 return 0;
33266 _ACEOF
33267 if ac_fn_cxx_try_compile "$LINENO"; then :
33268 glibcxx_cv_func__isinfl_use=yes
33269 else
33270 glibcxx_cv_func__isinfl_use=no
33272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33273 ac_ext=c
33274 ac_cpp='$CPP $CPPFLAGS'
33275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33284 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33286 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33287 for ac_func in _isinfl
33288 do :
33289 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33290 if test "x$ac_cv_func__isinfl" = xyes; then :
33291 cat >>confdefs.h <<_ACEOF
33292 #define HAVE__ISINFL 1
33293 _ACEOF
33296 done
33305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33306 $as_echo_n "checking for atan2l declaration... " >&6; }
33307 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33308 if ${glibcxx_cv_func_atan2l_use+:} false; then :
33309 $as_echo_n "(cached) " >&6
33310 else
33313 ac_ext=cpp
33314 ac_cpp='$CXXCPP $CPPFLAGS'
33315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33320 /* end confdefs.h. */
33321 #include <math.h>
33323 main ()
33325 atan2l(0, 0);
33327 return 0;
33329 _ACEOF
33330 if ac_fn_cxx_try_compile "$LINENO"; then :
33331 glibcxx_cv_func_atan2l_use=yes
33332 else
33333 glibcxx_cv_func_atan2l_use=no
33335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33336 ac_ext=c
33337 ac_cpp='$CPP $CPPFLAGS'
33338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33347 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33349 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33350 for ac_func in atan2l
33351 do :
33352 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33353 if test "x$ac_cv_func_atan2l" = xyes; then :
33354 cat >>confdefs.h <<_ACEOF
33355 #define HAVE_ATAN2L 1
33356 _ACEOF
33359 done
33361 else
33363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33364 $as_echo_n "checking for _atan2l declaration... " >&6; }
33365 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33366 if ${glibcxx_cv_func__atan2l_use+:} false; then :
33367 $as_echo_n "(cached) " >&6
33368 else
33371 ac_ext=cpp
33372 ac_cpp='$CXXCPP $CPPFLAGS'
33373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33378 /* end confdefs.h. */
33379 #include <math.h>
33381 main ()
33383 _atan2l(0, 0);
33385 return 0;
33387 _ACEOF
33388 if ac_fn_cxx_try_compile "$LINENO"; then :
33389 glibcxx_cv_func__atan2l_use=yes
33390 else
33391 glibcxx_cv_func__atan2l_use=no
33393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33394 ac_ext=c
33395 ac_cpp='$CPP $CPPFLAGS'
33396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33405 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33407 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33408 for ac_func in _atan2l
33409 do :
33410 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33411 if test "x$ac_cv_func__atan2l" = xyes; then :
33412 cat >>confdefs.h <<_ACEOF
33413 #define HAVE__ATAN2L 1
33414 _ACEOF
33417 done
33426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33427 $as_echo_n "checking for expl declaration... " >&6; }
33428 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33429 if ${glibcxx_cv_func_expl_use+:} false; then :
33430 $as_echo_n "(cached) " >&6
33431 else
33434 ac_ext=cpp
33435 ac_cpp='$CXXCPP $CPPFLAGS'
33436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33441 /* end confdefs.h. */
33442 #include <math.h>
33443 #ifdef HAVE_IEEEFP_H
33444 #include <ieeefp.h>
33445 #endif
33448 main ()
33450 expl(0);
33452 return 0;
33454 _ACEOF
33455 if ac_fn_cxx_try_compile "$LINENO"; then :
33456 glibcxx_cv_func_expl_use=yes
33457 else
33458 glibcxx_cv_func_expl_use=no
33460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33461 ac_ext=c
33462 ac_cpp='$CPP $CPPFLAGS'
33463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33472 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33474 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33475 for ac_func in expl
33476 do :
33477 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33478 if test "x$ac_cv_func_expl" = xyes; then :
33479 cat >>confdefs.h <<_ACEOF
33480 #define HAVE_EXPL 1
33481 _ACEOF
33484 done
33486 else
33488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33489 $as_echo_n "checking for _expl declaration... " >&6; }
33490 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33491 if ${glibcxx_cv_func__expl_use+:} false; then :
33492 $as_echo_n "(cached) " >&6
33493 else
33496 ac_ext=cpp
33497 ac_cpp='$CXXCPP $CPPFLAGS'
33498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33503 /* end confdefs.h. */
33504 #include <math.h>
33505 #ifdef HAVE_IEEEFP_H
33506 #include <ieeefp.h>
33507 #endif
33510 main ()
33512 _expl(0);
33514 return 0;
33516 _ACEOF
33517 if ac_fn_cxx_try_compile "$LINENO"; then :
33518 glibcxx_cv_func__expl_use=yes
33519 else
33520 glibcxx_cv_func__expl_use=no
33522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33523 ac_ext=c
33524 ac_cpp='$CPP $CPPFLAGS'
33525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33534 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33536 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33537 for ac_func in _expl
33538 do :
33539 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33540 if test "x$ac_cv_func__expl" = xyes; then :
33541 cat >>confdefs.h <<_ACEOF
33542 #define HAVE__EXPL 1
33543 _ACEOF
33546 done
33555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33556 $as_echo_n "checking for fabsl declaration... " >&6; }
33557 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33558 if ${glibcxx_cv_func_fabsl_use+:} false; then :
33559 $as_echo_n "(cached) " >&6
33560 else
33563 ac_ext=cpp
33564 ac_cpp='$CXXCPP $CPPFLAGS'
33565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33570 /* end confdefs.h. */
33571 #include <math.h>
33572 #ifdef HAVE_IEEEFP_H
33573 #include <ieeefp.h>
33574 #endif
33577 main ()
33579 fabsl(0);
33581 return 0;
33583 _ACEOF
33584 if ac_fn_cxx_try_compile "$LINENO"; then :
33585 glibcxx_cv_func_fabsl_use=yes
33586 else
33587 glibcxx_cv_func_fabsl_use=no
33589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33590 ac_ext=c
33591 ac_cpp='$CPP $CPPFLAGS'
33592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33601 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33603 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33604 for ac_func in fabsl
33605 do :
33606 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33607 if test "x$ac_cv_func_fabsl" = xyes; then :
33608 cat >>confdefs.h <<_ACEOF
33609 #define HAVE_FABSL 1
33610 _ACEOF
33613 done
33615 else
33617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33618 $as_echo_n "checking for _fabsl declaration... " >&6; }
33619 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33620 if ${glibcxx_cv_func__fabsl_use+:} false; then :
33621 $as_echo_n "(cached) " >&6
33622 else
33625 ac_ext=cpp
33626 ac_cpp='$CXXCPP $CPPFLAGS'
33627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33632 /* end confdefs.h. */
33633 #include <math.h>
33634 #ifdef HAVE_IEEEFP_H
33635 #include <ieeefp.h>
33636 #endif
33639 main ()
33641 _fabsl(0);
33643 return 0;
33645 _ACEOF
33646 if ac_fn_cxx_try_compile "$LINENO"; then :
33647 glibcxx_cv_func__fabsl_use=yes
33648 else
33649 glibcxx_cv_func__fabsl_use=no
33651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33652 ac_ext=c
33653 ac_cpp='$CPP $CPPFLAGS'
33654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33663 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33665 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33666 for ac_func in _fabsl
33667 do :
33668 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33669 if test "x$ac_cv_func__fabsl" = xyes; then :
33670 cat >>confdefs.h <<_ACEOF
33671 #define HAVE__FABSL 1
33672 _ACEOF
33675 done
33684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33685 $as_echo_n "checking for fmodl declaration... " >&6; }
33686 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33687 if ${glibcxx_cv_func_fmodl_use+:} false; then :
33688 $as_echo_n "(cached) " >&6
33689 else
33692 ac_ext=cpp
33693 ac_cpp='$CXXCPP $CPPFLAGS'
33694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33699 /* end confdefs.h. */
33700 #include <math.h>
33702 main ()
33704 fmodl(0, 0);
33706 return 0;
33708 _ACEOF
33709 if ac_fn_cxx_try_compile "$LINENO"; then :
33710 glibcxx_cv_func_fmodl_use=yes
33711 else
33712 glibcxx_cv_func_fmodl_use=no
33714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33715 ac_ext=c
33716 ac_cpp='$CPP $CPPFLAGS'
33717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33726 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33728 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33729 for ac_func in fmodl
33730 do :
33731 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33732 if test "x$ac_cv_func_fmodl" = xyes; then :
33733 cat >>confdefs.h <<_ACEOF
33734 #define HAVE_FMODL 1
33735 _ACEOF
33738 done
33740 else
33742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33743 $as_echo_n "checking for _fmodl declaration... " >&6; }
33744 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33745 if ${glibcxx_cv_func__fmodl_use+:} false; then :
33746 $as_echo_n "(cached) " >&6
33747 else
33750 ac_ext=cpp
33751 ac_cpp='$CXXCPP $CPPFLAGS'
33752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33757 /* end confdefs.h. */
33758 #include <math.h>
33760 main ()
33762 _fmodl(0, 0);
33764 return 0;
33766 _ACEOF
33767 if ac_fn_cxx_try_compile "$LINENO"; then :
33768 glibcxx_cv_func__fmodl_use=yes
33769 else
33770 glibcxx_cv_func__fmodl_use=no
33772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33773 ac_ext=c
33774 ac_cpp='$CPP $CPPFLAGS'
33775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33784 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33786 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33787 for ac_func in _fmodl
33788 do :
33789 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33790 if test "x$ac_cv_func__fmodl" = xyes; then :
33791 cat >>confdefs.h <<_ACEOF
33792 #define HAVE__FMODL 1
33793 _ACEOF
33796 done
33805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33806 $as_echo_n "checking for frexpl declaration... " >&6; }
33807 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33808 if ${glibcxx_cv_func_frexpl_use+:} false; then :
33809 $as_echo_n "(cached) " >&6
33810 else
33813 ac_ext=cpp
33814 ac_cpp='$CXXCPP $CPPFLAGS'
33815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33820 /* end confdefs.h. */
33821 #include <math.h>
33823 main ()
33825 frexpl(0, 0);
33827 return 0;
33829 _ACEOF
33830 if ac_fn_cxx_try_compile "$LINENO"; then :
33831 glibcxx_cv_func_frexpl_use=yes
33832 else
33833 glibcxx_cv_func_frexpl_use=no
33835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33836 ac_ext=c
33837 ac_cpp='$CPP $CPPFLAGS'
33838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33847 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33849 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33850 for ac_func in frexpl
33851 do :
33852 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33853 if test "x$ac_cv_func_frexpl" = xyes; then :
33854 cat >>confdefs.h <<_ACEOF
33855 #define HAVE_FREXPL 1
33856 _ACEOF
33859 done
33861 else
33863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33864 $as_echo_n "checking for _frexpl declaration... " >&6; }
33865 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33866 if ${glibcxx_cv_func__frexpl_use+:} false; then :
33867 $as_echo_n "(cached) " >&6
33868 else
33871 ac_ext=cpp
33872 ac_cpp='$CXXCPP $CPPFLAGS'
33873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33878 /* end confdefs.h. */
33879 #include <math.h>
33881 main ()
33883 _frexpl(0, 0);
33885 return 0;
33887 _ACEOF
33888 if ac_fn_cxx_try_compile "$LINENO"; then :
33889 glibcxx_cv_func__frexpl_use=yes
33890 else
33891 glibcxx_cv_func__frexpl_use=no
33893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33894 ac_ext=c
33895 ac_cpp='$CPP $CPPFLAGS'
33896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33905 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33907 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33908 for ac_func in _frexpl
33909 do :
33910 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33911 if test "x$ac_cv_func__frexpl" = xyes; then :
33912 cat >>confdefs.h <<_ACEOF
33913 #define HAVE__FREXPL 1
33914 _ACEOF
33917 done
33926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33927 $as_echo_n "checking for hypotl declaration... " >&6; }
33928 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33929 if ${glibcxx_cv_func_hypotl_use+:} false; then :
33930 $as_echo_n "(cached) " >&6
33931 else
33934 ac_ext=cpp
33935 ac_cpp='$CXXCPP $CPPFLAGS'
33936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33941 /* end confdefs.h. */
33942 #include <math.h>
33944 main ()
33946 hypotl(0, 0);
33948 return 0;
33950 _ACEOF
33951 if ac_fn_cxx_try_compile "$LINENO"; then :
33952 glibcxx_cv_func_hypotl_use=yes
33953 else
33954 glibcxx_cv_func_hypotl_use=no
33956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33957 ac_ext=c
33958 ac_cpp='$CPP $CPPFLAGS'
33959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33968 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33970 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33971 for ac_func in hypotl
33972 do :
33973 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33974 if test "x$ac_cv_func_hypotl" = xyes; then :
33975 cat >>confdefs.h <<_ACEOF
33976 #define HAVE_HYPOTL 1
33977 _ACEOF
33980 done
33982 else
33984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33985 $as_echo_n "checking for _hypotl declaration... " >&6; }
33986 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33987 if ${glibcxx_cv_func__hypotl_use+:} false; then :
33988 $as_echo_n "(cached) " >&6
33989 else
33992 ac_ext=cpp
33993 ac_cpp='$CXXCPP $CPPFLAGS'
33994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33999 /* end confdefs.h. */
34000 #include <math.h>
34002 main ()
34004 _hypotl(0, 0);
34006 return 0;
34008 _ACEOF
34009 if ac_fn_cxx_try_compile "$LINENO"; then :
34010 glibcxx_cv_func__hypotl_use=yes
34011 else
34012 glibcxx_cv_func__hypotl_use=no
34014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34015 ac_ext=c
34016 ac_cpp='$CPP $CPPFLAGS'
34017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
34026 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
34028 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
34029 for ac_func in _hypotl
34030 do :
34031 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
34032 if test "x$ac_cv_func__hypotl" = xyes; then :
34033 cat >>confdefs.h <<_ACEOF
34034 #define HAVE__HYPOTL 1
34035 _ACEOF
34038 done
34047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
34048 $as_echo_n "checking for ldexpl declaration... " >&6; }
34049 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
34050 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
34051 $as_echo_n "(cached) " >&6
34052 else
34055 ac_ext=cpp
34056 ac_cpp='$CXXCPP $CPPFLAGS'
34057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34062 /* end confdefs.h. */
34063 #include <math.h>
34065 main ()
34067 ldexpl(0, 0);
34069 return 0;
34071 _ACEOF
34072 if ac_fn_cxx_try_compile "$LINENO"; then :
34073 glibcxx_cv_func_ldexpl_use=yes
34074 else
34075 glibcxx_cv_func_ldexpl_use=no
34077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34078 ac_ext=c
34079 ac_cpp='$CPP $CPPFLAGS'
34080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34089 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34091 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34092 for ac_func in ldexpl
34093 do :
34094 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34095 if test "x$ac_cv_func_ldexpl" = xyes; then :
34096 cat >>confdefs.h <<_ACEOF
34097 #define HAVE_LDEXPL 1
34098 _ACEOF
34101 done
34103 else
34105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34106 $as_echo_n "checking for _ldexpl declaration... " >&6; }
34107 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34108 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
34109 $as_echo_n "(cached) " >&6
34110 else
34113 ac_ext=cpp
34114 ac_cpp='$CXXCPP $CPPFLAGS'
34115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34120 /* end confdefs.h. */
34121 #include <math.h>
34123 main ()
34125 _ldexpl(0, 0);
34127 return 0;
34129 _ACEOF
34130 if ac_fn_cxx_try_compile "$LINENO"; then :
34131 glibcxx_cv_func__ldexpl_use=yes
34132 else
34133 glibcxx_cv_func__ldexpl_use=no
34135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34136 ac_ext=c
34137 ac_cpp='$CPP $CPPFLAGS'
34138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34147 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34149 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34150 for ac_func in _ldexpl
34151 do :
34152 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34153 if test "x$ac_cv_func__ldexpl" = xyes; then :
34154 cat >>confdefs.h <<_ACEOF
34155 #define HAVE__LDEXPL 1
34156 _ACEOF
34159 done
34168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34169 $as_echo_n "checking for logl declaration... " >&6; }
34170 if test x${glibcxx_cv_func_logl_use+set} != xset; then
34171 if ${glibcxx_cv_func_logl_use+:} false; then :
34172 $as_echo_n "(cached) " >&6
34173 else
34176 ac_ext=cpp
34177 ac_cpp='$CXXCPP $CPPFLAGS'
34178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34183 /* end confdefs.h. */
34184 #include <math.h>
34185 #ifdef HAVE_IEEEFP_H
34186 #include <ieeefp.h>
34187 #endif
34190 main ()
34192 logl(0);
34194 return 0;
34196 _ACEOF
34197 if ac_fn_cxx_try_compile "$LINENO"; then :
34198 glibcxx_cv_func_logl_use=yes
34199 else
34200 glibcxx_cv_func_logl_use=no
34202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34203 ac_ext=c
34204 ac_cpp='$CPP $CPPFLAGS'
34205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34214 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34216 if test x$glibcxx_cv_func_logl_use = x"yes"; then
34217 for ac_func in logl
34218 do :
34219 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34220 if test "x$ac_cv_func_logl" = xyes; then :
34221 cat >>confdefs.h <<_ACEOF
34222 #define HAVE_LOGL 1
34223 _ACEOF
34226 done
34228 else
34230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34231 $as_echo_n "checking for _logl declaration... " >&6; }
34232 if test x${glibcxx_cv_func__logl_use+set} != xset; then
34233 if ${glibcxx_cv_func__logl_use+:} false; then :
34234 $as_echo_n "(cached) " >&6
34235 else
34238 ac_ext=cpp
34239 ac_cpp='$CXXCPP $CPPFLAGS'
34240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34245 /* end confdefs.h. */
34246 #include <math.h>
34247 #ifdef HAVE_IEEEFP_H
34248 #include <ieeefp.h>
34249 #endif
34252 main ()
34254 _logl(0);
34256 return 0;
34258 _ACEOF
34259 if ac_fn_cxx_try_compile "$LINENO"; then :
34260 glibcxx_cv_func__logl_use=yes
34261 else
34262 glibcxx_cv_func__logl_use=no
34264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34265 ac_ext=c
34266 ac_cpp='$CPP $CPPFLAGS'
34267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34276 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
34278 if test x$glibcxx_cv_func__logl_use = x"yes"; then
34279 for ac_func in _logl
34280 do :
34281 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34282 if test "x$ac_cv_func__logl" = xyes; then :
34283 cat >>confdefs.h <<_ACEOF
34284 #define HAVE__LOGL 1
34285 _ACEOF
34288 done
34297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34298 $as_echo_n "checking for log10l declaration... " >&6; }
34299 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34300 if ${glibcxx_cv_func_log10l_use+:} false; then :
34301 $as_echo_n "(cached) " >&6
34302 else
34305 ac_ext=cpp
34306 ac_cpp='$CXXCPP $CPPFLAGS'
34307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34312 /* end confdefs.h. */
34313 #include <math.h>
34314 #ifdef HAVE_IEEEFP_H
34315 #include <ieeefp.h>
34316 #endif
34319 main ()
34321 log10l(0);
34323 return 0;
34325 _ACEOF
34326 if ac_fn_cxx_try_compile "$LINENO"; then :
34327 glibcxx_cv_func_log10l_use=yes
34328 else
34329 glibcxx_cv_func_log10l_use=no
34331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34332 ac_ext=c
34333 ac_cpp='$CPP $CPPFLAGS'
34334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34343 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34345 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34346 for ac_func in log10l
34347 do :
34348 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34349 if test "x$ac_cv_func_log10l" = xyes; then :
34350 cat >>confdefs.h <<_ACEOF
34351 #define HAVE_LOG10L 1
34352 _ACEOF
34355 done
34357 else
34359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34360 $as_echo_n "checking for _log10l declaration... " >&6; }
34361 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34362 if ${glibcxx_cv_func__log10l_use+:} false; then :
34363 $as_echo_n "(cached) " >&6
34364 else
34367 ac_ext=cpp
34368 ac_cpp='$CXXCPP $CPPFLAGS'
34369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34374 /* end confdefs.h. */
34375 #include <math.h>
34376 #ifdef HAVE_IEEEFP_H
34377 #include <ieeefp.h>
34378 #endif
34381 main ()
34383 _log10l(0);
34385 return 0;
34387 _ACEOF
34388 if ac_fn_cxx_try_compile "$LINENO"; then :
34389 glibcxx_cv_func__log10l_use=yes
34390 else
34391 glibcxx_cv_func__log10l_use=no
34393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34394 ac_ext=c
34395 ac_cpp='$CPP $CPPFLAGS'
34396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34405 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34407 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34408 for ac_func in _log10l
34409 do :
34410 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34411 if test "x$ac_cv_func__log10l" = xyes; then :
34412 cat >>confdefs.h <<_ACEOF
34413 #define HAVE__LOG10L 1
34414 _ACEOF
34417 done
34426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34427 $as_echo_n "checking for modfl declaration... " >&6; }
34428 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34429 if ${glibcxx_cv_func_modfl_use+:} false; then :
34430 $as_echo_n "(cached) " >&6
34431 else
34434 ac_ext=cpp
34435 ac_cpp='$CXXCPP $CPPFLAGS'
34436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34441 /* end confdefs.h. */
34442 #include <math.h>
34444 main ()
34446 modfl(0, 0);
34448 return 0;
34450 _ACEOF
34451 if ac_fn_cxx_try_compile "$LINENO"; then :
34452 glibcxx_cv_func_modfl_use=yes
34453 else
34454 glibcxx_cv_func_modfl_use=no
34456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34457 ac_ext=c
34458 ac_cpp='$CPP $CPPFLAGS'
34459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34468 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34470 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34471 for ac_func in modfl
34472 do :
34473 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34474 if test "x$ac_cv_func_modfl" = xyes; then :
34475 cat >>confdefs.h <<_ACEOF
34476 #define HAVE_MODFL 1
34477 _ACEOF
34480 done
34482 else
34484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34485 $as_echo_n "checking for _modfl declaration... " >&6; }
34486 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34487 if ${glibcxx_cv_func__modfl_use+:} false; then :
34488 $as_echo_n "(cached) " >&6
34489 else
34492 ac_ext=cpp
34493 ac_cpp='$CXXCPP $CPPFLAGS'
34494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34499 /* end confdefs.h. */
34500 #include <math.h>
34502 main ()
34504 _modfl(0, 0);
34506 return 0;
34508 _ACEOF
34509 if ac_fn_cxx_try_compile "$LINENO"; then :
34510 glibcxx_cv_func__modfl_use=yes
34511 else
34512 glibcxx_cv_func__modfl_use=no
34514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34515 ac_ext=c
34516 ac_cpp='$CPP $CPPFLAGS'
34517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34526 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34528 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34529 for ac_func in _modfl
34530 do :
34531 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34532 if test "x$ac_cv_func__modfl" = xyes; then :
34533 cat >>confdefs.h <<_ACEOF
34534 #define HAVE__MODFL 1
34535 _ACEOF
34538 done
34547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34548 $as_echo_n "checking for powl declaration... " >&6; }
34549 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34550 if ${glibcxx_cv_func_powl_use+:} false; then :
34551 $as_echo_n "(cached) " >&6
34552 else
34555 ac_ext=cpp
34556 ac_cpp='$CXXCPP $CPPFLAGS'
34557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34562 /* end confdefs.h. */
34563 #include <math.h>
34565 main ()
34567 powl(0, 0);
34569 return 0;
34571 _ACEOF
34572 if ac_fn_cxx_try_compile "$LINENO"; then :
34573 glibcxx_cv_func_powl_use=yes
34574 else
34575 glibcxx_cv_func_powl_use=no
34577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34578 ac_ext=c
34579 ac_cpp='$CPP $CPPFLAGS'
34580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34589 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34591 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34592 for ac_func in powl
34593 do :
34594 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34595 if test "x$ac_cv_func_powl" = xyes; then :
34596 cat >>confdefs.h <<_ACEOF
34597 #define HAVE_POWL 1
34598 _ACEOF
34601 done
34603 else
34605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34606 $as_echo_n "checking for _powl declaration... " >&6; }
34607 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34608 if ${glibcxx_cv_func__powl_use+:} false; then :
34609 $as_echo_n "(cached) " >&6
34610 else
34613 ac_ext=cpp
34614 ac_cpp='$CXXCPP $CPPFLAGS'
34615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34620 /* end confdefs.h. */
34621 #include <math.h>
34623 main ()
34625 _powl(0, 0);
34627 return 0;
34629 _ACEOF
34630 if ac_fn_cxx_try_compile "$LINENO"; then :
34631 glibcxx_cv_func__powl_use=yes
34632 else
34633 glibcxx_cv_func__powl_use=no
34635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34636 ac_ext=c
34637 ac_cpp='$CPP $CPPFLAGS'
34638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34647 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34649 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34650 for ac_func in _powl
34651 do :
34652 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34653 if test "x$ac_cv_func__powl" = xyes; then :
34654 cat >>confdefs.h <<_ACEOF
34655 #define HAVE__POWL 1
34656 _ACEOF
34659 done
34668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34669 $as_echo_n "checking for sqrtl declaration... " >&6; }
34670 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34671 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
34672 $as_echo_n "(cached) " >&6
34673 else
34676 ac_ext=cpp
34677 ac_cpp='$CXXCPP $CPPFLAGS'
34678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34683 /* end confdefs.h. */
34684 #include <math.h>
34685 #ifdef HAVE_IEEEFP_H
34686 #include <ieeefp.h>
34687 #endif
34690 main ()
34692 sqrtl(0);
34694 return 0;
34696 _ACEOF
34697 if ac_fn_cxx_try_compile "$LINENO"; then :
34698 glibcxx_cv_func_sqrtl_use=yes
34699 else
34700 glibcxx_cv_func_sqrtl_use=no
34702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34703 ac_ext=c
34704 ac_cpp='$CPP $CPPFLAGS'
34705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34714 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34716 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34717 for ac_func in sqrtl
34718 do :
34719 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34720 if test "x$ac_cv_func_sqrtl" = xyes; then :
34721 cat >>confdefs.h <<_ACEOF
34722 #define HAVE_SQRTL 1
34723 _ACEOF
34726 done
34728 else
34730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34731 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34732 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34733 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
34734 $as_echo_n "(cached) " >&6
34735 else
34738 ac_ext=cpp
34739 ac_cpp='$CXXCPP $CPPFLAGS'
34740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34745 /* end confdefs.h. */
34746 #include <math.h>
34747 #ifdef HAVE_IEEEFP_H
34748 #include <ieeefp.h>
34749 #endif
34752 main ()
34754 _sqrtl(0);
34756 return 0;
34758 _ACEOF
34759 if ac_fn_cxx_try_compile "$LINENO"; then :
34760 glibcxx_cv_func__sqrtl_use=yes
34761 else
34762 glibcxx_cv_func__sqrtl_use=no
34764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34765 ac_ext=c
34766 ac_cpp='$CPP $CPPFLAGS'
34767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34776 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34778 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34779 for ac_func in _sqrtl
34780 do :
34781 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34782 if test "x$ac_cv_func__sqrtl" = xyes; then :
34783 cat >>confdefs.h <<_ACEOF
34784 #define HAVE__SQRTL 1
34785 _ACEOF
34788 done
34797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34798 $as_echo_n "checking for sincosl declaration... " >&6; }
34799 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34800 if ${glibcxx_cv_func_sincosl_use+:} false; then :
34801 $as_echo_n "(cached) " >&6
34802 else
34805 ac_ext=cpp
34806 ac_cpp='$CXXCPP $CPPFLAGS'
34807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34812 /* end confdefs.h. */
34813 #include <math.h>
34815 main ()
34817 sincosl(0, 0, 0);
34819 return 0;
34821 _ACEOF
34822 if ac_fn_cxx_try_compile "$LINENO"; then :
34823 glibcxx_cv_func_sincosl_use=yes
34824 else
34825 glibcxx_cv_func_sincosl_use=no
34827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34828 ac_ext=c
34829 ac_cpp='$CPP $CPPFLAGS'
34830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34839 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34841 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34842 for ac_func in sincosl
34843 do :
34844 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34845 if test "x$ac_cv_func_sincosl" = xyes; then :
34846 cat >>confdefs.h <<_ACEOF
34847 #define HAVE_SINCOSL 1
34848 _ACEOF
34851 done
34853 else
34855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34856 $as_echo_n "checking for _sincosl declaration... " >&6; }
34857 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34858 if ${glibcxx_cv_func__sincosl_use+:} false; then :
34859 $as_echo_n "(cached) " >&6
34860 else
34863 ac_ext=cpp
34864 ac_cpp='$CXXCPP $CPPFLAGS'
34865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34870 /* end confdefs.h. */
34871 #include <math.h>
34873 main ()
34875 _sincosl(0, 0, 0);
34877 return 0;
34879 _ACEOF
34880 if ac_fn_cxx_try_compile "$LINENO"; then :
34881 glibcxx_cv_func__sincosl_use=yes
34882 else
34883 glibcxx_cv_func__sincosl_use=no
34885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34886 ac_ext=c
34887 ac_cpp='$CPP $CPPFLAGS'
34888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34897 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34899 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34900 for ac_func in _sincosl
34901 do :
34902 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34903 if test "x$ac_cv_func__sincosl" = xyes; then :
34904 cat >>confdefs.h <<_ACEOF
34905 #define HAVE__SINCOSL 1
34906 _ACEOF
34909 done
34918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34919 $as_echo_n "checking for finitel declaration... " >&6; }
34920 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34921 if ${glibcxx_cv_func_finitel_use+:} false; then :
34922 $as_echo_n "(cached) " >&6
34923 else
34926 ac_ext=cpp
34927 ac_cpp='$CXXCPP $CPPFLAGS'
34928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34933 /* end confdefs.h. */
34934 #include <math.h>
34935 #ifdef HAVE_IEEEFP_H
34936 #include <ieeefp.h>
34937 #endif
34940 main ()
34942 finitel(0);
34944 return 0;
34946 _ACEOF
34947 if ac_fn_cxx_try_compile "$LINENO"; then :
34948 glibcxx_cv_func_finitel_use=yes
34949 else
34950 glibcxx_cv_func_finitel_use=no
34952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34953 ac_ext=c
34954 ac_cpp='$CPP $CPPFLAGS'
34955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34964 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34966 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34967 for ac_func in finitel
34968 do :
34969 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34970 if test "x$ac_cv_func_finitel" = xyes; then :
34971 cat >>confdefs.h <<_ACEOF
34972 #define HAVE_FINITEL 1
34973 _ACEOF
34976 done
34978 else
34980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34981 $as_echo_n "checking for _finitel declaration... " >&6; }
34982 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34983 if ${glibcxx_cv_func__finitel_use+:} false; then :
34984 $as_echo_n "(cached) " >&6
34985 else
34988 ac_ext=cpp
34989 ac_cpp='$CXXCPP $CPPFLAGS'
34990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34995 /* end confdefs.h. */
34996 #include <math.h>
34997 #ifdef HAVE_IEEEFP_H
34998 #include <ieeefp.h>
34999 #endif
35002 main ()
35004 _finitel(0);
35006 return 0;
35008 _ACEOF
35009 if ac_fn_cxx_try_compile "$LINENO"; then :
35010 glibcxx_cv_func__finitel_use=yes
35011 else
35012 glibcxx_cv_func__finitel_use=no
35014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35015 ac_ext=c
35016 ac_cpp='$CPP $CPPFLAGS'
35017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
35026 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
35028 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35029 for ac_func in _finitel
35030 do :
35031 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
35032 if test "x$ac_cv_func__finitel" = xyes; then :
35033 cat >>confdefs.h <<_ACEOF
35034 #define HAVE__FINITEL 1
35035 _ACEOF
35038 done
35046 LIBS="$ac_save_LIBS"
35047 CXXFLAGS="$ac_save_CXXFLAGS"
35050 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35051 ac_save_CXXFLAGS="$CXXFLAGS"
35052 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
35056 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
35057 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
35058 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
35059 $as_echo_n "(cached) " >&6
35060 else
35063 ac_ext=cpp
35064 ac_cpp='$CXXCPP $CPPFLAGS'
35065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35070 /* end confdefs.h. */
35071 #include <stdlib.h>
35073 main ()
35075 at_quick_exit(0);
35077 return 0;
35079 _ACEOF
35080 if ac_fn_cxx_try_compile "$LINENO"; then :
35081 glibcxx_cv_func_at_quick_exit_use=yes
35082 else
35083 glibcxx_cv_func_at_quick_exit_use=no
35085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35086 ac_ext=c
35087 ac_cpp='$CPP $CPPFLAGS'
35088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35097 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35098 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35099 for ac_func in at_quick_exit
35100 do :
35101 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35102 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
35103 cat >>confdefs.h <<_ACEOF
35104 #define HAVE_AT_QUICK_EXIT 1
35105 _ACEOF
35108 done
35113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35114 $as_echo_n "checking for quick_exit declaration... " >&6; }
35115 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35116 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
35117 $as_echo_n "(cached) " >&6
35118 else
35121 ac_ext=cpp
35122 ac_cpp='$CXXCPP $CPPFLAGS'
35123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35128 /* end confdefs.h. */
35129 #include <stdlib.h>
35131 main ()
35133 quick_exit(0);
35135 return 0;
35137 _ACEOF
35138 if ac_fn_cxx_try_compile "$LINENO"; then :
35139 glibcxx_cv_func_quick_exit_use=yes
35140 else
35141 glibcxx_cv_func_quick_exit_use=no
35143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35144 ac_ext=c
35145 ac_cpp='$CPP $CPPFLAGS'
35146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35155 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35156 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35157 for ac_func in quick_exit
35158 do :
35159 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35160 if test "x$ac_cv_func_quick_exit" = xyes; then :
35161 cat >>confdefs.h <<_ACEOF
35162 #define HAVE_QUICK_EXIT 1
35163 _ACEOF
35166 done
35171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35172 $as_echo_n "checking for strtold declaration... " >&6; }
35173 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35174 if ${glibcxx_cv_func_strtold_use+:} false; then :
35175 $as_echo_n "(cached) " >&6
35176 else
35179 ac_ext=cpp
35180 ac_cpp='$CXXCPP $CPPFLAGS'
35181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35186 /* end confdefs.h. */
35187 #include <stdlib.h>
35189 main ()
35191 strtold(0, 0);
35193 return 0;
35195 _ACEOF
35196 if ac_fn_cxx_try_compile "$LINENO"; then :
35197 glibcxx_cv_func_strtold_use=yes
35198 else
35199 glibcxx_cv_func_strtold_use=no
35201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35202 ac_ext=c
35203 ac_cpp='$CPP $CPPFLAGS'
35204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35213 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35214 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35215 for ac_func in strtold
35216 do :
35217 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35218 if test "x$ac_cv_func_strtold" = xyes; then :
35219 cat >>confdefs.h <<_ACEOF
35220 #define HAVE_STRTOLD 1
35221 _ACEOF
35224 done
35231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35232 $as_echo_n "checking for strtof declaration... " >&6; }
35233 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35234 if ${glibcxx_cv_func_strtof_use+:} false; then :
35235 $as_echo_n "(cached) " >&6
35236 else
35239 ac_ext=cpp
35240 ac_cpp='$CXXCPP $CPPFLAGS'
35241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35246 /* end confdefs.h. */
35247 #include <stdlib.h>
35249 main ()
35251 strtof(0, 0);
35253 return 0;
35255 _ACEOF
35256 if ac_fn_cxx_try_compile "$LINENO"; then :
35257 glibcxx_cv_func_strtof_use=yes
35258 else
35259 glibcxx_cv_func_strtof_use=no
35261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35262 ac_ext=c
35263 ac_cpp='$CPP $CPPFLAGS'
35264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35273 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35274 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35275 for ac_func in strtof
35276 do :
35277 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35278 if test "x$ac_cv_func_strtof" = xyes; then :
35279 cat >>confdefs.h <<_ACEOF
35280 #define HAVE_STRTOF 1
35281 _ACEOF
35284 done
35291 CXXFLAGS="$ac_save_CXXFLAGS"
35294 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35296 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35298 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35300 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35303 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35305 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35307 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35311 spu-*-elf*)
35313 # All these tests are for C++; save the language and the compiler flags.
35314 # The CXXFLAGS thing is suspicious, but based on similar bits previously
35315 # found in GLIBCXX_CONFIGURE.
35317 ac_ext=cpp
35318 ac_cpp='$CXXCPP $CPPFLAGS'
35319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35323 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35324 ac_save_CXXFLAGS="$CXXFLAGS"
35326 # Check for -ffunction-sections -fdata-sections
35327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
35328 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
35329 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
35330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35331 /* end confdefs.h. */
35332 int foo; void bar() { };
35334 main ()
35338 return 0;
35340 _ACEOF
35341 if ac_fn_cxx_try_compile "$LINENO"; then :
35342 ac_fdsections=yes
35343 else
35344 ac_fdsections=no
35346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35347 if test "$ac_test_CXXFLAGS" = set; then
35348 CXXFLAGS="$ac_save_CXXFLAGS"
35349 else
35350 # this is the suspicious part
35351 CXXFLAGS=''
35353 if test x"$ac_fdsections" = x"yes"; then
35354 SECTION_FLAGS='-ffunction-sections -fdata-sections'
35356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
35357 $as_echo "$ac_fdsections" >&6; }
35359 ac_ext=c
35360 ac_cpp='$CPP $CPPFLAGS'
35361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35368 # If we're not using GNU ld, then there's no point in even trying these
35369 # tests. Check for that first. We should have already tested for gld
35370 # by now (in libtool), but require it now just to be safe...
35371 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35372 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35376 # The name set by libtool depends on the version of libtool. Shame on us
35377 # for depending on an impl detail, but c'est la vie. Older versions used
35378 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35379 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35380 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35381 # set (hence we're using an older libtool), then set it.
35382 if test x${with_gnu_ld+set} != xset; then
35383 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35384 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35385 with_gnu_ld=no
35386 else
35387 with_gnu_ld=$ac_cv_prog_gnu_ld
35391 # Start by getting the version number. I think the libtool test already
35392 # does some of this, but throws away the result.
35393 glibcxx_ld_is_gold=no
35394 if test x"$with_gnu_ld" = x"yes"; then
35395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35396 $as_echo_n "checking for ld version... " >&6; }
35398 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35399 glibcxx_ld_is_gold=yes
35401 ldver=`$LD --version 2>/dev/null |
35402 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'`
35404 glibcxx_gnu_ld_version=`echo $ldver | \
35405 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35407 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35410 # Set --gc-sections.
35411 glibcxx_have_gc_sections=no
35412 if test "$glibcxx_ld_is_gold" = "yes"; then
35413 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35414 glibcxx_have_gc_sections=yes
35416 else
35417 glibcxx_gcsections_min_ld=21602
35418 if test x"$with_gnu_ld" = x"yes" &&
35419 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35420 glibcxx_have_gc_sections=yes
35423 if test "$glibcxx_have_gc_sections" = "yes"; then
35424 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35425 # NB: This flag only works reliably after 2.16.1. Configure tests
35426 # for this are difficult, so hard wire a value that should work.
35428 ac_test_CFLAGS="${CFLAGS+set}"
35429 ac_save_CFLAGS="$CFLAGS"
35430 CFLAGS='-Wl,--gc-sections'
35432 # Check for -Wl,--gc-sections
35433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35434 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35435 if test x$gcc_no_link = xyes; then
35436 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35439 /* end confdefs.h. */
35440 int one(void) { return 1; }
35441 int two(void) { return 2; }
35444 main ()
35446 two();
35448 return 0;
35450 _ACEOF
35451 if ac_fn_c_try_link "$LINENO"; then :
35452 ac_gcsections=yes
35453 else
35454 ac_gcsections=no
35456 rm -f core conftest.err conftest.$ac_objext \
35457 conftest$ac_exeext conftest.$ac_ext
35458 if test "$ac_gcsections" = "yes"; then
35459 rm -f conftest.c
35460 touch conftest.c
35461 if $CC -c conftest.c; then
35462 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35463 grep "Warning: gc-sections option ignored" > /dev/null; then
35464 ac_gcsections=no
35467 rm -f conftest.c conftest.o conftest
35469 if test "$ac_gcsections" = "yes"; then
35470 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35473 $as_echo "$ac_gcsections" >&6; }
35475 if test "$ac_test_CFLAGS" = set; then
35476 CFLAGS="$ac_save_CFLAGS"
35477 else
35478 # this is the suspicious part
35479 CFLAGS=''
35483 # Set -z,relro.
35484 # Note this is only for shared objects.
35485 ac_ld_relro=no
35486 if test x"$with_gnu_ld" = x"yes"; then
35487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35488 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35489 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35490 if test -n "$cxx_z_relo"; then
35491 OPT_LDFLAGS="-Wl,-z,relro"
35492 ac_ld_relro=yes
35494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35495 $as_echo "$ac_ld_relro" >&6; }
35498 # Set linker optimization flags.
35499 if test x"$with_gnu_ld" = x"yes"; then
35500 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35507 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35508 ac_save_CXXFLAGS="$CXXFLAGS"
35509 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35512 $as_echo_n "checking for sin in -lm... " >&6; }
35513 if ${ac_cv_lib_m_sin+:} false; then :
35514 $as_echo_n "(cached) " >&6
35515 else
35516 ac_check_lib_save_LIBS=$LIBS
35517 LIBS="-lm $LIBS"
35518 if test x$gcc_no_link = xyes; then
35519 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35522 /* end confdefs.h. */
35524 /* Override any GCC internal prototype to avoid an error.
35525 Use char because int might match the return type of a GCC
35526 builtin and then its argument prototype would still apply. */
35527 #ifdef __cplusplus
35528 extern "C"
35529 #endif
35530 char sin ();
35532 main ()
35534 return sin ();
35536 return 0;
35538 _ACEOF
35539 if ac_fn_c_try_link "$LINENO"; then :
35540 ac_cv_lib_m_sin=yes
35541 else
35542 ac_cv_lib_m_sin=no
35544 rm -f core conftest.err conftest.$ac_objext \
35545 conftest$ac_exeext conftest.$ac_ext
35546 LIBS=$ac_check_lib_save_LIBS
35548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35549 $as_echo "$ac_cv_lib_m_sin" >&6; }
35550 if test "x$ac_cv_lib_m_sin" = xyes; then :
35551 libm="-lm"
35554 ac_save_LIBS="$LIBS"
35555 LIBS="$LIBS $libm"
35559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35560 $as_echo_n "checking for isinf declaration... " >&6; }
35561 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35562 if ${glibcxx_cv_func_isinf_use+:} false; then :
35563 $as_echo_n "(cached) " >&6
35564 else
35567 ac_ext=cpp
35568 ac_cpp='$CXXCPP $CPPFLAGS'
35569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35574 /* end confdefs.h. */
35575 #include <math.h>
35576 #ifdef HAVE_IEEEFP_H
35577 #include <ieeefp.h>
35578 #endif
35581 main ()
35583 isinf(0);
35585 return 0;
35587 _ACEOF
35588 if ac_fn_cxx_try_compile "$LINENO"; then :
35589 glibcxx_cv_func_isinf_use=yes
35590 else
35591 glibcxx_cv_func_isinf_use=no
35593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35594 ac_ext=c
35595 ac_cpp='$CPP $CPPFLAGS'
35596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35605 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35607 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35608 for ac_func in isinf
35609 do :
35610 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35611 if test "x$ac_cv_func_isinf" = xyes; then :
35612 cat >>confdefs.h <<_ACEOF
35613 #define HAVE_ISINF 1
35614 _ACEOF
35617 done
35619 else
35621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35622 $as_echo_n "checking for _isinf declaration... " >&6; }
35623 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35624 if ${glibcxx_cv_func__isinf_use+:} false; then :
35625 $as_echo_n "(cached) " >&6
35626 else
35629 ac_ext=cpp
35630 ac_cpp='$CXXCPP $CPPFLAGS'
35631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35636 /* end confdefs.h. */
35637 #include <math.h>
35638 #ifdef HAVE_IEEEFP_H
35639 #include <ieeefp.h>
35640 #endif
35643 main ()
35645 _isinf(0);
35647 return 0;
35649 _ACEOF
35650 if ac_fn_cxx_try_compile "$LINENO"; then :
35651 glibcxx_cv_func__isinf_use=yes
35652 else
35653 glibcxx_cv_func__isinf_use=no
35655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35656 ac_ext=c
35657 ac_cpp='$CPP $CPPFLAGS'
35658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35667 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35669 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35670 for ac_func in _isinf
35671 do :
35672 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35673 if test "x$ac_cv_func__isinf" = xyes; then :
35674 cat >>confdefs.h <<_ACEOF
35675 #define HAVE__ISINF 1
35676 _ACEOF
35679 done
35688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35689 $as_echo_n "checking for isnan declaration... " >&6; }
35690 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35691 if ${glibcxx_cv_func_isnan_use+:} false; then :
35692 $as_echo_n "(cached) " >&6
35693 else
35696 ac_ext=cpp
35697 ac_cpp='$CXXCPP $CPPFLAGS'
35698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35703 /* end confdefs.h. */
35704 #include <math.h>
35705 #ifdef HAVE_IEEEFP_H
35706 #include <ieeefp.h>
35707 #endif
35710 main ()
35712 isnan(0);
35714 return 0;
35716 _ACEOF
35717 if ac_fn_cxx_try_compile "$LINENO"; then :
35718 glibcxx_cv_func_isnan_use=yes
35719 else
35720 glibcxx_cv_func_isnan_use=no
35722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35723 ac_ext=c
35724 ac_cpp='$CPP $CPPFLAGS'
35725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35734 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35736 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35737 for ac_func in isnan
35738 do :
35739 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35740 if test "x$ac_cv_func_isnan" = xyes; then :
35741 cat >>confdefs.h <<_ACEOF
35742 #define HAVE_ISNAN 1
35743 _ACEOF
35746 done
35748 else
35750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35751 $as_echo_n "checking for _isnan declaration... " >&6; }
35752 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35753 if ${glibcxx_cv_func__isnan_use+:} false; then :
35754 $as_echo_n "(cached) " >&6
35755 else
35758 ac_ext=cpp
35759 ac_cpp='$CXXCPP $CPPFLAGS'
35760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35765 /* end confdefs.h. */
35766 #include <math.h>
35767 #ifdef HAVE_IEEEFP_H
35768 #include <ieeefp.h>
35769 #endif
35772 main ()
35774 _isnan(0);
35776 return 0;
35778 _ACEOF
35779 if ac_fn_cxx_try_compile "$LINENO"; then :
35780 glibcxx_cv_func__isnan_use=yes
35781 else
35782 glibcxx_cv_func__isnan_use=no
35784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35785 ac_ext=c
35786 ac_cpp='$CPP $CPPFLAGS'
35787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35796 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35798 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35799 for ac_func in _isnan
35800 do :
35801 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35802 if test "x$ac_cv_func__isnan" = xyes; then :
35803 cat >>confdefs.h <<_ACEOF
35804 #define HAVE__ISNAN 1
35805 _ACEOF
35808 done
35817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35818 $as_echo_n "checking for finite declaration... " >&6; }
35819 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35820 if ${glibcxx_cv_func_finite_use+:} false; then :
35821 $as_echo_n "(cached) " >&6
35822 else
35825 ac_ext=cpp
35826 ac_cpp='$CXXCPP $CPPFLAGS'
35827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35832 /* end confdefs.h. */
35833 #include <math.h>
35834 #ifdef HAVE_IEEEFP_H
35835 #include <ieeefp.h>
35836 #endif
35839 main ()
35841 finite(0);
35843 return 0;
35845 _ACEOF
35846 if ac_fn_cxx_try_compile "$LINENO"; then :
35847 glibcxx_cv_func_finite_use=yes
35848 else
35849 glibcxx_cv_func_finite_use=no
35851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35852 ac_ext=c
35853 ac_cpp='$CPP $CPPFLAGS'
35854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35863 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35865 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35866 for ac_func in finite
35867 do :
35868 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35869 if test "x$ac_cv_func_finite" = xyes; then :
35870 cat >>confdefs.h <<_ACEOF
35871 #define HAVE_FINITE 1
35872 _ACEOF
35875 done
35877 else
35879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35880 $as_echo_n "checking for _finite declaration... " >&6; }
35881 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35882 if ${glibcxx_cv_func__finite_use+:} false; then :
35883 $as_echo_n "(cached) " >&6
35884 else
35887 ac_ext=cpp
35888 ac_cpp='$CXXCPP $CPPFLAGS'
35889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35894 /* end confdefs.h. */
35895 #include <math.h>
35896 #ifdef HAVE_IEEEFP_H
35897 #include <ieeefp.h>
35898 #endif
35901 main ()
35903 _finite(0);
35905 return 0;
35907 _ACEOF
35908 if ac_fn_cxx_try_compile "$LINENO"; then :
35909 glibcxx_cv_func__finite_use=yes
35910 else
35911 glibcxx_cv_func__finite_use=no
35913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35914 ac_ext=c
35915 ac_cpp='$CPP $CPPFLAGS'
35916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35925 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35927 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35928 for ac_func in _finite
35929 do :
35930 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35931 if test "x$ac_cv_func__finite" = xyes; then :
35932 cat >>confdefs.h <<_ACEOF
35933 #define HAVE__FINITE 1
35934 _ACEOF
35937 done
35946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35947 $as_echo_n "checking for sincos declaration... " >&6; }
35948 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35949 if ${glibcxx_cv_func_sincos_use+:} false; then :
35950 $as_echo_n "(cached) " >&6
35951 else
35954 ac_ext=cpp
35955 ac_cpp='$CXXCPP $CPPFLAGS'
35956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35961 /* end confdefs.h. */
35962 #include <math.h>
35964 main ()
35966 sincos(0, 0, 0);
35968 return 0;
35970 _ACEOF
35971 if ac_fn_cxx_try_compile "$LINENO"; then :
35972 glibcxx_cv_func_sincos_use=yes
35973 else
35974 glibcxx_cv_func_sincos_use=no
35976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35977 ac_ext=c
35978 ac_cpp='$CPP $CPPFLAGS'
35979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35988 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35990 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35991 for ac_func in sincos
35992 do :
35993 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35994 if test "x$ac_cv_func_sincos" = xyes; then :
35995 cat >>confdefs.h <<_ACEOF
35996 #define HAVE_SINCOS 1
35997 _ACEOF
36000 done
36002 else
36004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
36005 $as_echo_n "checking for _sincos declaration... " >&6; }
36006 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
36007 if ${glibcxx_cv_func__sincos_use+:} false; then :
36008 $as_echo_n "(cached) " >&6
36009 else
36012 ac_ext=cpp
36013 ac_cpp='$CXXCPP $CPPFLAGS'
36014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36019 /* end confdefs.h. */
36020 #include <math.h>
36022 main ()
36024 _sincos(0, 0, 0);
36026 return 0;
36028 _ACEOF
36029 if ac_fn_cxx_try_compile "$LINENO"; then :
36030 glibcxx_cv_func__sincos_use=yes
36031 else
36032 glibcxx_cv_func__sincos_use=no
36034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36035 ac_ext=c
36036 ac_cpp='$CPP $CPPFLAGS'
36037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
36046 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
36048 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
36049 for ac_func in _sincos
36050 do :
36051 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
36052 if test "x$ac_cv_func__sincos" = xyes; then :
36053 cat >>confdefs.h <<_ACEOF
36054 #define HAVE__SINCOS 1
36055 _ACEOF
36058 done
36067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
36068 $as_echo_n "checking for fpclass declaration... " >&6; }
36069 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
36070 if ${glibcxx_cv_func_fpclass_use+:} false; then :
36071 $as_echo_n "(cached) " >&6
36072 else
36075 ac_ext=cpp
36076 ac_cpp='$CXXCPP $CPPFLAGS'
36077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36082 /* end confdefs.h. */
36083 #include <math.h>
36084 #ifdef HAVE_IEEEFP_H
36085 #include <ieeefp.h>
36086 #endif
36089 main ()
36091 fpclass(0);
36093 return 0;
36095 _ACEOF
36096 if ac_fn_cxx_try_compile "$LINENO"; then :
36097 glibcxx_cv_func_fpclass_use=yes
36098 else
36099 glibcxx_cv_func_fpclass_use=no
36101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36102 ac_ext=c
36103 ac_cpp='$CPP $CPPFLAGS'
36104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
36113 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
36115 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
36116 for ac_func in fpclass
36117 do :
36118 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
36119 if test "x$ac_cv_func_fpclass" = xyes; then :
36120 cat >>confdefs.h <<_ACEOF
36121 #define HAVE_FPCLASS 1
36122 _ACEOF
36125 done
36127 else
36129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36130 $as_echo_n "checking for _fpclass declaration... " >&6; }
36131 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36132 if ${glibcxx_cv_func__fpclass_use+:} false; then :
36133 $as_echo_n "(cached) " >&6
36134 else
36137 ac_ext=cpp
36138 ac_cpp='$CXXCPP $CPPFLAGS'
36139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36144 /* end confdefs.h. */
36145 #include <math.h>
36146 #ifdef HAVE_IEEEFP_H
36147 #include <ieeefp.h>
36148 #endif
36151 main ()
36153 _fpclass(0);
36155 return 0;
36157 _ACEOF
36158 if ac_fn_cxx_try_compile "$LINENO"; then :
36159 glibcxx_cv_func__fpclass_use=yes
36160 else
36161 glibcxx_cv_func__fpclass_use=no
36163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36164 ac_ext=c
36165 ac_cpp='$CPP $CPPFLAGS'
36166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36175 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36177 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36178 for ac_func in _fpclass
36179 do :
36180 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36181 if test "x$ac_cv_func__fpclass" = xyes; then :
36182 cat >>confdefs.h <<_ACEOF
36183 #define HAVE__FPCLASS 1
36184 _ACEOF
36187 done
36196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36197 $as_echo_n "checking for qfpclass declaration... " >&6; }
36198 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36199 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36200 $as_echo_n "(cached) " >&6
36201 else
36204 ac_ext=cpp
36205 ac_cpp='$CXXCPP $CPPFLAGS'
36206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36211 /* end confdefs.h. */
36212 #include <math.h>
36213 #ifdef HAVE_IEEEFP_H
36214 #include <ieeefp.h>
36215 #endif
36218 main ()
36220 qfpclass(0);
36222 return 0;
36224 _ACEOF
36225 if ac_fn_cxx_try_compile "$LINENO"; then :
36226 glibcxx_cv_func_qfpclass_use=yes
36227 else
36228 glibcxx_cv_func_qfpclass_use=no
36230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36231 ac_ext=c
36232 ac_cpp='$CPP $CPPFLAGS'
36233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36242 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36244 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36245 for ac_func in qfpclass
36246 do :
36247 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36248 if test "x$ac_cv_func_qfpclass" = xyes; then :
36249 cat >>confdefs.h <<_ACEOF
36250 #define HAVE_QFPCLASS 1
36251 _ACEOF
36254 done
36256 else
36258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36259 $as_echo_n "checking for _qfpclass declaration... " >&6; }
36260 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36261 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36262 $as_echo_n "(cached) " >&6
36263 else
36266 ac_ext=cpp
36267 ac_cpp='$CXXCPP $CPPFLAGS'
36268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36273 /* end confdefs.h. */
36274 #include <math.h>
36275 #ifdef HAVE_IEEEFP_H
36276 #include <ieeefp.h>
36277 #endif
36280 main ()
36282 _qfpclass(0);
36284 return 0;
36286 _ACEOF
36287 if ac_fn_cxx_try_compile "$LINENO"; then :
36288 glibcxx_cv_func__qfpclass_use=yes
36289 else
36290 glibcxx_cv_func__qfpclass_use=no
36292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36293 ac_ext=c
36294 ac_cpp='$CPP $CPPFLAGS'
36295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36304 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36306 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36307 for ac_func in _qfpclass
36308 do :
36309 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36310 if test "x$ac_cv_func__qfpclass" = xyes; then :
36311 cat >>confdefs.h <<_ACEOF
36312 #define HAVE__QFPCLASS 1
36313 _ACEOF
36316 done
36325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36326 $as_echo_n "checking for hypot declaration... " >&6; }
36327 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36328 if ${glibcxx_cv_func_hypot_use+:} false; then :
36329 $as_echo_n "(cached) " >&6
36330 else
36333 ac_ext=cpp
36334 ac_cpp='$CXXCPP $CPPFLAGS'
36335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36340 /* end confdefs.h. */
36341 #include <math.h>
36343 main ()
36345 hypot(0, 0);
36347 return 0;
36349 _ACEOF
36350 if ac_fn_cxx_try_compile "$LINENO"; then :
36351 glibcxx_cv_func_hypot_use=yes
36352 else
36353 glibcxx_cv_func_hypot_use=no
36355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36356 ac_ext=c
36357 ac_cpp='$CPP $CPPFLAGS'
36358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36367 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36369 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36370 for ac_func in hypot
36371 do :
36372 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36373 if test "x$ac_cv_func_hypot" = xyes; then :
36374 cat >>confdefs.h <<_ACEOF
36375 #define HAVE_HYPOT 1
36376 _ACEOF
36379 done
36381 else
36383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36384 $as_echo_n "checking for _hypot declaration... " >&6; }
36385 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36386 if ${glibcxx_cv_func__hypot_use+:} false; then :
36387 $as_echo_n "(cached) " >&6
36388 else
36391 ac_ext=cpp
36392 ac_cpp='$CXXCPP $CPPFLAGS'
36393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36398 /* end confdefs.h. */
36399 #include <math.h>
36401 main ()
36403 _hypot(0, 0);
36405 return 0;
36407 _ACEOF
36408 if ac_fn_cxx_try_compile "$LINENO"; then :
36409 glibcxx_cv_func__hypot_use=yes
36410 else
36411 glibcxx_cv_func__hypot_use=no
36413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36414 ac_ext=c
36415 ac_cpp='$CPP $CPPFLAGS'
36416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36425 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36427 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36428 for ac_func in _hypot
36429 do :
36430 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36431 if test "x$ac_cv_func__hypot" = xyes; then :
36432 cat >>confdefs.h <<_ACEOF
36433 #define HAVE__HYPOT 1
36434 _ACEOF
36437 done
36446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36447 $as_echo_n "checking for float trig functions... " >&6; }
36448 if ${glibcxx_cv_func_float_trig_use+:} false; then :
36449 $as_echo_n "(cached) " >&6
36450 else
36453 ac_ext=cpp
36454 ac_cpp='$CXXCPP $CPPFLAGS'
36455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36460 /* end confdefs.h. */
36461 #include <math.h>
36463 main ()
36465 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36467 return 0;
36469 _ACEOF
36470 if ac_fn_cxx_try_compile "$LINENO"; then :
36471 glibcxx_cv_func_float_trig_use=yes
36472 else
36473 glibcxx_cv_func_float_trig_use=no
36475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36476 ac_ext=c
36477 ac_cpp='$CPP $CPPFLAGS'
36478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36485 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36486 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36487 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36488 do :
36489 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36490 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36491 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36492 cat >>confdefs.h <<_ACEOF
36493 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36494 _ACEOF
36497 done
36499 else
36500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36501 $as_echo_n "checking for _float trig functions... " >&6; }
36502 if ${glibcxx_cv_func__float_trig_use+:} false; then :
36503 $as_echo_n "(cached) " >&6
36504 else
36507 ac_ext=cpp
36508 ac_cpp='$CXXCPP $CPPFLAGS'
36509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36514 /* end confdefs.h. */
36515 #include <math.h>
36517 main ()
36519 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36521 return 0;
36523 _ACEOF
36524 if ac_fn_cxx_try_compile "$LINENO"; then :
36525 glibcxx_cv_func__float_trig_use=yes
36526 else
36527 glibcxx_cv_func__float_trig_use=no
36529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36530 ac_ext=c
36531 ac_cpp='$CPP $CPPFLAGS'
36532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36539 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36540 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36541 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36542 do :
36543 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36544 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36545 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36546 cat >>confdefs.h <<_ACEOF
36547 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36548 _ACEOF
36551 done
36560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36561 $as_echo_n "checking for float round functions... " >&6; }
36562 if ${glibcxx_cv_func_float_round_use+:} false; then :
36563 $as_echo_n "(cached) " >&6
36564 else
36567 ac_ext=cpp
36568 ac_cpp='$CXXCPP $CPPFLAGS'
36569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36574 /* end confdefs.h. */
36575 #include <math.h>
36577 main ()
36579 ceilf (0); floorf (0);
36581 return 0;
36583 _ACEOF
36584 if ac_fn_cxx_try_compile "$LINENO"; then :
36585 glibcxx_cv_func_float_round_use=yes
36586 else
36587 glibcxx_cv_func_float_round_use=no
36589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36590 ac_ext=c
36591 ac_cpp='$CPP $CPPFLAGS'
36592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36599 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36600 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36601 for ac_func in ceilf floorf
36602 do :
36603 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36604 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36605 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36606 cat >>confdefs.h <<_ACEOF
36607 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36608 _ACEOF
36611 done
36613 else
36614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36615 $as_echo_n "checking for _float round functions... " >&6; }
36616 if ${glibcxx_cv_func__float_round_use+:} false; then :
36617 $as_echo_n "(cached) " >&6
36618 else
36621 ac_ext=cpp
36622 ac_cpp='$CXXCPP $CPPFLAGS'
36623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36628 /* end confdefs.h. */
36629 #include <math.h>
36631 main ()
36633 _ceilf (0); _floorf (0);
36635 return 0;
36637 _ACEOF
36638 if ac_fn_cxx_try_compile "$LINENO"; then :
36639 glibcxx_cv_func__float_round_use=yes
36640 else
36641 glibcxx_cv_func__float_round_use=no
36643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36644 ac_ext=c
36645 ac_cpp='$CPP $CPPFLAGS'
36646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36653 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36654 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36655 for ac_func in _ceilf _floorf
36656 do :
36657 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36658 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36659 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36660 cat >>confdefs.h <<_ACEOF
36661 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36662 _ACEOF
36665 done
36675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36676 $as_echo_n "checking for expf declaration... " >&6; }
36677 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36678 if ${glibcxx_cv_func_expf_use+:} false; then :
36679 $as_echo_n "(cached) " >&6
36680 else
36683 ac_ext=cpp
36684 ac_cpp='$CXXCPP $CPPFLAGS'
36685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36690 /* end confdefs.h. */
36691 #include <math.h>
36692 #ifdef HAVE_IEEEFP_H
36693 #include <ieeefp.h>
36694 #endif
36697 main ()
36699 expf(0);
36701 return 0;
36703 _ACEOF
36704 if ac_fn_cxx_try_compile "$LINENO"; then :
36705 glibcxx_cv_func_expf_use=yes
36706 else
36707 glibcxx_cv_func_expf_use=no
36709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36710 ac_ext=c
36711 ac_cpp='$CPP $CPPFLAGS'
36712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36721 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36723 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36724 for ac_func in expf
36725 do :
36726 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36727 if test "x$ac_cv_func_expf" = xyes; then :
36728 cat >>confdefs.h <<_ACEOF
36729 #define HAVE_EXPF 1
36730 _ACEOF
36733 done
36735 else
36737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36738 $as_echo_n "checking for _expf declaration... " >&6; }
36739 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36740 if ${glibcxx_cv_func__expf_use+:} false; then :
36741 $as_echo_n "(cached) " >&6
36742 else
36745 ac_ext=cpp
36746 ac_cpp='$CXXCPP $CPPFLAGS'
36747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36752 /* end confdefs.h. */
36753 #include <math.h>
36754 #ifdef HAVE_IEEEFP_H
36755 #include <ieeefp.h>
36756 #endif
36759 main ()
36761 _expf(0);
36763 return 0;
36765 _ACEOF
36766 if ac_fn_cxx_try_compile "$LINENO"; then :
36767 glibcxx_cv_func__expf_use=yes
36768 else
36769 glibcxx_cv_func__expf_use=no
36771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36772 ac_ext=c
36773 ac_cpp='$CPP $CPPFLAGS'
36774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36783 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36785 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36786 for ac_func in _expf
36787 do :
36788 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36789 if test "x$ac_cv_func__expf" = xyes; then :
36790 cat >>confdefs.h <<_ACEOF
36791 #define HAVE__EXPF 1
36792 _ACEOF
36795 done
36804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36805 $as_echo_n "checking for isnanf declaration... " >&6; }
36806 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36807 if ${glibcxx_cv_func_isnanf_use+:} false; then :
36808 $as_echo_n "(cached) " >&6
36809 else
36812 ac_ext=cpp
36813 ac_cpp='$CXXCPP $CPPFLAGS'
36814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36819 /* end confdefs.h. */
36820 #include <math.h>
36821 #ifdef HAVE_IEEEFP_H
36822 #include <ieeefp.h>
36823 #endif
36826 main ()
36828 isnanf(0);
36830 return 0;
36832 _ACEOF
36833 if ac_fn_cxx_try_compile "$LINENO"; then :
36834 glibcxx_cv_func_isnanf_use=yes
36835 else
36836 glibcxx_cv_func_isnanf_use=no
36838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36839 ac_ext=c
36840 ac_cpp='$CPP $CPPFLAGS'
36841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36850 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36852 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36853 for ac_func in isnanf
36854 do :
36855 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36856 if test "x$ac_cv_func_isnanf" = xyes; then :
36857 cat >>confdefs.h <<_ACEOF
36858 #define HAVE_ISNANF 1
36859 _ACEOF
36862 done
36864 else
36866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36867 $as_echo_n "checking for _isnanf declaration... " >&6; }
36868 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36869 if ${glibcxx_cv_func__isnanf_use+:} false; then :
36870 $as_echo_n "(cached) " >&6
36871 else
36874 ac_ext=cpp
36875 ac_cpp='$CXXCPP $CPPFLAGS'
36876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36881 /* end confdefs.h. */
36882 #include <math.h>
36883 #ifdef HAVE_IEEEFP_H
36884 #include <ieeefp.h>
36885 #endif
36888 main ()
36890 _isnanf(0);
36892 return 0;
36894 _ACEOF
36895 if ac_fn_cxx_try_compile "$LINENO"; then :
36896 glibcxx_cv_func__isnanf_use=yes
36897 else
36898 glibcxx_cv_func__isnanf_use=no
36900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36901 ac_ext=c
36902 ac_cpp='$CPP $CPPFLAGS'
36903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36912 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36914 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36915 for ac_func in _isnanf
36916 do :
36917 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36918 if test "x$ac_cv_func__isnanf" = xyes; then :
36919 cat >>confdefs.h <<_ACEOF
36920 #define HAVE__ISNANF 1
36921 _ACEOF
36924 done
36933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36934 $as_echo_n "checking for isinff declaration... " >&6; }
36935 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36936 if ${glibcxx_cv_func_isinff_use+:} false; then :
36937 $as_echo_n "(cached) " >&6
36938 else
36941 ac_ext=cpp
36942 ac_cpp='$CXXCPP $CPPFLAGS'
36943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36948 /* end confdefs.h. */
36949 #include <math.h>
36950 #ifdef HAVE_IEEEFP_H
36951 #include <ieeefp.h>
36952 #endif
36955 main ()
36957 isinff(0);
36959 return 0;
36961 _ACEOF
36962 if ac_fn_cxx_try_compile "$LINENO"; then :
36963 glibcxx_cv_func_isinff_use=yes
36964 else
36965 glibcxx_cv_func_isinff_use=no
36967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36968 ac_ext=c
36969 ac_cpp='$CPP $CPPFLAGS'
36970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36979 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36981 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36982 for ac_func in isinff
36983 do :
36984 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36985 if test "x$ac_cv_func_isinff" = xyes; then :
36986 cat >>confdefs.h <<_ACEOF
36987 #define HAVE_ISINFF 1
36988 _ACEOF
36991 done
36993 else
36995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36996 $as_echo_n "checking for _isinff declaration... " >&6; }
36997 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36998 if ${glibcxx_cv_func__isinff_use+:} false; then :
36999 $as_echo_n "(cached) " >&6
37000 else
37003 ac_ext=cpp
37004 ac_cpp='$CXXCPP $CPPFLAGS'
37005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37010 /* end confdefs.h. */
37011 #include <math.h>
37012 #ifdef HAVE_IEEEFP_H
37013 #include <ieeefp.h>
37014 #endif
37017 main ()
37019 _isinff(0);
37021 return 0;
37023 _ACEOF
37024 if ac_fn_cxx_try_compile "$LINENO"; then :
37025 glibcxx_cv_func__isinff_use=yes
37026 else
37027 glibcxx_cv_func__isinff_use=no
37029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37030 ac_ext=c
37031 ac_cpp='$CPP $CPPFLAGS'
37032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
37041 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
37043 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37044 for ac_func in _isinff
37045 do :
37046 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
37047 if test "x$ac_cv_func__isinff" = xyes; then :
37048 cat >>confdefs.h <<_ACEOF
37049 #define HAVE__ISINFF 1
37050 _ACEOF
37053 done
37062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
37063 $as_echo_n "checking for atan2f declaration... " >&6; }
37064 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37065 if ${glibcxx_cv_func_atan2f_use+:} false; then :
37066 $as_echo_n "(cached) " >&6
37067 else
37070 ac_ext=cpp
37071 ac_cpp='$CXXCPP $CPPFLAGS'
37072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37077 /* end confdefs.h. */
37078 #include <math.h>
37080 main ()
37082 atan2f(0, 0);
37084 return 0;
37086 _ACEOF
37087 if ac_fn_cxx_try_compile "$LINENO"; then :
37088 glibcxx_cv_func_atan2f_use=yes
37089 else
37090 glibcxx_cv_func_atan2f_use=no
37092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37093 ac_ext=c
37094 ac_cpp='$CPP $CPPFLAGS'
37095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
37104 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
37106 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37107 for ac_func in atan2f
37108 do :
37109 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
37110 if test "x$ac_cv_func_atan2f" = xyes; then :
37111 cat >>confdefs.h <<_ACEOF
37112 #define HAVE_ATAN2F 1
37113 _ACEOF
37116 done
37118 else
37120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
37121 $as_echo_n "checking for _atan2f declaration... " >&6; }
37122 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37123 if ${glibcxx_cv_func__atan2f_use+:} false; then :
37124 $as_echo_n "(cached) " >&6
37125 else
37128 ac_ext=cpp
37129 ac_cpp='$CXXCPP $CPPFLAGS'
37130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37135 /* end confdefs.h. */
37136 #include <math.h>
37138 main ()
37140 _atan2f(0, 0);
37142 return 0;
37144 _ACEOF
37145 if ac_fn_cxx_try_compile "$LINENO"; then :
37146 glibcxx_cv_func__atan2f_use=yes
37147 else
37148 glibcxx_cv_func__atan2f_use=no
37150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37151 ac_ext=c
37152 ac_cpp='$CPP $CPPFLAGS'
37153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
37162 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37164 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37165 for ac_func in _atan2f
37166 do :
37167 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37168 if test "x$ac_cv_func__atan2f" = xyes; then :
37169 cat >>confdefs.h <<_ACEOF
37170 #define HAVE__ATAN2F 1
37171 _ACEOF
37174 done
37183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37184 $as_echo_n "checking for fabsf declaration... " >&6; }
37185 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37186 if ${glibcxx_cv_func_fabsf_use+:} false; then :
37187 $as_echo_n "(cached) " >&6
37188 else
37191 ac_ext=cpp
37192 ac_cpp='$CXXCPP $CPPFLAGS'
37193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37198 /* end confdefs.h. */
37199 #include <math.h>
37200 #ifdef HAVE_IEEEFP_H
37201 #include <ieeefp.h>
37202 #endif
37205 main ()
37207 fabsf(0);
37209 return 0;
37211 _ACEOF
37212 if ac_fn_cxx_try_compile "$LINENO"; then :
37213 glibcxx_cv_func_fabsf_use=yes
37214 else
37215 glibcxx_cv_func_fabsf_use=no
37217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37218 ac_ext=c
37219 ac_cpp='$CPP $CPPFLAGS'
37220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37229 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37231 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37232 for ac_func in fabsf
37233 do :
37234 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37235 if test "x$ac_cv_func_fabsf" = xyes; then :
37236 cat >>confdefs.h <<_ACEOF
37237 #define HAVE_FABSF 1
37238 _ACEOF
37241 done
37243 else
37245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37246 $as_echo_n "checking for _fabsf declaration... " >&6; }
37247 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37248 if ${glibcxx_cv_func__fabsf_use+:} false; then :
37249 $as_echo_n "(cached) " >&6
37250 else
37253 ac_ext=cpp
37254 ac_cpp='$CXXCPP $CPPFLAGS'
37255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37260 /* end confdefs.h. */
37261 #include <math.h>
37262 #ifdef HAVE_IEEEFP_H
37263 #include <ieeefp.h>
37264 #endif
37267 main ()
37269 _fabsf(0);
37271 return 0;
37273 _ACEOF
37274 if ac_fn_cxx_try_compile "$LINENO"; then :
37275 glibcxx_cv_func__fabsf_use=yes
37276 else
37277 glibcxx_cv_func__fabsf_use=no
37279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37280 ac_ext=c
37281 ac_cpp='$CPP $CPPFLAGS'
37282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37291 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37293 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37294 for ac_func in _fabsf
37295 do :
37296 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37297 if test "x$ac_cv_func__fabsf" = xyes; then :
37298 cat >>confdefs.h <<_ACEOF
37299 #define HAVE__FABSF 1
37300 _ACEOF
37303 done
37312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37313 $as_echo_n "checking for fmodf declaration... " >&6; }
37314 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37315 if ${glibcxx_cv_func_fmodf_use+:} false; then :
37316 $as_echo_n "(cached) " >&6
37317 else
37320 ac_ext=cpp
37321 ac_cpp='$CXXCPP $CPPFLAGS'
37322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37327 /* end confdefs.h. */
37328 #include <math.h>
37330 main ()
37332 fmodf(0, 0);
37334 return 0;
37336 _ACEOF
37337 if ac_fn_cxx_try_compile "$LINENO"; then :
37338 glibcxx_cv_func_fmodf_use=yes
37339 else
37340 glibcxx_cv_func_fmodf_use=no
37342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37343 ac_ext=c
37344 ac_cpp='$CPP $CPPFLAGS'
37345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37354 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37356 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37357 for ac_func in fmodf
37358 do :
37359 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37360 if test "x$ac_cv_func_fmodf" = xyes; then :
37361 cat >>confdefs.h <<_ACEOF
37362 #define HAVE_FMODF 1
37363 _ACEOF
37366 done
37368 else
37370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37371 $as_echo_n "checking for _fmodf declaration... " >&6; }
37372 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37373 if ${glibcxx_cv_func__fmodf_use+:} false; then :
37374 $as_echo_n "(cached) " >&6
37375 else
37378 ac_ext=cpp
37379 ac_cpp='$CXXCPP $CPPFLAGS'
37380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37385 /* end confdefs.h. */
37386 #include <math.h>
37388 main ()
37390 _fmodf(0, 0);
37392 return 0;
37394 _ACEOF
37395 if ac_fn_cxx_try_compile "$LINENO"; then :
37396 glibcxx_cv_func__fmodf_use=yes
37397 else
37398 glibcxx_cv_func__fmodf_use=no
37400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37401 ac_ext=c
37402 ac_cpp='$CPP $CPPFLAGS'
37403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37412 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37414 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37415 for ac_func in _fmodf
37416 do :
37417 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37418 if test "x$ac_cv_func__fmodf" = xyes; then :
37419 cat >>confdefs.h <<_ACEOF
37420 #define HAVE__FMODF 1
37421 _ACEOF
37424 done
37433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37434 $as_echo_n "checking for frexpf declaration... " >&6; }
37435 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37436 if ${glibcxx_cv_func_frexpf_use+:} false; then :
37437 $as_echo_n "(cached) " >&6
37438 else
37441 ac_ext=cpp
37442 ac_cpp='$CXXCPP $CPPFLAGS'
37443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37448 /* end confdefs.h. */
37449 #include <math.h>
37451 main ()
37453 frexpf(0, 0);
37455 return 0;
37457 _ACEOF
37458 if ac_fn_cxx_try_compile "$LINENO"; then :
37459 glibcxx_cv_func_frexpf_use=yes
37460 else
37461 glibcxx_cv_func_frexpf_use=no
37463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37464 ac_ext=c
37465 ac_cpp='$CPP $CPPFLAGS'
37466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37475 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37477 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37478 for ac_func in frexpf
37479 do :
37480 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37481 if test "x$ac_cv_func_frexpf" = xyes; then :
37482 cat >>confdefs.h <<_ACEOF
37483 #define HAVE_FREXPF 1
37484 _ACEOF
37487 done
37489 else
37491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37492 $as_echo_n "checking for _frexpf declaration... " >&6; }
37493 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37494 if ${glibcxx_cv_func__frexpf_use+:} false; then :
37495 $as_echo_n "(cached) " >&6
37496 else
37499 ac_ext=cpp
37500 ac_cpp='$CXXCPP $CPPFLAGS'
37501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37506 /* end confdefs.h. */
37507 #include <math.h>
37509 main ()
37511 _frexpf(0, 0);
37513 return 0;
37515 _ACEOF
37516 if ac_fn_cxx_try_compile "$LINENO"; then :
37517 glibcxx_cv_func__frexpf_use=yes
37518 else
37519 glibcxx_cv_func__frexpf_use=no
37521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37522 ac_ext=c
37523 ac_cpp='$CPP $CPPFLAGS'
37524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37533 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37535 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37536 for ac_func in _frexpf
37537 do :
37538 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37539 if test "x$ac_cv_func__frexpf" = xyes; then :
37540 cat >>confdefs.h <<_ACEOF
37541 #define HAVE__FREXPF 1
37542 _ACEOF
37545 done
37554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37555 $as_echo_n "checking for hypotf declaration... " >&6; }
37556 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37557 if ${glibcxx_cv_func_hypotf_use+:} false; then :
37558 $as_echo_n "(cached) " >&6
37559 else
37562 ac_ext=cpp
37563 ac_cpp='$CXXCPP $CPPFLAGS'
37564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37569 /* end confdefs.h. */
37570 #include <math.h>
37572 main ()
37574 hypotf(0, 0);
37576 return 0;
37578 _ACEOF
37579 if ac_fn_cxx_try_compile "$LINENO"; then :
37580 glibcxx_cv_func_hypotf_use=yes
37581 else
37582 glibcxx_cv_func_hypotf_use=no
37584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37585 ac_ext=c
37586 ac_cpp='$CPP $CPPFLAGS'
37587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37596 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37598 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37599 for ac_func in hypotf
37600 do :
37601 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37602 if test "x$ac_cv_func_hypotf" = xyes; then :
37603 cat >>confdefs.h <<_ACEOF
37604 #define HAVE_HYPOTF 1
37605 _ACEOF
37608 done
37610 else
37612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37613 $as_echo_n "checking for _hypotf declaration... " >&6; }
37614 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37615 if ${glibcxx_cv_func__hypotf_use+:} false; then :
37616 $as_echo_n "(cached) " >&6
37617 else
37620 ac_ext=cpp
37621 ac_cpp='$CXXCPP $CPPFLAGS'
37622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37627 /* end confdefs.h. */
37628 #include <math.h>
37630 main ()
37632 _hypotf(0, 0);
37634 return 0;
37636 _ACEOF
37637 if ac_fn_cxx_try_compile "$LINENO"; then :
37638 glibcxx_cv_func__hypotf_use=yes
37639 else
37640 glibcxx_cv_func__hypotf_use=no
37642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37643 ac_ext=c
37644 ac_cpp='$CPP $CPPFLAGS'
37645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37654 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37656 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37657 for ac_func in _hypotf
37658 do :
37659 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37660 if test "x$ac_cv_func__hypotf" = xyes; then :
37661 cat >>confdefs.h <<_ACEOF
37662 #define HAVE__HYPOTF 1
37663 _ACEOF
37666 done
37675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37676 $as_echo_n "checking for ldexpf declaration... " >&6; }
37677 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37678 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
37679 $as_echo_n "(cached) " >&6
37680 else
37683 ac_ext=cpp
37684 ac_cpp='$CXXCPP $CPPFLAGS'
37685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37690 /* end confdefs.h. */
37691 #include <math.h>
37693 main ()
37695 ldexpf(0, 0);
37697 return 0;
37699 _ACEOF
37700 if ac_fn_cxx_try_compile "$LINENO"; then :
37701 glibcxx_cv_func_ldexpf_use=yes
37702 else
37703 glibcxx_cv_func_ldexpf_use=no
37705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37706 ac_ext=c
37707 ac_cpp='$CPP $CPPFLAGS'
37708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37717 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37719 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37720 for ac_func in ldexpf
37721 do :
37722 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37723 if test "x$ac_cv_func_ldexpf" = xyes; then :
37724 cat >>confdefs.h <<_ACEOF
37725 #define HAVE_LDEXPF 1
37726 _ACEOF
37729 done
37731 else
37733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37734 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37735 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37736 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
37737 $as_echo_n "(cached) " >&6
37738 else
37741 ac_ext=cpp
37742 ac_cpp='$CXXCPP $CPPFLAGS'
37743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37748 /* end confdefs.h. */
37749 #include <math.h>
37751 main ()
37753 _ldexpf(0, 0);
37755 return 0;
37757 _ACEOF
37758 if ac_fn_cxx_try_compile "$LINENO"; then :
37759 glibcxx_cv_func__ldexpf_use=yes
37760 else
37761 glibcxx_cv_func__ldexpf_use=no
37763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37764 ac_ext=c
37765 ac_cpp='$CPP $CPPFLAGS'
37766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37775 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37777 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37778 for ac_func in _ldexpf
37779 do :
37780 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37781 if test "x$ac_cv_func__ldexpf" = xyes; then :
37782 cat >>confdefs.h <<_ACEOF
37783 #define HAVE__LDEXPF 1
37784 _ACEOF
37787 done
37796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37797 $as_echo_n "checking for logf declaration... " >&6; }
37798 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37799 if ${glibcxx_cv_func_logf_use+:} false; then :
37800 $as_echo_n "(cached) " >&6
37801 else
37804 ac_ext=cpp
37805 ac_cpp='$CXXCPP $CPPFLAGS'
37806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37811 /* end confdefs.h. */
37812 #include <math.h>
37813 #ifdef HAVE_IEEEFP_H
37814 #include <ieeefp.h>
37815 #endif
37818 main ()
37820 logf(0);
37822 return 0;
37824 _ACEOF
37825 if ac_fn_cxx_try_compile "$LINENO"; then :
37826 glibcxx_cv_func_logf_use=yes
37827 else
37828 glibcxx_cv_func_logf_use=no
37830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37831 ac_ext=c
37832 ac_cpp='$CPP $CPPFLAGS'
37833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37842 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37844 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37845 for ac_func in logf
37846 do :
37847 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37848 if test "x$ac_cv_func_logf" = xyes; then :
37849 cat >>confdefs.h <<_ACEOF
37850 #define HAVE_LOGF 1
37851 _ACEOF
37854 done
37856 else
37858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37859 $as_echo_n "checking for _logf declaration... " >&6; }
37860 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37861 if ${glibcxx_cv_func__logf_use+:} false; then :
37862 $as_echo_n "(cached) " >&6
37863 else
37866 ac_ext=cpp
37867 ac_cpp='$CXXCPP $CPPFLAGS'
37868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37873 /* end confdefs.h. */
37874 #include <math.h>
37875 #ifdef HAVE_IEEEFP_H
37876 #include <ieeefp.h>
37877 #endif
37880 main ()
37882 _logf(0);
37884 return 0;
37886 _ACEOF
37887 if ac_fn_cxx_try_compile "$LINENO"; then :
37888 glibcxx_cv_func__logf_use=yes
37889 else
37890 glibcxx_cv_func__logf_use=no
37892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37893 ac_ext=c
37894 ac_cpp='$CPP $CPPFLAGS'
37895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37904 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37906 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37907 for ac_func in _logf
37908 do :
37909 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37910 if test "x$ac_cv_func__logf" = xyes; then :
37911 cat >>confdefs.h <<_ACEOF
37912 #define HAVE__LOGF 1
37913 _ACEOF
37916 done
37925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37926 $as_echo_n "checking for log10f declaration... " >&6; }
37927 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37928 if ${glibcxx_cv_func_log10f_use+:} false; then :
37929 $as_echo_n "(cached) " >&6
37930 else
37933 ac_ext=cpp
37934 ac_cpp='$CXXCPP $CPPFLAGS'
37935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37940 /* end confdefs.h. */
37941 #include <math.h>
37942 #ifdef HAVE_IEEEFP_H
37943 #include <ieeefp.h>
37944 #endif
37947 main ()
37949 log10f(0);
37951 return 0;
37953 _ACEOF
37954 if ac_fn_cxx_try_compile "$LINENO"; then :
37955 glibcxx_cv_func_log10f_use=yes
37956 else
37957 glibcxx_cv_func_log10f_use=no
37959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37960 ac_ext=c
37961 ac_cpp='$CPP $CPPFLAGS'
37962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37971 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37973 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37974 for ac_func in log10f
37975 do :
37976 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37977 if test "x$ac_cv_func_log10f" = xyes; then :
37978 cat >>confdefs.h <<_ACEOF
37979 #define HAVE_LOG10F 1
37980 _ACEOF
37983 done
37985 else
37987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37988 $as_echo_n "checking for _log10f declaration... " >&6; }
37989 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37990 if ${glibcxx_cv_func__log10f_use+:} false; then :
37991 $as_echo_n "(cached) " >&6
37992 else
37995 ac_ext=cpp
37996 ac_cpp='$CXXCPP $CPPFLAGS'
37997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38002 /* end confdefs.h. */
38003 #include <math.h>
38004 #ifdef HAVE_IEEEFP_H
38005 #include <ieeefp.h>
38006 #endif
38009 main ()
38011 _log10f(0);
38013 return 0;
38015 _ACEOF
38016 if ac_fn_cxx_try_compile "$LINENO"; then :
38017 glibcxx_cv_func__log10f_use=yes
38018 else
38019 glibcxx_cv_func__log10f_use=no
38021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38022 ac_ext=c
38023 ac_cpp='$CPP $CPPFLAGS'
38024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
38033 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
38035 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38036 for ac_func in _log10f
38037 do :
38038 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
38039 if test "x$ac_cv_func__log10f" = xyes; then :
38040 cat >>confdefs.h <<_ACEOF
38041 #define HAVE__LOG10F 1
38042 _ACEOF
38045 done
38054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
38055 $as_echo_n "checking for modff declaration... " >&6; }
38056 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38057 if ${glibcxx_cv_func_modff_use+:} false; then :
38058 $as_echo_n "(cached) " >&6
38059 else
38062 ac_ext=cpp
38063 ac_cpp='$CXXCPP $CPPFLAGS'
38064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38069 /* end confdefs.h. */
38070 #include <math.h>
38072 main ()
38074 modff(0, 0);
38076 return 0;
38078 _ACEOF
38079 if ac_fn_cxx_try_compile "$LINENO"; then :
38080 glibcxx_cv_func_modff_use=yes
38081 else
38082 glibcxx_cv_func_modff_use=no
38084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38085 ac_ext=c
38086 ac_cpp='$CPP $CPPFLAGS'
38087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
38096 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
38098 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38099 for ac_func in modff
38100 do :
38101 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
38102 if test "x$ac_cv_func_modff" = xyes; then :
38103 cat >>confdefs.h <<_ACEOF
38104 #define HAVE_MODFF 1
38105 _ACEOF
38108 done
38110 else
38112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
38113 $as_echo_n "checking for _modff declaration... " >&6; }
38114 if test x${glibcxx_cv_func__modff_use+set} != xset; then
38115 if ${glibcxx_cv_func__modff_use+:} false; then :
38116 $as_echo_n "(cached) " >&6
38117 else
38120 ac_ext=cpp
38121 ac_cpp='$CXXCPP $CPPFLAGS'
38122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38127 /* end confdefs.h. */
38128 #include <math.h>
38130 main ()
38132 _modff(0, 0);
38134 return 0;
38136 _ACEOF
38137 if ac_fn_cxx_try_compile "$LINENO"; then :
38138 glibcxx_cv_func__modff_use=yes
38139 else
38140 glibcxx_cv_func__modff_use=no
38142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38143 ac_ext=c
38144 ac_cpp='$CPP $CPPFLAGS'
38145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
38154 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
38156 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38157 for ac_func in _modff
38158 do :
38159 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38160 if test "x$ac_cv_func__modff" = xyes; then :
38161 cat >>confdefs.h <<_ACEOF
38162 #define HAVE__MODFF 1
38163 _ACEOF
38166 done
38175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38176 $as_echo_n "checking for modf declaration... " >&6; }
38177 if test x${glibcxx_cv_func_modf_use+set} != xset; then
38178 if ${glibcxx_cv_func_modf_use+:} false; then :
38179 $as_echo_n "(cached) " >&6
38180 else
38183 ac_ext=cpp
38184 ac_cpp='$CXXCPP $CPPFLAGS'
38185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38190 /* end confdefs.h. */
38191 #include <math.h>
38193 main ()
38195 modf(0, 0);
38197 return 0;
38199 _ACEOF
38200 if ac_fn_cxx_try_compile "$LINENO"; then :
38201 glibcxx_cv_func_modf_use=yes
38202 else
38203 glibcxx_cv_func_modf_use=no
38205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38206 ac_ext=c
38207 ac_cpp='$CPP $CPPFLAGS'
38208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38217 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
38219 if test x$glibcxx_cv_func_modf_use = x"yes"; then
38220 for ac_func in modf
38221 do :
38222 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38223 if test "x$ac_cv_func_modf" = xyes; then :
38224 cat >>confdefs.h <<_ACEOF
38225 #define HAVE_MODF 1
38226 _ACEOF
38229 done
38231 else
38233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38234 $as_echo_n "checking for _modf declaration... " >&6; }
38235 if test x${glibcxx_cv_func__modf_use+set} != xset; then
38236 if ${glibcxx_cv_func__modf_use+:} false; then :
38237 $as_echo_n "(cached) " >&6
38238 else
38241 ac_ext=cpp
38242 ac_cpp='$CXXCPP $CPPFLAGS'
38243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38248 /* end confdefs.h. */
38249 #include <math.h>
38251 main ()
38253 _modf(0, 0);
38255 return 0;
38257 _ACEOF
38258 if ac_fn_cxx_try_compile "$LINENO"; then :
38259 glibcxx_cv_func__modf_use=yes
38260 else
38261 glibcxx_cv_func__modf_use=no
38263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38264 ac_ext=c
38265 ac_cpp='$CPP $CPPFLAGS'
38266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38275 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38277 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38278 for ac_func in _modf
38279 do :
38280 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38281 if test "x$ac_cv_func__modf" = xyes; then :
38282 cat >>confdefs.h <<_ACEOF
38283 #define HAVE__MODF 1
38284 _ACEOF
38287 done
38296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38297 $as_echo_n "checking for powf declaration... " >&6; }
38298 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38299 if ${glibcxx_cv_func_powf_use+:} false; then :
38300 $as_echo_n "(cached) " >&6
38301 else
38304 ac_ext=cpp
38305 ac_cpp='$CXXCPP $CPPFLAGS'
38306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38311 /* end confdefs.h. */
38312 #include <math.h>
38314 main ()
38316 powf(0, 0);
38318 return 0;
38320 _ACEOF
38321 if ac_fn_cxx_try_compile "$LINENO"; then :
38322 glibcxx_cv_func_powf_use=yes
38323 else
38324 glibcxx_cv_func_powf_use=no
38326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38327 ac_ext=c
38328 ac_cpp='$CPP $CPPFLAGS'
38329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38338 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38340 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38341 for ac_func in powf
38342 do :
38343 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38344 if test "x$ac_cv_func_powf" = xyes; then :
38345 cat >>confdefs.h <<_ACEOF
38346 #define HAVE_POWF 1
38347 _ACEOF
38350 done
38352 else
38354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38355 $as_echo_n "checking for _powf declaration... " >&6; }
38356 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38357 if ${glibcxx_cv_func__powf_use+:} false; then :
38358 $as_echo_n "(cached) " >&6
38359 else
38362 ac_ext=cpp
38363 ac_cpp='$CXXCPP $CPPFLAGS'
38364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38369 /* end confdefs.h. */
38370 #include <math.h>
38372 main ()
38374 _powf(0, 0);
38376 return 0;
38378 _ACEOF
38379 if ac_fn_cxx_try_compile "$LINENO"; then :
38380 glibcxx_cv_func__powf_use=yes
38381 else
38382 glibcxx_cv_func__powf_use=no
38384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38385 ac_ext=c
38386 ac_cpp='$CPP $CPPFLAGS'
38387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38396 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38398 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38399 for ac_func in _powf
38400 do :
38401 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38402 if test "x$ac_cv_func__powf" = xyes; then :
38403 cat >>confdefs.h <<_ACEOF
38404 #define HAVE__POWF 1
38405 _ACEOF
38408 done
38417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38418 $as_echo_n "checking for sqrtf declaration... " >&6; }
38419 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38420 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38421 $as_echo_n "(cached) " >&6
38422 else
38425 ac_ext=cpp
38426 ac_cpp='$CXXCPP $CPPFLAGS'
38427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38432 /* end confdefs.h. */
38433 #include <math.h>
38434 #ifdef HAVE_IEEEFP_H
38435 #include <ieeefp.h>
38436 #endif
38439 main ()
38441 sqrtf(0);
38443 return 0;
38445 _ACEOF
38446 if ac_fn_cxx_try_compile "$LINENO"; then :
38447 glibcxx_cv_func_sqrtf_use=yes
38448 else
38449 glibcxx_cv_func_sqrtf_use=no
38451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38452 ac_ext=c
38453 ac_cpp='$CPP $CPPFLAGS'
38454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38463 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38465 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38466 for ac_func in sqrtf
38467 do :
38468 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38469 if test "x$ac_cv_func_sqrtf" = xyes; then :
38470 cat >>confdefs.h <<_ACEOF
38471 #define HAVE_SQRTF 1
38472 _ACEOF
38475 done
38477 else
38479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38480 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38481 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38482 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
38483 $as_echo_n "(cached) " >&6
38484 else
38487 ac_ext=cpp
38488 ac_cpp='$CXXCPP $CPPFLAGS'
38489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38494 /* end confdefs.h. */
38495 #include <math.h>
38496 #ifdef HAVE_IEEEFP_H
38497 #include <ieeefp.h>
38498 #endif
38501 main ()
38503 _sqrtf(0);
38505 return 0;
38507 _ACEOF
38508 if ac_fn_cxx_try_compile "$LINENO"; then :
38509 glibcxx_cv_func__sqrtf_use=yes
38510 else
38511 glibcxx_cv_func__sqrtf_use=no
38513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38514 ac_ext=c
38515 ac_cpp='$CPP $CPPFLAGS'
38516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38525 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38527 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38528 for ac_func in _sqrtf
38529 do :
38530 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38531 if test "x$ac_cv_func__sqrtf" = xyes; then :
38532 cat >>confdefs.h <<_ACEOF
38533 #define HAVE__SQRTF 1
38534 _ACEOF
38537 done
38546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38547 $as_echo_n "checking for sincosf declaration... " >&6; }
38548 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38549 if ${glibcxx_cv_func_sincosf_use+:} false; then :
38550 $as_echo_n "(cached) " >&6
38551 else
38554 ac_ext=cpp
38555 ac_cpp='$CXXCPP $CPPFLAGS'
38556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38561 /* end confdefs.h. */
38562 #include <math.h>
38564 main ()
38566 sincosf(0, 0, 0);
38568 return 0;
38570 _ACEOF
38571 if ac_fn_cxx_try_compile "$LINENO"; then :
38572 glibcxx_cv_func_sincosf_use=yes
38573 else
38574 glibcxx_cv_func_sincosf_use=no
38576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38577 ac_ext=c
38578 ac_cpp='$CPP $CPPFLAGS'
38579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38588 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38590 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38591 for ac_func in sincosf
38592 do :
38593 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38594 if test "x$ac_cv_func_sincosf" = xyes; then :
38595 cat >>confdefs.h <<_ACEOF
38596 #define HAVE_SINCOSF 1
38597 _ACEOF
38600 done
38602 else
38604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38605 $as_echo_n "checking for _sincosf declaration... " >&6; }
38606 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38607 if ${glibcxx_cv_func__sincosf_use+:} false; then :
38608 $as_echo_n "(cached) " >&6
38609 else
38612 ac_ext=cpp
38613 ac_cpp='$CXXCPP $CPPFLAGS'
38614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38619 /* end confdefs.h. */
38620 #include <math.h>
38622 main ()
38624 _sincosf(0, 0, 0);
38626 return 0;
38628 _ACEOF
38629 if ac_fn_cxx_try_compile "$LINENO"; then :
38630 glibcxx_cv_func__sincosf_use=yes
38631 else
38632 glibcxx_cv_func__sincosf_use=no
38634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38635 ac_ext=c
38636 ac_cpp='$CPP $CPPFLAGS'
38637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38646 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38648 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38649 for ac_func in _sincosf
38650 do :
38651 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38652 if test "x$ac_cv_func__sincosf" = xyes; then :
38653 cat >>confdefs.h <<_ACEOF
38654 #define HAVE__SINCOSF 1
38655 _ACEOF
38658 done
38667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38668 $as_echo_n "checking for finitef declaration... " >&6; }
38669 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38670 if ${glibcxx_cv_func_finitef_use+:} false; then :
38671 $as_echo_n "(cached) " >&6
38672 else
38675 ac_ext=cpp
38676 ac_cpp='$CXXCPP $CPPFLAGS'
38677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38682 /* end confdefs.h. */
38683 #include <math.h>
38684 #ifdef HAVE_IEEEFP_H
38685 #include <ieeefp.h>
38686 #endif
38689 main ()
38691 finitef(0);
38693 return 0;
38695 _ACEOF
38696 if ac_fn_cxx_try_compile "$LINENO"; then :
38697 glibcxx_cv_func_finitef_use=yes
38698 else
38699 glibcxx_cv_func_finitef_use=no
38701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38702 ac_ext=c
38703 ac_cpp='$CPP $CPPFLAGS'
38704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38713 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38715 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38716 for ac_func in finitef
38717 do :
38718 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38719 if test "x$ac_cv_func_finitef" = xyes; then :
38720 cat >>confdefs.h <<_ACEOF
38721 #define HAVE_FINITEF 1
38722 _ACEOF
38725 done
38727 else
38729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38730 $as_echo_n "checking for _finitef declaration... " >&6; }
38731 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38732 if ${glibcxx_cv_func__finitef_use+:} false; then :
38733 $as_echo_n "(cached) " >&6
38734 else
38737 ac_ext=cpp
38738 ac_cpp='$CXXCPP $CPPFLAGS'
38739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38744 /* end confdefs.h. */
38745 #include <math.h>
38746 #ifdef HAVE_IEEEFP_H
38747 #include <ieeefp.h>
38748 #endif
38751 main ()
38753 _finitef(0);
38755 return 0;
38757 _ACEOF
38758 if ac_fn_cxx_try_compile "$LINENO"; then :
38759 glibcxx_cv_func__finitef_use=yes
38760 else
38761 glibcxx_cv_func__finitef_use=no
38763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38764 ac_ext=c
38765 ac_cpp='$CPP $CPPFLAGS'
38766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38775 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38777 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38778 for ac_func in _finitef
38779 do :
38780 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38781 if test "x$ac_cv_func__finitef" = xyes; then :
38782 cat >>confdefs.h <<_ACEOF
38783 #define HAVE__FINITEF 1
38784 _ACEOF
38787 done
38796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38797 $as_echo_n "checking for long double trig functions... " >&6; }
38798 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
38799 $as_echo_n "(cached) " >&6
38800 else
38803 ac_ext=cpp
38804 ac_cpp='$CXXCPP $CPPFLAGS'
38805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38810 /* end confdefs.h. */
38811 #include <math.h>
38813 main ()
38815 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38817 return 0;
38819 _ACEOF
38820 if ac_fn_cxx_try_compile "$LINENO"; then :
38821 glibcxx_cv_func_long_double_trig_use=yes
38822 else
38823 glibcxx_cv_func_long_double_trig_use=no
38825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38826 ac_ext=c
38827 ac_cpp='$CPP $CPPFLAGS'
38828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38835 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38836 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38837 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38838 do :
38839 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38840 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38841 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38842 cat >>confdefs.h <<_ACEOF
38843 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38844 _ACEOF
38847 done
38849 else
38850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38851 $as_echo_n "checking for _long double trig functions... " >&6; }
38852 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
38853 $as_echo_n "(cached) " >&6
38854 else
38857 ac_ext=cpp
38858 ac_cpp='$CXXCPP $CPPFLAGS'
38859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38864 /* end confdefs.h. */
38865 #include <math.h>
38867 main ()
38869 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38871 return 0;
38873 _ACEOF
38874 if ac_fn_cxx_try_compile "$LINENO"; then :
38875 glibcxx_cv_func__long_double_trig_use=yes
38876 else
38877 glibcxx_cv_func__long_double_trig_use=no
38879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38880 ac_ext=c
38881 ac_cpp='$CPP $CPPFLAGS'
38882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38889 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38890 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38891 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38892 do :
38893 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38894 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38895 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38896 cat >>confdefs.h <<_ACEOF
38897 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38898 _ACEOF
38901 done
38910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38911 $as_echo_n "checking for long double round functions... " >&6; }
38912 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
38913 $as_echo_n "(cached) " >&6
38914 else
38917 ac_ext=cpp
38918 ac_cpp='$CXXCPP $CPPFLAGS'
38919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38924 /* end confdefs.h. */
38925 #include <math.h>
38927 main ()
38929 ceill (0); floorl (0);
38931 return 0;
38933 _ACEOF
38934 if ac_fn_cxx_try_compile "$LINENO"; then :
38935 glibcxx_cv_func_long_double_round_use=yes
38936 else
38937 glibcxx_cv_func_long_double_round_use=no
38939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38940 ac_ext=c
38941 ac_cpp='$CPP $CPPFLAGS'
38942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38949 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38950 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38951 for ac_func in ceill floorl
38952 do :
38953 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38954 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38955 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38956 cat >>confdefs.h <<_ACEOF
38957 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38958 _ACEOF
38961 done
38963 else
38964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38965 $as_echo_n "checking for _long double round functions... " >&6; }
38966 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
38967 $as_echo_n "(cached) " >&6
38968 else
38971 ac_ext=cpp
38972 ac_cpp='$CXXCPP $CPPFLAGS'
38973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38978 /* end confdefs.h. */
38979 #include <math.h>
38981 main ()
38983 _ceill (0); _floorl (0);
38985 return 0;
38987 _ACEOF
38988 if ac_fn_cxx_try_compile "$LINENO"; then :
38989 glibcxx_cv_func__long_double_round_use=yes
38990 else
38991 glibcxx_cv_func__long_double_round_use=no
38993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38994 ac_ext=c
38995 ac_cpp='$CPP $CPPFLAGS'
38996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
39003 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
39004 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
39005 for ac_func in _ceill _floorl
39006 do :
39007 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39008 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39009 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39010 cat >>confdefs.h <<_ACEOF
39011 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39012 _ACEOF
39015 done
39025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
39026 $as_echo_n "checking for isnanl declaration... " >&6; }
39027 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
39028 if ${glibcxx_cv_func_isnanl_use+:} false; then :
39029 $as_echo_n "(cached) " >&6
39030 else
39033 ac_ext=cpp
39034 ac_cpp='$CXXCPP $CPPFLAGS'
39035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39040 /* end confdefs.h. */
39041 #include <math.h>
39042 #ifdef HAVE_IEEEFP_H
39043 #include <ieeefp.h>
39044 #endif
39047 main ()
39049 isnanl(0);
39051 return 0;
39053 _ACEOF
39054 if ac_fn_cxx_try_compile "$LINENO"; then :
39055 glibcxx_cv_func_isnanl_use=yes
39056 else
39057 glibcxx_cv_func_isnanl_use=no
39059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39060 ac_ext=c
39061 ac_cpp='$CPP $CPPFLAGS'
39062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
39071 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
39073 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
39074 for ac_func in isnanl
39075 do :
39076 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
39077 if test "x$ac_cv_func_isnanl" = xyes; then :
39078 cat >>confdefs.h <<_ACEOF
39079 #define HAVE_ISNANL 1
39080 _ACEOF
39083 done
39085 else
39087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
39088 $as_echo_n "checking for _isnanl declaration... " >&6; }
39089 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
39090 if ${glibcxx_cv_func__isnanl_use+:} false; then :
39091 $as_echo_n "(cached) " >&6
39092 else
39095 ac_ext=cpp
39096 ac_cpp='$CXXCPP $CPPFLAGS'
39097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39102 /* end confdefs.h. */
39103 #include <math.h>
39104 #ifdef HAVE_IEEEFP_H
39105 #include <ieeefp.h>
39106 #endif
39109 main ()
39111 _isnanl(0);
39113 return 0;
39115 _ACEOF
39116 if ac_fn_cxx_try_compile "$LINENO"; then :
39117 glibcxx_cv_func__isnanl_use=yes
39118 else
39119 glibcxx_cv_func__isnanl_use=no
39121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39122 ac_ext=c
39123 ac_cpp='$CPP $CPPFLAGS'
39124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
39133 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39135 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39136 for ac_func in _isnanl
39137 do :
39138 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39139 if test "x$ac_cv_func__isnanl" = xyes; then :
39140 cat >>confdefs.h <<_ACEOF
39141 #define HAVE__ISNANL 1
39142 _ACEOF
39145 done
39154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39155 $as_echo_n "checking for isinfl declaration... " >&6; }
39156 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39157 if ${glibcxx_cv_func_isinfl_use+:} false; then :
39158 $as_echo_n "(cached) " >&6
39159 else
39162 ac_ext=cpp
39163 ac_cpp='$CXXCPP $CPPFLAGS'
39164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39169 /* end confdefs.h. */
39170 #include <math.h>
39171 #ifdef HAVE_IEEEFP_H
39172 #include <ieeefp.h>
39173 #endif
39176 main ()
39178 isinfl(0);
39180 return 0;
39182 _ACEOF
39183 if ac_fn_cxx_try_compile "$LINENO"; then :
39184 glibcxx_cv_func_isinfl_use=yes
39185 else
39186 glibcxx_cv_func_isinfl_use=no
39188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39189 ac_ext=c
39190 ac_cpp='$CPP $CPPFLAGS'
39191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39200 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39202 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39203 for ac_func in isinfl
39204 do :
39205 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39206 if test "x$ac_cv_func_isinfl" = xyes; then :
39207 cat >>confdefs.h <<_ACEOF
39208 #define HAVE_ISINFL 1
39209 _ACEOF
39212 done
39214 else
39216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39217 $as_echo_n "checking for _isinfl declaration... " >&6; }
39218 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39219 if ${glibcxx_cv_func__isinfl_use+:} false; then :
39220 $as_echo_n "(cached) " >&6
39221 else
39224 ac_ext=cpp
39225 ac_cpp='$CXXCPP $CPPFLAGS'
39226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39231 /* end confdefs.h. */
39232 #include <math.h>
39233 #ifdef HAVE_IEEEFP_H
39234 #include <ieeefp.h>
39235 #endif
39238 main ()
39240 _isinfl(0);
39242 return 0;
39244 _ACEOF
39245 if ac_fn_cxx_try_compile "$LINENO"; then :
39246 glibcxx_cv_func__isinfl_use=yes
39247 else
39248 glibcxx_cv_func__isinfl_use=no
39250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39251 ac_ext=c
39252 ac_cpp='$CPP $CPPFLAGS'
39253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39262 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39264 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39265 for ac_func in _isinfl
39266 do :
39267 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39268 if test "x$ac_cv_func__isinfl" = xyes; then :
39269 cat >>confdefs.h <<_ACEOF
39270 #define HAVE__ISINFL 1
39271 _ACEOF
39274 done
39283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39284 $as_echo_n "checking for atan2l declaration... " >&6; }
39285 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39286 if ${glibcxx_cv_func_atan2l_use+:} false; then :
39287 $as_echo_n "(cached) " >&6
39288 else
39291 ac_ext=cpp
39292 ac_cpp='$CXXCPP $CPPFLAGS'
39293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39298 /* end confdefs.h. */
39299 #include <math.h>
39301 main ()
39303 atan2l(0, 0);
39305 return 0;
39307 _ACEOF
39308 if ac_fn_cxx_try_compile "$LINENO"; then :
39309 glibcxx_cv_func_atan2l_use=yes
39310 else
39311 glibcxx_cv_func_atan2l_use=no
39313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39314 ac_ext=c
39315 ac_cpp='$CPP $CPPFLAGS'
39316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39325 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39327 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39328 for ac_func in atan2l
39329 do :
39330 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39331 if test "x$ac_cv_func_atan2l" = xyes; then :
39332 cat >>confdefs.h <<_ACEOF
39333 #define HAVE_ATAN2L 1
39334 _ACEOF
39337 done
39339 else
39341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39342 $as_echo_n "checking for _atan2l declaration... " >&6; }
39343 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39344 if ${glibcxx_cv_func__atan2l_use+:} false; then :
39345 $as_echo_n "(cached) " >&6
39346 else
39349 ac_ext=cpp
39350 ac_cpp='$CXXCPP $CPPFLAGS'
39351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39356 /* end confdefs.h. */
39357 #include <math.h>
39359 main ()
39361 _atan2l(0, 0);
39363 return 0;
39365 _ACEOF
39366 if ac_fn_cxx_try_compile "$LINENO"; then :
39367 glibcxx_cv_func__atan2l_use=yes
39368 else
39369 glibcxx_cv_func__atan2l_use=no
39371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39372 ac_ext=c
39373 ac_cpp='$CPP $CPPFLAGS'
39374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39383 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39385 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39386 for ac_func in _atan2l
39387 do :
39388 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39389 if test "x$ac_cv_func__atan2l" = xyes; then :
39390 cat >>confdefs.h <<_ACEOF
39391 #define HAVE__ATAN2L 1
39392 _ACEOF
39395 done
39404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39405 $as_echo_n "checking for expl declaration... " >&6; }
39406 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39407 if ${glibcxx_cv_func_expl_use+:} false; then :
39408 $as_echo_n "(cached) " >&6
39409 else
39412 ac_ext=cpp
39413 ac_cpp='$CXXCPP $CPPFLAGS'
39414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39419 /* end confdefs.h. */
39420 #include <math.h>
39421 #ifdef HAVE_IEEEFP_H
39422 #include <ieeefp.h>
39423 #endif
39426 main ()
39428 expl(0);
39430 return 0;
39432 _ACEOF
39433 if ac_fn_cxx_try_compile "$LINENO"; then :
39434 glibcxx_cv_func_expl_use=yes
39435 else
39436 glibcxx_cv_func_expl_use=no
39438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39439 ac_ext=c
39440 ac_cpp='$CPP $CPPFLAGS'
39441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39450 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39452 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39453 for ac_func in expl
39454 do :
39455 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39456 if test "x$ac_cv_func_expl" = xyes; then :
39457 cat >>confdefs.h <<_ACEOF
39458 #define HAVE_EXPL 1
39459 _ACEOF
39462 done
39464 else
39466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39467 $as_echo_n "checking for _expl declaration... " >&6; }
39468 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39469 if ${glibcxx_cv_func__expl_use+:} false; then :
39470 $as_echo_n "(cached) " >&6
39471 else
39474 ac_ext=cpp
39475 ac_cpp='$CXXCPP $CPPFLAGS'
39476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39481 /* end confdefs.h. */
39482 #include <math.h>
39483 #ifdef HAVE_IEEEFP_H
39484 #include <ieeefp.h>
39485 #endif
39488 main ()
39490 _expl(0);
39492 return 0;
39494 _ACEOF
39495 if ac_fn_cxx_try_compile "$LINENO"; then :
39496 glibcxx_cv_func__expl_use=yes
39497 else
39498 glibcxx_cv_func__expl_use=no
39500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39501 ac_ext=c
39502 ac_cpp='$CPP $CPPFLAGS'
39503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39512 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39514 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39515 for ac_func in _expl
39516 do :
39517 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39518 if test "x$ac_cv_func__expl" = xyes; then :
39519 cat >>confdefs.h <<_ACEOF
39520 #define HAVE__EXPL 1
39521 _ACEOF
39524 done
39533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39534 $as_echo_n "checking for fabsl declaration... " >&6; }
39535 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39536 if ${glibcxx_cv_func_fabsl_use+:} false; then :
39537 $as_echo_n "(cached) " >&6
39538 else
39541 ac_ext=cpp
39542 ac_cpp='$CXXCPP $CPPFLAGS'
39543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39548 /* end confdefs.h. */
39549 #include <math.h>
39550 #ifdef HAVE_IEEEFP_H
39551 #include <ieeefp.h>
39552 #endif
39555 main ()
39557 fabsl(0);
39559 return 0;
39561 _ACEOF
39562 if ac_fn_cxx_try_compile "$LINENO"; then :
39563 glibcxx_cv_func_fabsl_use=yes
39564 else
39565 glibcxx_cv_func_fabsl_use=no
39567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39568 ac_ext=c
39569 ac_cpp='$CPP $CPPFLAGS'
39570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39579 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39581 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39582 for ac_func in fabsl
39583 do :
39584 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39585 if test "x$ac_cv_func_fabsl" = xyes; then :
39586 cat >>confdefs.h <<_ACEOF
39587 #define HAVE_FABSL 1
39588 _ACEOF
39591 done
39593 else
39595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39596 $as_echo_n "checking for _fabsl declaration... " >&6; }
39597 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39598 if ${glibcxx_cv_func__fabsl_use+:} false; then :
39599 $as_echo_n "(cached) " >&6
39600 else
39603 ac_ext=cpp
39604 ac_cpp='$CXXCPP $CPPFLAGS'
39605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39610 /* end confdefs.h. */
39611 #include <math.h>
39612 #ifdef HAVE_IEEEFP_H
39613 #include <ieeefp.h>
39614 #endif
39617 main ()
39619 _fabsl(0);
39621 return 0;
39623 _ACEOF
39624 if ac_fn_cxx_try_compile "$LINENO"; then :
39625 glibcxx_cv_func__fabsl_use=yes
39626 else
39627 glibcxx_cv_func__fabsl_use=no
39629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39630 ac_ext=c
39631 ac_cpp='$CPP $CPPFLAGS'
39632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39641 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39643 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39644 for ac_func in _fabsl
39645 do :
39646 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39647 if test "x$ac_cv_func__fabsl" = xyes; then :
39648 cat >>confdefs.h <<_ACEOF
39649 #define HAVE__FABSL 1
39650 _ACEOF
39653 done
39662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39663 $as_echo_n "checking for fmodl declaration... " >&6; }
39664 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39665 if ${glibcxx_cv_func_fmodl_use+:} false; then :
39666 $as_echo_n "(cached) " >&6
39667 else
39670 ac_ext=cpp
39671 ac_cpp='$CXXCPP $CPPFLAGS'
39672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39677 /* end confdefs.h. */
39678 #include <math.h>
39680 main ()
39682 fmodl(0, 0);
39684 return 0;
39686 _ACEOF
39687 if ac_fn_cxx_try_compile "$LINENO"; then :
39688 glibcxx_cv_func_fmodl_use=yes
39689 else
39690 glibcxx_cv_func_fmodl_use=no
39692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39693 ac_ext=c
39694 ac_cpp='$CPP $CPPFLAGS'
39695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39704 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39706 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39707 for ac_func in fmodl
39708 do :
39709 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39710 if test "x$ac_cv_func_fmodl" = xyes; then :
39711 cat >>confdefs.h <<_ACEOF
39712 #define HAVE_FMODL 1
39713 _ACEOF
39716 done
39718 else
39720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39721 $as_echo_n "checking for _fmodl declaration... " >&6; }
39722 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39723 if ${glibcxx_cv_func__fmodl_use+:} false; then :
39724 $as_echo_n "(cached) " >&6
39725 else
39728 ac_ext=cpp
39729 ac_cpp='$CXXCPP $CPPFLAGS'
39730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39735 /* end confdefs.h. */
39736 #include <math.h>
39738 main ()
39740 _fmodl(0, 0);
39742 return 0;
39744 _ACEOF
39745 if ac_fn_cxx_try_compile "$LINENO"; then :
39746 glibcxx_cv_func__fmodl_use=yes
39747 else
39748 glibcxx_cv_func__fmodl_use=no
39750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39751 ac_ext=c
39752 ac_cpp='$CPP $CPPFLAGS'
39753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39762 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39764 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39765 for ac_func in _fmodl
39766 do :
39767 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39768 if test "x$ac_cv_func__fmodl" = xyes; then :
39769 cat >>confdefs.h <<_ACEOF
39770 #define HAVE__FMODL 1
39771 _ACEOF
39774 done
39783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39784 $as_echo_n "checking for frexpl declaration... " >&6; }
39785 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39786 if ${glibcxx_cv_func_frexpl_use+:} false; then :
39787 $as_echo_n "(cached) " >&6
39788 else
39791 ac_ext=cpp
39792 ac_cpp='$CXXCPP $CPPFLAGS'
39793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39798 /* end confdefs.h. */
39799 #include <math.h>
39801 main ()
39803 frexpl(0, 0);
39805 return 0;
39807 _ACEOF
39808 if ac_fn_cxx_try_compile "$LINENO"; then :
39809 glibcxx_cv_func_frexpl_use=yes
39810 else
39811 glibcxx_cv_func_frexpl_use=no
39813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39814 ac_ext=c
39815 ac_cpp='$CPP $CPPFLAGS'
39816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39825 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39827 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39828 for ac_func in frexpl
39829 do :
39830 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39831 if test "x$ac_cv_func_frexpl" = xyes; then :
39832 cat >>confdefs.h <<_ACEOF
39833 #define HAVE_FREXPL 1
39834 _ACEOF
39837 done
39839 else
39841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39842 $as_echo_n "checking for _frexpl declaration... " >&6; }
39843 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39844 if ${glibcxx_cv_func__frexpl_use+:} false; then :
39845 $as_echo_n "(cached) " >&6
39846 else
39849 ac_ext=cpp
39850 ac_cpp='$CXXCPP $CPPFLAGS'
39851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39856 /* end confdefs.h. */
39857 #include <math.h>
39859 main ()
39861 _frexpl(0, 0);
39863 return 0;
39865 _ACEOF
39866 if ac_fn_cxx_try_compile "$LINENO"; then :
39867 glibcxx_cv_func__frexpl_use=yes
39868 else
39869 glibcxx_cv_func__frexpl_use=no
39871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39872 ac_ext=c
39873 ac_cpp='$CPP $CPPFLAGS'
39874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39883 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39885 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39886 for ac_func in _frexpl
39887 do :
39888 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39889 if test "x$ac_cv_func__frexpl" = xyes; then :
39890 cat >>confdefs.h <<_ACEOF
39891 #define HAVE__FREXPL 1
39892 _ACEOF
39895 done
39904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39905 $as_echo_n "checking for hypotl declaration... " >&6; }
39906 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39907 if ${glibcxx_cv_func_hypotl_use+:} false; then :
39908 $as_echo_n "(cached) " >&6
39909 else
39912 ac_ext=cpp
39913 ac_cpp='$CXXCPP $CPPFLAGS'
39914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39919 /* end confdefs.h. */
39920 #include <math.h>
39922 main ()
39924 hypotl(0, 0);
39926 return 0;
39928 _ACEOF
39929 if ac_fn_cxx_try_compile "$LINENO"; then :
39930 glibcxx_cv_func_hypotl_use=yes
39931 else
39932 glibcxx_cv_func_hypotl_use=no
39934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39935 ac_ext=c
39936 ac_cpp='$CPP $CPPFLAGS'
39937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39946 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39948 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39949 for ac_func in hypotl
39950 do :
39951 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39952 if test "x$ac_cv_func_hypotl" = xyes; then :
39953 cat >>confdefs.h <<_ACEOF
39954 #define HAVE_HYPOTL 1
39955 _ACEOF
39958 done
39960 else
39962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39963 $as_echo_n "checking for _hypotl declaration... " >&6; }
39964 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39965 if ${glibcxx_cv_func__hypotl_use+:} false; then :
39966 $as_echo_n "(cached) " >&6
39967 else
39970 ac_ext=cpp
39971 ac_cpp='$CXXCPP $CPPFLAGS'
39972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39977 /* end confdefs.h. */
39978 #include <math.h>
39980 main ()
39982 _hypotl(0, 0);
39984 return 0;
39986 _ACEOF
39987 if ac_fn_cxx_try_compile "$LINENO"; then :
39988 glibcxx_cv_func__hypotl_use=yes
39989 else
39990 glibcxx_cv_func__hypotl_use=no
39992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39993 ac_ext=c
39994 ac_cpp='$CPP $CPPFLAGS'
39995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
40004 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
40006 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
40007 for ac_func in _hypotl
40008 do :
40009 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
40010 if test "x$ac_cv_func__hypotl" = xyes; then :
40011 cat >>confdefs.h <<_ACEOF
40012 #define HAVE__HYPOTL 1
40013 _ACEOF
40016 done
40025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
40026 $as_echo_n "checking for ldexpl declaration... " >&6; }
40027 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
40028 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
40029 $as_echo_n "(cached) " >&6
40030 else
40033 ac_ext=cpp
40034 ac_cpp='$CXXCPP $CPPFLAGS'
40035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40040 /* end confdefs.h. */
40041 #include <math.h>
40043 main ()
40045 ldexpl(0, 0);
40047 return 0;
40049 _ACEOF
40050 if ac_fn_cxx_try_compile "$LINENO"; then :
40051 glibcxx_cv_func_ldexpl_use=yes
40052 else
40053 glibcxx_cv_func_ldexpl_use=no
40055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40056 ac_ext=c
40057 ac_cpp='$CPP $CPPFLAGS'
40058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
40067 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
40069 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
40070 for ac_func in ldexpl
40071 do :
40072 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
40073 if test "x$ac_cv_func_ldexpl" = xyes; then :
40074 cat >>confdefs.h <<_ACEOF
40075 #define HAVE_LDEXPL 1
40076 _ACEOF
40079 done
40081 else
40083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
40084 $as_echo_n "checking for _ldexpl declaration... " >&6; }
40085 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
40086 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
40087 $as_echo_n "(cached) " >&6
40088 else
40091 ac_ext=cpp
40092 ac_cpp='$CXXCPP $CPPFLAGS'
40093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40098 /* end confdefs.h. */
40099 #include <math.h>
40101 main ()
40103 _ldexpl(0, 0);
40105 return 0;
40107 _ACEOF
40108 if ac_fn_cxx_try_compile "$LINENO"; then :
40109 glibcxx_cv_func__ldexpl_use=yes
40110 else
40111 glibcxx_cv_func__ldexpl_use=no
40113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40114 ac_ext=c
40115 ac_cpp='$CPP $CPPFLAGS'
40116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
40125 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
40127 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
40128 for ac_func in _ldexpl
40129 do :
40130 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40131 if test "x$ac_cv_func__ldexpl" = xyes; then :
40132 cat >>confdefs.h <<_ACEOF
40133 #define HAVE__LDEXPL 1
40134 _ACEOF
40137 done
40146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40147 $as_echo_n "checking for logl declaration... " >&6; }
40148 if test x${glibcxx_cv_func_logl_use+set} != xset; then
40149 if ${glibcxx_cv_func_logl_use+:} false; then :
40150 $as_echo_n "(cached) " >&6
40151 else
40154 ac_ext=cpp
40155 ac_cpp='$CXXCPP $CPPFLAGS'
40156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40161 /* end confdefs.h. */
40162 #include <math.h>
40163 #ifdef HAVE_IEEEFP_H
40164 #include <ieeefp.h>
40165 #endif
40168 main ()
40170 logl(0);
40172 return 0;
40174 _ACEOF
40175 if ac_fn_cxx_try_compile "$LINENO"; then :
40176 glibcxx_cv_func_logl_use=yes
40177 else
40178 glibcxx_cv_func_logl_use=no
40180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40181 ac_ext=c
40182 ac_cpp='$CPP $CPPFLAGS'
40183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40192 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
40194 if test x$glibcxx_cv_func_logl_use = x"yes"; then
40195 for ac_func in logl
40196 do :
40197 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40198 if test "x$ac_cv_func_logl" = xyes; then :
40199 cat >>confdefs.h <<_ACEOF
40200 #define HAVE_LOGL 1
40201 _ACEOF
40204 done
40206 else
40208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40209 $as_echo_n "checking for _logl declaration... " >&6; }
40210 if test x${glibcxx_cv_func__logl_use+set} != xset; then
40211 if ${glibcxx_cv_func__logl_use+:} false; then :
40212 $as_echo_n "(cached) " >&6
40213 else
40216 ac_ext=cpp
40217 ac_cpp='$CXXCPP $CPPFLAGS'
40218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40223 /* end confdefs.h. */
40224 #include <math.h>
40225 #ifdef HAVE_IEEEFP_H
40226 #include <ieeefp.h>
40227 #endif
40230 main ()
40232 _logl(0);
40234 return 0;
40236 _ACEOF
40237 if ac_fn_cxx_try_compile "$LINENO"; then :
40238 glibcxx_cv_func__logl_use=yes
40239 else
40240 glibcxx_cv_func__logl_use=no
40242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40243 ac_ext=c
40244 ac_cpp='$CPP $CPPFLAGS'
40245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40254 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
40256 if test x$glibcxx_cv_func__logl_use = x"yes"; then
40257 for ac_func in _logl
40258 do :
40259 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40260 if test "x$ac_cv_func__logl" = xyes; then :
40261 cat >>confdefs.h <<_ACEOF
40262 #define HAVE__LOGL 1
40263 _ACEOF
40266 done
40275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40276 $as_echo_n "checking for log10l declaration... " >&6; }
40277 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40278 if ${glibcxx_cv_func_log10l_use+:} false; then :
40279 $as_echo_n "(cached) " >&6
40280 else
40283 ac_ext=cpp
40284 ac_cpp='$CXXCPP $CPPFLAGS'
40285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40290 /* end confdefs.h. */
40291 #include <math.h>
40292 #ifdef HAVE_IEEEFP_H
40293 #include <ieeefp.h>
40294 #endif
40297 main ()
40299 log10l(0);
40301 return 0;
40303 _ACEOF
40304 if ac_fn_cxx_try_compile "$LINENO"; then :
40305 glibcxx_cv_func_log10l_use=yes
40306 else
40307 glibcxx_cv_func_log10l_use=no
40309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40310 ac_ext=c
40311 ac_cpp='$CPP $CPPFLAGS'
40312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40321 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40323 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40324 for ac_func in log10l
40325 do :
40326 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40327 if test "x$ac_cv_func_log10l" = xyes; then :
40328 cat >>confdefs.h <<_ACEOF
40329 #define HAVE_LOG10L 1
40330 _ACEOF
40333 done
40335 else
40337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40338 $as_echo_n "checking for _log10l declaration... " >&6; }
40339 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40340 if ${glibcxx_cv_func__log10l_use+:} false; then :
40341 $as_echo_n "(cached) " >&6
40342 else
40345 ac_ext=cpp
40346 ac_cpp='$CXXCPP $CPPFLAGS'
40347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40352 /* end confdefs.h. */
40353 #include <math.h>
40354 #ifdef HAVE_IEEEFP_H
40355 #include <ieeefp.h>
40356 #endif
40359 main ()
40361 _log10l(0);
40363 return 0;
40365 _ACEOF
40366 if ac_fn_cxx_try_compile "$LINENO"; then :
40367 glibcxx_cv_func__log10l_use=yes
40368 else
40369 glibcxx_cv_func__log10l_use=no
40371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40372 ac_ext=c
40373 ac_cpp='$CPP $CPPFLAGS'
40374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40383 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40385 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40386 for ac_func in _log10l
40387 do :
40388 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40389 if test "x$ac_cv_func__log10l" = xyes; then :
40390 cat >>confdefs.h <<_ACEOF
40391 #define HAVE__LOG10L 1
40392 _ACEOF
40395 done
40404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40405 $as_echo_n "checking for modfl declaration... " >&6; }
40406 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40407 if ${glibcxx_cv_func_modfl_use+:} false; then :
40408 $as_echo_n "(cached) " >&6
40409 else
40412 ac_ext=cpp
40413 ac_cpp='$CXXCPP $CPPFLAGS'
40414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40419 /* end confdefs.h. */
40420 #include <math.h>
40422 main ()
40424 modfl(0, 0);
40426 return 0;
40428 _ACEOF
40429 if ac_fn_cxx_try_compile "$LINENO"; then :
40430 glibcxx_cv_func_modfl_use=yes
40431 else
40432 glibcxx_cv_func_modfl_use=no
40434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40435 ac_ext=c
40436 ac_cpp='$CPP $CPPFLAGS'
40437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40446 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40448 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40449 for ac_func in modfl
40450 do :
40451 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40452 if test "x$ac_cv_func_modfl" = xyes; then :
40453 cat >>confdefs.h <<_ACEOF
40454 #define HAVE_MODFL 1
40455 _ACEOF
40458 done
40460 else
40462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40463 $as_echo_n "checking for _modfl declaration... " >&6; }
40464 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40465 if ${glibcxx_cv_func__modfl_use+:} false; then :
40466 $as_echo_n "(cached) " >&6
40467 else
40470 ac_ext=cpp
40471 ac_cpp='$CXXCPP $CPPFLAGS'
40472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40477 /* end confdefs.h. */
40478 #include <math.h>
40480 main ()
40482 _modfl(0, 0);
40484 return 0;
40486 _ACEOF
40487 if ac_fn_cxx_try_compile "$LINENO"; then :
40488 glibcxx_cv_func__modfl_use=yes
40489 else
40490 glibcxx_cv_func__modfl_use=no
40492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40493 ac_ext=c
40494 ac_cpp='$CPP $CPPFLAGS'
40495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40504 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40506 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40507 for ac_func in _modfl
40508 do :
40509 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40510 if test "x$ac_cv_func__modfl" = xyes; then :
40511 cat >>confdefs.h <<_ACEOF
40512 #define HAVE__MODFL 1
40513 _ACEOF
40516 done
40525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40526 $as_echo_n "checking for powl declaration... " >&6; }
40527 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40528 if ${glibcxx_cv_func_powl_use+:} false; then :
40529 $as_echo_n "(cached) " >&6
40530 else
40533 ac_ext=cpp
40534 ac_cpp='$CXXCPP $CPPFLAGS'
40535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40540 /* end confdefs.h. */
40541 #include <math.h>
40543 main ()
40545 powl(0, 0);
40547 return 0;
40549 _ACEOF
40550 if ac_fn_cxx_try_compile "$LINENO"; then :
40551 glibcxx_cv_func_powl_use=yes
40552 else
40553 glibcxx_cv_func_powl_use=no
40555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40556 ac_ext=c
40557 ac_cpp='$CPP $CPPFLAGS'
40558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40567 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40569 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40570 for ac_func in powl
40571 do :
40572 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40573 if test "x$ac_cv_func_powl" = xyes; then :
40574 cat >>confdefs.h <<_ACEOF
40575 #define HAVE_POWL 1
40576 _ACEOF
40579 done
40581 else
40583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40584 $as_echo_n "checking for _powl declaration... " >&6; }
40585 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40586 if ${glibcxx_cv_func__powl_use+:} false; then :
40587 $as_echo_n "(cached) " >&6
40588 else
40591 ac_ext=cpp
40592 ac_cpp='$CXXCPP $CPPFLAGS'
40593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40598 /* end confdefs.h. */
40599 #include <math.h>
40601 main ()
40603 _powl(0, 0);
40605 return 0;
40607 _ACEOF
40608 if ac_fn_cxx_try_compile "$LINENO"; then :
40609 glibcxx_cv_func__powl_use=yes
40610 else
40611 glibcxx_cv_func__powl_use=no
40613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40614 ac_ext=c
40615 ac_cpp='$CPP $CPPFLAGS'
40616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40625 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40627 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40628 for ac_func in _powl
40629 do :
40630 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40631 if test "x$ac_cv_func__powl" = xyes; then :
40632 cat >>confdefs.h <<_ACEOF
40633 #define HAVE__POWL 1
40634 _ACEOF
40637 done
40646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40647 $as_echo_n "checking for sqrtl declaration... " >&6; }
40648 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40649 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
40650 $as_echo_n "(cached) " >&6
40651 else
40654 ac_ext=cpp
40655 ac_cpp='$CXXCPP $CPPFLAGS'
40656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40661 /* end confdefs.h. */
40662 #include <math.h>
40663 #ifdef HAVE_IEEEFP_H
40664 #include <ieeefp.h>
40665 #endif
40668 main ()
40670 sqrtl(0);
40672 return 0;
40674 _ACEOF
40675 if ac_fn_cxx_try_compile "$LINENO"; then :
40676 glibcxx_cv_func_sqrtl_use=yes
40677 else
40678 glibcxx_cv_func_sqrtl_use=no
40680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40681 ac_ext=c
40682 ac_cpp='$CPP $CPPFLAGS'
40683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40692 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40694 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40695 for ac_func in sqrtl
40696 do :
40697 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40698 if test "x$ac_cv_func_sqrtl" = xyes; then :
40699 cat >>confdefs.h <<_ACEOF
40700 #define HAVE_SQRTL 1
40701 _ACEOF
40704 done
40706 else
40708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40709 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40710 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40711 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
40712 $as_echo_n "(cached) " >&6
40713 else
40716 ac_ext=cpp
40717 ac_cpp='$CXXCPP $CPPFLAGS'
40718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40723 /* end confdefs.h. */
40724 #include <math.h>
40725 #ifdef HAVE_IEEEFP_H
40726 #include <ieeefp.h>
40727 #endif
40730 main ()
40732 _sqrtl(0);
40734 return 0;
40736 _ACEOF
40737 if ac_fn_cxx_try_compile "$LINENO"; then :
40738 glibcxx_cv_func__sqrtl_use=yes
40739 else
40740 glibcxx_cv_func__sqrtl_use=no
40742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40743 ac_ext=c
40744 ac_cpp='$CPP $CPPFLAGS'
40745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40754 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40756 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40757 for ac_func in _sqrtl
40758 do :
40759 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40760 if test "x$ac_cv_func__sqrtl" = xyes; then :
40761 cat >>confdefs.h <<_ACEOF
40762 #define HAVE__SQRTL 1
40763 _ACEOF
40766 done
40775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40776 $as_echo_n "checking for sincosl declaration... " >&6; }
40777 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40778 if ${glibcxx_cv_func_sincosl_use+:} false; then :
40779 $as_echo_n "(cached) " >&6
40780 else
40783 ac_ext=cpp
40784 ac_cpp='$CXXCPP $CPPFLAGS'
40785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40790 /* end confdefs.h. */
40791 #include <math.h>
40793 main ()
40795 sincosl(0, 0, 0);
40797 return 0;
40799 _ACEOF
40800 if ac_fn_cxx_try_compile "$LINENO"; then :
40801 glibcxx_cv_func_sincosl_use=yes
40802 else
40803 glibcxx_cv_func_sincosl_use=no
40805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40806 ac_ext=c
40807 ac_cpp='$CPP $CPPFLAGS'
40808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40817 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40819 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40820 for ac_func in sincosl
40821 do :
40822 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40823 if test "x$ac_cv_func_sincosl" = xyes; then :
40824 cat >>confdefs.h <<_ACEOF
40825 #define HAVE_SINCOSL 1
40826 _ACEOF
40829 done
40831 else
40833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40834 $as_echo_n "checking for _sincosl declaration... " >&6; }
40835 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40836 if ${glibcxx_cv_func__sincosl_use+:} false; then :
40837 $as_echo_n "(cached) " >&6
40838 else
40841 ac_ext=cpp
40842 ac_cpp='$CXXCPP $CPPFLAGS'
40843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40848 /* end confdefs.h. */
40849 #include <math.h>
40851 main ()
40853 _sincosl(0, 0, 0);
40855 return 0;
40857 _ACEOF
40858 if ac_fn_cxx_try_compile "$LINENO"; then :
40859 glibcxx_cv_func__sincosl_use=yes
40860 else
40861 glibcxx_cv_func__sincosl_use=no
40863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40864 ac_ext=c
40865 ac_cpp='$CPP $CPPFLAGS'
40866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40875 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40877 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40878 for ac_func in _sincosl
40879 do :
40880 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40881 if test "x$ac_cv_func__sincosl" = xyes; then :
40882 cat >>confdefs.h <<_ACEOF
40883 #define HAVE__SINCOSL 1
40884 _ACEOF
40887 done
40896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40897 $as_echo_n "checking for finitel declaration... " >&6; }
40898 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40899 if ${glibcxx_cv_func_finitel_use+:} false; then :
40900 $as_echo_n "(cached) " >&6
40901 else
40904 ac_ext=cpp
40905 ac_cpp='$CXXCPP $CPPFLAGS'
40906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40911 /* end confdefs.h. */
40912 #include <math.h>
40913 #ifdef HAVE_IEEEFP_H
40914 #include <ieeefp.h>
40915 #endif
40918 main ()
40920 finitel(0);
40922 return 0;
40924 _ACEOF
40925 if ac_fn_cxx_try_compile "$LINENO"; then :
40926 glibcxx_cv_func_finitel_use=yes
40927 else
40928 glibcxx_cv_func_finitel_use=no
40930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40931 ac_ext=c
40932 ac_cpp='$CPP $CPPFLAGS'
40933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40942 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40944 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40945 for ac_func in finitel
40946 do :
40947 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40948 if test "x$ac_cv_func_finitel" = xyes; then :
40949 cat >>confdefs.h <<_ACEOF
40950 #define HAVE_FINITEL 1
40951 _ACEOF
40954 done
40956 else
40958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40959 $as_echo_n "checking for _finitel declaration... " >&6; }
40960 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40961 if ${glibcxx_cv_func__finitel_use+:} false; then :
40962 $as_echo_n "(cached) " >&6
40963 else
40966 ac_ext=cpp
40967 ac_cpp='$CXXCPP $CPPFLAGS'
40968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40973 /* end confdefs.h. */
40974 #include <math.h>
40975 #ifdef HAVE_IEEEFP_H
40976 #include <ieeefp.h>
40977 #endif
40980 main ()
40982 _finitel(0);
40984 return 0;
40986 _ACEOF
40987 if ac_fn_cxx_try_compile "$LINENO"; then :
40988 glibcxx_cv_func__finitel_use=yes
40989 else
40990 glibcxx_cv_func__finitel_use=no
40992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40993 ac_ext=c
40994 ac_cpp='$CPP $CPPFLAGS'
40995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
41004 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
41006 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
41007 for ac_func in _finitel
41008 do :
41009 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
41010 if test "x$ac_cv_func__finitel" = xyes; then :
41011 cat >>confdefs.h <<_ACEOF
41012 #define HAVE__FINITEL 1
41013 _ACEOF
41016 done
41024 LIBS="$ac_save_LIBS"
41025 CXXFLAGS="$ac_save_CXXFLAGS"
41028 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41029 ac_save_CXXFLAGS="$CXXFLAGS"
41030 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
41034 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
41035 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
41036 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
41037 $as_echo_n "(cached) " >&6
41038 else
41041 ac_ext=cpp
41042 ac_cpp='$CXXCPP $CPPFLAGS'
41043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41048 /* end confdefs.h. */
41049 #include <stdlib.h>
41051 main ()
41053 at_quick_exit(0);
41055 return 0;
41057 _ACEOF
41058 if ac_fn_cxx_try_compile "$LINENO"; then :
41059 glibcxx_cv_func_at_quick_exit_use=yes
41060 else
41061 glibcxx_cv_func_at_quick_exit_use=no
41063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41064 ac_ext=c
41065 ac_cpp='$CPP $CPPFLAGS'
41066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
41075 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
41076 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
41077 for ac_func in at_quick_exit
41078 do :
41079 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
41080 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
41081 cat >>confdefs.h <<_ACEOF
41082 #define HAVE_AT_QUICK_EXIT 1
41083 _ACEOF
41086 done
41091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
41092 $as_echo_n "checking for quick_exit declaration... " >&6; }
41093 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
41094 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
41095 $as_echo_n "(cached) " >&6
41096 else
41099 ac_ext=cpp
41100 ac_cpp='$CXXCPP $CPPFLAGS'
41101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41106 /* end confdefs.h. */
41107 #include <stdlib.h>
41109 main ()
41111 quick_exit(0);
41113 return 0;
41115 _ACEOF
41116 if ac_fn_cxx_try_compile "$LINENO"; then :
41117 glibcxx_cv_func_quick_exit_use=yes
41118 else
41119 glibcxx_cv_func_quick_exit_use=no
41121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41122 ac_ext=c
41123 ac_cpp='$CPP $CPPFLAGS'
41124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41133 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41134 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41135 for ac_func in quick_exit
41136 do :
41137 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41138 if test "x$ac_cv_func_quick_exit" = xyes; then :
41139 cat >>confdefs.h <<_ACEOF
41140 #define HAVE_QUICK_EXIT 1
41141 _ACEOF
41144 done
41149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41150 $as_echo_n "checking for strtold declaration... " >&6; }
41151 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41152 if ${glibcxx_cv_func_strtold_use+:} false; then :
41153 $as_echo_n "(cached) " >&6
41154 else
41157 ac_ext=cpp
41158 ac_cpp='$CXXCPP $CPPFLAGS'
41159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41164 /* end confdefs.h. */
41165 #include <stdlib.h>
41167 main ()
41169 strtold(0, 0);
41171 return 0;
41173 _ACEOF
41174 if ac_fn_cxx_try_compile "$LINENO"; then :
41175 glibcxx_cv_func_strtold_use=yes
41176 else
41177 glibcxx_cv_func_strtold_use=no
41179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41180 ac_ext=c
41181 ac_cpp='$CPP $CPPFLAGS'
41182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41191 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41192 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41193 for ac_func in strtold
41194 do :
41195 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41196 if test "x$ac_cv_func_strtold" = xyes; then :
41197 cat >>confdefs.h <<_ACEOF
41198 #define HAVE_STRTOLD 1
41199 _ACEOF
41202 done
41209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41210 $as_echo_n "checking for strtof declaration... " >&6; }
41211 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41212 if ${glibcxx_cv_func_strtof_use+:} false; then :
41213 $as_echo_n "(cached) " >&6
41214 else
41217 ac_ext=cpp
41218 ac_cpp='$CXXCPP $CPPFLAGS'
41219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41224 /* end confdefs.h. */
41225 #include <stdlib.h>
41227 main ()
41229 strtof(0, 0);
41231 return 0;
41233 _ACEOF
41234 if ac_fn_cxx_try_compile "$LINENO"; then :
41235 glibcxx_cv_func_strtof_use=yes
41236 else
41237 glibcxx_cv_func_strtof_use=no
41239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41240 ac_ext=c
41241 ac_cpp='$CPP $CPPFLAGS'
41242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41251 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41252 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41253 for ac_func in strtof
41254 do :
41255 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41256 if test "x$ac_cv_func_strtof" = xyes; then :
41257 cat >>confdefs.h <<_ACEOF
41258 #define HAVE_STRTOF 1
41259 _ACEOF
41262 done
41269 CXXFLAGS="$ac_save_CXXFLAGS"
41276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41277 $as_echo_n "checking for iconv... " >&6; }
41278 if ${am_cv_func_iconv+:} false; then :
41279 $as_echo_n "(cached) " >&6
41280 else
41282 am_cv_func_iconv="no, consider installing GNU libiconv"
41283 am_cv_lib_iconv=no
41284 am_save_CPPFLAGS="$CPPFLAGS"
41285 CPPFLAGS="$CPPFLAGS $INCICONV"
41286 if test x$gcc_no_link = xyes; then
41287 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41290 /* end confdefs.h. */
41291 #include <stdlib.h>
41292 #include <iconv.h>
41294 main ()
41296 iconv_t cd = iconv_open("","");
41297 iconv(cd,NULL,NULL,NULL,NULL);
41298 iconv_close(cd);
41300 return 0;
41302 _ACEOF
41303 if ac_fn_c_try_link "$LINENO"; then :
41304 am_cv_func_iconv=yes
41306 rm -f core conftest.err conftest.$ac_objext \
41307 conftest$ac_exeext conftest.$ac_ext
41308 CPPFLAGS="$am_save_CPPFLAGS"
41310 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41311 for _libs in .libs _libs; do
41312 am_save_CPPFLAGS="$CPPFLAGS"
41313 am_save_LIBS="$LIBS"
41314 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41315 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41316 if test x$gcc_no_link = xyes; then
41317 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41320 /* end confdefs.h. */
41321 #include <stdlib.h>
41322 #include <iconv.h>
41324 main ()
41326 iconv_t cd = iconv_open("","");
41327 iconv(cd,NULL,NULL,NULL,NULL);
41328 iconv_close(cd);
41330 return 0;
41332 _ACEOF
41333 if ac_fn_c_try_link "$LINENO"; then :
41334 INCICONV="-I../libiconv/include"
41335 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41336 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41337 am_cv_lib_iconv=yes
41338 am_cv_func_iconv=yes
41340 rm -f core conftest.err conftest.$ac_objext \
41341 conftest$ac_exeext conftest.$ac_ext
41342 CPPFLAGS="$am_save_CPPFLAGS"
41343 LIBS="$am_save_LIBS"
41344 if test "$am_cv_func_iconv" = "yes"; then
41345 break
41347 done
41350 if test "$am_cv_func_iconv" != yes; then
41351 am_save_CPPFLAGS="$CPPFLAGS"
41352 am_save_LIBS="$LIBS"
41353 CPPFLAGS="$CPPFLAGS $INCICONV"
41354 LIBS="$LIBS $LIBICONV"
41355 if test x$gcc_no_link = xyes; then
41356 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41359 /* end confdefs.h. */
41360 #include <stdlib.h>
41361 #include <iconv.h>
41363 main ()
41365 iconv_t cd = iconv_open("","");
41366 iconv(cd,NULL,NULL,NULL,NULL);
41367 iconv_close(cd);
41369 return 0;
41371 _ACEOF
41372 if ac_fn_c_try_link "$LINENO"; then :
41373 am_cv_lib_iconv=yes
41374 am_cv_func_iconv=yes
41376 rm -f core conftest.err conftest.$ac_objext \
41377 conftest$ac_exeext conftest.$ac_ext
41378 CPPFLAGS="$am_save_CPPFLAGS"
41379 LIBS="$am_save_LIBS"
41383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41384 $as_echo "$am_cv_func_iconv" >&6; }
41385 if test "$am_cv_func_iconv" = yes; then
41387 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41390 if test "$am_cv_lib_iconv" = yes; then
41392 for element in $INCICONV; do
41393 haveit=
41394 for x in $CPPFLAGS; do
41396 acl_save_prefix="$prefix"
41397 prefix="$acl_final_prefix"
41398 acl_save_exec_prefix="$exec_prefix"
41399 exec_prefix="$acl_final_exec_prefix"
41400 eval x=\"$x\"
41401 exec_prefix="$acl_save_exec_prefix"
41402 prefix="$acl_save_prefix"
41404 if test "X$x" = "X$element"; then
41405 haveit=yes
41406 break
41408 done
41409 if test -z "$haveit"; then
41410 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41412 done
41414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41415 $as_echo_n "checking how to link with libiconv... " >&6; }
41416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41417 $as_echo "$LIBICONV" >&6; }
41418 else
41419 LIBICONV=
41420 LTLIBICONV=
41425 if test "$am_cv_func_iconv" = yes; then
41426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41427 $as_echo_n "checking for iconv declaration... " >&6; }
41428 if ${am_cv_proto_iconv+:} false; then :
41429 $as_echo_n "(cached) " >&6
41430 else
41432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41433 /* end confdefs.h. */
41435 #include <stdlib.h>
41436 #include <iconv.h>
41437 extern
41438 #ifdef __cplusplus
41440 #endif
41441 #if defined(__STDC__) || defined(__cplusplus)
41442 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41443 #else
41444 size_t iconv();
41445 #endif
41448 main ()
41452 return 0;
41454 _ACEOF
41455 if ac_fn_c_try_compile "$LINENO"; then :
41456 am_cv_proto_iconv_arg1=""
41457 else
41458 am_cv_proto_iconv_arg1="const"
41460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41461 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);"
41464 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41466 }$am_cv_proto_iconv" >&5
41467 $as_echo "${ac_t:-
41468 }$am_cv_proto_iconv" >&6; }
41470 cat >>confdefs.h <<_ACEOF
41471 #define ICONV_CONST $am_cv_proto_iconv_arg1
41472 _ACEOF
41478 *-aix*)
41480 # If we're not using GNU ld, then there's no point in even trying these
41481 # tests. Check for that first. We should have already tested for gld
41482 # by now (in libtool), but require it now just to be safe...
41483 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41484 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41488 # The name set by libtool depends on the version of libtool. Shame on us
41489 # for depending on an impl detail, but c'est la vie. Older versions used
41490 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41491 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41492 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41493 # set (hence we're using an older libtool), then set it.
41494 if test x${with_gnu_ld+set} != xset; then
41495 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41496 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41497 with_gnu_ld=no
41498 else
41499 with_gnu_ld=$ac_cv_prog_gnu_ld
41503 # Start by getting the version number. I think the libtool test already
41504 # does some of this, but throws away the result.
41505 glibcxx_ld_is_gold=no
41506 if test x"$with_gnu_ld" = x"yes"; then
41507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41508 $as_echo_n "checking for ld version... " >&6; }
41510 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41511 glibcxx_ld_is_gold=yes
41513 ldver=`$LD --version 2>/dev/null |
41514 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'`
41516 glibcxx_gnu_ld_version=`echo $ldver | \
41517 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41519 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41522 # Set --gc-sections.
41523 glibcxx_have_gc_sections=no
41524 if test "$glibcxx_ld_is_gold" = "yes"; then
41525 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41526 glibcxx_have_gc_sections=yes
41528 else
41529 glibcxx_gcsections_min_ld=21602
41530 if test x"$with_gnu_ld" = x"yes" &&
41531 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41532 glibcxx_have_gc_sections=yes
41535 if test "$glibcxx_have_gc_sections" = "yes"; then
41536 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41537 # NB: This flag only works reliably after 2.16.1. Configure tests
41538 # for this are difficult, so hard wire a value that should work.
41540 ac_test_CFLAGS="${CFLAGS+set}"
41541 ac_save_CFLAGS="$CFLAGS"
41542 CFLAGS='-Wl,--gc-sections'
41544 # Check for -Wl,--gc-sections
41545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41546 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41547 if test x$gcc_no_link = xyes; then
41548 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41551 /* end confdefs.h. */
41552 int one(void) { return 1; }
41553 int two(void) { return 2; }
41556 main ()
41558 two();
41560 return 0;
41562 _ACEOF
41563 if ac_fn_c_try_link "$LINENO"; then :
41564 ac_gcsections=yes
41565 else
41566 ac_gcsections=no
41568 rm -f core conftest.err conftest.$ac_objext \
41569 conftest$ac_exeext conftest.$ac_ext
41570 if test "$ac_gcsections" = "yes"; then
41571 rm -f conftest.c
41572 touch conftest.c
41573 if $CC -c conftest.c; then
41574 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41575 grep "Warning: gc-sections option ignored" > /dev/null; then
41576 ac_gcsections=no
41579 rm -f conftest.c conftest.o conftest
41581 if test "$ac_gcsections" = "yes"; then
41582 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41585 $as_echo "$ac_gcsections" >&6; }
41587 if test "$ac_test_CFLAGS" = set; then
41588 CFLAGS="$ac_save_CFLAGS"
41589 else
41590 # this is the suspicious part
41591 CFLAGS=''
41595 # Set -z,relro.
41596 # Note this is only for shared objects.
41597 ac_ld_relro=no
41598 if test x"$with_gnu_ld" = x"yes"; then
41599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41600 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41601 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41602 if test -n "$cxx_z_relo"; then
41603 OPT_LDFLAGS="-Wl,-z,relro"
41604 ac_ld_relro=yes
41606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41607 $as_echo "$ac_ld_relro" >&6; }
41610 # Set linker optimization flags.
41611 if test x"$with_gnu_ld" = x"yes"; then
41612 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41619 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41620 ac_save_CXXFLAGS="$CXXFLAGS"
41621 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41624 $as_echo_n "checking for sin in -lm... " >&6; }
41625 if ${ac_cv_lib_m_sin+:} false; then :
41626 $as_echo_n "(cached) " >&6
41627 else
41628 ac_check_lib_save_LIBS=$LIBS
41629 LIBS="-lm $LIBS"
41630 if test x$gcc_no_link = xyes; then
41631 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41634 /* end confdefs.h. */
41636 /* Override any GCC internal prototype to avoid an error.
41637 Use char because int might match the return type of a GCC
41638 builtin and then its argument prototype would still apply. */
41639 #ifdef __cplusplus
41640 extern "C"
41641 #endif
41642 char sin ();
41644 main ()
41646 return sin ();
41648 return 0;
41650 _ACEOF
41651 if ac_fn_c_try_link "$LINENO"; then :
41652 ac_cv_lib_m_sin=yes
41653 else
41654 ac_cv_lib_m_sin=no
41656 rm -f core conftest.err conftest.$ac_objext \
41657 conftest$ac_exeext conftest.$ac_ext
41658 LIBS=$ac_check_lib_save_LIBS
41660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41661 $as_echo "$ac_cv_lib_m_sin" >&6; }
41662 if test "x$ac_cv_lib_m_sin" = xyes; then :
41663 libm="-lm"
41666 ac_save_LIBS="$LIBS"
41667 LIBS="$LIBS $libm"
41671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41672 $as_echo_n "checking for isinf declaration... " >&6; }
41673 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41674 if ${glibcxx_cv_func_isinf_use+:} false; then :
41675 $as_echo_n "(cached) " >&6
41676 else
41679 ac_ext=cpp
41680 ac_cpp='$CXXCPP $CPPFLAGS'
41681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41686 /* end confdefs.h. */
41687 #include <math.h>
41688 #ifdef HAVE_IEEEFP_H
41689 #include <ieeefp.h>
41690 #endif
41693 main ()
41695 isinf(0);
41697 return 0;
41699 _ACEOF
41700 if ac_fn_cxx_try_compile "$LINENO"; then :
41701 glibcxx_cv_func_isinf_use=yes
41702 else
41703 glibcxx_cv_func_isinf_use=no
41705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41706 ac_ext=c
41707 ac_cpp='$CPP $CPPFLAGS'
41708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41717 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41719 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41720 for ac_func in isinf
41721 do :
41722 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41723 if test "x$ac_cv_func_isinf" = xyes; then :
41724 cat >>confdefs.h <<_ACEOF
41725 #define HAVE_ISINF 1
41726 _ACEOF
41729 done
41731 else
41733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41734 $as_echo_n "checking for _isinf declaration... " >&6; }
41735 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41736 if ${glibcxx_cv_func__isinf_use+:} false; then :
41737 $as_echo_n "(cached) " >&6
41738 else
41741 ac_ext=cpp
41742 ac_cpp='$CXXCPP $CPPFLAGS'
41743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41748 /* end confdefs.h. */
41749 #include <math.h>
41750 #ifdef HAVE_IEEEFP_H
41751 #include <ieeefp.h>
41752 #endif
41755 main ()
41757 _isinf(0);
41759 return 0;
41761 _ACEOF
41762 if ac_fn_cxx_try_compile "$LINENO"; then :
41763 glibcxx_cv_func__isinf_use=yes
41764 else
41765 glibcxx_cv_func__isinf_use=no
41767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41768 ac_ext=c
41769 ac_cpp='$CPP $CPPFLAGS'
41770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41779 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41781 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41782 for ac_func in _isinf
41783 do :
41784 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41785 if test "x$ac_cv_func__isinf" = xyes; then :
41786 cat >>confdefs.h <<_ACEOF
41787 #define HAVE__ISINF 1
41788 _ACEOF
41791 done
41800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41801 $as_echo_n "checking for isnan declaration... " >&6; }
41802 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41803 if ${glibcxx_cv_func_isnan_use+:} false; then :
41804 $as_echo_n "(cached) " >&6
41805 else
41808 ac_ext=cpp
41809 ac_cpp='$CXXCPP $CPPFLAGS'
41810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41815 /* end confdefs.h. */
41816 #include <math.h>
41817 #ifdef HAVE_IEEEFP_H
41818 #include <ieeefp.h>
41819 #endif
41822 main ()
41824 isnan(0);
41826 return 0;
41828 _ACEOF
41829 if ac_fn_cxx_try_compile "$LINENO"; then :
41830 glibcxx_cv_func_isnan_use=yes
41831 else
41832 glibcxx_cv_func_isnan_use=no
41834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41835 ac_ext=c
41836 ac_cpp='$CPP $CPPFLAGS'
41837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41846 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41848 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41849 for ac_func in isnan
41850 do :
41851 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41852 if test "x$ac_cv_func_isnan" = xyes; then :
41853 cat >>confdefs.h <<_ACEOF
41854 #define HAVE_ISNAN 1
41855 _ACEOF
41858 done
41860 else
41862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41863 $as_echo_n "checking for _isnan declaration... " >&6; }
41864 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41865 if ${glibcxx_cv_func__isnan_use+:} false; then :
41866 $as_echo_n "(cached) " >&6
41867 else
41870 ac_ext=cpp
41871 ac_cpp='$CXXCPP $CPPFLAGS'
41872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41877 /* end confdefs.h. */
41878 #include <math.h>
41879 #ifdef HAVE_IEEEFP_H
41880 #include <ieeefp.h>
41881 #endif
41884 main ()
41886 _isnan(0);
41888 return 0;
41890 _ACEOF
41891 if ac_fn_cxx_try_compile "$LINENO"; then :
41892 glibcxx_cv_func__isnan_use=yes
41893 else
41894 glibcxx_cv_func__isnan_use=no
41896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41897 ac_ext=c
41898 ac_cpp='$CPP $CPPFLAGS'
41899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41908 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41910 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41911 for ac_func in _isnan
41912 do :
41913 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41914 if test "x$ac_cv_func__isnan" = xyes; then :
41915 cat >>confdefs.h <<_ACEOF
41916 #define HAVE__ISNAN 1
41917 _ACEOF
41920 done
41929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41930 $as_echo_n "checking for finite declaration... " >&6; }
41931 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41932 if ${glibcxx_cv_func_finite_use+:} false; then :
41933 $as_echo_n "(cached) " >&6
41934 else
41937 ac_ext=cpp
41938 ac_cpp='$CXXCPP $CPPFLAGS'
41939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41944 /* end confdefs.h. */
41945 #include <math.h>
41946 #ifdef HAVE_IEEEFP_H
41947 #include <ieeefp.h>
41948 #endif
41951 main ()
41953 finite(0);
41955 return 0;
41957 _ACEOF
41958 if ac_fn_cxx_try_compile "$LINENO"; then :
41959 glibcxx_cv_func_finite_use=yes
41960 else
41961 glibcxx_cv_func_finite_use=no
41963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41964 ac_ext=c
41965 ac_cpp='$CPP $CPPFLAGS'
41966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41975 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41977 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41978 for ac_func in finite
41979 do :
41980 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41981 if test "x$ac_cv_func_finite" = xyes; then :
41982 cat >>confdefs.h <<_ACEOF
41983 #define HAVE_FINITE 1
41984 _ACEOF
41987 done
41989 else
41991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41992 $as_echo_n "checking for _finite declaration... " >&6; }
41993 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41994 if ${glibcxx_cv_func__finite_use+:} false; then :
41995 $as_echo_n "(cached) " >&6
41996 else
41999 ac_ext=cpp
42000 ac_cpp='$CXXCPP $CPPFLAGS'
42001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42006 /* end confdefs.h. */
42007 #include <math.h>
42008 #ifdef HAVE_IEEEFP_H
42009 #include <ieeefp.h>
42010 #endif
42013 main ()
42015 _finite(0);
42017 return 0;
42019 _ACEOF
42020 if ac_fn_cxx_try_compile "$LINENO"; then :
42021 glibcxx_cv_func__finite_use=yes
42022 else
42023 glibcxx_cv_func__finite_use=no
42025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42026 ac_ext=c
42027 ac_cpp='$CPP $CPPFLAGS'
42028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
42037 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
42039 if test x$glibcxx_cv_func__finite_use = x"yes"; then
42040 for ac_func in _finite
42041 do :
42042 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
42043 if test "x$ac_cv_func__finite" = xyes; then :
42044 cat >>confdefs.h <<_ACEOF
42045 #define HAVE__FINITE 1
42046 _ACEOF
42049 done
42058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
42059 $as_echo_n "checking for sincos declaration... " >&6; }
42060 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
42061 if ${glibcxx_cv_func_sincos_use+:} false; then :
42062 $as_echo_n "(cached) " >&6
42063 else
42066 ac_ext=cpp
42067 ac_cpp='$CXXCPP $CPPFLAGS'
42068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42073 /* end confdefs.h. */
42074 #include <math.h>
42076 main ()
42078 sincos(0, 0, 0);
42080 return 0;
42082 _ACEOF
42083 if ac_fn_cxx_try_compile "$LINENO"; then :
42084 glibcxx_cv_func_sincos_use=yes
42085 else
42086 glibcxx_cv_func_sincos_use=no
42088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42089 ac_ext=c
42090 ac_cpp='$CPP $CPPFLAGS'
42091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
42100 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
42102 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
42103 for ac_func in sincos
42104 do :
42105 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
42106 if test "x$ac_cv_func_sincos" = xyes; then :
42107 cat >>confdefs.h <<_ACEOF
42108 #define HAVE_SINCOS 1
42109 _ACEOF
42112 done
42114 else
42116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
42117 $as_echo_n "checking for _sincos declaration... " >&6; }
42118 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
42119 if ${glibcxx_cv_func__sincos_use+:} false; then :
42120 $as_echo_n "(cached) " >&6
42121 else
42124 ac_ext=cpp
42125 ac_cpp='$CXXCPP $CPPFLAGS'
42126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42131 /* end confdefs.h. */
42132 #include <math.h>
42134 main ()
42136 _sincos(0, 0, 0);
42138 return 0;
42140 _ACEOF
42141 if ac_fn_cxx_try_compile "$LINENO"; then :
42142 glibcxx_cv_func__sincos_use=yes
42143 else
42144 glibcxx_cv_func__sincos_use=no
42146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42147 ac_ext=c
42148 ac_cpp='$CPP $CPPFLAGS'
42149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
42158 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
42160 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
42161 for ac_func in _sincos
42162 do :
42163 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
42164 if test "x$ac_cv_func__sincos" = xyes; then :
42165 cat >>confdefs.h <<_ACEOF
42166 #define HAVE__SINCOS 1
42167 _ACEOF
42170 done
42179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
42180 $as_echo_n "checking for fpclass declaration... " >&6; }
42181 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
42182 if ${glibcxx_cv_func_fpclass_use+:} false; then :
42183 $as_echo_n "(cached) " >&6
42184 else
42187 ac_ext=cpp
42188 ac_cpp='$CXXCPP $CPPFLAGS'
42189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42194 /* end confdefs.h. */
42195 #include <math.h>
42196 #ifdef HAVE_IEEEFP_H
42197 #include <ieeefp.h>
42198 #endif
42201 main ()
42203 fpclass(0);
42205 return 0;
42207 _ACEOF
42208 if ac_fn_cxx_try_compile "$LINENO"; then :
42209 glibcxx_cv_func_fpclass_use=yes
42210 else
42211 glibcxx_cv_func_fpclass_use=no
42213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42214 ac_ext=c
42215 ac_cpp='$CPP $CPPFLAGS'
42216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
42225 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
42227 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
42228 for ac_func in fpclass
42229 do :
42230 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
42231 if test "x$ac_cv_func_fpclass" = xyes; then :
42232 cat >>confdefs.h <<_ACEOF
42233 #define HAVE_FPCLASS 1
42234 _ACEOF
42237 done
42239 else
42241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
42242 $as_echo_n "checking for _fpclass declaration... " >&6; }
42243 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
42244 if ${glibcxx_cv_func__fpclass_use+:} false; then :
42245 $as_echo_n "(cached) " >&6
42246 else
42249 ac_ext=cpp
42250 ac_cpp='$CXXCPP $CPPFLAGS'
42251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42256 /* end confdefs.h. */
42257 #include <math.h>
42258 #ifdef HAVE_IEEEFP_H
42259 #include <ieeefp.h>
42260 #endif
42263 main ()
42265 _fpclass(0);
42267 return 0;
42269 _ACEOF
42270 if ac_fn_cxx_try_compile "$LINENO"; then :
42271 glibcxx_cv_func__fpclass_use=yes
42272 else
42273 glibcxx_cv_func__fpclass_use=no
42275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42276 ac_ext=c
42277 ac_cpp='$CPP $CPPFLAGS'
42278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42287 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42289 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42290 for ac_func in _fpclass
42291 do :
42292 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42293 if test "x$ac_cv_func__fpclass" = xyes; then :
42294 cat >>confdefs.h <<_ACEOF
42295 #define HAVE__FPCLASS 1
42296 _ACEOF
42299 done
42308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42309 $as_echo_n "checking for qfpclass declaration... " >&6; }
42310 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42311 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42312 $as_echo_n "(cached) " >&6
42313 else
42316 ac_ext=cpp
42317 ac_cpp='$CXXCPP $CPPFLAGS'
42318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42323 /* end confdefs.h. */
42324 #include <math.h>
42325 #ifdef HAVE_IEEEFP_H
42326 #include <ieeefp.h>
42327 #endif
42330 main ()
42332 qfpclass(0);
42334 return 0;
42336 _ACEOF
42337 if ac_fn_cxx_try_compile "$LINENO"; then :
42338 glibcxx_cv_func_qfpclass_use=yes
42339 else
42340 glibcxx_cv_func_qfpclass_use=no
42342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42343 ac_ext=c
42344 ac_cpp='$CPP $CPPFLAGS'
42345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42354 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42356 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42357 for ac_func in qfpclass
42358 do :
42359 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42360 if test "x$ac_cv_func_qfpclass" = xyes; then :
42361 cat >>confdefs.h <<_ACEOF
42362 #define HAVE_QFPCLASS 1
42363 _ACEOF
42366 done
42368 else
42370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42371 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42372 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42373 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42374 $as_echo_n "(cached) " >&6
42375 else
42378 ac_ext=cpp
42379 ac_cpp='$CXXCPP $CPPFLAGS'
42380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42385 /* end confdefs.h. */
42386 #include <math.h>
42387 #ifdef HAVE_IEEEFP_H
42388 #include <ieeefp.h>
42389 #endif
42392 main ()
42394 _qfpclass(0);
42396 return 0;
42398 _ACEOF
42399 if ac_fn_cxx_try_compile "$LINENO"; then :
42400 glibcxx_cv_func__qfpclass_use=yes
42401 else
42402 glibcxx_cv_func__qfpclass_use=no
42404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42405 ac_ext=c
42406 ac_cpp='$CPP $CPPFLAGS'
42407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42416 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42418 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42419 for ac_func in _qfpclass
42420 do :
42421 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42422 if test "x$ac_cv_func__qfpclass" = xyes; then :
42423 cat >>confdefs.h <<_ACEOF
42424 #define HAVE__QFPCLASS 1
42425 _ACEOF
42428 done
42437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42438 $as_echo_n "checking for hypot declaration... " >&6; }
42439 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42440 if ${glibcxx_cv_func_hypot_use+:} false; then :
42441 $as_echo_n "(cached) " >&6
42442 else
42445 ac_ext=cpp
42446 ac_cpp='$CXXCPP $CPPFLAGS'
42447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42452 /* end confdefs.h. */
42453 #include <math.h>
42455 main ()
42457 hypot(0, 0);
42459 return 0;
42461 _ACEOF
42462 if ac_fn_cxx_try_compile "$LINENO"; then :
42463 glibcxx_cv_func_hypot_use=yes
42464 else
42465 glibcxx_cv_func_hypot_use=no
42467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42468 ac_ext=c
42469 ac_cpp='$CPP $CPPFLAGS'
42470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42479 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42481 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42482 for ac_func in hypot
42483 do :
42484 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42485 if test "x$ac_cv_func_hypot" = xyes; then :
42486 cat >>confdefs.h <<_ACEOF
42487 #define HAVE_HYPOT 1
42488 _ACEOF
42491 done
42493 else
42495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42496 $as_echo_n "checking for _hypot declaration... " >&6; }
42497 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42498 if ${glibcxx_cv_func__hypot_use+:} false; then :
42499 $as_echo_n "(cached) " >&6
42500 else
42503 ac_ext=cpp
42504 ac_cpp='$CXXCPP $CPPFLAGS'
42505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42510 /* end confdefs.h. */
42511 #include <math.h>
42513 main ()
42515 _hypot(0, 0);
42517 return 0;
42519 _ACEOF
42520 if ac_fn_cxx_try_compile "$LINENO"; then :
42521 glibcxx_cv_func__hypot_use=yes
42522 else
42523 glibcxx_cv_func__hypot_use=no
42525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42526 ac_ext=c
42527 ac_cpp='$CPP $CPPFLAGS'
42528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42537 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42539 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42540 for ac_func in _hypot
42541 do :
42542 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42543 if test "x$ac_cv_func__hypot" = xyes; then :
42544 cat >>confdefs.h <<_ACEOF
42545 #define HAVE__HYPOT 1
42546 _ACEOF
42549 done
42558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42559 $as_echo_n "checking for float trig functions... " >&6; }
42560 if ${glibcxx_cv_func_float_trig_use+:} false; then :
42561 $as_echo_n "(cached) " >&6
42562 else
42565 ac_ext=cpp
42566 ac_cpp='$CXXCPP $CPPFLAGS'
42567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42572 /* end confdefs.h. */
42573 #include <math.h>
42575 main ()
42577 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42579 return 0;
42581 _ACEOF
42582 if ac_fn_cxx_try_compile "$LINENO"; then :
42583 glibcxx_cv_func_float_trig_use=yes
42584 else
42585 glibcxx_cv_func_float_trig_use=no
42587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42588 ac_ext=c
42589 ac_cpp='$CPP $CPPFLAGS'
42590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42597 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42598 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42599 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42600 do :
42601 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42602 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42603 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42604 cat >>confdefs.h <<_ACEOF
42605 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42606 _ACEOF
42609 done
42611 else
42612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42613 $as_echo_n "checking for _float trig functions... " >&6; }
42614 if ${glibcxx_cv_func__float_trig_use+:} false; then :
42615 $as_echo_n "(cached) " >&6
42616 else
42619 ac_ext=cpp
42620 ac_cpp='$CXXCPP $CPPFLAGS'
42621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42626 /* end confdefs.h. */
42627 #include <math.h>
42629 main ()
42631 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42633 return 0;
42635 _ACEOF
42636 if ac_fn_cxx_try_compile "$LINENO"; then :
42637 glibcxx_cv_func__float_trig_use=yes
42638 else
42639 glibcxx_cv_func__float_trig_use=no
42641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42642 ac_ext=c
42643 ac_cpp='$CPP $CPPFLAGS'
42644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42651 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42652 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42653 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42654 do :
42655 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42656 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42657 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42658 cat >>confdefs.h <<_ACEOF
42659 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42660 _ACEOF
42663 done
42672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42673 $as_echo_n "checking for float round functions... " >&6; }
42674 if ${glibcxx_cv_func_float_round_use+:} false; then :
42675 $as_echo_n "(cached) " >&6
42676 else
42679 ac_ext=cpp
42680 ac_cpp='$CXXCPP $CPPFLAGS'
42681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42686 /* end confdefs.h. */
42687 #include <math.h>
42689 main ()
42691 ceilf (0); floorf (0);
42693 return 0;
42695 _ACEOF
42696 if ac_fn_cxx_try_compile "$LINENO"; then :
42697 glibcxx_cv_func_float_round_use=yes
42698 else
42699 glibcxx_cv_func_float_round_use=no
42701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42702 ac_ext=c
42703 ac_cpp='$CPP $CPPFLAGS'
42704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42711 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42712 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42713 for ac_func in ceilf floorf
42714 do :
42715 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42716 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42717 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42718 cat >>confdefs.h <<_ACEOF
42719 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42720 _ACEOF
42723 done
42725 else
42726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42727 $as_echo_n "checking for _float round functions... " >&6; }
42728 if ${glibcxx_cv_func__float_round_use+:} false; then :
42729 $as_echo_n "(cached) " >&6
42730 else
42733 ac_ext=cpp
42734 ac_cpp='$CXXCPP $CPPFLAGS'
42735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42740 /* end confdefs.h. */
42741 #include <math.h>
42743 main ()
42745 _ceilf (0); _floorf (0);
42747 return 0;
42749 _ACEOF
42750 if ac_fn_cxx_try_compile "$LINENO"; then :
42751 glibcxx_cv_func__float_round_use=yes
42752 else
42753 glibcxx_cv_func__float_round_use=no
42755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42756 ac_ext=c
42757 ac_cpp='$CPP $CPPFLAGS'
42758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42765 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42766 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42767 for ac_func in _ceilf _floorf
42768 do :
42769 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42770 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42771 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42772 cat >>confdefs.h <<_ACEOF
42773 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42774 _ACEOF
42777 done
42787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42788 $as_echo_n "checking for expf declaration... " >&6; }
42789 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42790 if ${glibcxx_cv_func_expf_use+:} false; then :
42791 $as_echo_n "(cached) " >&6
42792 else
42795 ac_ext=cpp
42796 ac_cpp='$CXXCPP $CPPFLAGS'
42797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42802 /* end confdefs.h. */
42803 #include <math.h>
42804 #ifdef HAVE_IEEEFP_H
42805 #include <ieeefp.h>
42806 #endif
42809 main ()
42811 expf(0);
42813 return 0;
42815 _ACEOF
42816 if ac_fn_cxx_try_compile "$LINENO"; then :
42817 glibcxx_cv_func_expf_use=yes
42818 else
42819 glibcxx_cv_func_expf_use=no
42821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42822 ac_ext=c
42823 ac_cpp='$CPP $CPPFLAGS'
42824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42833 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42835 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42836 for ac_func in expf
42837 do :
42838 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42839 if test "x$ac_cv_func_expf" = xyes; then :
42840 cat >>confdefs.h <<_ACEOF
42841 #define HAVE_EXPF 1
42842 _ACEOF
42845 done
42847 else
42849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42850 $as_echo_n "checking for _expf declaration... " >&6; }
42851 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42852 if ${glibcxx_cv_func__expf_use+:} false; then :
42853 $as_echo_n "(cached) " >&6
42854 else
42857 ac_ext=cpp
42858 ac_cpp='$CXXCPP $CPPFLAGS'
42859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42864 /* end confdefs.h. */
42865 #include <math.h>
42866 #ifdef HAVE_IEEEFP_H
42867 #include <ieeefp.h>
42868 #endif
42871 main ()
42873 _expf(0);
42875 return 0;
42877 _ACEOF
42878 if ac_fn_cxx_try_compile "$LINENO"; then :
42879 glibcxx_cv_func__expf_use=yes
42880 else
42881 glibcxx_cv_func__expf_use=no
42883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42884 ac_ext=c
42885 ac_cpp='$CPP $CPPFLAGS'
42886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42895 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42897 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42898 for ac_func in _expf
42899 do :
42900 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42901 if test "x$ac_cv_func__expf" = xyes; then :
42902 cat >>confdefs.h <<_ACEOF
42903 #define HAVE__EXPF 1
42904 _ACEOF
42907 done
42916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42917 $as_echo_n "checking for isnanf declaration... " >&6; }
42918 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42919 if ${glibcxx_cv_func_isnanf_use+:} false; then :
42920 $as_echo_n "(cached) " >&6
42921 else
42924 ac_ext=cpp
42925 ac_cpp='$CXXCPP $CPPFLAGS'
42926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42931 /* end confdefs.h. */
42932 #include <math.h>
42933 #ifdef HAVE_IEEEFP_H
42934 #include <ieeefp.h>
42935 #endif
42938 main ()
42940 isnanf(0);
42942 return 0;
42944 _ACEOF
42945 if ac_fn_cxx_try_compile "$LINENO"; then :
42946 glibcxx_cv_func_isnanf_use=yes
42947 else
42948 glibcxx_cv_func_isnanf_use=no
42950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42951 ac_ext=c
42952 ac_cpp='$CPP $CPPFLAGS'
42953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42962 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42964 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42965 for ac_func in isnanf
42966 do :
42967 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42968 if test "x$ac_cv_func_isnanf" = xyes; then :
42969 cat >>confdefs.h <<_ACEOF
42970 #define HAVE_ISNANF 1
42971 _ACEOF
42974 done
42976 else
42978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42979 $as_echo_n "checking for _isnanf declaration... " >&6; }
42980 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42981 if ${glibcxx_cv_func__isnanf_use+:} false; then :
42982 $as_echo_n "(cached) " >&6
42983 else
42986 ac_ext=cpp
42987 ac_cpp='$CXXCPP $CPPFLAGS'
42988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42993 /* end confdefs.h. */
42994 #include <math.h>
42995 #ifdef HAVE_IEEEFP_H
42996 #include <ieeefp.h>
42997 #endif
43000 main ()
43002 _isnanf(0);
43004 return 0;
43006 _ACEOF
43007 if ac_fn_cxx_try_compile "$LINENO"; then :
43008 glibcxx_cv_func__isnanf_use=yes
43009 else
43010 glibcxx_cv_func__isnanf_use=no
43012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43013 ac_ext=c
43014 ac_cpp='$CPP $CPPFLAGS'
43015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
43024 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
43026 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
43027 for ac_func in _isnanf
43028 do :
43029 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
43030 if test "x$ac_cv_func__isnanf" = xyes; then :
43031 cat >>confdefs.h <<_ACEOF
43032 #define HAVE__ISNANF 1
43033 _ACEOF
43036 done
43045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
43046 $as_echo_n "checking for isinff declaration... " >&6; }
43047 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
43048 if ${glibcxx_cv_func_isinff_use+:} false; then :
43049 $as_echo_n "(cached) " >&6
43050 else
43053 ac_ext=cpp
43054 ac_cpp='$CXXCPP $CPPFLAGS'
43055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43060 /* end confdefs.h. */
43061 #include <math.h>
43062 #ifdef HAVE_IEEEFP_H
43063 #include <ieeefp.h>
43064 #endif
43067 main ()
43069 isinff(0);
43071 return 0;
43073 _ACEOF
43074 if ac_fn_cxx_try_compile "$LINENO"; then :
43075 glibcxx_cv_func_isinff_use=yes
43076 else
43077 glibcxx_cv_func_isinff_use=no
43079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43080 ac_ext=c
43081 ac_cpp='$CPP $CPPFLAGS'
43082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
43091 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
43093 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
43094 for ac_func in isinff
43095 do :
43096 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
43097 if test "x$ac_cv_func_isinff" = xyes; then :
43098 cat >>confdefs.h <<_ACEOF
43099 #define HAVE_ISINFF 1
43100 _ACEOF
43103 done
43105 else
43107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
43108 $as_echo_n "checking for _isinff declaration... " >&6; }
43109 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
43110 if ${glibcxx_cv_func__isinff_use+:} false; then :
43111 $as_echo_n "(cached) " >&6
43112 else
43115 ac_ext=cpp
43116 ac_cpp='$CXXCPP $CPPFLAGS'
43117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43122 /* end confdefs.h. */
43123 #include <math.h>
43124 #ifdef HAVE_IEEEFP_H
43125 #include <ieeefp.h>
43126 #endif
43129 main ()
43131 _isinff(0);
43133 return 0;
43135 _ACEOF
43136 if ac_fn_cxx_try_compile "$LINENO"; then :
43137 glibcxx_cv_func__isinff_use=yes
43138 else
43139 glibcxx_cv_func__isinff_use=no
43141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43142 ac_ext=c
43143 ac_cpp='$CPP $CPPFLAGS'
43144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
43153 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
43155 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
43156 for ac_func in _isinff
43157 do :
43158 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
43159 if test "x$ac_cv_func__isinff" = xyes; then :
43160 cat >>confdefs.h <<_ACEOF
43161 #define HAVE__ISINFF 1
43162 _ACEOF
43165 done
43174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
43175 $as_echo_n "checking for atan2f declaration... " >&6; }
43176 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
43177 if ${glibcxx_cv_func_atan2f_use+:} false; then :
43178 $as_echo_n "(cached) " >&6
43179 else
43182 ac_ext=cpp
43183 ac_cpp='$CXXCPP $CPPFLAGS'
43184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43189 /* end confdefs.h. */
43190 #include <math.h>
43192 main ()
43194 atan2f(0, 0);
43196 return 0;
43198 _ACEOF
43199 if ac_fn_cxx_try_compile "$LINENO"; then :
43200 glibcxx_cv_func_atan2f_use=yes
43201 else
43202 glibcxx_cv_func_atan2f_use=no
43204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43205 ac_ext=c
43206 ac_cpp='$CPP $CPPFLAGS'
43207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
43216 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
43218 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
43219 for ac_func in atan2f
43220 do :
43221 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
43222 if test "x$ac_cv_func_atan2f" = xyes; then :
43223 cat >>confdefs.h <<_ACEOF
43224 #define HAVE_ATAN2F 1
43225 _ACEOF
43228 done
43230 else
43232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
43233 $as_echo_n "checking for _atan2f declaration... " >&6; }
43234 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
43235 if ${glibcxx_cv_func__atan2f_use+:} false; then :
43236 $as_echo_n "(cached) " >&6
43237 else
43240 ac_ext=cpp
43241 ac_cpp='$CXXCPP $CPPFLAGS'
43242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43247 /* end confdefs.h. */
43248 #include <math.h>
43250 main ()
43252 _atan2f(0, 0);
43254 return 0;
43256 _ACEOF
43257 if ac_fn_cxx_try_compile "$LINENO"; then :
43258 glibcxx_cv_func__atan2f_use=yes
43259 else
43260 glibcxx_cv_func__atan2f_use=no
43262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43263 ac_ext=c
43264 ac_cpp='$CPP $CPPFLAGS'
43265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43274 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43276 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43277 for ac_func in _atan2f
43278 do :
43279 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43280 if test "x$ac_cv_func__atan2f" = xyes; then :
43281 cat >>confdefs.h <<_ACEOF
43282 #define HAVE__ATAN2F 1
43283 _ACEOF
43286 done
43295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43296 $as_echo_n "checking for fabsf declaration... " >&6; }
43297 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43298 if ${glibcxx_cv_func_fabsf_use+:} false; then :
43299 $as_echo_n "(cached) " >&6
43300 else
43303 ac_ext=cpp
43304 ac_cpp='$CXXCPP $CPPFLAGS'
43305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43310 /* end confdefs.h. */
43311 #include <math.h>
43312 #ifdef HAVE_IEEEFP_H
43313 #include <ieeefp.h>
43314 #endif
43317 main ()
43319 fabsf(0);
43321 return 0;
43323 _ACEOF
43324 if ac_fn_cxx_try_compile "$LINENO"; then :
43325 glibcxx_cv_func_fabsf_use=yes
43326 else
43327 glibcxx_cv_func_fabsf_use=no
43329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43330 ac_ext=c
43331 ac_cpp='$CPP $CPPFLAGS'
43332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43341 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43343 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43344 for ac_func in fabsf
43345 do :
43346 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43347 if test "x$ac_cv_func_fabsf" = xyes; then :
43348 cat >>confdefs.h <<_ACEOF
43349 #define HAVE_FABSF 1
43350 _ACEOF
43353 done
43355 else
43357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43358 $as_echo_n "checking for _fabsf declaration... " >&6; }
43359 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43360 if ${glibcxx_cv_func__fabsf_use+:} false; then :
43361 $as_echo_n "(cached) " >&6
43362 else
43365 ac_ext=cpp
43366 ac_cpp='$CXXCPP $CPPFLAGS'
43367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43372 /* end confdefs.h. */
43373 #include <math.h>
43374 #ifdef HAVE_IEEEFP_H
43375 #include <ieeefp.h>
43376 #endif
43379 main ()
43381 _fabsf(0);
43383 return 0;
43385 _ACEOF
43386 if ac_fn_cxx_try_compile "$LINENO"; then :
43387 glibcxx_cv_func__fabsf_use=yes
43388 else
43389 glibcxx_cv_func__fabsf_use=no
43391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43392 ac_ext=c
43393 ac_cpp='$CPP $CPPFLAGS'
43394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43403 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43405 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43406 for ac_func in _fabsf
43407 do :
43408 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43409 if test "x$ac_cv_func__fabsf" = xyes; then :
43410 cat >>confdefs.h <<_ACEOF
43411 #define HAVE__FABSF 1
43412 _ACEOF
43415 done
43424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43425 $as_echo_n "checking for fmodf declaration... " >&6; }
43426 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43427 if ${glibcxx_cv_func_fmodf_use+:} false; then :
43428 $as_echo_n "(cached) " >&6
43429 else
43432 ac_ext=cpp
43433 ac_cpp='$CXXCPP $CPPFLAGS'
43434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43439 /* end confdefs.h. */
43440 #include <math.h>
43442 main ()
43444 fmodf(0, 0);
43446 return 0;
43448 _ACEOF
43449 if ac_fn_cxx_try_compile "$LINENO"; then :
43450 glibcxx_cv_func_fmodf_use=yes
43451 else
43452 glibcxx_cv_func_fmodf_use=no
43454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43455 ac_ext=c
43456 ac_cpp='$CPP $CPPFLAGS'
43457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43466 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43468 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43469 for ac_func in fmodf
43470 do :
43471 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43472 if test "x$ac_cv_func_fmodf" = xyes; then :
43473 cat >>confdefs.h <<_ACEOF
43474 #define HAVE_FMODF 1
43475 _ACEOF
43478 done
43480 else
43482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43483 $as_echo_n "checking for _fmodf declaration... " >&6; }
43484 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43485 if ${glibcxx_cv_func__fmodf_use+:} false; then :
43486 $as_echo_n "(cached) " >&6
43487 else
43490 ac_ext=cpp
43491 ac_cpp='$CXXCPP $CPPFLAGS'
43492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43497 /* end confdefs.h. */
43498 #include <math.h>
43500 main ()
43502 _fmodf(0, 0);
43504 return 0;
43506 _ACEOF
43507 if ac_fn_cxx_try_compile "$LINENO"; then :
43508 glibcxx_cv_func__fmodf_use=yes
43509 else
43510 glibcxx_cv_func__fmodf_use=no
43512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43513 ac_ext=c
43514 ac_cpp='$CPP $CPPFLAGS'
43515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43524 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43526 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43527 for ac_func in _fmodf
43528 do :
43529 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43530 if test "x$ac_cv_func__fmodf" = xyes; then :
43531 cat >>confdefs.h <<_ACEOF
43532 #define HAVE__FMODF 1
43533 _ACEOF
43536 done
43545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43546 $as_echo_n "checking for frexpf declaration... " >&6; }
43547 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43548 if ${glibcxx_cv_func_frexpf_use+:} false; then :
43549 $as_echo_n "(cached) " >&6
43550 else
43553 ac_ext=cpp
43554 ac_cpp='$CXXCPP $CPPFLAGS'
43555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43560 /* end confdefs.h. */
43561 #include <math.h>
43563 main ()
43565 frexpf(0, 0);
43567 return 0;
43569 _ACEOF
43570 if ac_fn_cxx_try_compile "$LINENO"; then :
43571 glibcxx_cv_func_frexpf_use=yes
43572 else
43573 glibcxx_cv_func_frexpf_use=no
43575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43576 ac_ext=c
43577 ac_cpp='$CPP $CPPFLAGS'
43578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43587 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43589 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43590 for ac_func in frexpf
43591 do :
43592 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43593 if test "x$ac_cv_func_frexpf" = xyes; then :
43594 cat >>confdefs.h <<_ACEOF
43595 #define HAVE_FREXPF 1
43596 _ACEOF
43599 done
43601 else
43603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43604 $as_echo_n "checking for _frexpf declaration... " >&6; }
43605 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43606 if ${glibcxx_cv_func__frexpf_use+:} false; then :
43607 $as_echo_n "(cached) " >&6
43608 else
43611 ac_ext=cpp
43612 ac_cpp='$CXXCPP $CPPFLAGS'
43613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43618 /* end confdefs.h. */
43619 #include <math.h>
43621 main ()
43623 _frexpf(0, 0);
43625 return 0;
43627 _ACEOF
43628 if ac_fn_cxx_try_compile "$LINENO"; then :
43629 glibcxx_cv_func__frexpf_use=yes
43630 else
43631 glibcxx_cv_func__frexpf_use=no
43633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43634 ac_ext=c
43635 ac_cpp='$CPP $CPPFLAGS'
43636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43645 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43647 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43648 for ac_func in _frexpf
43649 do :
43650 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43651 if test "x$ac_cv_func__frexpf" = xyes; then :
43652 cat >>confdefs.h <<_ACEOF
43653 #define HAVE__FREXPF 1
43654 _ACEOF
43657 done
43666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43667 $as_echo_n "checking for hypotf declaration... " >&6; }
43668 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43669 if ${glibcxx_cv_func_hypotf_use+:} false; then :
43670 $as_echo_n "(cached) " >&6
43671 else
43674 ac_ext=cpp
43675 ac_cpp='$CXXCPP $CPPFLAGS'
43676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43681 /* end confdefs.h. */
43682 #include <math.h>
43684 main ()
43686 hypotf(0, 0);
43688 return 0;
43690 _ACEOF
43691 if ac_fn_cxx_try_compile "$LINENO"; then :
43692 glibcxx_cv_func_hypotf_use=yes
43693 else
43694 glibcxx_cv_func_hypotf_use=no
43696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43697 ac_ext=c
43698 ac_cpp='$CPP $CPPFLAGS'
43699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43708 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43710 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43711 for ac_func in hypotf
43712 do :
43713 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43714 if test "x$ac_cv_func_hypotf" = xyes; then :
43715 cat >>confdefs.h <<_ACEOF
43716 #define HAVE_HYPOTF 1
43717 _ACEOF
43720 done
43722 else
43724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43725 $as_echo_n "checking for _hypotf declaration... " >&6; }
43726 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43727 if ${glibcxx_cv_func__hypotf_use+:} false; then :
43728 $as_echo_n "(cached) " >&6
43729 else
43732 ac_ext=cpp
43733 ac_cpp='$CXXCPP $CPPFLAGS'
43734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43739 /* end confdefs.h. */
43740 #include <math.h>
43742 main ()
43744 _hypotf(0, 0);
43746 return 0;
43748 _ACEOF
43749 if ac_fn_cxx_try_compile "$LINENO"; then :
43750 glibcxx_cv_func__hypotf_use=yes
43751 else
43752 glibcxx_cv_func__hypotf_use=no
43754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43755 ac_ext=c
43756 ac_cpp='$CPP $CPPFLAGS'
43757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43766 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43768 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43769 for ac_func in _hypotf
43770 do :
43771 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43772 if test "x$ac_cv_func__hypotf" = xyes; then :
43773 cat >>confdefs.h <<_ACEOF
43774 #define HAVE__HYPOTF 1
43775 _ACEOF
43778 done
43787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43788 $as_echo_n "checking for ldexpf declaration... " >&6; }
43789 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43790 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
43791 $as_echo_n "(cached) " >&6
43792 else
43795 ac_ext=cpp
43796 ac_cpp='$CXXCPP $CPPFLAGS'
43797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43802 /* end confdefs.h. */
43803 #include <math.h>
43805 main ()
43807 ldexpf(0, 0);
43809 return 0;
43811 _ACEOF
43812 if ac_fn_cxx_try_compile "$LINENO"; then :
43813 glibcxx_cv_func_ldexpf_use=yes
43814 else
43815 glibcxx_cv_func_ldexpf_use=no
43817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43818 ac_ext=c
43819 ac_cpp='$CPP $CPPFLAGS'
43820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43829 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43831 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43832 for ac_func in ldexpf
43833 do :
43834 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43835 if test "x$ac_cv_func_ldexpf" = xyes; then :
43836 cat >>confdefs.h <<_ACEOF
43837 #define HAVE_LDEXPF 1
43838 _ACEOF
43841 done
43843 else
43845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43846 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43847 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43848 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
43849 $as_echo_n "(cached) " >&6
43850 else
43853 ac_ext=cpp
43854 ac_cpp='$CXXCPP $CPPFLAGS'
43855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43860 /* end confdefs.h. */
43861 #include <math.h>
43863 main ()
43865 _ldexpf(0, 0);
43867 return 0;
43869 _ACEOF
43870 if ac_fn_cxx_try_compile "$LINENO"; then :
43871 glibcxx_cv_func__ldexpf_use=yes
43872 else
43873 glibcxx_cv_func__ldexpf_use=no
43875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43876 ac_ext=c
43877 ac_cpp='$CPP $CPPFLAGS'
43878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43887 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43889 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43890 for ac_func in _ldexpf
43891 do :
43892 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43893 if test "x$ac_cv_func__ldexpf" = xyes; then :
43894 cat >>confdefs.h <<_ACEOF
43895 #define HAVE__LDEXPF 1
43896 _ACEOF
43899 done
43908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43909 $as_echo_n "checking for logf declaration... " >&6; }
43910 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43911 if ${glibcxx_cv_func_logf_use+:} false; then :
43912 $as_echo_n "(cached) " >&6
43913 else
43916 ac_ext=cpp
43917 ac_cpp='$CXXCPP $CPPFLAGS'
43918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43923 /* end confdefs.h. */
43924 #include <math.h>
43925 #ifdef HAVE_IEEEFP_H
43926 #include <ieeefp.h>
43927 #endif
43930 main ()
43932 logf(0);
43934 return 0;
43936 _ACEOF
43937 if ac_fn_cxx_try_compile "$LINENO"; then :
43938 glibcxx_cv_func_logf_use=yes
43939 else
43940 glibcxx_cv_func_logf_use=no
43942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43943 ac_ext=c
43944 ac_cpp='$CPP $CPPFLAGS'
43945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43954 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43956 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43957 for ac_func in logf
43958 do :
43959 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43960 if test "x$ac_cv_func_logf" = xyes; then :
43961 cat >>confdefs.h <<_ACEOF
43962 #define HAVE_LOGF 1
43963 _ACEOF
43966 done
43968 else
43970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43971 $as_echo_n "checking for _logf declaration... " >&6; }
43972 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43973 if ${glibcxx_cv_func__logf_use+:} false; then :
43974 $as_echo_n "(cached) " >&6
43975 else
43978 ac_ext=cpp
43979 ac_cpp='$CXXCPP $CPPFLAGS'
43980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43985 /* end confdefs.h. */
43986 #include <math.h>
43987 #ifdef HAVE_IEEEFP_H
43988 #include <ieeefp.h>
43989 #endif
43992 main ()
43994 _logf(0);
43996 return 0;
43998 _ACEOF
43999 if ac_fn_cxx_try_compile "$LINENO"; then :
44000 glibcxx_cv_func__logf_use=yes
44001 else
44002 glibcxx_cv_func__logf_use=no
44004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44005 ac_ext=c
44006 ac_cpp='$CPP $CPPFLAGS'
44007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
44016 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
44018 if test x$glibcxx_cv_func__logf_use = x"yes"; then
44019 for ac_func in _logf
44020 do :
44021 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
44022 if test "x$ac_cv_func__logf" = xyes; then :
44023 cat >>confdefs.h <<_ACEOF
44024 #define HAVE__LOGF 1
44025 _ACEOF
44028 done
44037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
44038 $as_echo_n "checking for log10f declaration... " >&6; }
44039 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
44040 if ${glibcxx_cv_func_log10f_use+:} false; then :
44041 $as_echo_n "(cached) " >&6
44042 else
44045 ac_ext=cpp
44046 ac_cpp='$CXXCPP $CPPFLAGS'
44047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44052 /* end confdefs.h. */
44053 #include <math.h>
44054 #ifdef HAVE_IEEEFP_H
44055 #include <ieeefp.h>
44056 #endif
44059 main ()
44061 log10f(0);
44063 return 0;
44065 _ACEOF
44066 if ac_fn_cxx_try_compile "$LINENO"; then :
44067 glibcxx_cv_func_log10f_use=yes
44068 else
44069 glibcxx_cv_func_log10f_use=no
44071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44072 ac_ext=c
44073 ac_cpp='$CPP $CPPFLAGS'
44074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
44083 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
44085 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
44086 for ac_func in log10f
44087 do :
44088 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
44089 if test "x$ac_cv_func_log10f" = xyes; then :
44090 cat >>confdefs.h <<_ACEOF
44091 #define HAVE_LOG10F 1
44092 _ACEOF
44095 done
44097 else
44099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
44100 $as_echo_n "checking for _log10f declaration... " >&6; }
44101 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
44102 if ${glibcxx_cv_func__log10f_use+:} false; then :
44103 $as_echo_n "(cached) " >&6
44104 else
44107 ac_ext=cpp
44108 ac_cpp='$CXXCPP $CPPFLAGS'
44109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44114 /* end confdefs.h. */
44115 #include <math.h>
44116 #ifdef HAVE_IEEEFP_H
44117 #include <ieeefp.h>
44118 #endif
44121 main ()
44123 _log10f(0);
44125 return 0;
44127 _ACEOF
44128 if ac_fn_cxx_try_compile "$LINENO"; then :
44129 glibcxx_cv_func__log10f_use=yes
44130 else
44131 glibcxx_cv_func__log10f_use=no
44133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44134 ac_ext=c
44135 ac_cpp='$CPP $CPPFLAGS'
44136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
44145 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
44147 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
44148 for ac_func in _log10f
44149 do :
44150 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
44151 if test "x$ac_cv_func__log10f" = xyes; then :
44152 cat >>confdefs.h <<_ACEOF
44153 #define HAVE__LOG10F 1
44154 _ACEOF
44157 done
44166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
44167 $as_echo_n "checking for modff declaration... " >&6; }
44168 if test x${glibcxx_cv_func_modff_use+set} != xset; then
44169 if ${glibcxx_cv_func_modff_use+:} false; then :
44170 $as_echo_n "(cached) " >&6
44171 else
44174 ac_ext=cpp
44175 ac_cpp='$CXXCPP $CPPFLAGS'
44176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44181 /* end confdefs.h. */
44182 #include <math.h>
44184 main ()
44186 modff(0, 0);
44188 return 0;
44190 _ACEOF
44191 if ac_fn_cxx_try_compile "$LINENO"; then :
44192 glibcxx_cv_func_modff_use=yes
44193 else
44194 glibcxx_cv_func_modff_use=no
44196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44197 ac_ext=c
44198 ac_cpp='$CPP $CPPFLAGS'
44199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
44208 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
44210 if test x$glibcxx_cv_func_modff_use = x"yes"; then
44211 for ac_func in modff
44212 do :
44213 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
44214 if test "x$ac_cv_func_modff" = xyes; then :
44215 cat >>confdefs.h <<_ACEOF
44216 #define HAVE_MODFF 1
44217 _ACEOF
44220 done
44222 else
44224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
44225 $as_echo_n "checking for _modff declaration... " >&6; }
44226 if test x${glibcxx_cv_func__modff_use+set} != xset; then
44227 if ${glibcxx_cv_func__modff_use+:} false; then :
44228 $as_echo_n "(cached) " >&6
44229 else
44232 ac_ext=cpp
44233 ac_cpp='$CXXCPP $CPPFLAGS'
44234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44239 /* end confdefs.h. */
44240 #include <math.h>
44242 main ()
44244 _modff(0, 0);
44246 return 0;
44248 _ACEOF
44249 if ac_fn_cxx_try_compile "$LINENO"; then :
44250 glibcxx_cv_func__modff_use=yes
44251 else
44252 glibcxx_cv_func__modff_use=no
44254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44255 ac_ext=c
44256 ac_cpp='$CPP $CPPFLAGS'
44257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44266 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44268 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44269 for ac_func in _modff
44270 do :
44271 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44272 if test "x$ac_cv_func__modff" = xyes; then :
44273 cat >>confdefs.h <<_ACEOF
44274 #define HAVE__MODFF 1
44275 _ACEOF
44278 done
44287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44288 $as_echo_n "checking for modf declaration... " >&6; }
44289 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44290 if ${glibcxx_cv_func_modf_use+:} false; then :
44291 $as_echo_n "(cached) " >&6
44292 else
44295 ac_ext=cpp
44296 ac_cpp='$CXXCPP $CPPFLAGS'
44297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44302 /* end confdefs.h. */
44303 #include <math.h>
44305 main ()
44307 modf(0, 0);
44309 return 0;
44311 _ACEOF
44312 if ac_fn_cxx_try_compile "$LINENO"; then :
44313 glibcxx_cv_func_modf_use=yes
44314 else
44315 glibcxx_cv_func_modf_use=no
44317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44318 ac_ext=c
44319 ac_cpp='$CPP $CPPFLAGS'
44320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44329 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44331 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44332 for ac_func in modf
44333 do :
44334 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44335 if test "x$ac_cv_func_modf" = xyes; then :
44336 cat >>confdefs.h <<_ACEOF
44337 #define HAVE_MODF 1
44338 _ACEOF
44341 done
44343 else
44345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44346 $as_echo_n "checking for _modf declaration... " >&6; }
44347 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44348 if ${glibcxx_cv_func__modf_use+:} false; then :
44349 $as_echo_n "(cached) " >&6
44350 else
44353 ac_ext=cpp
44354 ac_cpp='$CXXCPP $CPPFLAGS'
44355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44360 /* end confdefs.h. */
44361 #include <math.h>
44363 main ()
44365 _modf(0, 0);
44367 return 0;
44369 _ACEOF
44370 if ac_fn_cxx_try_compile "$LINENO"; then :
44371 glibcxx_cv_func__modf_use=yes
44372 else
44373 glibcxx_cv_func__modf_use=no
44375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44376 ac_ext=c
44377 ac_cpp='$CPP $CPPFLAGS'
44378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44387 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44389 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44390 for ac_func in _modf
44391 do :
44392 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44393 if test "x$ac_cv_func__modf" = xyes; then :
44394 cat >>confdefs.h <<_ACEOF
44395 #define HAVE__MODF 1
44396 _ACEOF
44399 done
44408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44409 $as_echo_n "checking for powf declaration... " >&6; }
44410 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44411 if ${glibcxx_cv_func_powf_use+:} false; then :
44412 $as_echo_n "(cached) " >&6
44413 else
44416 ac_ext=cpp
44417 ac_cpp='$CXXCPP $CPPFLAGS'
44418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44423 /* end confdefs.h. */
44424 #include <math.h>
44426 main ()
44428 powf(0, 0);
44430 return 0;
44432 _ACEOF
44433 if ac_fn_cxx_try_compile "$LINENO"; then :
44434 glibcxx_cv_func_powf_use=yes
44435 else
44436 glibcxx_cv_func_powf_use=no
44438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44439 ac_ext=c
44440 ac_cpp='$CPP $CPPFLAGS'
44441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44450 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44452 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44453 for ac_func in powf
44454 do :
44455 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44456 if test "x$ac_cv_func_powf" = xyes; then :
44457 cat >>confdefs.h <<_ACEOF
44458 #define HAVE_POWF 1
44459 _ACEOF
44462 done
44464 else
44466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44467 $as_echo_n "checking for _powf declaration... " >&6; }
44468 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44469 if ${glibcxx_cv_func__powf_use+:} false; then :
44470 $as_echo_n "(cached) " >&6
44471 else
44474 ac_ext=cpp
44475 ac_cpp='$CXXCPP $CPPFLAGS'
44476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44481 /* end confdefs.h. */
44482 #include <math.h>
44484 main ()
44486 _powf(0, 0);
44488 return 0;
44490 _ACEOF
44491 if ac_fn_cxx_try_compile "$LINENO"; then :
44492 glibcxx_cv_func__powf_use=yes
44493 else
44494 glibcxx_cv_func__powf_use=no
44496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44497 ac_ext=c
44498 ac_cpp='$CPP $CPPFLAGS'
44499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44508 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44510 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44511 for ac_func in _powf
44512 do :
44513 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44514 if test "x$ac_cv_func__powf" = xyes; then :
44515 cat >>confdefs.h <<_ACEOF
44516 #define HAVE__POWF 1
44517 _ACEOF
44520 done
44529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44530 $as_echo_n "checking for sqrtf declaration... " >&6; }
44531 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44532 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44533 $as_echo_n "(cached) " >&6
44534 else
44537 ac_ext=cpp
44538 ac_cpp='$CXXCPP $CPPFLAGS'
44539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44544 /* end confdefs.h. */
44545 #include <math.h>
44546 #ifdef HAVE_IEEEFP_H
44547 #include <ieeefp.h>
44548 #endif
44551 main ()
44553 sqrtf(0);
44555 return 0;
44557 _ACEOF
44558 if ac_fn_cxx_try_compile "$LINENO"; then :
44559 glibcxx_cv_func_sqrtf_use=yes
44560 else
44561 glibcxx_cv_func_sqrtf_use=no
44563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44564 ac_ext=c
44565 ac_cpp='$CPP $CPPFLAGS'
44566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44575 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44577 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44578 for ac_func in sqrtf
44579 do :
44580 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44581 if test "x$ac_cv_func_sqrtf" = xyes; then :
44582 cat >>confdefs.h <<_ACEOF
44583 #define HAVE_SQRTF 1
44584 _ACEOF
44587 done
44589 else
44591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44592 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44593 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44594 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44595 $as_echo_n "(cached) " >&6
44596 else
44599 ac_ext=cpp
44600 ac_cpp='$CXXCPP $CPPFLAGS'
44601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44606 /* end confdefs.h. */
44607 #include <math.h>
44608 #ifdef HAVE_IEEEFP_H
44609 #include <ieeefp.h>
44610 #endif
44613 main ()
44615 _sqrtf(0);
44617 return 0;
44619 _ACEOF
44620 if ac_fn_cxx_try_compile "$LINENO"; then :
44621 glibcxx_cv_func__sqrtf_use=yes
44622 else
44623 glibcxx_cv_func__sqrtf_use=no
44625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44626 ac_ext=c
44627 ac_cpp='$CPP $CPPFLAGS'
44628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44637 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44639 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44640 for ac_func in _sqrtf
44641 do :
44642 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44643 if test "x$ac_cv_func__sqrtf" = xyes; then :
44644 cat >>confdefs.h <<_ACEOF
44645 #define HAVE__SQRTF 1
44646 _ACEOF
44649 done
44658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44659 $as_echo_n "checking for sincosf declaration... " >&6; }
44660 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44661 if ${glibcxx_cv_func_sincosf_use+:} false; then :
44662 $as_echo_n "(cached) " >&6
44663 else
44666 ac_ext=cpp
44667 ac_cpp='$CXXCPP $CPPFLAGS'
44668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44673 /* end confdefs.h. */
44674 #include <math.h>
44676 main ()
44678 sincosf(0, 0, 0);
44680 return 0;
44682 _ACEOF
44683 if ac_fn_cxx_try_compile "$LINENO"; then :
44684 glibcxx_cv_func_sincosf_use=yes
44685 else
44686 glibcxx_cv_func_sincosf_use=no
44688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44689 ac_ext=c
44690 ac_cpp='$CPP $CPPFLAGS'
44691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44700 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44702 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44703 for ac_func in sincosf
44704 do :
44705 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44706 if test "x$ac_cv_func_sincosf" = xyes; then :
44707 cat >>confdefs.h <<_ACEOF
44708 #define HAVE_SINCOSF 1
44709 _ACEOF
44712 done
44714 else
44716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44717 $as_echo_n "checking for _sincosf declaration... " >&6; }
44718 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44719 if ${glibcxx_cv_func__sincosf_use+:} false; then :
44720 $as_echo_n "(cached) " >&6
44721 else
44724 ac_ext=cpp
44725 ac_cpp='$CXXCPP $CPPFLAGS'
44726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44731 /* end confdefs.h. */
44732 #include <math.h>
44734 main ()
44736 _sincosf(0, 0, 0);
44738 return 0;
44740 _ACEOF
44741 if ac_fn_cxx_try_compile "$LINENO"; then :
44742 glibcxx_cv_func__sincosf_use=yes
44743 else
44744 glibcxx_cv_func__sincosf_use=no
44746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44747 ac_ext=c
44748 ac_cpp='$CPP $CPPFLAGS'
44749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44758 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44760 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44761 for ac_func in _sincosf
44762 do :
44763 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44764 if test "x$ac_cv_func__sincosf" = xyes; then :
44765 cat >>confdefs.h <<_ACEOF
44766 #define HAVE__SINCOSF 1
44767 _ACEOF
44770 done
44779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44780 $as_echo_n "checking for finitef declaration... " >&6; }
44781 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44782 if ${glibcxx_cv_func_finitef_use+:} false; then :
44783 $as_echo_n "(cached) " >&6
44784 else
44787 ac_ext=cpp
44788 ac_cpp='$CXXCPP $CPPFLAGS'
44789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44794 /* end confdefs.h. */
44795 #include <math.h>
44796 #ifdef HAVE_IEEEFP_H
44797 #include <ieeefp.h>
44798 #endif
44801 main ()
44803 finitef(0);
44805 return 0;
44807 _ACEOF
44808 if ac_fn_cxx_try_compile "$LINENO"; then :
44809 glibcxx_cv_func_finitef_use=yes
44810 else
44811 glibcxx_cv_func_finitef_use=no
44813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44814 ac_ext=c
44815 ac_cpp='$CPP $CPPFLAGS'
44816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44825 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44827 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44828 for ac_func in finitef
44829 do :
44830 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44831 if test "x$ac_cv_func_finitef" = xyes; then :
44832 cat >>confdefs.h <<_ACEOF
44833 #define HAVE_FINITEF 1
44834 _ACEOF
44837 done
44839 else
44841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44842 $as_echo_n "checking for _finitef declaration... " >&6; }
44843 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44844 if ${glibcxx_cv_func__finitef_use+:} false; then :
44845 $as_echo_n "(cached) " >&6
44846 else
44849 ac_ext=cpp
44850 ac_cpp='$CXXCPP $CPPFLAGS'
44851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44856 /* end confdefs.h. */
44857 #include <math.h>
44858 #ifdef HAVE_IEEEFP_H
44859 #include <ieeefp.h>
44860 #endif
44863 main ()
44865 _finitef(0);
44867 return 0;
44869 _ACEOF
44870 if ac_fn_cxx_try_compile "$LINENO"; then :
44871 glibcxx_cv_func__finitef_use=yes
44872 else
44873 glibcxx_cv_func__finitef_use=no
44875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44876 ac_ext=c
44877 ac_cpp='$CPP $CPPFLAGS'
44878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44887 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44889 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44890 for ac_func in _finitef
44891 do :
44892 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44893 if test "x$ac_cv_func__finitef" = xyes; then :
44894 cat >>confdefs.h <<_ACEOF
44895 #define HAVE__FINITEF 1
44896 _ACEOF
44899 done
44908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44909 $as_echo_n "checking for long double trig functions... " >&6; }
44910 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
44911 $as_echo_n "(cached) " >&6
44912 else
44915 ac_ext=cpp
44916 ac_cpp='$CXXCPP $CPPFLAGS'
44917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44922 /* end confdefs.h. */
44923 #include <math.h>
44925 main ()
44927 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44929 return 0;
44931 _ACEOF
44932 if ac_fn_cxx_try_compile "$LINENO"; then :
44933 glibcxx_cv_func_long_double_trig_use=yes
44934 else
44935 glibcxx_cv_func_long_double_trig_use=no
44937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44938 ac_ext=c
44939 ac_cpp='$CPP $CPPFLAGS'
44940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44947 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44948 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44949 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44950 do :
44951 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44952 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44953 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44954 cat >>confdefs.h <<_ACEOF
44955 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44956 _ACEOF
44959 done
44961 else
44962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44963 $as_echo_n "checking for _long double trig functions... " >&6; }
44964 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
44965 $as_echo_n "(cached) " >&6
44966 else
44969 ac_ext=cpp
44970 ac_cpp='$CXXCPP $CPPFLAGS'
44971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44976 /* end confdefs.h. */
44977 #include <math.h>
44979 main ()
44981 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44983 return 0;
44985 _ACEOF
44986 if ac_fn_cxx_try_compile "$LINENO"; then :
44987 glibcxx_cv_func__long_double_trig_use=yes
44988 else
44989 glibcxx_cv_func__long_double_trig_use=no
44991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44992 ac_ext=c
44993 ac_cpp='$CPP $CPPFLAGS'
44994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
45001 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
45002 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
45003 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
45004 do :
45005 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45006 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45007 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45008 cat >>confdefs.h <<_ACEOF
45009 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45010 _ACEOF
45013 done
45022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
45023 $as_echo_n "checking for long double round functions... " >&6; }
45024 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
45025 $as_echo_n "(cached) " >&6
45026 else
45029 ac_ext=cpp
45030 ac_cpp='$CXXCPP $CPPFLAGS'
45031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45036 /* end confdefs.h. */
45037 #include <math.h>
45039 main ()
45041 ceill (0); floorl (0);
45043 return 0;
45045 _ACEOF
45046 if ac_fn_cxx_try_compile "$LINENO"; then :
45047 glibcxx_cv_func_long_double_round_use=yes
45048 else
45049 glibcxx_cv_func_long_double_round_use=no
45051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45052 ac_ext=c
45053 ac_cpp='$CPP $CPPFLAGS'
45054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
45061 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
45062 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
45063 for ac_func in ceill floorl
45064 do :
45065 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45066 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45067 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45068 cat >>confdefs.h <<_ACEOF
45069 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45070 _ACEOF
45073 done
45075 else
45076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
45077 $as_echo_n "checking for _long double round functions... " >&6; }
45078 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
45079 $as_echo_n "(cached) " >&6
45080 else
45083 ac_ext=cpp
45084 ac_cpp='$CXXCPP $CPPFLAGS'
45085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45090 /* end confdefs.h. */
45091 #include <math.h>
45093 main ()
45095 _ceill (0); _floorl (0);
45097 return 0;
45099 _ACEOF
45100 if ac_fn_cxx_try_compile "$LINENO"; then :
45101 glibcxx_cv_func__long_double_round_use=yes
45102 else
45103 glibcxx_cv_func__long_double_round_use=no
45105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45106 ac_ext=c
45107 ac_cpp='$CPP $CPPFLAGS'
45108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
45115 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
45116 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
45117 for ac_func in _ceill _floorl
45118 do :
45119 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45120 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45121 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45122 cat >>confdefs.h <<_ACEOF
45123 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45124 _ACEOF
45127 done
45137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
45138 $as_echo_n "checking for isnanl declaration... " >&6; }
45139 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
45140 if ${glibcxx_cv_func_isnanl_use+:} false; then :
45141 $as_echo_n "(cached) " >&6
45142 else
45145 ac_ext=cpp
45146 ac_cpp='$CXXCPP $CPPFLAGS'
45147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45152 /* end confdefs.h. */
45153 #include <math.h>
45154 #ifdef HAVE_IEEEFP_H
45155 #include <ieeefp.h>
45156 #endif
45159 main ()
45161 isnanl(0);
45163 return 0;
45165 _ACEOF
45166 if ac_fn_cxx_try_compile "$LINENO"; then :
45167 glibcxx_cv_func_isnanl_use=yes
45168 else
45169 glibcxx_cv_func_isnanl_use=no
45171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45172 ac_ext=c
45173 ac_cpp='$CPP $CPPFLAGS'
45174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
45183 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
45185 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
45186 for ac_func in isnanl
45187 do :
45188 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
45189 if test "x$ac_cv_func_isnanl" = xyes; then :
45190 cat >>confdefs.h <<_ACEOF
45191 #define HAVE_ISNANL 1
45192 _ACEOF
45195 done
45197 else
45199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
45200 $as_echo_n "checking for _isnanl declaration... " >&6; }
45201 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
45202 if ${glibcxx_cv_func__isnanl_use+:} false; then :
45203 $as_echo_n "(cached) " >&6
45204 else
45207 ac_ext=cpp
45208 ac_cpp='$CXXCPP $CPPFLAGS'
45209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45214 /* end confdefs.h. */
45215 #include <math.h>
45216 #ifdef HAVE_IEEEFP_H
45217 #include <ieeefp.h>
45218 #endif
45221 main ()
45223 _isnanl(0);
45225 return 0;
45227 _ACEOF
45228 if ac_fn_cxx_try_compile "$LINENO"; then :
45229 glibcxx_cv_func__isnanl_use=yes
45230 else
45231 glibcxx_cv_func__isnanl_use=no
45233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45234 ac_ext=c
45235 ac_cpp='$CPP $CPPFLAGS'
45236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
45245 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
45247 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
45248 for ac_func in _isnanl
45249 do :
45250 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45251 if test "x$ac_cv_func__isnanl" = xyes; then :
45252 cat >>confdefs.h <<_ACEOF
45253 #define HAVE__ISNANL 1
45254 _ACEOF
45257 done
45266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45267 $as_echo_n "checking for isinfl declaration... " >&6; }
45268 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45269 if ${glibcxx_cv_func_isinfl_use+:} false; then :
45270 $as_echo_n "(cached) " >&6
45271 else
45274 ac_ext=cpp
45275 ac_cpp='$CXXCPP $CPPFLAGS'
45276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45281 /* end confdefs.h. */
45282 #include <math.h>
45283 #ifdef HAVE_IEEEFP_H
45284 #include <ieeefp.h>
45285 #endif
45288 main ()
45290 isinfl(0);
45292 return 0;
45294 _ACEOF
45295 if ac_fn_cxx_try_compile "$LINENO"; then :
45296 glibcxx_cv_func_isinfl_use=yes
45297 else
45298 glibcxx_cv_func_isinfl_use=no
45300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45301 ac_ext=c
45302 ac_cpp='$CPP $CPPFLAGS'
45303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45312 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45314 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45315 for ac_func in isinfl
45316 do :
45317 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45318 if test "x$ac_cv_func_isinfl" = xyes; then :
45319 cat >>confdefs.h <<_ACEOF
45320 #define HAVE_ISINFL 1
45321 _ACEOF
45324 done
45326 else
45328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45329 $as_echo_n "checking for _isinfl declaration... " >&6; }
45330 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45331 if ${glibcxx_cv_func__isinfl_use+:} false; then :
45332 $as_echo_n "(cached) " >&6
45333 else
45336 ac_ext=cpp
45337 ac_cpp='$CXXCPP $CPPFLAGS'
45338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45343 /* end confdefs.h. */
45344 #include <math.h>
45345 #ifdef HAVE_IEEEFP_H
45346 #include <ieeefp.h>
45347 #endif
45350 main ()
45352 _isinfl(0);
45354 return 0;
45356 _ACEOF
45357 if ac_fn_cxx_try_compile "$LINENO"; then :
45358 glibcxx_cv_func__isinfl_use=yes
45359 else
45360 glibcxx_cv_func__isinfl_use=no
45362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45363 ac_ext=c
45364 ac_cpp='$CPP $CPPFLAGS'
45365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45374 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45376 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45377 for ac_func in _isinfl
45378 do :
45379 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45380 if test "x$ac_cv_func__isinfl" = xyes; then :
45381 cat >>confdefs.h <<_ACEOF
45382 #define HAVE__ISINFL 1
45383 _ACEOF
45386 done
45395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45396 $as_echo_n "checking for atan2l declaration... " >&6; }
45397 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45398 if ${glibcxx_cv_func_atan2l_use+:} false; then :
45399 $as_echo_n "(cached) " >&6
45400 else
45403 ac_ext=cpp
45404 ac_cpp='$CXXCPP $CPPFLAGS'
45405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45410 /* end confdefs.h. */
45411 #include <math.h>
45413 main ()
45415 atan2l(0, 0);
45417 return 0;
45419 _ACEOF
45420 if ac_fn_cxx_try_compile "$LINENO"; then :
45421 glibcxx_cv_func_atan2l_use=yes
45422 else
45423 glibcxx_cv_func_atan2l_use=no
45425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45426 ac_ext=c
45427 ac_cpp='$CPP $CPPFLAGS'
45428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45437 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45439 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45440 for ac_func in atan2l
45441 do :
45442 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45443 if test "x$ac_cv_func_atan2l" = xyes; then :
45444 cat >>confdefs.h <<_ACEOF
45445 #define HAVE_ATAN2L 1
45446 _ACEOF
45449 done
45451 else
45453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45454 $as_echo_n "checking for _atan2l declaration... " >&6; }
45455 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45456 if ${glibcxx_cv_func__atan2l_use+:} false; then :
45457 $as_echo_n "(cached) " >&6
45458 else
45461 ac_ext=cpp
45462 ac_cpp='$CXXCPP $CPPFLAGS'
45463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45468 /* end confdefs.h. */
45469 #include <math.h>
45471 main ()
45473 _atan2l(0, 0);
45475 return 0;
45477 _ACEOF
45478 if ac_fn_cxx_try_compile "$LINENO"; then :
45479 glibcxx_cv_func__atan2l_use=yes
45480 else
45481 glibcxx_cv_func__atan2l_use=no
45483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45484 ac_ext=c
45485 ac_cpp='$CPP $CPPFLAGS'
45486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45495 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45497 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45498 for ac_func in _atan2l
45499 do :
45500 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45501 if test "x$ac_cv_func__atan2l" = xyes; then :
45502 cat >>confdefs.h <<_ACEOF
45503 #define HAVE__ATAN2L 1
45504 _ACEOF
45507 done
45516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45517 $as_echo_n "checking for expl declaration... " >&6; }
45518 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45519 if ${glibcxx_cv_func_expl_use+:} false; then :
45520 $as_echo_n "(cached) " >&6
45521 else
45524 ac_ext=cpp
45525 ac_cpp='$CXXCPP $CPPFLAGS'
45526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45531 /* end confdefs.h. */
45532 #include <math.h>
45533 #ifdef HAVE_IEEEFP_H
45534 #include <ieeefp.h>
45535 #endif
45538 main ()
45540 expl(0);
45542 return 0;
45544 _ACEOF
45545 if ac_fn_cxx_try_compile "$LINENO"; then :
45546 glibcxx_cv_func_expl_use=yes
45547 else
45548 glibcxx_cv_func_expl_use=no
45550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45551 ac_ext=c
45552 ac_cpp='$CPP $CPPFLAGS'
45553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45562 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45564 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45565 for ac_func in expl
45566 do :
45567 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45568 if test "x$ac_cv_func_expl" = xyes; then :
45569 cat >>confdefs.h <<_ACEOF
45570 #define HAVE_EXPL 1
45571 _ACEOF
45574 done
45576 else
45578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45579 $as_echo_n "checking for _expl declaration... " >&6; }
45580 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45581 if ${glibcxx_cv_func__expl_use+:} false; then :
45582 $as_echo_n "(cached) " >&6
45583 else
45586 ac_ext=cpp
45587 ac_cpp='$CXXCPP $CPPFLAGS'
45588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45593 /* end confdefs.h. */
45594 #include <math.h>
45595 #ifdef HAVE_IEEEFP_H
45596 #include <ieeefp.h>
45597 #endif
45600 main ()
45602 _expl(0);
45604 return 0;
45606 _ACEOF
45607 if ac_fn_cxx_try_compile "$LINENO"; then :
45608 glibcxx_cv_func__expl_use=yes
45609 else
45610 glibcxx_cv_func__expl_use=no
45612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45613 ac_ext=c
45614 ac_cpp='$CPP $CPPFLAGS'
45615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45624 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45626 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45627 for ac_func in _expl
45628 do :
45629 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45630 if test "x$ac_cv_func__expl" = xyes; then :
45631 cat >>confdefs.h <<_ACEOF
45632 #define HAVE__EXPL 1
45633 _ACEOF
45636 done
45645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45646 $as_echo_n "checking for fabsl declaration... " >&6; }
45647 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45648 if ${glibcxx_cv_func_fabsl_use+:} false; then :
45649 $as_echo_n "(cached) " >&6
45650 else
45653 ac_ext=cpp
45654 ac_cpp='$CXXCPP $CPPFLAGS'
45655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45660 /* end confdefs.h. */
45661 #include <math.h>
45662 #ifdef HAVE_IEEEFP_H
45663 #include <ieeefp.h>
45664 #endif
45667 main ()
45669 fabsl(0);
45671 return 0;
45673 _ACEOF
45674 if ac_fn_cxx_try_compile "$LINENO"; then :
45675 glibcxx_cv_func_fabsl_use=yes
45676 else
45677 glibcxx_cv_func_fabsl_use=no
45679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45680 ac_ext=c
45681 ac_cpp='$CPP $CPPFLAGS'
45682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45691 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45693 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45694 for ac_func in fabsl
45695 do :
45696 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45697 if test "x$ac_cv_func_fabsl" = xyes; then :
45698 cat >>confdefs.h <<_ACEOF
45699 #define HAVE_FABSL 1
45700 _ACEOF
45703 done
45705 else
45707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45708 $as_echo_n "checking for _fabsl declaration... " >&6; }
45709 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45710 if ${glibcxx_cv_func__fabsl_use+:} false; then :
45711 $as_echo_n "(cached) " >&6
45712 else
45715 ac_ext=cpp
45716 ac_cpp='$CXXCPP $CPPFLAGS'
45717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45722 /* end confdefs.h. */
45723 #include <math.h>
45724 #ifdef HAVE_IEEEFP_H
45725 #include <ieeefp.h>
45726 #endif
45729 main ()
45731 _fabsl(0);
45733 return 0;
45735 _ACEOF
45736 if ac_fn_cxx_try_compile "$LINENO"; then :
45737 glibcxx_cv_func__fabsl_use=yes
45738 else
45739 glibcxx_cv_func__fabsl_use=no
45741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45742 ac_ext=c
45743 ac_cpp='$CPP $CPPFLAGS'
45744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45753 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45755 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45756 for ac_func in _fabsl
45757 do :
45758 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45759 if test "x$ac_cv_func__fabsl" = xyes; then :
45760 cat >>confdefs.h <<_ACEOF
45761 #define HAVE__FABSL 1
45762 _ACEOF
45765 done
45774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45775 $as_echo_n "checking for fmodl declaration... " >&6; }
45776 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45777 if ${glibcxx_cv_func_fmodl_use+:} false; then :
45778 $as_echo_n "(cached) " >&6
45779 else
45782 ac_ext=cpp
45783 ac_cpp='$CXXCPP $CPPFLAGS'
45784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45789 /* end confdefs.h. */
45790 #include <math.h>
45792 main ()
45794 fmodl(0, 0);
45796 return 0;
45798 _ACEOF
45799 if ac_fn_cxx_try_compile "$LINENO"; then :
45800 glibcxx_cv_func_fmodl_use=yes
45801 else
45802 glibcxx_cv_func_fmodl_use=no
45804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45805 ac_ext=c
45806 ac_cpp='$CPP $CPPFLAGS'
45807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45816 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45818 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45819 for ac_func in fmodl
45820 do :
45821 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45822 if test "x$ac_cv_func_fmodl" = xyes; then :
45823 cat >>confdefs.h <<_ACEOF
45824 #define HAVE_FMODL 1
45825 _ACEOF
45828 done
45830 else
45832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45833 $as_echo_n "checking for _fmodl declaration... " >&6; }
45834 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45835 if ${glibcxx_cv_func__fmodl_use+:} false; then :
45836 $as_echo_n "(cached) " >&6
45837 else
45840 ac_ext=cpp
45841 ac_cpp='$CXXCPP $CPPFLAGS'
45842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45847 /* end confdefs.h. */
45848 #include <math.h>
45850 main ()
45852 _fmodl(0, 0);
45854 return 0;
45856 _ACEOF
45857 if ac_fn_cxx_try_compile "$LINENO"; then :
45858 glibcxx_cv_func__fmodl_use=yes
45859 else
45860 glibcxx_cv_func__fmodl_use=no
45862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45863 ac_ext=c
45864 ac_cpp='$CPP $CPPFLAGS'
45865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45874 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45876 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45877 for ac_func in _fmodl
45878 do :
45879 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45880 if test "x$ac_cv_func__fmodl" = xyes; then :
45881 cat >>confdefs.h <<_ACEOF
45882 #define HAVE__FMODL 1
45883 _ACEOF
45886 done
45895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45896 $as_echo_n "checking for frexpl declaration... " >&6; }
45897 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45898 if ${glibcxx_cv_func_frexpl_use+:} false; then :
45899 $as_echo_n "(cached) " >&6
45900 else
45903 ac_ext=cpp
45904 ac_cpp='$CXXCPP $CPPFLAGS'
45905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45910 /* end confdefs.h. */
45911 #include <math.h>
45913 main ()
45915 frexpl(0, 0);
45917 return 0;
45919 _ACEOF
45920 if ac_fn_cxx_try_compile "$LINENO"; then :
45921 glibcxx_cv_func_frexpl_use=yes
45922 else
45923 glibcxx_cv_func_frexpl_use=no
45925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45926 ac_ext=c
45927 ac_cpp='$CPP $CPPFLAGS'
45928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45937 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45939 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45940 for ac_func in frexpl
45941 do :
45942 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45943 if test "x$ac_cv_func_frexpl" = xyes; then :
45944 cat >>confdefs.h <<_ACEOF
45945 #define HAVE_FREXPL 1
45946 _ACEOF
45949 done
45951 else
45953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45954 $as_echo_n "checking for _frexpl declaration... " >&6; }
45955 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45956 if ${glibcxx_cv_func__frexpl_use+:} false; then :
45957 $as_echo_n "(cached) " >&6
45958 else
45961 ac_ext=cpp
45962 ac_cpp='$CXXCPP $CPPFLAGS'
45963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45968 /* end confdefs.h. */
45969 #include <math.h>
45971 main ()
45973 _frexpl(0, 0);
45975 return 0;
45977 _ACEOF
45978 if ac_fn_cxx_try_compile "$LINENO"; then :
45979 glibcxx_cv_func__frexpl_use=yes
45980 else
45981 glibcxx_cv_func__frexpl_use=no
45983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45984 ac_ext=c
45985 ac_cpp='$CPP $CPPFLAGS'
45986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45995 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45997 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45998 for ac_func in _frexpl
45999 do :
46000 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
46001 if test "x$ac_cv_func__frexpl" = xyes; then :
46002 cat >>confdefs.h <<_ACEOF
46003 #define HAVE__FREXPL 1
46004 _ACEOF
46007 done
46016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
46017 $as_echo_n "checking for hypotl declaration... " >&6; }
46018 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46019 if ${glibcxx_cv_func_hypotl_use+:} false; then :
46020 $as_echo_n "(cached) " >&6
46021 else
46024 ac_ext=cpp
46025 ac_cpp='$CXXCPP $CPPFLAGS'
46026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46031 /* end confdefs.h. */
46032 #include <math.h>
46034 main ()
46036 hypotl(0, 0);
46038 return 0;
46040 _ACEOF
46041 if ac_fn_cxx_try_compile "$LINENO"; then :
46042 glibcxx_cv_func_hypotl_use=yes
46043 else
46044 glibcxx_cv_func_hypotl_use=no
46046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46047 ac_ext=c
46048 ac_cpp='$CPP $CPPFLAGS'
46049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
46058 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
46060 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46061 for ac_func in hypotl
46062 do :
46063 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
46064 if test "x$ac_cv_func_hypotl" = xyes; then :
46065 cat >>confdefs.h <<_ACEOF
46066 #define HAVE_HYPOTL 1
46067 _ACEOF
46070 done
46072 else
46074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
46075 $as_echo_n "checking for _hypotl declaration... " >&6; }
46076 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46077 if ${glibcxx_cv_func__hypotl_use+:} false; then :
46078 $as_echo_n "(cached) " >&6
46079 else
46082 ac_ext=cpp
46083 ac_cpp='$CXXCPP $CPPFLAGS'
46084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46089 /* end confdefs.h. */
46090 #include <math.h>
46092 main ()
46094 _hypotl(0, 0);
46096 return 0;
46098 _ACEOF
46099 if ac_fn_cxx_try_compile "$LINENO"; then :
46100 glibcxx_cv_func__hypotl_use=yes
46101 else
46102 glibcxx_cv_func__hypotl_use=no
46104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46105 ac_ext=c
46106 ac_cpp='$CPP $CPPFLAGS'
46107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
46116 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
46118 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46119 for ac_func in _hypotl
46120 do :
46121 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
46122 if test "x$ac_cv_func__hypotl" = xyes; then :
46123 cat >>confdefs.h <<_ACEOF
46124 #define HAVE__HYPOTL 1
46125 _ACEOF
46128 done
46137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
46138 $as_echo_n "checking for ldexpl declaration... " >&6; }
46139 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46140 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
46141 $as_echo_n "(cached) " >&6
46142 else
46145 ac_ext=cpp
46146 ac_cpp='$CXXCPP $CPPFLAGS'
46147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46152 /* end confdefs.h. */
46153 #include <math.h>
46155 main ()
46157 ldexpl(0, 0);
46159 return 0;
46161 _ACEOF
46162 if ac_fn_cxx_try_compile "$LINENO"; then :
46163 glibcxx_cv_func_ldexpl_use=yes
46164 else
46165 glibcxx_cv_func_ldexpl_use=no
46167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46168 ac_ext=c
46169 ac_cpp='$CPP $CPPFLAGS'
46170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
46179 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
46181 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46182 for ac_func in ldexpl
46183 do :
46184 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
46185 if test "x$ac_cv_func_ldexpl" = xyes; then :
46186 cat >>confdefs.h <<_ACEOF
46187 #define HAVE_LDEXPL 1
46188 _ACEOF
46191 done
46193 else
46195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
46196 $as_echo_n "checking for _ldexpl declaration... " >&6; }
46197 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46198 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
46199 $as_echo_n "(cached) " >&6
46200 else
46203 ac_ext=cpp
46204 ac_cpp='$CXXCPP $CPPFLAGS'
46205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46210 /* end confdefs.h. */
46211 #include <math.h>
46213 main ()
46215 _ldexpl(0, 0);
46217 return 0;
46219 _ACEOF
46220 if ac_fn_cxx_try_compile "$LINENO"; then :
46221 glibcxx_cv_func__ldexpl_use=yes
46222 else
46223 glibcxx_cv_func__ldexpl_use=no
46225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46226 ac_ext=c
46227 ac_cpp='$CPP $CPPFLAGS'
46228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
46237 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
46239 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46240 for ac_func in _ldexpl
46241 do :
46242 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
46243 if test "x$ac_cv_func__ldexpl" = xyes; then :
46244 cat >>confdefs.h <<_ACEOF
46245 #define HAVE__LDEXPL 1
46246 _ACEOF
46249 done
46258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46259 $as_echo_n "checking for logl declaration... " >&6; }
46260 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46261 if ${glibcxx_cv_func_logl_use+:} false; then :
46262 $as_echo_n "(cached) " >&6
46263 else
46266 ac_ext=cpp
46267 ac_cpp='$CXXCPP $CPPFLAGS'
46268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46273 /* end confdefs.h. */
46274 #include <math.h>
46275 #ifdef HAVE_IEEEFP_H
46276 #include <ieeefp.h>
46277 #endif
46280 main ()
46282 logl(0);
46284 return 0;
46286 _ACEOF
46287 if ac_fn_cxx_try_compile "$LINENO"; then :
46288 glibcxx_cv_func_logl_use=yes
46289 else
46290 glibcxx_cv_func_logl_use=no
46292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46293 ac_ext=c
46294 ac_cpp='$CPP $CPPFLAGS'
46295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46304 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46306 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46307 for ac_func in logl
46308 do :
46309 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46310 if test "x$ac_cv_func_logl" = xyes; then :
46311 cat >>confdefs.h <<_ACEOF
46312 #define HAVE_LOGL 1
46313 _ACEOF
46316 done
46318 else
46320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46321 $as_echo_n "checking for _logl declaration... " >&6; }
46322 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46323 if ${glibcxx_cv_func__logl_use+:} false; then :
46324 $as_echo_n "(cached) " >&6
46325 else
46328 ac_ext=cpp
46329 ac_cpp='$CXXCPP $CPPFLAGS'
46330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46335 /* end confdefs.h. */
46336 #include <math.h>
46337 #ifdef HAVE_IEEEFP_H
46338 #include <ieeefp.h>
46339 #endif
46342 main ()
46344 _logl(0);
46346 return 0;
46348 _ACEOF
46349 if ac_fn_cxx_try_compile "$LINENO"; then :
46350 glibcxx_cv_func__logl_use=yes
46351 else
46352 glibcxx_cv_func__logl_use=no
46354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46355 ac_ext=c
46356 ac_cpp='$CPP $CPPFLAGS'
46357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46366 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46368 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46369 for ac_func in _logl
46370 do :
46371 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46372 if test "x$ac_cv_func__logl" = xyes; then :
46373 cat >>confdefs.h <<_ACEOF
46374 #define HAVE__LOGL 1
46375 _ACEOF
46378 done
46387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46388 $as_echo_n "checking for log10l declaration... " >&6; }
46389 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46390 if ${glibcxx_cv_func_log10l_use+:} false; then :
46391 $as_echo_n "(cached) " >&6
46392 else
46395 ac_ext=cpp
46396 ac_cpp='$CXXCPP $CPPFLAGS'
46397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46402 /* end confdefs.h. */
46403 #include <math.h>
46404 #ifdef HAVE_IEEEFP_H
46405 #include <ieeefp.h>
46406 #endif
46409 main ()
46411 log10l(0);
46413 return 0;
46415 _ACEOF
46416 if ac_fn_cxx_try_compile "$LINENO"; then :
46417 glibcxx_cv_func_log10l_use=yes
46418 else
46419 glibcxx_cv_func_log10l_use=no
46421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46422 ac_ext=c
46423 ac_cpp='$CPP $CPPFLAGS'
46424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46433 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46435 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46436 for ac_func in log10l
46437 do :
46438 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46439 if test "x$ac_cv_func_log10l" = xyes; then :
46440 cat >>confdefs.h <<_ACEOF
46441 #define HAVE_LOG10L 1
46442 _ACEOF
46445 done
46447 else
46449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46450 $as_echo_n "checking for _log10l declaration... " >&6; }
46451 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46452 if ${glibcxx_cv_func__log10l_use+:} false; then :
46453 $as_echo_n "(cached) " >&6
46454 else
46457 ac_ext=cpp
46458 ac_cpp='$CXXCPP $CPPFLAGS'
46459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46464 /* end confdefs.h. */
46465 #include <math.h>
46466 #ifdef HAVE_IEEEFP_H
46467 #include <ieeefp.h>
46468 #endif
46471 main ()
46473 _log10l(0);
46475 return 0;
46477 _ACEOF
46478 if ac_fn_cxx_try_compile "$LINENO"; then :
46479 glibcxx_cv_func__log10l_use=yes
46480 else
46481 glibcxx_cv_func__log10l_use=no
46483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46484 ac_ext=c
46485 ac_cpp='$CPP $CPPFLAGS'
46486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46495 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46497 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46498 for ac_func in _log10l
46499 do :
46500 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46501 if test "x$ac_cv_func__log10l" = xyes; then :
46502 cat >>confdefs.h <<_ACEOF
46503 #define HAVE__LOG10L 1
46504 _ACEOF
46507 done
46516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46517 $as_echo_n "checking for modfl declaration... " >&6; }
46518 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46519 if ${glibcxx_cv_func_modfl_use+:} false; then :
46520 $as_echo_n "(cached) " >&6
46521 else
46524 ac_ext=cpp
46525 ac_cpp='$CXXCPP $CPPFLAGS'
46526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46531 /* end confdefs.h. */
46532 #include <math.h>
46534 main ()
46536 modfl(0, 0);
46538 return 0;
46540 _ACEOF
46541 if ac_fn_cxx_try_compile "$LINENO"; then :
46542 glibcxx_cv_func_modfl_use=yes
46543 else
46544 glibcxx_cv_func_modfl_use=no
46546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46547 ac_ext=c
46548 ac_cpp='$CPP $CPPFLAGS'
46549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46558 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46560 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46561 for ac_func in modfl
46562 do :
46563 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46564 if test "x$ac_cv_func_modfl" = xyes; then :
46565 cat >>confdefs.h <<_ACEOF
46566 #define HAVE_MODFL 1
46567 _ACEOF
46570 done
46572 else
46574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46575 $as_echo_n "checking for _modfl declaration... " >&6; }
46576 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46577 if ${glibcxx_cv_func__modfl_use+:} false; then :
46578 $as_echo_n "(cached) " >&6
46579 else
46582 ac_ext=cpp
46583 ac_cpp='$CXXCPP $CPPFLAGS'
46584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46589 /* end confdefs.h. */
46590 #include <math.h>
46592 main ()
46594 _modfl(0, 0);
46596 return 0;
46598 _ACEOF
46599 if ac_fn_cxx_try_compile "$LINENO"; then :
46600 glibcxx_cv_func__modfl_use=yes
46601 else
46602 glibcxx_cv_func__modfl_use=no
46604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46605 ac_ext=c
46606 ac_cpp='$CPP $CPPFLAGS'
46607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46616 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46618 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46619 for ac_func in _modfl
46620 do :
46621 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46622 if test "x$ac_cv_func__modfl" = xyes; then :
46623 cat >>confdefs.h <<_ACEOF
46624 #define HAVE__MODFL 1
46625 _ACEOF
46628 done
46637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46638 $as_echo_n "checking for powl declaration... " >&6; }
46639 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46640 if ${glibcxx_cv_func_powl_use+:} false; then :
46641 $as_echo_n "(cached) " >&6
46642 else
46645 ac_ext=cpp
46646 ac_cpp='$CXXCPP $CPPFLAGS'
46647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46652 /* end confdefs.h. */
46653 #include <math.h>
46655 main ()
46657 powl(0, 0);
46659 return 0;
46661 _ACEOF
46662 if ac_fn_cxx_try_compile "$LINENO"; then :
46663 glibcxx_cv_func_powl_use=yes
46664 else
46665 glibcxx_cv_func_powl_use=no
46667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46668 ac_ext=c
46669 ac_cpp='$CPP $CPPFLAGS'
46670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46679 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46681 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46682 for ac_func in powl
46683 do :
46684 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46685 if test "x$ac_cv_func_powl" = xyes; then :
46686 cat >>confdefs.h <<_ACEOF
46687 #define HAVE_POWL 1
46688 _ACEOF
46691 done
46693 else
46695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46696 $as_echo_n "checking for _powl declaration... " >&6; }
46697 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46698 if ${glibcxx_cv_func__powl_use+:} false; then :
46699 $as_echo_n "(cached) " >&6
46700 else
46703 ac_ext=cpp
46704 ac_cpp='$CXXCPP $CPPFLAGS'
46705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46710 /* end confdefs.h. */
46711 #include <math.h>
46713 main ()
46715 _powl(0, 0);
46717 return 0;
46719 _ACEOF
46720 if ac_fn_cxx_try_compile "$LINENO"; then :
46721 glibcxx_cv_func__powl_use=yes
46722 else
46723 glibcxx_cv_func__powl_use=no
46725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46726 ac_ext=c
46727 ac_cpp='$CPP $CPPFLAGS'
46728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46737 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46739 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46740 for ac_func in _powl
46741 do :
46742 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46743 if test "x$ac_cv_func__powl" = xyes; then :
46744 cat >>confdefs.h <<_ACEOF
46745 #define HAVE__POWL 1
46746 _ACEOF
46749 done
46758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46759 $as_echo_n "checking for sqrtl declaration... " >&6; }
46760 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46761 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
46762 $as_echo_n "(cached) " >&6
46763 else
46766 ac_ext=cpp
46767 ac_cpp='$CXXCPP $CPPFLAGS'
46768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46773 /* end confdefs.h. */
46774 #include <math.h>
46775 #ifdef HAVE_IEEEFP_H
46776 #include <ieeefp.h>
46777 #endif
46780 main ()
46782 sqrtl(0);
46784 return 0;
46786 _ACEOF
46787 if ac_fn_cxx_try_compile "$LINENO"; then :
46788 glibcxx_cv_func_sqrtl_use=yes
46789 else
46790 glibcxx_cv_func_sqrtl_use=no
46792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46793 ac_ext=c
46794 ac_cpp='$CPP $CPPFLAGS'
46795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46804 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46806 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46807 for ac_func in sqrtl
46808 do :
46809 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46810 if test "x$ac_cv_func_sqrtl" = xyes; then :
46811 cat >>confdefs.h <<_ACEOF
46812 #define HAVE_SQRTL 1
46813 _ACEOF
46816 done
46818 else
46820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46821 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46822 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46823 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
46824 $as_echo_n "(cached) " >&6
46825 else
46828 ac_ext=cpp
46829 ac_cpp='$CXXCPP $CPPFLAGS'
46830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46835 /* end confdefs.h. */
46836 #include <math.h>
46837 #ifdef HAVE_IEEEFP_H
46838 #include <ieeefp.h>
46839 #endif
46842 main ()
46844 _sqrtl(0);
46846 return 0;
46848 _ACEOF
46849 if ac_fn_cxx_try_compile "$LINENO"; then :
46850 glibcxx_cv_func__sqrtl_use=yes
46851 else
46852 glibcxx_cv_func__sqrtl_use=no
46854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46855 ac_ext=c
46856 ac_cpp='$CPP $CPPFLAGS'
46857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46866 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46868 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46869 for ac_func in _sqrtl
46870 do :
46871 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46872 if test "x$ac_cv_func__sqrtl" = xyes; then :
46873 cat >>confdefs.h <<_ACEOF
46874 #define HAVE__SQRTL 1
46875 _ACEOF
46878 done
46887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46888 $as_echo_n "checking for sincosl declaration... " >&6; }
46889 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46890 if ${glibcxx_cv_func_sincosl_use+:} false; then :
46891 $as_echo_n "(cached) " >&6
46892 else
46895 ac_ext=cpp
46896 ac_cpp='$CXXCPP $CPPFLAGS'
46897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46902 /* end confdefs.h. */
46903 #include <math.h>
46905 main ()
46907 sincosl(0, 0, 0);
46909 return 0;
46911 _ACEOF
46912 if ac_fn_cxx_try_compile "$LINENO"; then :
46913 glibcxx_cv_func_sincosl_use=yes
46914 else
46915 glibcxx_cv_func_sincosl_use=no
46917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46918 ac_ext=c
46919 ac_cpp='$CPP $CPPFLAGS'
46920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46929 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46931 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46932 for ac_func in sincosl
46933 do :
46934 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46935 if test "x$ac_cv_func_sincosl" = xyes; then :
46936 cat >>confdefs.h <<_ACEOF
46937 #define HAVE_SINCOSL 1
46938 _ACEOF
46941 done
46943 else
46945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46946 $as_echo_n "checking for _sincosl declaration... " >&6; }
46947 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46948 if ${glibcxx_cv_func__sincosl_use+:} false; then :
46949 $as_echo_n "(cached) " >&6
46950 else
46953 ac_ext=cpp
46954 ac_cpp='$CXXCPP $CPPFLAGS'
46955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46960 /* end confdefs.h. */
46961 #include <math.h>
46963 main ()
46965 _sincosl(0, 0, 0);
46967 return 0;
46969 _ACEOF
46970 if ac_fn_cxx_try_compile "$LINENO"; then :
46971 glibcxx_cv_func__sincosl_use=yes
46972 else
46973 glibcxx_cv_func__sincosl_use=no
46975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46976 ac_ext=c
46977 ac_cpp='$CPP $CPPFLAGS'
46978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46987 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46989 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46990 for ac_func in _sincosl
46991 do :
46992 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46993 if test "x$ac_cv_func__sincosl" = xyes; then :
46994 cat >>confdefs.h <<_ACEOF
46995 #define HAVE__SINCOSL 1
46996 _ACEOF
46999 done
47008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
47009 $as_echo_n "checking for finitel declaration... " >&6; }
47010 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47011 if ${glibcxx_cv_func_finitel_use+:} false; then :
47012 $as_echo_n "(cached) " >&6
47013 else
47016 ac_ext=cpp
47017 ac_cpp='$CXXCPP $CPPFLAGS'
47018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47023 /* end confdefs.h. */
47024 #include <math.h>
47025 #ifdef HAVE_IEEEFP_H
47026 #include <ieeefp.h>
47027 #endif
47030 main ()
47032 finitel(0);
47034 return 0;
47036 _ACEOF
47037 if ac_fn_cxx_try_compile "$LINENO"; then :
47038 glibcxx_cv_func_finitel_use=yes
47039 else
47040 glibcxx_cv_func_finitel_use=no
47042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47043 ac_ext=c
47044 ac_cpp='$CPP $CPPFLAGS'
47045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
47054 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
47056 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47057 for ac_func in finitel
47058 do :
47059 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
47060 if test "x$ac_cv_func_finitel" = xyes; then :
47061 cat >>confdefs.h <<_ACEOF
47062 #define HAVE_FINITEL 1
47063 _ACEOF
47066 done
47068 else
47070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
47071 $as_echo_n "checking for _finitel declaration... " >&6; }
47072 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47073 if ${glibcxx_cv_func__finitel_use+:} false; then :
47074 $as_echo_n "(cached) " >&6
47075 else
47078 ac_ext=cpp
47079 ac_cpp='$CXXCPP $CPPFLAGS'
47080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47085 /* end confdefs.h. */
47086 #include <math.h>
47087 #ifdef HAVE_IEEEFP_H
47088 #include <ieeefp.h>
47089 #endif
47092 main ()
47094 _finitel(0);
47096 return 0;
47098 _ACEOF
47099 if ac_fn_cxx_try_compile "$LINENO"; then :
47100 glibcxx_cv_func__finitel_use=yes
47101 else
47102 glibcxx_cv_func__finitel_use=no
47104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47105 ac_ext=c
47106 ac_cpp='$CPP $CPPFLAGS'
47107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
47116 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
47118 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47119 for ac_func in _finitel
47120 do :
47121 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
47122 if test "x$ac_cv_func__finitel" = xyes; then :
47123 cat >>confdefs.h <<_ACEOF
47124 #define HAVE__FINITEL 1
47125 _ACEOF
47128 done
47136 LIBS="$ac_save_LIBS"
47137 CXXFLAGS="$ac_save_CXXFLAGS"
47140 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47141 ac_save_CXXFLAGS="$CXXFLAGS"
47142 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
47146 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
47147 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
47148 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
47149 $as_echo_n "(cached) " >&6
47150 else
47153 ac_ext=cpp
47154 ac_cpp='$CXXCPP $CPPFLAGS'
47155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47160 /* end confdefs.h. */
47161 #include <stdlib.h>
47163 main ()
47165 at_quick_exit(0);
47167 return 0;
47169 _ACEOF
47170 if ac_fn_cxx_try_compile "$LINENO"; then :
47171 glibcxx_cv_func_at_quick_exit_use=yes
47172 else
47173 glibcxx_cv_func_at_quick_exit_use=no
47175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47176 ac_ext=c
47177 ac_cpp='$CPP $CPPFLAGS'
47178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
47187 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
47188 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
47189 for ac_func in at_quick_exit
47190 do :
47191 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
47192 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
47193 cat >>confdefs.h <<_ACEOF
47194 #define HAVE_AT_QUICK_EXIT 1
47195 _ACEOF
47198 done
47203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
47204 $as_echo_n "checking for quick_exit declaration... " >&6; }
47205 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
47206 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
47207 $as_echo_n "(cached) " >&6
47208 else
47211 ac_ext=cpp
47212 ac_cpp='$CXXCPP $CPPFLAGS'
47213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47218 /* end confdefs.h. */
47219 #include <stdlib.h>
47221 main ()
47223 quick_exit(0);
47225 return 0;
47227 _ACEOF
47228 if ac_fn_cxx_try_compile "$LINENO"; then :
47229 glibcxx_cv_func_quick_exit_use=yes
47230 else
47231 glibcxx_cv_func_quick_exit_use=no
47233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47234 ac_ext=c
47235 ac_cpp='$CPP $CPPFLAGS'
47236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
47245 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
47246 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
47247 for ac_func in quick_exit
47248 do :
47249 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47250 if test "x$ac_cv_func_quick_exit" = xyes; then :
47251 cat >>confdefs.h <<_ACEOF
47252 #define HAVE_QUICK_EXIT 1
47253 _ACEOF
47256 done
47261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47262 $as_echo_n "checking for strtold declaration... " >&6; }
47263 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47264 if ${glibcxx_cv_func_strtold_use+:} false; then :
47265 $as_echo_n "(cached) " >&6
47266 else
47269 ac_ext=cpp
47270 ac_cpp='$CXXCPP $CPPFLAGS'
47271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47276 /* end confdefs.h. */
47277 #include <stdlib.h>
47279 main ()
47281 strtold(0, 0);
47283 return 0;
47285 _ACEOF
47286 if ac_fn_cxx_try_compile "$LINENO"; then :
47287 glibcxx_cv_func_strtold_use=yes
47288 else
47289 glibcxx_cv_func_strtold_use=no
47291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47292 ac_ext=c
47293 ac_cpp='$CPP $CPPFLAGS'
47294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47303 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47304 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47305 for ac_func in strtold
47306 do :
47307 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47308 if test "x$ac_cv_func_strtold" = xyes; then :
47309 cat >>confdefs.h <<_ACEOF
47310 #define HAVE_STRTOLD 1
47311 _ACEOF
47314 done
47321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47322 $as_echo_n "checking for strtof declaration... " >&6; }
47323 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47324 if ${glibcxx_cv_func_strtof_use+:} false; then :
47325 $as_echo_n "(cached) " >&6
47326 else
47329 ac_ext=cpp
47330 ac_cpp='$CXXCPP $CPPFLAGS'
47331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47336 /* end confdefs.h. */
47337 #include <stdlib.h>
47339 main ()
47341 strtof(0, 0);
47343 return 0;
47345 _ACEOF
47346 if ac_fn_cxx_try_compile "$LINENO"; then :
47347 glibcxx_cv_func_strtof_use=yes
47348 else
47349 glibcxx_cv_func_strtof_use=no
47351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47352 ac_ext=c
47353 ac_cpp='$CPP $CPPFLAGS'
47354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47363 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47364 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47365 for ac_func in strtof
47366 do :
47367 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47368 if test "x$ac_cv_func_strtof" = xyes; then :
47369 cat >>confdefs.h <<_ACEOF
47370 #define HAVE_STRTOF 1
47371 _ACEOF
47374 done
47381 CXXFLAGS="$ac_save_CXXFLAGS"
47383 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
47385 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
47387 # We don't yet support AIX's TLS ABI.
47388 #GCC_CHECK_TLS
47394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
47395 $as_echo_n "checking for iconv... " >&6; }
47396 if ${am_cv_func_iconv+:} false; then :
47397 $as_echo_n "(cached) " >&6
47398 else
47400 am_cv_func_iconv="no, consider installing GNU libiconv"
47401 am_cv_lib_iconv=no
47402 am_save_CPPFLAGS="$CPPFLAGS"
47403 CPPFLAGS="$CPPFLAGS $INCICONV"
47404 if test x$gcc_no_link = xyes; then
47405 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47408 /* end confdefs.h. */
47409 #include <stdlib.h>
47410 #include <iconv.h>
47412 main ()
47414 iconv_t cd = iconv_open("","");
47415 iconv(cd,NULL,NULL,NULL,NULL);
47416 iconv_close(cd);
47418 return 0;
47420 _ACEOF
47421 if ac_fn_c_try_link "$LINENO"; then :
47422 am_cv_func_iconv=yes
47424 rm -f core conftest.err conftest.$ac_objext \
47425 conftest$ac_exeext conftest.$ac_ext
47426 CPPFLAGS="$am_save_CPPFLAGS"
47428 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
47429 for _libs in .libs _libs; do
47430 am_save_CPPFLAGS="$CPPFLAGS"
47431 am_save_LIBS="$LIBS"
47432 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
47433 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
47434 if test x$gcc_no_link = xyes; then
47435 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47438 /* end confdefs.h. */
47439 #include <stdlib.h>
47440 #include <iconv.h>
47442 main ()
47444 iconv_t cd = iconv_open("","");
47445 iconv(cd,NULL,NULL,NULL,NULL);
47446 iconv_close(cd);
47448 return 0;
47450 _ACEOF
47451 if ac_fn_c_try_link "$LINENO"; then :
47452 INCICONV="-I../libiconv/include"
47453 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47454 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47455 am_cv_lib_iconv=yes
47456 am_cv_func_iconv=yes
47458 rm -f core conftest.err conftest.$ac_objext \
47459 conftest$ac_exeext conftest.$ac_ext
47460 CPPFLAGS="$am_save_CPPFLAGS"
47461 LIBS="$am_save_LIBS"
47462 if test "$am_cv_func_iconv" = "yes"; then
47463 break
47465 done
47468 if test "$am_cv_func_iconv" != yes; then
47469 am_save_CPPFLAGS="$CPPFLAGS"
47470 am_save_LIBS="$LIBS"
47471 CPPFLAGS="$CPPFLAGS $INCICONV"
47472 LIBS="$LIBS $LIBICONV"
47473 if test x$gcc_no_link = xyes; then
47474 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47477 /* end confdefs.h. */
47478 #include <stdlib.h>
47479 #include <iconv.h>
47481 main ()
47483 iconv_t cd = iconv_open("","");
47484 iconv(cd,NULL,NULL,NULL,NULL);
47485 iconv_close(cd);
47487 return 0;
47489 _ACEOF
47490 if ac_fn_c_try_link "$LINENO"; then :
47491 am_cv_lib_iconv=yes
47492 am_cv_func_iconv=yes
47494 rm -f core conftest.err conftest.$ac_objext \
47495 conftest$ac_exeext conftest.$ac_ext
47496 CPPFLAGS="$am_save_CPPFLAGS"
47497 LIBS="$am_save_LIBS"
47501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47502 $as_echo "$am_cv_func_iconv" >&6; }
47503 if test "$am_cv_func_iconv" = yes; then
47505 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47508 if test "$am_cv_lib_iconv" = yes; then
47510 for element in $INCICONV; do
47511 haveit=
47512 for x in $CPPFLAGS; do
47514 acl_save_prefix="$prefix"
47515 prefix="$acl_final_prefix"
47516 acl_save_exec_prefix="$exec_prefix"
47517 exec_prefix="$acl_final_exec_prefix"
47518 eval x=\"$x\"
47519 exec_prefix="$acl_save_exec_prefix"
47520 prefix="$acl_save_prefix"
47522 if test "X$x" = "X$element"; then
47523 haveit=yes
47524 break
47526 done
47527 if test -z "$haveit"; then
47528 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47530 done
47532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47533 $as_echo_n "checking how to link with libiconv... " >&6; }
47534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47535 $as_echo "$LIBICONV" >&6; }
47536 else
47537 LIBICONV=
47538 LTLIBICONV=
47543 if test "$am_cv_func_iconv" = yes; then
47544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47545 $as_echo_n "checking for iconv declaration... " >&6; }
47546 if ${am_cv_proto_iconv+:} false; then :
47547 $as_echo_n "(cached) " >&6
47548 else
47550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47551 /* end confdefs.h. */
47553 #include <stdlib.h>
47554 #include <iconv.h>
47555 extern
47556 #ifdef __cplusplus
47558 #endif
47559 #if defined(__STDC__) || defined(__cplusplus)
47560 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47561 #else
47562 size_t iconv();
47563 #endif
47566 main ()
47570 return 0;
47572 _ACEOF
47573 if ac_fn_c_try_compile "$LINENO"; then :
47574 am_cv_proto_iconv_arg1=""
47575 else
47576 am_cv_proto_iconv_arg1="const"
47578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47579 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);"
47582 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47584 }$am_cv_proto_iconv" >&5
47585 $as_echo "${ac_t:-
47586 }$am_cv_proto_iconv" >&6; }
47588 cat >>confdefs.h <<_ACEOF
47589 #define ICONV_CONST $am_cv_proto_iconv_arg1
47590 _ACEOF
47596 *-darwin*)
47597 # Darwin versions vary, but the linker should work in a cross environment,
47598 # so we just check for all the features here.
47599 # Check for available headers.
47601 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47603 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47604 ac_save_CXXFLAGS="$CXXFLAGS"
47605 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47608 $as_echo_n "checking for sin in -lm... " >&6; }
47609 if ${ac_cv_lib_m_sin+:} false; then :
47610 $as_echo_n "(cached) " >&6
47611 else
47612 ac_check_lib_save_LIBS=$LIBS
47613 LIBS="-lm $LIBS"
47614 if test x$gcc_no_link = xyes; then
47615 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47618 /* end confdefs.h. */
47620 /* Override any GCC internal prototype to avoid an error.
47621 Use char because int might match the return type of a GCC
47622 builtin and then its argument prototype would still apply. */
47623 #ifdef __cplusplus
47624 extern "C"
47625 #endif
47626 char sin ();
47628 main ()
47630 return sin ();
47632 return 0;
47634 _ACEOF
47635 if ac_fn_c_try_link "$LINENO"; then :
47636 ac_cv_lib_m_sin=yes
47637 else
47638 ac_cv_lib_m_sin=no
47640 rm -f core conftest.err conftest.$ac_objext \
47641 conftest$ac_exeext conftest.$ac_ext
47642 LIBS=$ac_check_lib_save_LIBS
47644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47645 $as_echo "$ac_cv_lib_m_sin" >&6; }
47646 if test "x$ac_cv_lib_m_sin" = xyes; then :
47647 libm="-lm"
47650 ac_save_LIBS="$LIBS"
47651 LIBS="$LIBS $libm"
47655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47656 $as_echo_n "checking for isinf declaration... " >&6; }
47657 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47658 if ${glibcxx_cv_func_isinf_use+:} false; then :
47659 $as_echo_n "(cached) " >&6
47660 else
47663 ac_ext=cpp
47664 ac_cpp='$CXXCPP $CPPFLAGS'
47665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47670 /* end confdefs.h. */
47671 #include <math.h>
47672 #ifdef HAVE_IEEEFP_H
47673 #include <ieeefp.h>
47674 #endif
47677 main ()
47679 isinf(0);
47681 return 0;
47683 _ACEOF
47684 if ac_fn_cxx_try_compile "$LINENO"; then :
47685 glibcxx_cv_func_isinf_use=yes
47686 else
47687 glibcxx_cv_func_isinf_use=no
47689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47690 ac_ext=c
47691 ac_cpp='$CPP $CPPFLAGS'
47692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47701 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47703 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47704 for ac_func in isinf
47705 do :
47706 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47707 if test "x$ac_cv_func_isinf" = xyes; then :
47708 cat >>confdefs.h <<_ACEOF
47709 #define HAVE_ISINF 1
47710 _ACEOF
47713 done
47715 else
47717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47718 $as_echo_n "checking for _isinf declaration... " >&6; }
47719 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47720 if ${glibcxx_cv_func__isinf_use+:} false; then :
47721 $as_echo_n "(cached) " >&6
47722 else
47725 ac_ext=cpp
47726 ac_cpp='$CXXCPP $CPPFLAGS'
47727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47732 /* end confdefs.h. */
47733 #include <math.h>
47734 #ifdef HAVE_IEEEFP_H
47735 #include <ieeefp.h>
47736 #endif
47739 main ()
47741 _isinf(0);
47743 return 0;
47745 _ACEOF
47746 if ac_fn_cxx_try_compile "$LINENO"; then :
47747 glibcxx_cv_func__isinf_use=yes
47748 else
47749 glibcxx_cv_func__isinf_use=no
47751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47752 ac_ext=c
47753 ac_cpp='$CPP $CPPFLAGS'
47754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47763 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47765 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47766 for ac_func in _isinf
47767 do :
47768 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47769 if test "x$ac_cv_func__isinf" = xyes; then :
47770 cat >>confdefs.h <<_ACEOF
47771 #define HAVE__ISINF 1
47772 _ACEOF
47775 done
47784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47785 $as_echo_n "checking for isnan declaration... " >&6; }
47786 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47787 if ${glibcxx_cv_func_isnan_use+:} false; then :
47788 $as_echo_n "(cached) " >&6
47789 else
47792 ac_ext=cpp
47793 ac_cpp='$CXXCPP $CPPFLAGS'
47794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47799 /* end confdefs.h. */
47800 #include <math.h>
47801 #ifdef HAVE_IEEEFP_H
47802 #include <ieeefp.h>
47803 #endif
47806 main ()
47808 isnan(0);
47810 return 0;
47812 _ACEOF
47813 if ac_fn_cxx_try_compile "$LINENO"; then :
47814 glibcxx_cv_func_isnan_use=yes
47815 else
47816 glibcxx_cv_func_isnan_use=no
47818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47819 ac_ext=c
47820 ac_cpp='$CPP $CPPFLAGS'
47821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47830 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47832 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47833 for ac_func in isnan
47834 do :
47835 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47836 if test "x$ac_cv_func_isnan" = xyes; then :
47837 cat >>confdefs.h <<_ACEOF
47838 #define HAVE_ISNAN 1
47839 _ACEOF
47842 done
47844 else
47846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47847 $as_echo_n "checking for _isnan declaration... " >&6; }
47848 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47849 if ${glibcxx_cv_func__isnan_use+:} false; then :
47850 $as_echo_n "(cached) " >&6
47851 else
47854 ac_ext=cpp
47855 ac_cpp='$CXXCPP $CPPFLAGS'
47856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47861 /* end confdefs.h. */
47862 #include <math.h>
47863 #ifdef HAVE_IEEEFP_H
47864 #include <ieeefp.h>
47865 #endif
47868 main ()
47870 _isnan(0);
47872 return 0;
47874 _ACEOF
47875 if ac_fn_cxx_try_compile "$LINENO"; then :
47876 glibcxx_cv_func__isnan_use=yes
47877 else
47878 glibcxx_cv_func__isnan_use=no
47880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47881 ac_ext=c
47882 ac_cpp='$CPP $CPPFLAGS'
47883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47892 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47894 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47895 for ac_func in _isnan
47896 do :
47897 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47898 if test "x$ac_cv_func__isnan" = xyes; then :
47899 cat >>confdefs.h <<_ACEOF
47900 #define HAVE__ISNAN 1
47901 _ACEOF
47904 done
47913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47914 $as_echo_n "checking for finite declaration... " >&6; }
47915 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47916 if ${glibcxx_cv_func_finite_use+:} false; then :
47917 $as_echo_n "(cached) " >&6
47918 else
47921 ac_ext=cpp
47922 ac_cpp='$CXXCPP $CPPFLAGS'
47923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47928 /* end confdefs.h. */
47929 #include <math.h>
47930 #ifdef HAVE_IEEEFP_H
47931 #include <ieeefp.h>
47932 #endif
47935 main ()
47937 finite(0);
47939 return 0;
47941 _ACEOF
47942 if ac_fn_cxx_try_compile "$LINENO"; then :
47943 glibcxx_cv_func_finite_use=yes
47944 else
47945 glibcxx_cv_func_finite_use=no
47947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47948 ac_ext=c
47949 ac_cpp='$CPP $CPPFLAGS'
47950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47959 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47961 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47962 for ac_func in finite
47963 do :
47964 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47965 if test "x$ac_cv_func_finite" = xyes; then :
47966 cat >>confdefs.h <<_ACEOF
47967 #define HAVE_FINITE 1
47968 _ACEOF
47971 done
47973 else
47975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47976 $as_echo_n "checking for _finite declaration... " >&6; }
47977 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47978 if ${glibcxx_cv_func__finite_use+:} false; then :
47979 $as_echo_n "(cached) " >&6
47980 else
47983 ac_ext=cpp
47984 ac_cpp='$CXXCPP $CPPFLAGS'
47985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47990 /* end confdefs.h. */
47991 #include <math.h>
47992 #ifdef HAVE_IEEEFP_H
47993 #include <ieeefp.h>
47994 #endif
47997 main ()
47999 _finite(0);
48001 return 0;
48003 _ACEOF
48004 if ac_fn_cxx_try_compile "$LINENO"; then :
48005 glibcxx_cv_func__finite_use=yes
48006 else
48007 glibcxx_cv_func__finite_use=no
48009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48010 ac_ext=c
48011 ac_cpp='$CPP $CPPFLAGS'
48012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
48021 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
48023 if test x$glibcxx_cv_func__finite_use = x"yes"; then
48024 for ac_func in _finite
48025 do :
48026 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
48027 if test "x$ac_cv_func__finite" = xyes; then :
48028 cat >>confdefs.h <<_ACEOF
48029 #define HAVE__FINITE 1
48030 _ACEOF
48033 done
48042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
48043 $as_echo_n "checking for sincos declaration... " >&6; }
48044 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
48045 if ${glibcxx_cv_func_sincos_use+:} false; then :
48046 $as_echo_n "(cached) " >&6
48047 else
48050 ac_ext=cpp
48051 ac_cpp='$CXXCPP $CPPFLAGS'
48052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48057 /* end confdefs.h. */
48058 #include <math.h>
48060 main ()
48062 sincos(0, 0, 0);
48064 return 0;
48066 _ACEOF
48067 if ac_fn_cxx_try_compile "$LINENO"; then :
48068 glibcxx_cv_func_sincos_use=yes
48069 else
48070 glibcxx_cv_func_sincos_use=no
48072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48073 ac_ext=c
48074 ac_cpp='$CPP $CPPFLAGS'
48075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
48084 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
48086 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
48087 for ac_func in sincos
48088 do :
48089 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
48090 if test "x$ac_cv_func_sincos" = xyes; then :
48091 cat >>confdefs.h <<_ACEOF
48092 #define HAVE_SINCOS 1
48093 _ACEOF
48096 done
48098 else
48100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
48101 $as_echo_n "checking for _sincos declaration... " >&6; }
48102 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
48103 if ${glibcxx_cv_func__sincos_use+:} false; then :
48104 $as_echo_n "(cached) " >&6
48105 else
48108 ac_ext=cpp
48109 ac_cpp='$CXXCPP $CPPFLAGS'
48110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48115 /* end confdefs.h. */
48116 #include <math.h>
48118 main ()
48120 _sincos(0, 0, 0);
48122 return 0;
48124 _ACEOF
48125 if ac_fn_cxx_try_compile "$LINENO"; then :
48126 glibcxx_cv_func__sincos_use=yes
48127 else
48128 glibcxx_cv_func__sincos_use=no
48130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48131 ac_ext=c
48132 ac_cpp='$CPP $CPPFLAGS'
48133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
48142 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
48144 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
48145 for ac_func in _sincos
48146 do :
48147 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
48148 if test "x$ac_cv_func__sincos" = xyes; then :
48149 cat >>confdefs.h <<_ACEOF
48150 #define HAVE__SINCOS 1
48151 _ACEOF
48154 done
48163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
48164 $as_echo_n "checking for fpclass declaration... " >&6; }
48165 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
48166 if ${glibcxx_cv_func_fpclass_use+:} false; then :
48167 $as_echo_n "(cached) " >&6
48168 else
48171 ac_ext=cpp
48172 ac_cpp='$CXXCPP $CPPFLAGS'
48173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48178 /* end confdefs.h. */
48179 #include <math.h>
48180 #ifdef HAVE_IEEEFP_H
48181 #include <ieeefp.h>
48182 #endif
48185 main ()
48187 fpclass(0);
48189 return 0;
48191 _ACEOF
48192 if ac_fn_cxx_try_compile "$LINENO"; then :
48193 glibcxx_cv_func_fpclass_use=yes
48194 else
48195 glibcxx_cv_func_fpclass_use=no
48197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48198 ac_ext=c
48199 ac_cpp='$CPP $CPPFLAGS'
48200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
48209 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
48211 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
48212 for ac_func in fpclass
48213 do :
48214 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
48215 if test "x$ac_cv_func_fpclass" = xyes; then :
48216 cat >>confdefs.h <<_ACEOF
48217 #define HAVE_FPCLASS 1
48218 _ACEOF
48221 done
48223 else
48225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
48226 $as_echo_n "checking for _fpclass declaration... " >&6; }
48227 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
48228 if ${glibcxx_cv_func__fpclass_use+:} false; then :
48229 $as_echo_n "(cached) " >&6
48230 else
48233 ac_ext=cpp
48234 ac_cpp='$CXXCPP $CPPFLAGS'
48235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48240 /* end confdefs.h. */
48241 #include <math.h>
48242 #ifdef HAVE_IEEEFP_H
48243 #include <ieeefp.h>
48244 #endif
48247 main ()
48249 _fpclass(0);
48251 return 0;
48253 _ACEOF
48254 if ac_fn_cxx_try_compile "$LINENO"; then :
48255 glibcxx_cv_func__fpclass_use=yes
48256 else
48257 glibcxx_cv_func__fpclass_use=no
48259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48260 ac_ext=c
48261 ac_cpp='$CPP $CPPFLAGS'
48262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48271 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48273 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48274 for ac_func in _fpclass
48275 do :
48276 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48277 if test "x$ac_cv_func__fpclass" = xyes; then :
48278 cat >>confdefs.h <<_ACEOF
48279 #define HAVE__FPCLASS 1
48280 _ACEOF
48283 done
48292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48293 $as_echo_n "checking for qfpclass declaration... " >&6; }
48294 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48295 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
48296 $as_echo_n "(cached) " >&6
48297 else
48300 ac_ext=cpp
48301 ac_cpp='$CXXCPP $CPPFLAGS'
48302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48307 /* end confdefs.h. */
48308 #include <math.h>
48309 #ifdef HAVE_IEEEFP_H
48310 #include <ieeefp.h>
48311 #endif
48314 main ()
48316 qfpclass(0);
48318 return 0;
48320 _ACEOF
48321 if ac_fn_cxx_try_compile "$LINENO"; then :
48322 glibcxx_cv_func_qfpclass_use=yes
48323 else
48324 glibcxx_cv_func_qfpclass_use=no
48326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48327 ac_ext=c
48328 ac_cpp='$CPP $CPPFLAGS'
48329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48338 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48340 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48341 for ac_func in qfpclass
48342 do :
48343 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48344 if test "x$ac_cv_func_qfpclass" = xyes; then :
48345 cat >>confdefs.h <<_ACEOF
48346 #define HAVE_QFPCLASS 1
48347 _ACEOF
48350 done
48352 else
48354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48355 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48356 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48357 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
48358 $as_echo_n "(cached) " >&6
48359 else
48362 ac_ext=cpp
48363 ac_cpp='$CXXCPP $CPPFLAGS'
48364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48369 /* end confdefs.h. */
48370 #include <math.h>
48371 #ifdef HAVE_IEEEFP_H
48372 #include <ieeefp.h>
48373 #endif
48376 main ()
48378 _qfpclass(0);
48380 return 0;
48382 _ACEOF
48383 if ac_fn_cxx_try_compile "$LINENO"; then :
48384 glibcxx_cv_func__qfpclass_use=yes
48385 else
48386 glibcxx_cv_func__qfpclass_use=no
48388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48389 ac_ext=c
48390 ac_cpp='$CPP $CPPFLAGS'
48391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48400 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48402 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48403 for ac_func in _qfpclass
48404 do :
48405 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48406 if test "x$ac_cv_func__qfpclass" = xyes; then :
48407 cat >>confdefs.h <<_ACEOF
48408 #define HAVE__QFPCLASS 1
48409 _ACEOF
48412 done
48421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48422 $as_echo_n "checking for hypot declaration... " >&6; }
48423 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48424 if ${glibcxx_cv_func_hypot_use+:} false; then :
48425 $as_echo_n "(cached) " >&6
48426 else
48429 ac_ext=cpp
48430 ac_cpp='$CXXCPP $CPPFLAGS'
48431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48436 /* end confdefs.h. */
48437 #include <math.h>
48439 main ()
48441 hypot(0, 0);
48443 return 0;
48445 _ACEOF
48446 if ac_fn_cxx_try_compile "$LINENO"; then :
48447 glibcxx_cv_func_hypot_use=yes
48448 else
48449 glibcxx_cv_func_hypot_use=no
48451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48452 ac_ext=c
48453 ac_cpp='$CPP $CPPFLAGS'
48454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48463 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48465 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48466 for ac_func in hypot
48467 do :
48468 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48469 if test "x$ac_cv_func_hypot" = xyes; then :
48470 cat >>confdefs.h <<_ACEOF
48471 #define HAVE_HYPOT 1
48472 _ACEOF
48475 done
48477 else
48479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48480 $as_echo_n "checking for _hypot declaration... " >&6; }
48481 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48482 if ${glibcxx_cv_func__hypot_use+:} false; then :
48483 $as_echo_n "(cached) " >&6
48484 else
48487 ac_ext=cpp
48488 ac_cpp='$CXXCPP $CPPFLAGS'
48489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48494 /* end confdefs.h. */
48495 #include <math.h>
48497 main ()
48499 _hypot(0, 0);
48501 return 0;
48503 _ACEOF
48504 if ac_fn_cxx_try_compile "$LINENO"; then :
48505 glibcxx_cv_func__hypot_use=yes
48506 else
48507 glibcxx_cv_func__hypot_use=no
48509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48510 ac_ext=c
48511 ac_cpp='$CPP $CPPFLAGS'
48512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48521 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48523 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48524 for ac_func in _hypot
48525 do :
48526 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48527 if test "x$ac_cv_func__hypot" = xyes; then :
48528 cat >>confdefs.h <<_ACEOF
48529 #define HAVE__HYPOT 1
48530 _ACEOF
48533 done
48542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48543 $as_echo_n "checking for float trig functions... " >&6; }
48544 if ${glibcxx_cv_func_float_trig_use+:} false; then :
48545 $as_echo_n "(cached) " >&6
48546 else
48549 ac_ext=cpp
48550 ac_cpp='$CXXCPP $CPPFLAGS'
48551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48556 /* end confdefs.h. */
48557 #include <math.h>
48559 main ()
48561 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48563 return 0;
48565 _ACEOF
48566 if ac_fn_cxx_try_compile "$LINENO"; then :
48567 glibcxx_cv_func_float_trig_use=yes
48568 else
48569 glibcxx_cv_func_float_trig_use=no
48571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48572 ac_ext=c
48573 ac_cpp='$CPP $CPPFLAGS'
48574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48581 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48582 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48583 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48584 do :
48585 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48586 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48587 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48588 cat >>confdefs.h <<_ACEOF
48589 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48590 _ACEOF
48593 done
48595 else
48596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48597 $as_echo_n "checking for _float trig functions... " >&6; }
48598 if ${glibcxx_cv_func__float_trig_use+:} false; then :
48599 $as_echo_n "(cached) " >&6
48600 else
48603 ac_ext=cpp
48604 ac_cpp='$CXXCPP $CPPFLAGS'
48605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48610 /* end confdefs.h. */
48611 #include <math.h>
48613 main ()
48615 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48617 return 0;
48619 _ACEOF
48620 if ac_fn_cxx_try_compile "$LINENO"; then :
48621 glibcxx_cv_func__float_trig_use=yes
48622 else
48623 glibcxx_cv_func__float_trig_use=no
48625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48626 ac_ext=c
48627 ac_cpp='$CPP $CPPFLAGS'
48628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48635 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48636 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48637 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48638 do :
48639 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48640 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48641 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48642 cat >>confdefs.h <<_ACEOF
48643 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48644 _ACEOF
48647 done
48656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48657 $as_echo_n "checking for float round functions... " >&6; }
48658 if ${glibcxx_cv_func_float_round_use+:} false; then :
48659 $as_echo_n "(cached) " >&6
48660 else
48663 ac_ext=cpp
48664 ac_cpp='$CXXCPP $CPPFLAGS'
48665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48670 /* end confdefs.h. */
48671 #include <math.h>
48673 main ()
48675 ceilf (0); floorf (0);
48677 return 0;
48679 _ACEOF
48680 if ac_fn_cxx_try_compile "$LINENO"; then :
48681 glibcxx_cv_func_float_round_use=yes
48682 else
48683 glibcxx_cv_func_float_round_use=no
48685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48686 ac_ext=c
48687 ac_cpp='$CPP $CPPFLAGS'
48688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48695 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48696 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48697 for ac_func in ceilf floorf
48698 do :
48699 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48700 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48701 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48702 cat >>confdefs.h <<_ACEOF
48703 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48704 _ACEOF
48707 done
48709 else
48710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48711 $as_echo_n "checking for _float round functions... " >&6; }
48712 if ${glibcxx_cv_func__float_round_use+:} false; then :
48713 $as_echo_n "(cached) " >&6
48714 else
48717 ac_ext=cpp
48718 ac_cpp='$CXXCPP $CPPFLAGS'
48719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48724 /* end confdefs.h. */
48725 #include <math.h>
48727 main ()
48729 _ceilf (0); _floorf (0);
48731 return 0;
48733 _ACEOF
48734 if ac_fn_cxx_try_compile "$LINENO"; then :
48735 glibcxx_cv_func__float_round_use=yes
48736 else
48737 glibcxx_cv_func__float_round_use=no
48739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48740 ac_ext=c
48741 ac_cpp='$CPP $CPPFLAGS'
48742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48749 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48750 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48751 for ac_func in _ceilf _floorf
48752 do :
48753 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48754 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48755 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48756 cat >>confdefs.h <<_ACEOF
48757 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48758 _ACEOF
48761 done
48771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48772 $as_echo_n "checking for expf declaration... " >&6; }
48773 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48774 if ${glibcxx_cv_func_expf_use+:} false; then :
48775 $as_echo_n "(cached) " >&6
48776 else
48779 ac_ext=cpp
48780 ac_cpp='$CXXCPP $CPPFLAGS'
48781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48786 /* end confdefs.h. */
48787 #include <math.h>
48788 #ifdef HAVE_IEEEFP_H
48789 #include <ieeefp.h>
48790 #endif
48793 main ()
48795 expf(0);
48797 return 0;
48799 _ACEOF
48800 if ac_fn_cxx_try_compile "$LINENO"; then :
48801 glibcxx_cv_func_expf_use=yes
48802 else
48803 glibcxx_cv_func_expf_use=no
48805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48806 ac_ext=c
48807 ac_cpp='$CPP $CPPFLAGS'
48808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48817 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48819 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48820 for ac_func in expf
48821 do :
48822 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48823 if test "x$ac_cv_func_expf" = xyes; then :
48824 cat >>confdefs.h <<_ACEOF
48825 #define HAVE_EXPF 1
48826 _ACEOF
48829 done
48831 else
48833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48834 $as_echo_n "checking for _expf declaration... " >&6; }
48835 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48836 if ${glibcxx_cv_func__expf_use+:} false; then :
48837 $as_echo_n "(cached) " >&6
48838 else
48841 ac_ext=cpp
48842 ac_cpp='$CXXCPP $CPPFLAGS'
48843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48848 /* end confdefs.h. */
48849 #include <math.h>
48850 #ifdef HAVE_IEEEFP_H
48851 #include <ieeefp.h>
48852 #endif
48855 main ()
48857 _expf(0);
48859 return 0;
48861 _ACEOF
48862 if ac_fn_cxx_try_compile "$LINENO"; then :
48863 glibcxx_cv_func__expf_use=yes
48864 else
48865 glibcxx_cv_func__expf_use=no
48867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48868 ac_ext=c
48869 ac_cpp='$CPP $CPPFLAGS'
48870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48879 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48881 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48882 for ac_func in _expf
48883 do :
48884 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48885 if test "x$ac_cv_func__expf" = xyes; then :
48886 cat >>confdefs.h <<_ACEOF
48887 #define HAVE__EXPF 1
48888 _ACEOF
48891 done
48900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48901 $as_echo_n "checking for isnanf declaration... " >&6; }
48902 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48903 if ${glibcxx_cv_func_isnanf_use+:} false; then :
48904 $as_echo_n "(cached) " >&6
48905 else
48908 ac_ext=cpp
48909 ac_cpp='$CXXCPP $CPPFLAGS'
48910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48915 /* end confdefs.h. */
48916 #include <math.h>
48917 #ifdef HAVE_IEEEFP_H
48918 #include <ieeefp.h>
48919 #endif
48922 main ()
48924 isnanf(0);
48926 return 0;
48928 _ACEOF
48929 if ac_fn_cxx_try_compile "$LINENO"; then :
48930 glibcxx_cv_func_isnanf_use=yes
48931 else
48932 glibcxx_cv_func_isnanf_use=no
48934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48935 ac_ext=c
48936 ac_cpp='$CPP $CPPFLAGS'
48937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48946 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48948 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48949 for ac_func in isnanf
48950 do :
48951 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48952 if test "x$ac_cv_func_isnanf" = xyes; then :
48953 cat >>confdefs.h <<_ACEOF
48954 #define HAVE_ISNANF 1
48955 _ACEOF
48958 done
48960 else
48962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48963 $as_echo_n "checking for _isnanf declaration... " >&6; }
48964 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48965 if ${glibcxx_cv_func__isnanf_use+:} false; then :
48966 $as_echo_n "(cached) " >&6
48967 else
48970 ac_ext=cpp
48971 ac_cpp='$CXXCPP $CPPFLAGS'
48972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48977 /* end confdefs.h. */
48978 #include <math.h>
48979 #ifdef HAVE_IEEEFP_H
48980 #include <ieeefp.h>
48981 #endif
48984 main ()
48986 _isnanf(0);
48988 return 0;
48990 _ACEOF
48991 if ac_fn_cxx_try_compile "$LINENO"; then :
48992 glibcxx_cv_func__isnanf_use=yes
48993 else
48994 glibcxx_cv_func__isnanf_use=no
48996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48997 ac_ext=c
48998 ac_cpp='$CPP $CPPFLAGS'
48999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
49008 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
49010 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
49011 for ac_func in _isnanf
49012 do :
49013 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
49014 if test "x$ac_cv_func__isnanf" = xyes; then :
49015 cat >>confdefs.h <<_ACEOF
49016 #define HAVE__ISNANF 1
49017 _ACEOF
49020 done
49029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
49030 $as_echo_n "checking for isinff declaration... " >&6; }
49031 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
49032 if ${glibcxx_cv_func_isinff_use+:} false; then :
49033 $as_echo_n "(cached) " >&6
49034 else
49037 ac_ext=cpp
49038 ac_cpp='$CXXCPP $CPPFLAGS'
49039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49044 /* end confdefs.h. */
49045 #include <math.h>
49046 #ifdef HAVE_IEEEFP_H
49047 #include <ieeefp.h>
49048 #endif
49051 main ()
49053 isinff(0);
49055 return 0;
49057 _ACEOF
49058 if ac_fn_cxx_try_compile "$LINENO"; then :
49059 glibcxx_cv_func_isinff_use=yes
49060 else
49061 glibcxx_cv_func_isinff_use=no
49063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49064 ac_ext=c
49065 ac_cpp='$CPP $CPPFLAGS'
49066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
49075 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
49077 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
49078 for ac_func in isinff
49079 do :
49080 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
49081 if test "x$ac_cv_func_isinff" = xyes; then :
49082 cat >>confdefs.h <<_ACEOF
49083 #define HAVE_ISINFF 1
49084 _ACEOF
49087 done
49089 else
49091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
49092 $as_echo_n "checking for _isinff declaration... " >&6; }
49093 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
49094 if ${glibcxx_cv_func__isinff_use+:} false; then :
49095 $as_echo_n "(cached) " >&6
49096 else
49099 ac_ext=cpp
49100 ac_cpp='$CXXCPP $CPPFLAGS'
49101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49106 /* end confdefs.h. */
49107 #include <math.h>
49108 #ifdef HAVE_IEEEFP_H
49109 #include <ieeefp.h>
49110 #endif
49113 main ()
49115 _isinff(0);
49117 return 0;
49119 _ACEOF
49120 if ac_fn_cxx_try_compile "$LINENO"; then :
49121 glibcxx_cv_func__isinff_use=yes
49122 else
49123 glibcxx_cv_func__isinff_use=no
49125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49126 ac_ext=c
49127 ac_cpp='$CPP $CPPFLAGS'
49128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
49137 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
49139 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
49140 for ac_func in _isinff
49141 do :
49142 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
49143 if test "x$ac_cv_func__isinff" = xyes; then :
49144 cat >>confdefs.h <<_ACEOF
49145 #define HAVE__ISINFF 1
49146 _ACEOF
49149 done
49158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
49159 $as_echo_n "checking for atan2f declaration... " >&6; }
49160 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49161 if ${glibcxx_cv_func_atan2f_use+:} false; then :
49162 $as_echo_n "(cached) " >&6
49163 else
49166 ac_ext=cpp
49167 ac_cpp='$CXXCPP $CPPFLAGS'
49168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49173 /* end confdefs.h. */
49174 #include <math.h>
49176 main ()
49178 atan2f(0, 0);
49180 return 0;
49182 _ACEOF
49183 if ac_fn_cxx_try_compile "$LINENO"; then :
49184 glibcxx_cv_func_atan2f_use=yes
49185 else
49186 glibcxx_cv_func_atan2f_use=no
49188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49189 ac_ext=c
49190 ac_cpp='$CPP $CPPFLAGS'
49191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
49200 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
49202 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49203 for ac_func in atan2f
49204 do :
49205 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
49206 if test "x$ac_cv_func_atan2f" = xyes; then :
49207 cat >>confdefs.h <<_ACEOF
49208 #define HAVE_ATAN2F 1
49209 _ACEOF
49212 done
49214 else
49216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
49217 $as_echo_n "checking for _atan2f declaration... " >&6; }
49218 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49219 if ${glibcxx_cv_func__atan2f_use+:} false; then :
49220 $as_echo_n "(cached) " >&6
49221 else
49224 ac_ext=cpp
49225 ac_cpp='$CXXCPP $CPPFLAGS'
49226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49231 /* end confdefs.h. */
49232 #include <math.h>
49234 main ()
49236 _atan2f(0, 0);
49238 return 0;
49240 _ACEOF
49241 if ac_fn_cxx_try_compile "$LINENO"; then :
49242 glibcxx_cv_func__atan2f_use=yes
49243 else
49244 glibcxx_cv_func__atan2f_use=no
49246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49247 ac_ext=c
49248 ac_cpp='$CPP $CPPFLAGS'
49249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49258 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49260 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49261 for ac_func in _atan2f
49262 do :
49263 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49264 if test "x$ac_cv_func__atan2f" = xyes; then :
49265 cat >>confdefs.h <<_ACEOF
49266 #define HAVE__ATAN2F 1
49267 _ACEOF
49270 done
49279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49280 $as_echo_n "checking for fabsf declaration... " >&6; }
49281 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49282 if ${glibcxx_cv_func_fabsf_use+:} false; then :
49283 $as_echo_n "(cached) " >&6
49284 else
49287 ac_ext=cpp
49288 ac_cpp='$CXXCPP $CPPFLAGS'
49289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49294 /* end confdefs.h. */
49295 #include <math.h>
49296 #ifdef HAVE_IEEEFP_H
49297 #include <ieeefp.h>
49298 #endif
49301 main ()
49303 fabsf(0);
49305 return 0;
49307 _ACEOF
49308 if ac_fn_cxx_try_compile "$LINENO"; then :
49309 glibcxx_cv_func_fabsf_use=yes
49310 else
49311 glibcxx_cv_func_fabsf_use=no
49313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49314 ac_ext=c
49315 ac_cpp='$CPP $CPPFLAGS'
49316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49325 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49327 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49328 for ac_func in fabsf
49329 do :
49330 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49331 if test "x$ac_cv_func_fabsf" = xyes; then :
49332 cat >>confdefs.h <<_ACEOF
49333 #define HAVE_FABSF 1
49334 _ACEOF
49337 done
49339 else
49341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49342 $as_echo_n "checking for _fabsf declaration... " >&6; }
49343 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49344 if ${glibcxx_cv_func__fabsf_use+:} false; then :
49345 $as_echo_n "(cached) " >&6
49346 else
49349 ac_ext=cpp
49350 ac_cpp='$CXXCPP $CPPFLAGS'
49351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49356 /* end confdefs.h. */
49357 #include <math.h>
49358 #ifdef HAVE_IEEEFP_H
49359 #include <ieeefp.h>
49360 #endif
49363 main ()
49365 _fabsf(0);
49367 return 0;
49369 _ACEOF
49370 if ac_fn_cxx_try_compile "$LINENO"; then :
49371 glibcxx_cv_func__fabsf_use=yes
49372 else
49373 glibcxx_cv_func__fabsf_use=no
49375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49376 ac_ext=c
49377 ac_cpp='$CPP $CPPFLAGS'
49378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49387 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49389 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49390 for ac_func in _fabsf
49391 do :
49392 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49393 if test "x$ac_cv_func__fabsf" = xyes; then :
49394 cat >>confdefs.h <<_ACEOF
49395 #define HAVE__FABSF 1
49396 _ACEOF
49399 done
49408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49409 $as_echo_n "checking for fmodf declaration... " >&6; }
49410 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49411 if ${glibcxx_cv_func_fmodf_use+:} false; then :
49412 $as_echo_n "(cached) " >&6
49413 else
49416 ac_ext=cpp
49417 ac_cpp='$CXXCPP $CPPFLAGS'
49418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49423 /* end confdefs.h. */
49424 #include <math.h>
49426 main ()
49428 fmodf(0, 0);
49430 return 0;
49432 _ACEOF
49433 if ac_fn_cxx_try_compile "$LINENO"; then :
49434 glibcxx_cv_func_fmodf_use=yes
49435 else
49436 glibcxx_cv_func_fmodf_use=no
49438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49439 ac_ext=c
49440 ac_cpp='$CPP $CPPFLAGS'
49441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49450 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49452 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49453 for ac_func in fmodf
49454 do :
49455 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49456 if test "x$ac_cv_func_fmodf" = xyes; then :
49457 cat >>confdefs.h <<_ACEOF
49458 #define HAVE_FMODF 1
49459 _ACEOF
49462 done
49464 else
49466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49467 $as_echo_n "checking for _fmodf declaration... " >&6; }
49468 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49469 if ${glibcxx_cv_func__fmodf_use+:} false; then :
49470 $as_echo_n "(cached) " >&6
49471 else
49474 ac_ext=cpp
49475 ac_cpp='$CXXCPP $CPPFLAGS'
49476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49481 /* end confdefs.h. */
49482 #include <math.h>
49484 main ()
49486 _fmodf(0, 0);
49488 return 0;
49490 _ACEOF
49491 if ac_fn_cxx_try_compile "$LINENO"; then :
49492 glibcxx_cv_func__fmodf_use=yes
49493 else
49494 glibcxx_cv_func__fmodf_use=no
49496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49497 ac_ext=c
49498 ac_cpp='$CPP $CPPFLAGS'
49499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49508 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49510 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49511 for ac_func in _fmodf
49512 do :
49513 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49514 if test "x$ac_cv_func__fmodf" = xyes; then :
49515 cat >>confdefs.h <<_ACEOF
49516 #define HAVE__FMODF 1
49517 _ACEOF
49520 done
49529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49530 $as_echo_n "checking for frexpf declaration... " >&6; }
49531 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49532 if ${glibcxx_cv_func_frexpf_use+:} false; then :
49533 $as_echo_n "(cached) " >&6
49534 else
49537 ac_ext=cpp
49538 ac_cpp='$CXXCPP $CPPFLAGS'
49539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49544 /* end confdefs.h. */
49545 #include <math.h>
49547 main ()
49549 frexpf(0, 0);
49551 return 0;
49553 _ACEOF
49554 if ac_fn_cxx_try_compile "$LINENO"; then :
49555 glibcxx_cv_func_frexpf_use=yes
49556 else
49557 glibcxx_cv_func_frexpf_use=no
49559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49560 ac_ext=c
49561 ac_cpp='$CPP $CPPFLAGS'
49562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49571 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49573 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49574 for ac_func in frexpf
49575 do :
49576 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49577 if test "x$ac_cv_func_frexpf" = xyes; then :
49578 cat >>confdefs.h <<_ACEOF
49579 #define HAVE_FREXPF 1
49580 _ACEOF
49583 done
49585 else
49587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49588 $as_echo_n "checking for _frexpf declaration... " >&6; }
49589 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49590 if ${glibcxx_cv_func__frexpf_use+:} false; then :
49591 $as_echo_n "(cached) " >&6
49592 else
49595 ac_ext=cpp
49596 ac_cpp='$CXXCPP $CPPFLAGS'
49597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49602 /* end confdefs.h. */
49603 #include <math.h>
49605 main ()
49607 _frexpf(0, 0);
49609 return 0;
49611 _ACEOF
49612 if ac_fn_cxx_try_compile "$LINENO"; then :
49613 glibcxx_cv_func__frexpf_use=yes
49614 else
49615 glibcxx_cv_func__frexpf_use=no
49617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49618 ac_ext=c
49619 ac_cpp='$CPP $CPPFLAGS'
49620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49629 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49631 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49632 for ac_func in _frexpf
49633 do :
49634 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49635 if test "x$ac_cv_func__frexpf" = xyes; then :
49636 cat >>confdefs.h <<_ACEOF
49637 #define HAVE__FREXPF 1
49638 _ACEOF
49641 done
49650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49651 $as_echo_n "checking for hypotf declaration... " >&6; }
49652 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49653 if ${glibcxx_cv_func_hypotf_use+:} false; then :
49654 $as_echo_n "(cached) " >&6
49655 else
49658 ac_ext=cpp
49659 ac_cpp='$CXXCPP $CPPFLAGS'
49660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49665 /* end confdefs.h. */
49666 #include <math.h>
49668 main ()
49670 hypotf(0, 0);
49672 return 0;
49674 _ACEOF
49675 if ac_fn_cxx_try_compile "$LINENO"; then :
49676 glibcxx_cv_func_hypotf_use=yes
49677 else
49678 glibcxx_cv_func_hypotf_use=no
49680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49681 ac_ext=c
49682 ac_cpp='$CPP $CPPFLAGS'
49683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49692 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49694 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49695 for ac_func in hypotf
49696 do :
49697 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49698 if test "x$ac_cv_func_hypotf" = xyes; then :
49699 cat >>confdefs.h <<_ACEOF
49700 #define HAVE_HYPOTF 1
49701 _ACEOF
49704 done
49706 else
49708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49709 $as_echo_n "checking for _hypotf declaration... " >&6; }
49710 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49711 if ${glibcxx_cv_func__hypotf_use+:} false; then :
49712 $as_echo_n "(cached) " >&6
49713 else
49716 ac_ext=cpp
49717 ac_cpp='$CXXCPP $CPPFLAGS'
49718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49723 /* end confdefs.h. */
49724 #include <math.h>
49726 main ()
49728 _hypotf(0, 0);
49730 return 0;
49732 _ACEOF
49733 if ac_fn_cxx_try_compile "$LINENO"; then :
49734 glibcxx_cv_func__hypotf_use=yes
49735 else
49736 glibcxx_cv_func__hypotf_use=no
49738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49739 ac_ext=c
49740 ac_cpp='$CPP $CPPFLAGS'
49741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49750 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49752 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49753 for ac_func in _hypotf
49754 do :
49755 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49756 if test "x$ac_cv_func__hypotf" = xyes; then :
49757 cat >>confdefs.h <<_ACEOF
49758 #define HAVE__HYPOTF 1
49759 _ACEOF
49762 done
49771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49772 $as_echo_n "checking for ldexpf declaration... " >&6; }
49773 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49774 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
49775 $as_echo_n "(cached) " >&6
49776 else
49779 ac_ext=cpp
49780 ac_cpp='$CXXCPP $CPPFLAGS'
49781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49786 /* end confdefs.h. */
49787 #include <math.h>
49789 main ()
49791 ldexpf(0, 0);
49793 return 0;
49795 _ACEOF
49796 if ac_fn_cxx_try_compile "$LINENO"; then :
49797 glibcxx_cv_func_ldexpf_use=yes
49798 else
49799 glibcxx_cv_func_ldexpf_use=no
49801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49802 ac_ext=c
49803 ac_cpp='$CPP $CPPFLAGS'
49804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49813 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49815 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49816 for ac_func in ldexpf
49817 do :
49818 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49819 if test "x$ac_cv_func_ldexpf" = xyes; then :
49820 cat >>confdefs.h <<_ACEOF
49821 #define HAVE_LDEXPF 1
49822 _ACEOF
49825 done
49827 else
49829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49830 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49831 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49832 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
49833 $as_echo_n "(cached) " >&6
49834 else
49837 ac_ext=cpp
49838 ac_cpp='$CXXCPP $CPPFLAGS'
49839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49844 /* end confdefs.h. */
49845 #include <math.h>
49847 main ()
49849 _ldexpf(0, 0);
49851 return 0;
49853 _ACEOF
49854 if ac_fn_cxx_try_compile "$LINENO"; then :
49855 glibcxx_cv_func__ldexpf_use=yes
49856 else
49857 glibcxx_cv_func__ldexpf_use=no
49859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49860 ac_ext=c
49861 ac_cpp='$CPP $CPPFLAGS'
49862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49871 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49873 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49874 for ac_func in _ldexpf
49875 do :
49876 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49877 if test "x$ac_cv_func__ldexpf" = xyes; then :
49878 cat >>confdefs.h <<_ACEOF
49879 #define HAVE__LDEXPF 1
49880 _ACEOF
49883 done
49892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49893 $as_echo_n "checking for logf declaration... " >&6; }
49894 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49895 if ${glibcxx_cv_func_logf_use+:} false; then :
49896 $as_echo_n "(cached) " >&6
49897 else
49900 ac_ext=cpp
49901 ac_cpp='$CXXCPP $CPPFLAGS'
49902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49907 /* end confdefs.h. */
49908 #include <math.h>
49909 #ifdef HAVE_IEEEFP_H
49910 #include <ieeefp.h>
49911 #endif
49914 main ()
49916 logf(0);
49918 return 0;
49920 _ACEOF
49921 if ac_fn_cxx_try_compile "$LINENO"; then :
49922 glibcxx_cv_func_logf_use=yes
49923 else
49924 glibcxx_cv_func_logf_use=no
49926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49927 ac_ext=c
49928 ac_cpp='$CPP $CPPFLAGS'
49929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49938 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49940 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49941 for ac_func in logf
49942 do :
49943 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49944 if test "x$ac_cv_func_logf" = xyes; then :
49945 cat >>confdefs.h <<_ACEOF
49946 #define HAVE_LOGF 1
49947 _ACEOF
49950 done
49952 else
49954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49955 $as_echo_n "checking for _logf declaration... " >&6; }
49956 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49957 if ${glibcxx_cv_func__logf_use+:} false; then :
49958 $as_echo_n "(cached) " >&6
49959 else
49962 ac_ext=cpp
49963 ac_cpp='$CXXCPP $CPPFLAGS'
49964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49969 /* end confdefs.h. */
49970 #include <math.h>
49971 #ifdef HAVE_IEEEFP_H
49972 #include <ieeefp.h>
49973 #endif
49976 main ()
49978 _logf(0);
49980 return 0;
49982 _ACEOF
49983 if ac_fn_cxx_try_compile "$LINENO"; then :
49984 glibcxx_cv_func__logf_use=yes
49985 else
49986 glibcxx_cv_func__logf_use=no
49988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49989 ac_ext=c
49990 ac_cpp='$CPP $CPPFLAGS'
49991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
50000 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
50002 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50003 for ac_func in _logf
50004 do :
50005 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
50006 if test "x$ac_cv_func__logf" = xyes; then :
50007 cat >>confdefs.h <<_ACEOF
50008 #define HAVE__LOGF 1
50009 _ACEOF
50012 done
50021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
50022 $as_echo_n "checking for log10f declaration... " >&6; }
50023 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50024 if ${glibcxx_cv_func_log10f_use+:} false; then :
50025 $as_echo_n "(cached) " >&6
50026 else
50029 ac_ext=cpp
50030 ac_cpp='$CXXCPP $CPPFLAGS'
50031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50036 /* end confdefs.h. */
50037 #include <math.h>
50038 #ifdef HAVE_IEEEFP_H
50039 #include <ieeefp.h>
50040 #endif
50043 main ()
50045 log10f(0);
50047 return 0;
50049 _ACEOF
50050 if ac_fn_cxx_try_compile "$LINENO"; then :
50051 glibcxx_cv_func_log10f_use=yes
50052 else
50053 glibcxx_cv_func_log10f_use=no
50055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50056 ac_ext=c
50057 ac_cpp='$CPP $CPPFLAGS'
50058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
50067 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
50069 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50070 for ac_func in log10f
50071 do :
50072 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
50073 if test "x$ac_cv_func_log10f" = xyes; then :
50074 cat >>confdefs.h <<_ACEOF
50075 #define HAVE_LOG10F 1
50076 _ACEOF
50079 done
50081 else
50083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
50084 $as_echo_n "checking for _log10f declaration... " >&6; }
50085 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50086 if ${glibcxx_cv_func__log10f_use+:} false; then :
50087 $as_echo_n "(cached) " >&6
50088 else
50091 ac_ext=cpp
50092 ac_cpp='$CXXCPP $CPPFLAGS'
50093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50098 /* end confdefs.h. */
50099 #include <math.h>
50100 #ifdef HAVE_IEEEFP_H
50101 #include <ieeefp.h>
50102 #endif
50105 main ()
50107 _log10f(0);
50109 return 0;
50111 _ACEOF
50112 if ac_fn_cxx_try_compile "$LINENO"; then :
50113 glibcxx_cv_func__log10f_use=yes
50114 else
50115 glibcxx_cv_func__log10f_use=no
50117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50118 ac_ext=c
50119 ac_cpp='$CPP $CPPFLAGS'
50120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
50129 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
50131 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50132 for ac_func in _log10f
50133 do :
50134 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
50135 if test "x$ac_cv_func__log10f" = xyes; then :
50136 cat >>confdefs.h <<_ACEOF
50137 #define HAVE__LOG10F 1
50138 _ACEOF
50141 done
50150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
50151 $as_echo_n "checking for modff declaration... " >&6; }
50152 if test x${glibcxx_cv_func_modff_use+set} != xset; then
50153 if ${glibcxx_cv_func_modff_use+:} false; then :
50154 $as_echo_n "(cached) " >&6
50155 else
50158 ac_ext=cpp
50159 ac_cpp='$CXXCPP $CPPFLAGS'
50160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50165 /* end confdefs.h. */
50166 #include <math.h>
50168 main ()
50170 modff(0, 0);
50172 return 0;
50174 _ACEOF
50175 if ac_fn_cxx_try_compile "$LINENO"; then :
50176 glibcxx_cv_func_modff_use=yes
50177 else
50178 glibcxx_cv_func_modff_use=no
50180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50181 ac_ext=c
50182 ac_cpp='$CPP $CPPFLAGS'
50183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
50192 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
50194 if test x$glibcxx_cv_func_modff_use = x"yes"; then
50195 for ac_func in modff
50196 do :
50197 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
50198 if test "x$ac_cv_func_modff" = xyes; then :
50199 cat >>confdefs.h <<_ACEOF
50200 #define HAVE_MODFF 1
50201 _ACEOF
50204 done
50206 else
50208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
50209 $as_echo_n "checking for _modff declaration... " >&6; }
50210 if test x${glibcxx_cv_func__modff_use+set} != xset; then
50211 if ${glibcxx_cv_func__modff_use+:} false; then :
50212 $as_echo_n "(cached) " >&6
50213 else
50216 ac_ext=cpp
50217 ac_cpp='$CXXCPP $CPPFLAGS'
50218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50223 /* end confdefs.h. */
50224 #include <math.h>
50226 main ()
50228 _modff(0, 0);
50230 return 0;
50232 _ACEOF
50233 if ac_fn_cxx_try_compile "$LINENO"; then :
50234 glibcxx_cv_func__modff_use=yes
50235 else
50236 glibcxx_cv_func__modff_use=no
50238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50239 ac_ext=c
50240 ac_cpp='$CPP $CPPFLAGS'
50241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
50250 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
50252 if test x$glibcxx_cv_func__modff_use = x"yes"; then
50253 for ac_func in _modff
50254 do :
50255 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
50256 if test "x$ac_cv_func__modff" = xyes; then :
50257 cat >>confdefs.h <<_ACEOF
50258 #define HAVE__MODFF 1
50259 _ACEOF
50262 done
50271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50272 $as_echo_n "checking for modf declaration... " >&6; }
50273 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50274 if ${glibcxx_cv_func_modf_use+:} false; then :
50275 $as_echo_n "(cached) " >&6
50276 else
50279 ac_ext=cpp
50280 ac_cpp='$CXXCPP $CPPFLAGS'
50281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50286 /* end confdefs.h. */
50287 #include <math.h>
50289 main ()
50291 modf(0, 0);
50293 return 0;
50295 _ACEOF
50296 if ac_fn_cxx_try_compile "$LINENO"; then :
50297 glibcxx_cv_func_modf_use=yes
50298 else
50299 glibcxx_cv_func_modf_use=no
50301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50302 ac_ext=c
50303 ac_cpp='$CPP $CPPFLAGS'
50304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50313 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50315 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50316 for ac_func in modf
50317 do :
50318 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50319 if test "x$ac_cv_func_modf" = xyes; then :
50320 cat >>confdefs.h <<_ACEOF
50321 #define HAVE_MODF 1
50322 _ACEOF
50325 done
50327 else
50329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50330 $as_echo_n "checking for _modf declaration... " >&6; }
50331 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50332 if ${glibcxx_cv_func__modf_use+:} false; then :
50333 $as_echo_n "(cached) " >&6
50334 else
50337 ac_ext=cpp
50338 ac_cpp='$CXXCPP $CPPFLAGS'
50339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50344 /* end confdefs.h. */
50345 #include <math.h>
50347 main ()
50349 _modf(0, 0);
50351 return 0;
50353 _ACEOF
50354 if ac_fn_cxx_try_compile "$LINENO"; then :
50355 glibcxx_cv_func__modf_use=yes
50356 else
50357 glibcxx_cv_func__modf_use=no
50359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50360 ac_ext=c
50361 ac_cpp='$CPP $CPPFLAGS'
50362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50371 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50373 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50374 for ac_func in _modf
50375 do :
50376 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50377 if test "x$ac_cv_func__modf" = xyes; then :
50378 cat >>confdefs.h <<_ACEOF
50379 #define HAVE__MODF 1
50380 _ACEOF
50383 done
50392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50393 $as_echo_n "checking for powf declaration... " >&6; }
50394 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50395 if ${glibcxx_cv_func_powf_use+:} false; then :
50396 $as_echo_n "(cached) " >&6
50397 else
50400 ac_ext=cpp
50401 ac_cpp='$CXXCPP $CPPFLAGS'
50402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50407 /* end confdefs.h. */
50408 #include <math.h>
50410 main ()
50412 powf(0, 0);
50414 return 0;
50416 _ACEOF
50417 if ac_fn_cxx_try_compile "$LINENO"; then :
50418 glibcxx_cv_func_powf_use=yes
50419 else
50420 glibcxx_cv_func_powf_use=no
50422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50423 ac_ext=c
50424 ac_cpp='$CPP $CPPFLAGS'
50425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50434 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50436 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50437 for ac_func in powf
50438 do :
50439 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50440 if test "x$ac_cv_func_powf" = xyes; then :
50441 cat >>confdefs.h <<_ACEOF
50442 #define HAVE_POWF 1
50443 _ACEOF
50446 done
50448 else
50450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50451 $as_echo_n "checking for _powf declaration... " >&6; }
50452 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50453 if ${glibcxx_cv_func__powf_use+:} false; then :
50454 $as_echo_n "(cached) " >&6
50455 else
50458 ac_ext=cpp
50459 ac_cpp='$CXXCPP $CPPFLAGS'
50460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50465 /* end confdefs.h. */
50466 #include <math.h>
50468 main ()
50470 _powf(0, 0);
50472 return 0;
50474 _ACEOF
50475 if ac_fn_cxx_try_compile "$LINENO"; then :
50476 glibcxx_cv_func__powf_use=yes
50477 else
50478 glibcxx_cv_func__powf_use=no
50480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50481 ac_ext=c
50482 ac_cpp='$CPP $CPPFLAGS'
50483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50492 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50494 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50495 for ac_func in _powf
50496 do :
50497 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50498 if test "x$ac_cv_func__powf" = xyes; then :
50499 cat >>confdefs.h <<_ACEOF
50500 #define HAVE__POWF 1
50501 _ACEOF
50504 done
50513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50514 $as_echo_n "checking for sqrtf declaration... " >&6; }
50515 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50516 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
50517 $as_echo_n "(cached) " >&6
50518 else
50521 ac_ext=cpp
50522 ac_cpp='$CXXCPP $CPPFLAGS'
50523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50528 /* end confdefs.h. */
50529 #include <math.h>
50530 #ifdef HAVE_IEEEFP_H
50531 #include <ieeefp.h>
50532 #endif
50535 main ()
50537 sqrtf(0);
50539 return 0;
50541 _ACEOF
50542 if ac_fn_cxx_try_compile "$LINENO"; then :
50543 glibcxx_cv_func_sqrtf_use=yes
50544 else
50545 glibcxx_cv_func_sqrtf_use=no
50547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50548 ac_ext=c
50549 ac_cpp='$CPP $CPPFLAGS'
50550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50559 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50561 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50562 for ac_func in sqrtf
50563 do :
50564 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50565 if test "x$ac_cv_func_sqrtf" = xyes; then :
50566 cat >>confdefs.h <<_ACEOF
50567 #define HAVE_SQRTF 1
50568 _ACEOF
50571 done
50573 else
50575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50576 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50577 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50578 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
50579 $as_echo_n "(cached) " >&6
50580 else
50583 ac_ext=cpp
50584 ac_cpp='$CXXCPP $CPPFLAGS'
50585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50590 /* end confdefs.h. */
50591 #include <math.h>
50592 #ifdef HAVE_IEEEFP_H
50593 #include <ieeefp.h>
50594 #endif
50597 main ()
50599 _sqrtf(0);
50601 return 0;
50603 _ACEOF
50604 if ac_fn_cxx_try_compile "$LINENO"; then :
50605 glibcxx_cv_func__sqrtf_use=yes
50606 else
50607 glibcxx_cv_func__sqrtf_use=no
50609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50610 ac_ext=c
50611 ac_cpp='$CPP $CPPFLAGS'
50612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50621 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50623 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50624 for ac_func in _sqrtf
50625 do :
50626 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50627 if test "x$ac_cv_func__sqrtf" = xyes; then :
50628 cat >>confdefs.h <<_ACEOF
50629 #define HAVE__SQRTF 1
50630 _ACEOF
50633 done
50642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50643 $as_echo_n "checking for sincosf declaration... " >&6; }
50644 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50645 if ${glibcxx_cv_func_sincosf_use+:} false; then :
50646 $as_echo_n "(cached) " >&6
50647 else
50650 ac_ext=cpp
50651 ac_cpp='$CXXCPP $CPPFLAGS'
50652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50657 /* end confdefs.h. */
50658 #include <math.h>
50660 main ()
50662 sincosf(0, 0, 0);
50664 return 0;
50666 _ACEOF
50667 if ac_fn_cxx_try_compile "$LINENO"; then :
50668 glibcxx_cv_func_sincosf_use=yes
50669 else
50670 glibcxx_cv_func_sincosf_use=no
50672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50673 ac_ext=c
50674 ac_cpp='$CPP $CPPFLAGS'
50675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50684 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50686 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50687 for ac_func in sincosf
50688 do :
50689 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50690 if test "x$ac_cv_func_sincosf" = xyes; then :
50691 cat >>confdefs.h <<_ACEOF
50692 #define HAVE_SINCOSF 1
50693 _ACEOF
50696 done
50698 else
50700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50701 $as_echo_n "checking for _sincosf declaration... " >&6; }
50702 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50703 if ${glibcxx_cv_func__sincosf_use+:} false; then :
50704 $as_echo_n "(cached) " >&6
50705 else
50708 ac_ext=cpp
50709 ac_cpp='$CXXCPP $CPPFLAGS'
50710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50715 /* end confdefs.h. */
50716 #include <math.h>
50718 main ()
50720 _sincosf(0, 0, 0);
50722 return 0;
50724 _ACEOF
50725 if ac_fn_cxx_try_compile "$LINENO"; then :
50726 glibcxx_cv_func__sincosf_use=yes
50727 else
50728 glibcxx_cv_func__sincosf_use=no
50730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50731 ac_ext=c
50732 ac_cpp='$CPP $CPPFLAGS'
50733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50742 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50744 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50745 for ac_func in _sincosf
50746 do :
50747 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50748 if test "x$ac_cv_func__sincosf" = xyes; then :
50749 cat >>confdefs.h <<_ACEOF
50750 #define HAVE__SINCOSF 1
50751 _ACEOF
50754 done
50763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50764 $as_echo_n "checking for finitef declaration... " >&6; }
50765 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50766 if ${glibcxx_cv_func_finitef_use+:} false; then :
50767 $as_echo_n "(cached) " >&6
50768 else
50771 ac_ext=cpp
50772 ac_cpp='$CXXCPP $CPPFLAGS'
50773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50778 /* end confdefs.h. */
50779 #include <math.h>
50780 #ifdef HAVE_IEEEFP_H
50781 #include <ieeefp.h>
50782 #endif
50785 main ()
50787 finitef(0);
50789 return 0;
50791 _ACEOF
50792 if ac_fn_cxx_try_compile "$LINENO"; then :
50793 glibcxx_cv_func_finitef_use=yes
50794 else
50795 glibcxx_cv_func_finitef_use=no
50797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50798 ac_ext=c
50799 ac_cpp='$CPP $CPPFLAGS'
50800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50809 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50811 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50812 for ac_func in finitef
50813 do :
50814 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50815 if test "x$ac_cv_func_finitef" = xyes; then :
50816 cat >>confdefs.h <<_ACEOF
50817 #define HAVE_FINITEF 1
50818 _ACEOF
50821 done
50823 else
50825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50826 $as_echo_n "checking for _finitef declaration... " >&6; }
50827 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50828 if ${glibcxx_cv_func__finitef_use+:} false; then :
50829 $as_echo_n "(cached) " >&6
50830 else
50833 ac_ext=cpp
50834 ac_cpp='$CXXCPP $CPPFLAGS'
50835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50840 /* end confdefs.h. */
50841 #include <math.h>
50842 #ifdef HAVE_IEEEFP_H
50843 #include <ieeefp.h>
50844 #endif
50847 main ()
50849 _finitef(0);
50851 return 0;
50853 _ACEOF
50854 if ac_fn_cxx_try_compile "$LINENO"; then :
50855 glibcxx_cv_func__finitef_use=yes
50856 else
50857 glibcxx_cv_func__finitef_use=no
50859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50860 ac_ext=c
50861 ac_cpp='$CPP $CPPFLAGS'
50862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50871 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50873 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50874 for ac_func in _finitef
50875 do :
50876 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50877 if test "x$ac_cv_func__finitef" = xyes; then :
50878 cat >>confdefs.h <<_ACEOF
50879 #define HAVE__FINITEF 1
50880 _ACEOF
50883 done
50892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50893 $as_echo_n "checking for long double trig functions... " >&6; }
50894 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
50895 $as_echo_n "(cached) " >&6
50896 else
50899 ac_ext=cpp
50900 ac_cpp='$CXXCPP $CPPFLAGS'
50901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50906 /* end confdefs.h. */
50907 #include <math.h>
50909 main ()
50911 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50913 return 0;
50915 _ACEOF
50916 if ac_fn_cxx_try_compile "$LINENO"; then :
50917 glibcxx_cv_func_long_double_trig_use=yes
50918 else
50919 glibcxx_cv_func_long_double_trig_use=no
50921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50922 ac_ext=c
50923 ac_cpp='$CPP $CPPFLAGS'
50924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50931 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50932 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50933 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50934 do :
50935 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50936 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50937 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
50938 cat >>confdefs.h <<_ACEOF
50939 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50940 _ACEOF
50943 done
50945 else
50946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50947 $as_echo_n "checking for _long double trig functions... " >&6; }
50948 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
50949 $as_echo_n "(cached) " >&6
50950 else
50953 ac_ext=cpp
50954 ac_cpp='$CXXCPP $CPPFLAGS'
50955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50960 /* end confdefs.h. */
50961 #include <math.h>
50963 main ()
50965 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50967 return 0;
50969 _ACEOF
50970 if ac_fn_cxx_try_compile "$LINENO"; then :
50971 glibcxx_cv_func__long_double_trig_use=yes
50972 else
50973 glibcxx_cv_func__long_double_trig_use=no
50975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50976 ac_ext=c
50977 ac_cpp='$CPP $CPPFLAGS'
50978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50985 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50986 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50987 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50988 do :
50989 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50990 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50991 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
50992 cat >>confdefs.h <<_ACEOF
50993 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50994 _ACEOF
50997 done
51006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
51007 $as_echo_n "checking for long double round functions... " >&6; }
51008 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
51009 $as_echo_n "(cached) " >&6
51010 else
51013 ac_ext=cpp
51014 ac_cpp='$CXXCPP $CPPFLAGS'
51015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51020 /* end confdefs.h. */
51021 #include <math.h>
51023 main ()
51025 ceill (0); floorl (0);
51027 return 0;
51029 _ACEOF
51030 if ac_fn_cxx_try_compile "$LINENO"; then :
51031 glibcxx_cv_func_long_double_round_use=yes
51032 else
51033 glibcxx_cv_func_long_double_round_use=no
51035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51036 ac_ext=c
51037 ac_cpp='$CPP $CPPFLAGS'
51038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
51045 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
51046 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
51047 for ac_func in ceill floorl
51048 do :
51049 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51050 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51051 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51052 cat >>confdefs.h <<_ACEOF
51053 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51054 _ACEOF
51057 done
51059 else
51060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
51061 $as_echo_n "checking for _long double round functions... " >&6; }
51062 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
51063 $as_echo_n "(cached) " >&6
51064 else
51067 ac_ext=cpp
51068 ac_cpp='$CXXCPP $CPPFLAGS'
51069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51074 /* end confdefs.h. */
51075 #include <math.h>
51077 main ()
51079 _ceill (0); _floorl (0);
51081 return 0;
51083 _ACEOF
51084 if ac_fn_cxx_try_compile "$LINENO"; then :
51085 glibcxx_cv_func__long_double_round_use=yes
51086 else
51087 glibcxx_cv_func__long_double_round_use=no
51089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51090 ac_ext=c
51091 ac_cpp='$CPP $CPPFLAGS'
51092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
51099 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
51100 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
51101 for ac_func in _ceill _floorl
51102 do :
51103 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51104 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51105 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51106 cat >>confdefs.h <<_ACEOF
51107 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51108 _ACEOF
51111 done
51121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
51122 $as_echo_n "checking for isnanl declaration... " >&6; }
51123 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
51124 if ${glibcxx_cv_func_isnanl_use+:} false; then :
51125 $as_echo_n "(cached) " >&6
51126 else
51129 ac_ext=cpp
51130 ac_cpp='$CXXCPP $CPPFLAGS'
51131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51136 /* end confdefs.h. */
51137 #include <math.h>
51138 #ifdef HAVE_IEEEFP_H
51139 #include <ieeefp.h>
51140 #endif
51143 main ()
51145 isnanl(0);
51147 return 0;
51149 _ACEOF
51150 if ac_fn_cxx_try_compile "$LINENO"; then :
51151 glibcxx_cv_func_isnanl_use=yes
51152 else
51153 glibcxx_cv_func_isnanl_use=no
51155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51156 ac_ext=c
51157 ac_cpp='$CPP $CPPFLAGS'
51158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
51167 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
51169 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
51170 for ac_func in isnanl
51171 do :
51172 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
51173 if test "x$ac_cv_func_isnanl" = xyes; then :
51174 cat >>confdefs.h <<_ACEOF
51175 #define HAVE_ISNANL 1
51176 _ACEOF
51179 done
51181 else
51183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
51184 $as_echo_n "checking for _isnanl declaration... " >&6; }
51185 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
51186 if ${glibcxx_cv_func__isnanl_use+:} false; then :
51187 $as_echo_n "(cached) " >&6
51188 else
51191 ac_ext=cpp
51192 ac_cpp='$CXXCPP $CPPFLAGS'
51193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51198 /* end confdefs.h. */
51199 #include <math.h>
51200 #ifdef HAVE_IEEEFP_H
51201 #include <ieeefp.h>
51202 #endif
51205 main ()
51207 _isnanl(0);
51209 return 0;
51211 _ACEOF
51212 if ac_fn_cxx_try_compile "$LINENO"; then :
51213 glibcxx_cv_func__isnanl_use=yes
51214 else
51215 glibcxx_cv_func__isnanl_use=no
51217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51218 ac_ext=c
51219 ac_cpp='$CPP $CPPFLAGS'
51220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
51229 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
51231 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
51232 for ac_func in _isnanl
51233 do :
51234 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
51235 if test "x$ac_cv_func__isnanl" = xyes; then :
51236 cat >>confdefs.h <<_ACEOF
51237 #define HAVE__ISNANL 1
51238 _ACEOF
51241 done
51250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
51251 $as_echo_n "checking for isinfl declaration... " >&6; }
51252 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
51253 if ${glibcxx_cv_func_isinfl_use+:} false; then :
51254 $as_echo_n "(cached) " >&6
51255 else
51258 ac_ext=cpp
51259 ac_cpp='$CXXCPP $CPPFLAGS'
51260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51265 /* end confdefs.h. */
51266 #include <math.h>
51267 #ifdef HAVE_IEEEFP_H
51268 #include <ieeefp.h>
51269 #endif
51272 main ()
51274 isinfl(0);
51276 return 0;
51278 _ACEOF
51279 if ac_fn_cxx_try_compile "$LINENO"; then :
51280 glibcxx_cv_func_isinfl_use=yes
51281 else
51282 glibcxx_cv_func_isinfl_use=no
51284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51285 ac_ext=c
51286 ac_cpp='$CPP $CPPFLAGS'
51287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51296 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51298 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51299 for ac_func in isinfl
51300 do :
51301 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51302 if test "x$ac_cv_func_isinfl" = xyes; then :
51303 cat >>confdefs.h <<_ACEOF
51304 #define HAVE_ISINFL 1
51305 _ACEOF
51308 done
51310 else
51312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51313 $as_echo_n "checking for _isinfl declaration... " >&6; }
51314 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51315 if ${glibcxx_cv_func__isinfl_use+:} false; then :
51316 $as_echo_n "(cached) " >&6
51317 else
51320 ac_ext=cpp
51321 ac_cpp='$CXXCPP $CPPFLAGS'
51322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51327 /* end confdefs.h. */
51328 #include <math.h>
51329 #ifdef HAVE_IEEEFP_H
51330 #include <ieeefp.h>
51331 #endif
51334 main ()
51336 _isinfl(0);
51338 return 0;
51340 _ACEOF
51341 if ac_fn_cxx_try_compile "$LINENO"; then :
51342 glibcxx_cv_func__isinfl_use=yes
51343 else
51344 glibcxx_cv_func__isinfl_use=no
51346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51347 ac_ext=c
51348 ac_cpp='$CPP $CPPFLAGS'
51349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51358 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51360 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51361 for ac_func in _isinfl
51362 do :
51363 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51364 if test "x$ac_cv_func__isinfl" = xyes; then :
51365 cat >>confdefs.h <<_ACEOF
51366 #define HAVE__ISINFL 1
51367 _ACEOF
51370 done
51379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51380 $as_echo_n "checking for atan2l declaration... " >&6; }
51381 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51382 if ${glibcxx_cv_func_atan2l_use+:} false; then :
51383 $as_echo_n "(cached) " >&6
51384 else
51387 ac_ext=cpp
51388 ac_cpp='$CXXCPP $CPPFLAGS'
51389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51394 /* end confdefs.h. */
51395 #include <math.h>
51397 main ()
51399 atan2l(0, 0);
51401 return 0;
51403 _ACEOF
51404 if ac_fn_cxx_try_compile "$LINENO"; then :
51405 glibcxx_cv_func_atan2l_use=yes
51406 else
51407 glibcxx_cv_func_atan2l_use=no
51409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51410 ac_ext=c
51411 ac_cpp='$CPP $CPPFLAGS'
51412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51421 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51423 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51424 for ac_func in atan2l
51425 do :
51426 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51427 if test "x$ac_cv_func_atan2l" = xyes; then :
51428 cat >>confdefs.h <<_ACEOF
51429 #define HAVE_ATAN2L 1
51430 _ACEOF
51433 done
51435 else
51437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51438 $as_echo_n "checking for _atan2l declaration... " >&6; }
51439 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51440 if ${glibcxx_cv_func__atan2l_use+:} false; then :
51441 $as_echo_n "(cached) " >&6
51442 else
51445 ac_ext=cpp
51446 ac_cpp='$CXXCPP $CPPFLAGS'
51447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51452 /* end confdefs.h. */
51453 #include <math.h>
51455 main ()
51457 _atan2l(0, 0);
51459 return 0;
51461 _ACEOF
51462 if ac_fn_cxx_try_compile "$LINENO"; then :
51463 glibcxx_cv_func__atan2l_use=yes
51464 else
51465 glibcxx_cv_func__atan2l_use=no
51467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51468 ac_ext=c
51469 ac_cpp='$CPP $CPPFLAGS'
51470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51479 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51481 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51482 for ac_func in _atan2l
51483 do :
51484 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51485 if test "x$ac_cv_func__atan2l" = xyes; then :
51486 cat >>confdefs.h <<_ACEOF
51487 #define HAVE__ATAN2L 1
51488 _ACEOF
51491 done
51500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51501 $as_echo_n "checking for expl declaration... " >&6; }
51502 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51503 if ${glibcxx_cv_func_expl_use+:} false; then :
51504 $as_echo_n "(cached) " >&6
51505 else
51508 ac_ext=cpp
51509 ac_cpp='$CXXCPP $CPPFLAGS'
51510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51515 /* end confdefs.h. */
51516 #include <math.h>
51517 #ifdef HAVE_IEEEFP_H
51518 #include <ieeefp.h>
51519 #endif
51522 main ()
51524 expl(0);
51526 return 0;
51528 _ACEOF
51529 if ac_fn_cxx_try_compile "$LINENO"; then :
51530 glibcxx_cv_func_expl_use=yes
51531 else
51532 glibcxx_cv_func_expl_use=no
51534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51535 ac_ext=c
51536 ac_cpp='$CPP $CPPFLAGS'
51537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51546 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51548 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51549 for ac_func in expl
51550 do :
51551 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51552 if test "x$ac_cv_func_expl" = xyes; then :
51553 cat >>confdefs.h <<_ACEOF
51554 #define HAVE_EXPL 1
51555 _ACEOF
51558 done
51560 else
51562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51563 $as_echo_n "checking for _expl declaration... " >&6; }
51564 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51565 if ${glibcxx_cv_func__expl_use+:} false; then :
51566 $as_echo_n "(cached) " >&6
51567 else
51570 ac_ext=cpp
51571 ac_cpp='$CXXCPP $CPPFLAGS'
51572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51577 /* end confdefs.h. */
51578 #include <math.h>
51579 #ifdef HAVE_IEEEFP_H
51580 #include <ieeefp.h>
51581 #endif
51584 main ()
51586 _expl(0);
51588 return 0;
51590 _ACEOF
51591 if ac_fn_cxx_try_compile "$LINENO"; then :
51592 glibcxx_cv_func__expl_use=yes
51593 else
51594 glibcxx_cv_func__expl_use=no
51596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51597 ac_ext=c
51598 ac_cpp='$CPP $CPPFLAGS'
51599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51608 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51610 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51611 for ac_func in _expl
51612 do :
51613 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51614 if test "x$ac_cv_func__expl" = xyes; then :
51615 cat >>confdefs.h <<_ACEOF
51616 #define HAVE__EXPL 1
51617 _ACEOF
51620 done
51629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51630 $as_echo_n "checking for fabsl declaration... " >&6; }
51631 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51632 if ${glibcxx_cv_func_fabsl_use+:} false; then :
51633 $as_echo_n "(cached) " >&6
51634 else
51637 ac_ext=cpp
51638 ac_cpp='$CXXCPP $CPPFLAGS'
51639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51644 /* end confdefs.h. */
51645 #include <math.h>
51646 #ifdef HAVE_IEEEFP_H
51647 #include <ieeefp.h>
51648 #endif
51651 main ()
51653 fabsl(0);
51655 return 0;
51657 _ACEOF
51658 if ac_fn_cxx_try_compile "$LINENO"; then :
51659 glibcxx_cv_func_fabsl_use=yes
51660 else
51661 glibcxx_cv_func_fabsl_use=no
51663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51664 ac_ext=c
51665 ac_cpp='$CPP $CPPFLAGS'
51666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51675 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51677 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51678 for ac_func in fabsl
51679 do :
51680 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51681 if test "x$ac_cv_func_fabsl" = xyes; then :
51682 cat >>confdefs.h <<_ACEOF
51683 #define HAVE_FABSL 1
51684 _ACEOF
51687 done
51689 else
51691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51692 $as_echo_n "checking for _fabsl declaration... " >&6; }
51693 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51694 if ${glibcxx_cv_func__fabsl_use+:} false; then :
51695 $as_echo_n "(cached) " >&6
51696 else
51699 ac_ext=cpp
51700 ac_cpp='$CXXCPP $CPPFLAGS'
51701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51706 /* end confdefs.h. */
51707 #include <math.h>
51708 #ifdef HAVE_IEEEFP_H
51709 #include <ieeefp.h>
51710 #endif
51713 main ()
51715 _fabsl(0);
51717 return 0;
51719 _ACEOF
51720 if ac_fn_cxx_try_compile "$LINENO"; then :
51721 glibcxx_cv_func__fabsl_use=yes
51722 else
51723 glibcxx_cv_func__fabsl_use=no
51725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51726 ac_ext=c
51727 ac_cpp='$CPP $CPPFLAGS'
51728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51737 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51739 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51740 for ac_func in _fabsl
51741 do :
51742 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51743 if test "x$ac_cv_func__fabsl" = xyes; then :
51744 cat >>confdefs.h <<_ACEOF
51745 #define HAVE__FABSL 1
51746 _ACEOF
51749 done
51758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51759 $as_echo_n "checking for fmodl declaration... " >&6; }
51760 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51761 if ${glibcxx_cv_func_fmodl_use+:} false; then :
51762 $as_echo_n "(cached) " >&6
51763 else
51766 ac_ext=cpp
51767 ac_cpp='$CXXCPP $CPPFLAGS'
51768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51773 /* end confdefs.h. */
51774 #include <math.h>
51776 main ()
51778 fmodl(0, 0);
51780 return 0;
51782 _ACEOF
51783 if ac_fn_cxx_try_compile "$LINENO"; then :
51784 glibcxx_cv_func_fmodl_use=yes
51785 else
51786 glibcxx_cv_func_fmodl_use=no
51788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51789 ac_ext=c
51790 ac_cpp='$CPP $CPPFLAGS'
51791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51800 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51802 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51803 for ac_func in fmodl
51804 do :
51805 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51806 if test "x$ac_cv_func_fmodl" = xyes; then :
51807 cat >>confdefs.h <<_ACEOF
51808 #define HAVE_FMODL 1
51809 _ACEOF
51812 done
51814 else
51816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51817 $as_echo_n "checking for _fmodl declaration... " >&6; }
51818 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51819 if ${glibcxx_cv_func__fmodl_use+:} false; then :
51820 $as_echo_n "(cached) " >&6
51821 else
51824 ac_ext=cpp
51825 ac_cpp='$CXXCPP $CPPFLAGS'
51826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51831 /* end confdefs.h. */
51832 #include <math.h>
51834 main ()
51836 _fmodl(0, 0);
51838 return 0;
51840 _ACEOF
51841 if ac_fn_cxx_try_compile "$LINENO"; then :
51842 glibcxx_cv_func__fmodl_use=yes
51843 else
51844 glibcxx_cv_func__fmodl_use=no
51846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51847 ac_ext=c
51848 ac_cpp='$CPP $CPPFLAGS'
51849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51858 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51860 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51861 for ac_func in _fmodl
51862 do :
51863 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51864 if test "x$ac_cv_func__fmodl" = xyes; then :
51865 cat >>confdefs.h <<_ACEOF
51866 #define HAVE__FMODL 1
51867 _ACEOF
51870 done
51879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51880 $as_echo_n "checking for frexpl declaration... " >&6; }
51881 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51882 if ${glibcxx_cv_func_frexpl_use+:} false; then :
51883 $as_echo_n "(cached) " >&6
51884 else
51887 ac_ext=cpp
51888 ac_cpp='$CXXCPP $CPPFLAGS'
51889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51894 /* end confdefs.h. */
51895 #include <math.h>
51897 main ()
51899 frexpl(0, 0);
51901 return 0;
51903 _ACEOF
51904 if ac_fn_cxx_try_compile "$LINENO"; then :
51905 glibcxx_cv_func_frexpl_use=yes
51906 else
51907 glibcxx_cv_func_frexpl_use=no
51909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51910 ac_ext=c
51911 ac_cpp='$CPP $CPPFLAGS'
51912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51921 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51923 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51924 for ac_func in frexpl
51925 do :
51926 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51927 if test "x$ac_cv_func_frexpl" = xyes; then :
51928 cat >>confdefs.h <<_ACEOF
51929 #define HAVE_FREXPL 1
51930 _ACEOF
51933 done
51935 else
51937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51938 $as_echo_n "checking for _frexpl declaration... " >&6; }
51939 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51940 if ${glibcxx_cv_func__frexpl_use+:} false; then :
51941 $as_echo_n "(cached) " >&6
51942 else
51945 ac_ext=cpp
51946 ac_cpp='$CXXCPP $CPPFLAGS'
51947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51952 /* end confdefs.h. */
51953 #include <math.h>
51955 main ()
51957 _frexpl(0, 0);
51959 return 0;
51961 _ACEOF
51962 if ac_fn_cxx_try_compile "$LINENO"; then :
51963 glibcxx_cv_func__frexpl_use=yes
51964 else
51965 glibcxx_cv_func__frexpl_use=no
51967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51968 ac_ext=c
51969 ac_cpp='$CPP $CPPFLAGS'
51970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51979 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51981 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51982 for ac_func in _frexpl
51983 do :
51984 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51985 if test "x$ac_cv_func__frexpl" = xyes; then :
51986 cat >>confdefs.h <<_ACEOF
51987 #define HAVE__FREXPL 1
51988 _ACEOF
51991 done
52000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
52001 $as_echo_n "checking for hypotl declaration... " >&6; }
52002 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
52003 if ${glibcxx_cv_func_hypotl_use+:} false; then :
52004 $as_echo_n "(cached) " >&6
52005 else
52008 ac_ext=cpp
52009 ac_cpp='$CXXCPP $CPPFLAGS'
52010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52015 /* end confdefs.h. */
52016 #include <math.h>
52018 main ()
52020 hypotl(0, 0);
52022 return 0;
52024 _ACEOF
52025 if ac_fn_cxx_try_compile "$LINENO"; then :
52026 glibcxx_cv_func_hypotl_use=yes
52027 else
52028 glibcxx_cv_func_hypotl_use=no
52030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52031 ac_ext=c
52032 ac_cpp='$CPP $CPPFLAGS'
52033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
52042 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
52044 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
52045 for ac_func in hypotl
52046 do :
52047 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
52048 if test "x$ac_cv_func_hypotl" = xyes; then :
52049 cat >>confdefs.h <<_ACEOF
52050 #define HAVE_HYPOTL 1
52051 _ACEOF
52054 done
52056 else
52058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
52059 $as_echo_n "checking for _hypotl declaration... " >&6; }
52060 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
52061 if ${glibcxx_cv_func__hypotl_use+:} false; then :
52062 $as_echo_n "(cached) " >&6
52063 else
52066 ac_ext=cpp
52067 ac_cpp='$CXXCPP $CPPFLAGS'
52068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52073 /* end confdefs.h. */
52074 #include <math.h>
52076 main ()
52078 _hypotl(0, 0);
52080 return 0;
52082 _ACEOF
52083 if ac_fn_cxx_try_compile "$LINENO"; then :
52084 glibcxx_cv_func__hypotl_use=yes
52085 else
52086 glibcxx_cv_func__hypotl_use=no
52088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52089 ac_ext=c
52090 ac_cpp='$CPP $CPPFLAGS'
52091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
52100 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
52102 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
52103 for ac_func in _hypotl
52104 do :
52105 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
52106 if test "x$ac_cv_func__hypotl" = xyes; then :
52107 cat >>confdefs.h <<_ACEOF
52108 #define HAVE__HYPOTL 1
52109 _ACEOF
52112 done
52121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
52122 $as_echo_n "checking for ldexpl declaration... " >&6; }
52123 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
52124 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
52125 $as_echo_n "(cached) " >&6
52126 else
52129 ac_ext=cpp
52130 ac_cpp='$CXXCPP $CPPFLAGS'
52131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52136 /* end confdefs.h. */
52137 #include <math.h>
52139 main ()
52141 ldexpl(0, 0);
52143 return 0;
52145 _ACEOF
52146 if ac_fn_cxx_try_compile "$LINENO"; then :
52147 glibcxx_cv_func_ldexpl_use=yes
52148 else
52149 glibcxx_cv_func_ldexpl_use=no
52151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52152 ac_ext=c
52153 ac_cpp='$CPP $CPPFLAGS'
52154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
52163 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
52165 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
52166 for ac_func in ldexpl
52167 do :
52168 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
52169 if test "x$ac_cv_func_ldexpl" = xyes; then :
52170 cat >>confdefs.h <<_ACEOF
52171 #define HAVE_LDEXPL 1
52172 _ACEOF
52175 done
52177 else
52179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
52180 $as_echo_n "checking for _ldexpl declaration... " >&6; }
52181 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
52182 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
52183 $as_echo_n "(cached) " >&6
52184 else
52187 ac_ext=cpp
52188 ac_cpp='$CXXCPP $CPPFLAGS'
52189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52194 /* end confdefs.h. */
52195 #include <math.h>
52197 main ()
52199 _ldexpl(0, 0);
52201 return 0;
52203 _ACEOF
52204 if ac_fn_cxx_try_compile "$LINENO"; then :
52205 glibcxx_cv_func__ldexpl_use=yes
52206 else
52207 glibcxx_cv_func__ldexpl_use=no
52209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52210 ac_ext=c
52211 ac_cpp='$CPP $CPPFLAGS'
52212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
52221 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
52223 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
52224 for ac_func in _ldexpl
52225 do :
52226 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
52227 if test "x$ac_cv_func__ldexpl" = xyes; then :
52228 cat >>confdefs.h <<_ACEOF
52229 #define HAVE__LDEXPL 1
52230 _ACEOF
52233 done
52242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
52243 $as_echo_n "checking for logl declaration... " >&6; }
52244 if test x${glibcxx_cv_func_logl_use+set} != xset; then
52245 if ${glibcxx_cv_func_logl_use+:} false; then :
52246 $as_echo_n "(cached) " >&6
52247 else
52250 ac_ext=cpp
52251 ac_cpp='$CXXCPP $CPPFLAGS'
52252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52257 /* end confdefs.h. */
52258 #include <math.h>
52259 #ifdef HAVE_IEEEFP_H
52260 #include <ieeefp.h>
52261 #endif
52264 main ()
52266 logl(0);
52268 return 0;
52270 _ACEOF
52271 if ac_fn_cxx_try_compile "$LINENO"; then :
52272 glibcxx_cv_func_logl_use=yes
52273 else
52274 glibcxx_cv_func_logl_use=no
52276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52277 ac_ext=c
52278 ac_cpp='$CPP $CPPFLAGS'
52279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52288 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52290 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52291 for ac_func in logl
52292 do :
52293 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52294 if test "x$ac_cv_func_logl" = xyes; then :
52295 cat >>confdefs.h <<_ACEOF
52296 #define HAVE_LOGL 1
52297 _ACEOF
52300 done
52302 else
52304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52305 $as_echo_n "checking for _logl declaration... " >&6; }
52306 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52307 if ${glibcxx_cv_func__logl_use+:} false; then :
52308 $as_echo_n "(cached) " >&6
52309 else
52312 ac_ext=cpp
52313 ac_cpp='$CXXCPP $CPPFLAGS'
52314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52319 /* end confdefs.h. */
52320 #include <math.h>
52321 #ifdef HAVE_IEEEFP_H
52322 #include <ieeefp.h>
52323 #endif
52326 main ()
52328 _logl(0);
52330 return 0;
52332 _ACEOF
52333 if ac_fn_cxx_try_compile "$LINENO"; then :
52334 glibcxx_cv_func__logl_use=yes
52335 else
52336 glibcxx_cv_func__logl_use=no
52338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52339 ac_ext=c
52340 ac_cpp='$CPP $CPPFLAGS'
52341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52350 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52352 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52353 for ac_func in _logl
52354 do :
52355 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52356 if test "x$ac_cv_func__logl" = xyes; then :
52357 cat >>confdefs.h <<_ACEOF
52358 #define HAVE__LOGL 1
52359 _ACEOF
52362 done
52371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52372 $as_echo_n "checking for log10l declaration... " >&6; }
52373 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52374 if ${glibcxx_cv_func_log10l_use+:} false; then :
52375 $as_echo_n "(cached) " >&6
52376 else
52379 ac_ext=cpp
52380 ac_cpp='$CXXCPP $CPPFLAGS'
52381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52386 /* end confdefs.h. */
52387 #include <math.h>
52388 #ifdef HAVE_IEEEFP_H
52389 #include <ieeefp.h>
52390 #endif
52393 main ()
52395 log10l(0);
52397 return 0;
52399 _ACEOF
52400 if ac_fn_cxx_try_compile "$LINENO"; then :
52401 glibcxx_cv_func_log10l_use=yes
52402 else
52403 glibcxx_cv_func_log10l_use=no
52405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52406 ac_ext=c
52407 ac_cpp='$CPP $CPPFLAGS'
52408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52417 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52419 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52420 for ac_func in log10l
52421 do :
52422 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52423 if test "x$ac_cv_func_log10l" = xyes; then :
52424 cat >>confdefs.h <<_ACEOF
52425 #define HAVE_LOG10L 1
52426 _ACEOF
52429 done
52431 else
52433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52434 $as_echo_n "checking for _log10l declaration... " >&6; }
52435 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52436 if ${glibcxx_cv_func__log10l_use+:} false; then :
52437 $as_echo_n "(cached) " >&6
52438 else
52441 ac_ext=cpp
52442 ac_cpp='$CXXCPP $CPPFLAGS'
52443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52448 /* end confdefs.h. */
52449 #include <math.h>
52450 #ifdef HAVE_IEEEFP_H
52451 #include <ieeefp.h>
52452 #endif
52455 main ()
52457 _log10l(0);
52459 return 0;
52461 _ACEOF
52462 if ac_fn_cxx_try_compile "$LINENO"; then :
52463 glibcxx_cv_func__log10l_use=yes
52464 else
52465 glibcxx_cv_func__log10l_use=no
52467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52468 ac_ext=c
52469 ac_cpp='$CPP $CPPFLAGS'
52470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52479 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52481 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52482 for ac_func in _log10l
52483 do :
52484 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52485 if test "x$ac_cv_func__log10l" = xyes; then :
52486 cat >>confdefs.h <<_ACEOF
52487 #define HAVE__LOG10L 1
52488 _ACEOF
52491 done
52500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52501 $as_echo_n "checking for modfl declaration... " >&6; }
52502 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52503 if ${glibcxx_cv_func_modfl_use+:} false; then :
52504 $as_echo_n "(cached) " >&6
52505 else
52508 ac_ext=cpp
52509 ac_cpp='$CXXCPP $CPPFLAGS'
52510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52515 /* end confdefs.h. */
52516 #include <math.h>
52518 main ()
52520 modfl(0, 0);
52522 return 0;
52524 _ACEOF
52525 if ac_fn_cxx_try_compile "$LINENO"; then :
52526 glibcxx_cv_func_modfl_use=yes
52527 else
52528 glibcxx_cv_func_modfl_use=no
52530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52531 ac_ext=c
52532 ac_cpp='$CPP $CPPFLAGS'
52533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52542 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52544 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52545 for ac_func in modfl
52546 do :
52547 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52548 if test "x$ac_cv_func_modfl" = xyes; then :
52549 cat >>confdefs.h <<_ACEOF
52550 #define HAVE_MODFL 1
52551 _ACEOF
52554 done
52556 else
52558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52559 $as_echo_n "checking for _modfl declaration... " >&6; }
52560 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52561 if ${glibcxx_cv_func__modfl_use+:} false; then :
52562 $as_echo_n "(cached) " >&6
52563 else
52566 ac_ext=cpp
52567 ac_cpp='$CXXCPP $CPPFLAGS'
52568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52573 /* end confdefs.h. */
52574 #include <math.h>
52576 main ()
52578 _modfl(0, 0);
52580 return 0;
52582 _ACEOF
52583 if ac_fn_cxx_try_compile "$LINENO"; then :
52584 glibcxx_cv_func__modfl_use=yes
52585 else
52586 glibcxx_cv_func__modfl_use=no
52588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52589 ac_ext=c
52590 ac_cpp='$CPP $CPPFLAGS'
52591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52600 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52602 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52603 for ac_func in _modfl
52604 do :
52605 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52606 if test "x$ac_cv_func__modfl" = xyes; then :
52607 cat >>confdefs.h <<_ACEOF
52608 #define HAVE__MODFL 1
52609 _ACEOF
52612 done
52621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52622 $as_echo_n "checking for powl declaration... " >&6; }
52623 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52624 if ${glibcxx_cv_func_powl_use+:} false; then :
52625 $as_echo_n "(cached) " >&6
52626 else
52629 ac_ext=cpp
52630 ac_cpp='$CXXCPP $CPPFLAGS'
52631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52636 /* end confdefs.h. */
52637 #include <math.h>
52639 main ()
52641 powl(0, 0);
52643 return 0;
52645 _ACEOF
52646 if ac_fn_cxx_try_compile "$LINENO"; then :
52647 glibcxx_cv_func_powl_use=yes
52648 else
52649 glibcxx_cv_func_powl_use=no
52651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52652 ac_ext=c
52653 ac_cpp='$CPP $CPPFLAGS'
52654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52663 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52665 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52666 for ac_func in powl
52667 do :
52668 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52669 if test "x$ac_cv_func_powl" = xyes; then :
52670 cat >>confdefs.h <<_ACEOF
52671 #define HAVE_POWL 1
52672 _ACEOF
52675 done
52677 else
52679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52680 $as_echo_n "checking for _powl declaration... " >&6; }
52681 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52682 if ${glibcxx_cv_func__powl_use+:} false; then :
52683 $as_echo_n "(cached) " >&6
52684 else
52687 ac_ext=cpp
52688 ac_cpp='$CXXCPP $CPPFLAGS'
52689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52694 /* end confdefs.h. */
52695 #include <math.h>
52697 main ()
52699 _powl(0, 0);
52701 return 0;
52703 _ACEOF
52704 if ac_fn_cxx_try_compile "$LINENO"; then :
52705 glibcxx_cv_func__powl_use=yes
52706 else
52707 glibcxx_cv_func__powl_use=no
52709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52710 ac_ext=c
52711 ac_cpp='$CPP $CPPFLAGS'
52712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52721 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52723 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52724 for ac_func in _powl
52725 do :
52726 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52727 if test "x$ac_cv_func__powl" = xyes; then :
52728 cat >>confdefs.h <<_ACEOF
52729 #define HAVE__POWL 1
52730 _ACEOF
52733 done
52742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52743 $as_echo_n "checking for sqrtl declaration... " >&6; }
52744 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52745 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
52746 $as_echo_n "(cached) " >&6
52747 else
52750 ac_ext=cpp
52751 ac_cpp='$CXXCPP $CPPFLAGS'
52752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52757 /* end confdefs.h. */
52758 #include <math.h>
52759 #ifdef HAVE_IEEEFP_H
52760 #include <ieeefp.h>
52761 #endif
52764 main ()
52766 sqrtl(0);
52768 return 0;
52770 _ACEOF
52771 if ac_fn_cxx_try_compile "$LINENO"; then :
52772 glibcxx_cv_func_sqrtl_use=yes
52773 else
52774 glibcxx_cv_func_sqrtl_use=no
52776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52777 ac_ext=c
52778 ac_cpp='$CPP $CPPFLAGS'
52779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52788 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52790 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52791 for ac_func in sqrtl
52792 do :
52793 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52794 if test "x$ac_cv_func_sqrtl" = xyes; then :
52795 cat >>confdefs.h <<_ACEOF
52796 #define HAVE_SQRTL 1
52797 _ACEOF
52800 done
52802 else
52804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52805 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52806 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52807 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
52808 $as_echo_n "(cached) " >&6
52809 else
52812 ac_ext=cpp
52813 ac_cpp='$CXXCPP $CPPFLAGS'
52814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52819 /* end confdefs.h. */
52820 #include <math.h>
52821 #ifdef HAVE_IEEEFP_H
52822 #include <ieeefp.h>
52823 #endif
52826 main ()
52828 _sqrtl(0);
52830 return 0;
52832 _ACEOF
52833 if ac_fn_cxx_try_compile "$LINENO"; then :
52834 glibcxx_cv_func__sqrtl_use=yes
52835 else
52836 glibcxx_cv_func__sqrtl_use=no
52838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52839 ac_ext=c
52840 ac_cpp='$CPP $CPPFLAGS'
52841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52850 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52852 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52853 for ac_func in _sqrtl
52854 do :
52855 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52856 if test "x$ac_cv_func__sqrtl" = xyes; then :
52857 cat >>confdefs.h <<_ACEOF
52858 #define HAVE__SQRTL 1
52859 _ACEOF
52862 done
52871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52872 $as_echo_n "checking for sincosl declaration... " >&6; }
52873 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52874 if ${glibcxx_cv_func_sincosl_use+:} false; then :
52875 $as_echo_n "(cached) " >&6
52876 else
52879 ac_ext=cpp
52880 ac_cpp='$CXXCPP $CPPFLAGS'
52881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52886 /* end confdefs.h. */
52887 #include <math.h>
52889 main ()
52891 sincosl(0, 0, 0);
52893 return 0;
52895 _ACEOF
52896 if ac_fn_cxx_try_compile "$LINENO"; then :
52897 glibcxx_cv_func_sincosl_use=yes
52898 else
52899 glibcxx_cv_func_sincosl_use=no
52901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52902 ac_ext=c
52903 ac_cpp='$CPP $CPPFLAGS'
52904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52913 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52915 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52916 for ac_func in sincosl
52917 do :
52918 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52919 if test "x$ac_cv_func_sincosl" = xyes; then :
52920 cat >>confdefs.h <<_ACEOF
52921 #define HAVE_SINCOSL 1
52922 _ACEOF
52925 done
52927 else
52929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52930 $as_echo_n "checking for _sincosl declaration... " >&6; }
52931 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52932 if ${glibcxx_cv_func__sincosl_use+:} false; then :
52933 $as_echo_n "(cached) " >&6
52934 else
52937 ac_ext=cpp
52938 ac_cpp='$CXXCPP $CPPFLAGS'
52939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52944 /* end confdefs.h. */
52945 #include <math.h>
52947 main ()
52949 _sincosl(0, 0, 0);
52951 return 0;
52953 _ACEOF
52954 if ac_fn_cxx_try_compile "$LINENO"; then :
52955 glibcxx_cv_func__sincosl_use=yes
52956 else
52957 glibcxx_cv_func__sincosl_use=no
52959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52960 ac_ext=c
52961 ac_cpp='$CPP $CPPFLAGS'
52962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52971 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52973 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52974 for ac_func in _sincosl
52975 do :
52976 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52977 if test "x$ac_cv_func__sincosl" = xyes; then :
52978 cat >>confdefs.h <<_ACEOF
52979 #define HAVE__SINCOSL 1
52980 _ACEOF
52983 done
52992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52993 $as_echo_n "checking for finitel declaration... " >&6; }
52994 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52995 if ${glibcxx_cv_func_finitel_use+:} false; then :
52996 $as_echo_n "(cached) " >&6
52997 else
53000 ac_ext=cpp
53001 ac_cpp='$CXXCPP $CPPFLAGS'
53002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53007 /* end confdefs.h. */
53008 #include <math.h>
53009 #ifdef HAVE_IEEEFP_H
53010 #include <ieeefp.h>
53011 #endif
53014 main ()
53016 finitel(0);
53018 return 0;
53020 _ACEOF
53021 if ac_fn_cxx_try_compile "$LINENO"; then :
53022 glibcxx_cv_func_finitel_use=yes
53023 else
53024 glibcxx_cv_func_finitel_use=no
53026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53027 ac_ext=c
53028 ac_cpp='$CPP $CPPFLAGS'
53029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
53038 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
53040 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
53041 for ac_func in finitel
53042 do :
53043 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
53044 if test "x$ac_cv_func_finitel" = xyes; then :
53045 cat >>confdefs.h <<_ACEOF
53046 #define HAVE_FINITEL 1
53047 _ACEOF
53050 done
53052 else
53054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
53055 $as_echo_n "checking for _finitel declaration... " >&6; }
53056 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
53057 if ${glibcxx_cv_func__finitel_use+:} false; then :
53058 $as_echo_n "(cached) " >&6
53059 else
53062 ac_ext=cpp
53063 ac_cpp='$CXXCPP $CPPFLAGS'
53064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53069 /* end confdefs.h. */
53070 #include <math.h>
53071 #ifdef HAVE_IEEEFP_H
53072 #include <ieeefp.h>
53073 #endif
53076 main ()
53078 _finitel(0);
53080 return 0;
53082 _ACEOF
53083 if ac_fn_cxx_try_compile "$LINENO"; then :
53084 glibcxx_cv_func__finitel_use=yes
53085 else
53086 glibcxx_cv_func__finitel_use=no
53088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53089 ac_ext=c
53090 ac_cpp='$CPP $CPPFLAGS'
53091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
53100 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
53102 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
53103 for ac_func in _finitel
53104 do :
53105 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
53106 if test "x$ac_cv_func__finitel" = xyes; then :
53107 cat >>confdefs.h <<_ACEOF
53108 #define HAVE__FINITEL 1
53109 _ACEOF
53112 done
53120 LIBS="$ac_save_LIBS"
53121 CXXFLAGS="$ac_save_CXXFLAGS"
53124 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53125 ac_save_CXXFLAGS="$CXXFLAGS"
53126 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
53130 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
53131 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
53132 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
53133 $as_echo_n "(cached) " >&6
53134 else
53137 ac_ext=cpp
53138 ac_cpp='$CXXCPP $CPPFLAGS'
53139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53144 /* end confdefs.h. */
53145 #include <stdlib.h>
53147 main ()
53149 at_quick_exit(0);
53151 return 0;
53153 _ACEOF
53154 if ac_fn_cxx_try_compile "$LINENO"; then :
53155 glibcxx_cv_func_at_quick_exit_use=yes
53156 else
53157 glibcxx_cv_func_at_quick_exit_use=no
53159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53160 ac_ext=c
53161 ac_cpp='$CPP $CPPFLAGS'
53162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
53171 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
53172 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
53173 for ac_func in at_quick_exit
53174 do :
53175 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
53176 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
53177 cat >>confdefs.h <<_ACEOF
53178 #define HAVE_AT_QUICK_EXIT 1
53179 _ACEOF
53182 done
53187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
53188 $as_echo_n "checking for quick_exit declaration... " >&6; }
53189 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
53190 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
53191 $as_echo_n "(cached) " >&6
53192 else
53195 ac_ext=cpp
53196 ac_cpp='$CXXCPP $CPPFLAGS'
53197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53202 /* end confdefs.h. */
53203 #include <stdlib.h>
53205 main ()
53207 quick_exit(0);
53209 return 0;
53211 _ACEOF
53212 if ac_fn_cxx_try_compile "$LINENO"; then :
53213 glibcxx_cv_func_quick_exit_use=yes
53214 else
53215 glibcxx_cv_func_quick_exit_use=no
53217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53218 ac_ext=c
53219 ac_cpp='$CPP $CPPFLAGS'
53220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
53229 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
53230 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
53231 for ac_func in quick_exit
53232 do :
53233 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
53234 if test "x$ac_cv_func_quick_exit" = xyes; then :
53235 cat >>confdefs.h <<_ACEOF
53236 #define HAVE_QUICK_EXIT 1
53237 _ACEOF
53240 done
53245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
53246 $as_echo_n "checking for strtold declaration... " >&6; }
53247 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53248 if ${glibcxx_cv_func_strtold_use+:} false; then :
53249 $as_echo_n "(cached) " >&6
53250 else
53253 ac_ext=cpp
53254 ac_cpp='$CXXCPP $CPPFLAGS'
53255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53260 /* end confdefs.h. */
53261 #include <stdlib.h>
53263 main ()
53265 strtold(0, 0);
53267 return 0;
53269 _ACEOF
53270 if ac_fn_cxx_try_compile "$LINENO"; then :
53271 glibcxx_cv_func_strtold_use=yes
53272 else
53273 glibcxx_cv_func_strtold_use=no
53275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53276 ac_ext=c
53277 ac_cpp='$CPP $CPPFLAGS'
53278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53287 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53288 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53289 for ac_func in strtold
53290 do :
53291 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53292 if test "x$ac_cv_func_strtold" = xyes; then :
53293 cat >>confdefs.h <<_ACEOF
53294 #define HAVE_STRTOLD 1
53295 _ACEOF
53298 done
53305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53306 $as_echo_n "checking for strtof declaration... " >&6; }
53307 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53308 if ${glibcxx_cv_func_strtof_use+:} false; then :
53309 $as_echo_n "(cached) " >&6
53310 else
53313 ac_ext=cpp
53314 ac_cpp='$CXXCPP $CPPFLAGS'
53315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53320 /* end confdefs.h. */
53321 #include <stdlib.h>
53323 main ()
53325 strtof(0, 0);
53327 return 0;
53329 _ACEOF
53330 if ac_fn_cxx_try_compile "$LINENO"; then :
53331 glibcxx_cv_func_strtof_use=yes
53332 else
53333 glibcxx_cv_func_strtof_use=no
53335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53336 ac_ext=c
53337 ac_cpp='$CPP $CPPFLAGS'
53338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53347 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53348 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53349 for ac_func in strtof
53350 do :
53351 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53352 if test "x$ac_cv_func_strtof" = xyes; then :
53353 cat >>confdefs.h <<_ACEOF
53354 #define HAVE_STRTOF 1
53355 _ACEOF
53358 done
53365 CXXFLAGS="$ac_save_CXXFLAGS"
53369 *djgpp)
53370 # GLIBCXX_CHECK_MATH_SUPPORT
53371 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53373 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53375 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53377 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
53379 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53383 *-freebsd*)
53384 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53387 # If we're not using GNU ld, then there's no point in even trying these
53388 # tests. Check for that first. We should have already tested for gld
53389 # by now (in libtool), but require it now just to be safe...
53390 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53391 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53395 # The name set by libtool depends on the version of libtool. Shame on us
53396 # for depending on an impl detail, but c'est la vie. Older versions used
53397 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53398 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53399 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53400 # set (hence we're using an older libtool), then set it.
53401 if test x${with_gnu_ld+set} != xset; then
53402 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53403 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53404 with_gnu_ld=no
53405 else
53406 with_gnu_ld=$ac_cv_prog_gnu_ld
53410 # Start by getting the version number. I think the libtool test already
53411 # does some of this, but throws away the result.
53412 glibcxx_ld_is_gold=no
53413 if test x"$with_gnu_ld" = x"yes"; then
53414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53415 $as_echo_n "checking for ld version... " >&6; }
53417 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53418 glibcxx_ld_is_gold=yes
53420 ldver=`$LD --version 2>/dev/null |
53421 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'`
53423 glibcxx_gnu_ld_version=`echo $ldver | \
53424 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53426 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53429 # Set --gc-sections.
53430 glibcxx_have_gc_sections=no
53431 if test "$glibcxx_ld_is_gold" = "yes"; then
53432 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53433 glibcxx_have_gc_sections=yes
53435 else
53436 glibcxx_gcsections_min_ld=21602
53437 if test x"$with_gnu_ld" = x"yes" &&
53438 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53439 glibcxx_have_gc_sections=yes
53442 if test "$glibcxx_have_gc_sections" = "yes"; then
53443 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53444 # NB: This flag only works reliably after 2.16.1. Configure tests
53445 # for this are difficult, so hard wire a value that should work.
53447 ac_test_CFLAGS="${CFLAGS+set}"
53448 ac_save_CFLAGS="$CFLAGS"
53449 CFLAGS='-Wl,--gc-sections'
53451 # Check for -Wl,--gc-sections
53452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53453 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53454 if test x$gcc_no_link = xyes; then
53455 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53458 /* end confdefs.h. */
53459 int one(void) { return 1; }
53460 int two(void) { return 2; }
53463 main ()
53465 two();
53467 return 0;
53469 _ACEOF
53470 if ac_fn_c_try_link "$LINENO"; then :
53471 ac_gcsections=yes
53472 else
53473 ac_gcsections=no
53475 rm -f core conftest.err conftest.$ac_objext \
53476 conftest$ac_exeext conftest.$ac_ext
53477 if test "$ac_gcsections" = "yes"; then
53478 rm -f conftest.c
53479 touch conftest.c
53480 if $CC -c conftest.c; then
53481 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53482 grep "Warning: gc-sections option ignored" > /dev/null; then
53483 ac_gcsections=no
53486 rm -f conftest.c conftest.o conftest
53488 if test "$ac_gcsections" = "yes"; then
53489 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53492 $as_echo "$ac_gcsections" >&6; }
53494 if test "$ac_test_CFLAGS" = set; then
53495 CFLAGS="$ac_save_CFLAGS"
53496 else
53497 # this is the suspicious part
53498 CFLAGS=''
53502 # Set -z,relro.
53503 # Note this is only for shared objects.
53504 ac_ld_relro=no
53505 if test x"$with_gnu_ld" = x"yes"; then
53506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53507 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53508 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53509 if test -n "$cxx_z_relo"; then
53510 OPT_LDFLAGS="-Wl,-z,relro"
53511 ac_ld_relro=yes
53513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53514 $as_echo "$ac_ld_relro" >&6; }
53517 # Set linker optimization flags.
53518 if test x"$with_gnu_ld" = x"yes"; then
53519 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53525 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53527 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53529 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53531 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53533 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53535 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53537 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53539 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53541 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53544 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53546 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53548 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53550 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53552 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53554 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53556 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53558 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53560 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53562 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53564 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53566 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53568 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53570 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53572 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53574 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53576 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53578 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53580 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53582 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53584 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53586 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53588 if test x"long_double_math_on_this_cpu" = x"yes"; then
53589 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53591 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53593 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53596 for ac_func in __cxa_thread_atexit
53597 do :
53598 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
53599 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
53600 cat >>confdefs.h <<_ACEOF
53601 #define HAVE___CXA_THREAD_ATEXIT 1
53602 _ACEOF
53605 done
53607 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
53608 do :
53609 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53610 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53611 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
53612 cat >>confdefs.h <<_ACEOF
53613 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53614 _ACEOF
53617 done
53621 *-fuchsia*)
53622 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53626 *-hpux*)
53627 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53630 # If we're not using GNU ld, then there's no point in even trying these
53631 # tests. Check for that first. We should have already tested for gld
53632 # by now (in libtool), but require it now just to be safe...
53633 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53634 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53638 # The name set by libtool depends on the version of libtool. Shame on us
53639 # for depending on an impl detail, but c'est la vie. Older versions used
53640 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53641 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53642 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53643 # set (hence we're using an older libtool), then set it.
53644 if test x${with_gnu_ld+set} != xset; then
53645 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53646 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53647 with_gnu_ld=no
53648 else
53649 with_gnu_ld=$ac_cv_prog_gnu_ld
53653 # Start by getting the version number. I think the libtool test already
53654 # does some of this, but throws away the result.
53655 glibcxx_ld_is_gold=no
53656 if test x"$with_gnu_ld" = x"yes"; then
53657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53658 $as_echo_n "checking for ld version... " >&6; }
53660 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53661 glibcxx_ld_is_gold=yes
53663 ldver=`$LD --version 2>/dev/null |
53664 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'`
53666 glibcxx_gnu_ld_version=`echo $ldver | \
53667 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53669 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53672 # Set --gc-sections.
53673 glibcxx_have_gc_sections=no
53674 if test "$glibcxx_ld_is_gold" = "yes"; then
53675 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53676 glibcxx_have_gc_sections=yes
53678 else
53679 glibcxx_gcsections_min_ld=21602
53680 if test x"$with_gnu_ld" = x"yes" &&
53681 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53682 glibcxx_have_gc_sections=yes
53685 if test "$glibcxx_have_gc_sections" = "yes"; then
53686 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53687 # NB: This flag only works reliably after 2.16.1. Configure tests
53688 # for this are difficult, so hard wire a value that should work.
53690 ac_test_CFLAGS="${CFLAGS+set}"
53691 ac_save_CFLAGS="$CFLAGS"
53692 CFLAGS='-Wl,--gc-sections'
53694 # Check for -Wl,--gc-sections
53695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53696 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53697 if test x$gcc_no_link = xyes; then
53698 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53701 /* end confdefs.h. */
53702 int one(void) { return 1; }
53703 int two(void) { return 2; }
53706 main ()
53708 two();
53710 return 0;
53712 _ACEOF
53713 if ac_fn_c_try_link "$LINENO"; then :
53714 ac_gcsections=yes
53715 else
53716 ac_gcsections=no
53718 rm -f core conftest.err conftest.$ac_objext \
53719 conftest$ac_exeext conftest.$ac_ext
53720 if test "$ac_gcsections" = "yes"; then
53721 rm -f conftest.c
53722 touch conftest.c
53723 if $CC -c conftest.c; then
53724 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53725 grep "Warning: gc-sections option ignored" > /dev/null; then
53726 ac_gcsections=no
53729 rm -f conftest.c conftest.o conftest
53731 if test "$ac_gcsections" = "yes"; then
53732 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53735 $as_echo "$ac_gcsections" >&6; }
53737 if test "$ac_test_CFLAGS" = set; then
53738 CFLAGS="$ac_save_CFLAGS"
53739 else
53740 # this is the suspicious part
53741 CFLAGS=''
53745 # Set -z,relro.
53746 # Note this is only for shared objects.
53747 ac_ld_relro=no
53748 if test x"$with_gnu_ld" = x"yes"; then
53749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53750 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53751 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53752 if test -n "$cxx_z_relo"; then
53753 OPT_LDFLAGS="-Wl,-z,relro"
53754 ac_ld_relro=yes
53756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53757 $as_echo "$ac_ld_relro" >&6; }
53760 # Set linker optimization flags.
53761 if test x"$with_gnu_ld" = x"yes"; then
53762 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53769 # GLIBCXX_CHECK_MATH_SUPPORT
53770 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53772 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53774 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53776 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53778 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53780 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53782 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53784 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53786 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53788 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53790 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53792 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53794 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53796 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53798 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53800 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53802 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53804 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53806 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53808 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53810 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53813 # GLIBCXX_CHECK_STDLIB_SUPPORT
53814 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53819 # Check whether --enable-tls was given.
53820 if test "${enable_tls+set}" = set; then :
53821 enableval=$enable_tls;
53822 case "$enableval" in
53823 yes|no) ;;
53824 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53825 esac
53827 else
53828 enable_tls=yes
53832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53833 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53834 if ${gcc_cv_have_tls+:} false; then :
53835 $as_echo_n "(cached) " >&6
53836 else
53838 if test "$cross_compiling" = yes; then :
53839 if test x$gcc_no_link = xyes; then
53840 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53843 /* end confdefs.h. */
53844 __thread int a; int b; int main() { return a = b; }
53845 _ACEOF
53846 if ac_fn_c_try_link "$LINENO"; then :
53847 chktls_save_LDFLAGS="$LDFLAGS"
53848 case $host in
53849 *-*-linux*)
53850 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53852 esac
53853 chktls_save_CFLAGS="$CFLAGS"
53854 CFLAGS="-fPIC $CFLAGS"
53855 if test x$gcc_no_link = xyes; then
53856 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53859 /* end confdefs.h. */
53860 int f() { return 0; }
53861 _ACEOF
53862 if ac_fn_c_try_link "$LINENO"; then :
53863 if test x$gcc_no_link = xyes; then
53864 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53867 /* end confdefs.h. */
53868 __thread int a; int b; int f() { return a = b; }
53869 _ACEOF
53870 if ac_fn_c_try_link "$LINENO"; then :
53871 gcc_cv_have_tls=yes
53872 else
53873 gcc_cv_have_tls=no
53875 rm -f core conftest.err conftest.$ac_objext \
53876 conftest$ac_exeext conftest.$ac_ext
53877 else
53878 gcc_cv_have_tls=yes
53880 rm -f core conftest.err conftest.$ac_objext \
53881 conftest$ac_exeext conftest.$ac_ext
53882 CFLAGS="$chktls_save_CFLAGS"
53883 LDFLAGS="$chktls_save_LDFLAGS"
53884 else
53885 gcc_cv_have_tls=no
53887 rm -f core conftest.err conftest.$ac_objext \
53888 conftest$ac_exeext conftest.$ac_ext
53891 else
53892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53893 /* end confdefs.h. */
53894 __thread int a; int b; int main() { return a = b; }
53895 _ACEOF
53896 if ac_fn_c_try_run "$LINENO"; then :
53897 chktls_save_LDFLAGS="$LDFLAGS"
53898 LDFLAGS="-static $LDFLAGS"
53899 if test x$gcc_no_link = xyes; then
53900 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53903 /* end confdefs.h. */
53904 int main() { return 0; }
53905 _ACEOF
53906 if ac_fn_c_try_link "$LINENO"; then :
53907 if test "$cross_compiling" = yes; then :
53908 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53910 as_fn_error $? "cannot run test program while cross compiling
53911 See \`config.log' for more details" "$LINENO" 5; }
53912 else
53913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53914 /* end confdefs.h. */
53915 __thread int a; int b; int main() { return a = b; }
53916 _ACEOF
53917 if ac_fn_c_try_run "$LINENO"; then :
53918 gcc_cv_have_tls=yes
53919 else
53920 gcc_cv_have_tls=no
53922 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53923 conftest.$ac_objext conftest.beam conftest.$ac_ext
53926 else
53927 gcc_cv_have_tls=yes
53929 rm -f core conftest.err conftest.$ac_objext \
53930 conftest$ac_exeext conftest.$ac_ext
53931 LDFLAGS="$chktls_save_LDFLAGS"
53932 if test $gcc_cv_have_tls = yes; then
53933 chktls_save_CFLAGS="$CFLAGS"
53934 thread_CFLAGS=failed
53935 for flag in '' '-pthread' '-lpthread'; do
53936 CFLAGS="$flag $chktls_save_CFLAGS"
53937 if test x$gcc_no_link = xyes; then
53938 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53941 /* end confdefs.h. */
53942 #include <pthread.h>
53943 void *g(void *d) { return NULL; }
53945 main ()
53947 pthread_t t; pthread_create(&t,NULL,g,NULL);
53949 return 0;
53951 _ACEOF
53952 if ac_fn_c_try_link "$LINENO"; then :
53953 thread_CFLAGS="$flag"
53955 rm -f core conftest.err conftest.$ac_objext \
53956 conftest$ac_exeext conftest.$ac_ext
53957 if test "X$thread_CFLAGS" != Xfailed; then
53958 break
53960 done
53961 CFLAGS="$chktls_save_CFLAGS"
53962 if test "X$thread_CFLAGS" != Xfailed; then
53963 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53964 if test "$cross_compiling" = yes; then :
53965 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53967 as_fn_error $? "cannot run test program while cross compiling
53968 See \`config.log' for more details" "$LINENO" 5; }
53969 else
53970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53971 /* end confdefs.h. */
53972 #include <pthread.h>
53973 __thread int a;
53974 static int *volatile a_in_other_thread;
53975 static void *
53976 thread_func (void *arg)
53978 a_in_other_thread = &a;
53979 return (void *)0;
53982 main ()
53984 pthread_t thread;
53985 void *thread_retval;
53986 int *volatile a_in_main_thread;
53987 a_in_main_thread = &a;
53988 if (pthread_create (&thread, (pthread_attr_t *)0,
53989 thread_func, (void *)0))
53990 return 0;
53991 if (pthread_join (thread, &thread_retval))
53992 return 0;
53993 return (a_in_other_thread == a_in_main_thread);
53995 return 0;
53997 _ACEOF
53998 if ac_fn_c_try_run "$LINENO"; then :
53999 gcc_cv_have_tls=yes
54000 else
54001 gcc_cv_have_tls=no
54003 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54004 conftest.$ac_objext conftest.beam conftest.$ac_ext
54007 CFLAGS="$chktls_save_CFLAGS"
54010 else
54011 gcc_cv_have_tls=no
54013 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54014 conftest.$ac_objext conftest.beam conftest.$ac_ext
54018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
54019 $as_echo "$gcc_cv_have_tls" >&6; }
54020 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
54022 $as_echo "#define HAVE_TLS 1" >>confdefs.h
54025 case "$target" in
54026 *-hpux10*)
54027 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
54029 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
54031 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
54033 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
54035 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
54038 esac
54040 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
54042 # All these tests are for C++; save the language and the compiler flags.
54043 # The CXXFLAGS thing is suspicious, but based on similar bits previously
54044 # found in GLIBCXX_CONFIGURE.
54046 ac_ext=cpp
54047 ac_cpp='$CXXCPP $CPPFLAGS'
54048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54052 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54053 ac_save_CXXFLAGS="$CXXFLAGS"
54055 # Check for -ffunction-sections -fdata-sections
54056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
54057 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
54058 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
54059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54060 /* end confdefs.h. */
54061 int foo; void bar() { };
54063 main ()
54067 return 0;
54069 _ACEOF
54070 if ac_fn_cxx_try_compile "$LINENO"; then :
54071 ac_fdsections=yes
54072 else
54073 ac_fdsections=no
54075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54076 if test "$ac_test_CXXFLAGS" = set; then
54077 CXXFLAGS="$ac_save_CXXFLAGS"
54078 else
54079 # this is the suspicious part
54080 CXXFLAGS=''
54082 if test x"$ac_fdsections" = x"yes"; then
54083 SECTION_FLAGS='-ffunction-sections -fdata-sections'
54085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
54086 $as_echo "$ac_fdsections" >&6; }
54088 ac_ext=c
54089 ac_cpp='$CPP $CPPFLAGS'
54090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54097 # If we're not using GNU ld, then there's no point in even trying these
54098 # tests. Check for that first. We should have already tested for gld
54099 # by now (in libtool), but require it now just to be safe...
54100 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54101 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54105 # The name set by libtool depends on the version of libtool. Shame on us
54106 # for depending on an impl detail, but c'est la vie. Older versions used
54107 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54108 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54109 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54110 # set (hence we're using an older libtool), then set it.
54111 if test x${with_gnu_ld+set} != xset; then
54112 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54113 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54114 with_gnu_ld=no
54115 else
54116 with_gnu_ld=$ac_cv_prog_gnu_ld
54120 # Start by getting the version number. I think the libtool test already
54121 # does some of this, but throws away the result.
54122 glibcxx_ld_is_gold=no
54123 if test x"$with_gnu_ld" = x"yes"; then
54124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54125 $as_echo_n "checking for ld version... " >&6; }
54127 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54128 glibcxx_ld_is_gold=yes
54130 ldver=`$LD --version 2>/dev/null |
54131 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'`
54133 glibcxx_gnu_ld_version=`echo $ldver | \
54134 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54136 $as_echo "$glibcxx_gnu_ld_version" >&6; }
54139 # Set --gc-sections.
54140 glibcxx_have_gc_sections=no
54141 if test "$glibcxx_ld_is_gold" = "yes"; then
54142 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54143 glibcxx_have_gc_sections=yes
54145 else
54146 glibcxx_gcsections_min_ld=21602
54147 if test x"$with_gnu_ld" = x"yes" &&
54148 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54149 glibcxx_have_gc_sections=yes
54152 if test "$glibcxx_have_gc_sections" = "yes"; then
54153 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54154 # NB: This flag only works reliably after 2.16.1. Configure tests
54155 # for this are difficult, so hard wire a value that should work.
54157 ac_test_CFLAGS="${CFLAGS+set}"
54158 ac_save_CFLAGS="$CFLAGS"
54159 CFLAGS='-Wl,--gc-sections'
54161 # Check for -Wl,--gc-sections
54162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54163 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54164 if test x$gcc_no_link = xyes; then
54165 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54168 /* end confdefs.h. */
54169 int one(void) { return 1; }
54170 int two(void) { return 2; }
54173 main ()
54175 two();
54177 return 0;
54179 _ACEOF
54180 if ac_fn_c_try_link "$LINENO"; then :
54181 ac_gcsections=yes
54182 else
54183 ac_gcsections=no
54185 rm -f core conftest.err conftest.$ac_objext \
54186 conftest$ac_exeext conftest.$ac_ext
54187 if test "$ac_gcsections" = "yes"; then
54188 rm -f conftest.c
54189 touch conftest.c
54190 if $CC -c conftest.c; then
54191 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54192 grep "Warning: gc-sections option ignored" > /dev/null; then
54193 ac_gcsections=no
54196 rm -f conftest.c conftest.o conftest
54198 if test "$ac_gcsections" = "yes"; then
54199 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54202 $as_echo "$ac_gcsections" >&6; }
54204 if test "$ac_test_CFLAGS" = set; then
54205 CFLAGS="$ac_save_CFLAGS"
54206 else
54207 # this is the suspicious part
54208 CFLAGS=''
54212 # Set -z,relro.
54213 # Note this is only for shared objects.
54214 ac_ld_relro=no
54215 if test x"$with_gnu_ld" = x"yes"; then
54216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
54217 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
54218 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54219 if test -n "$cxx_z_relo"; then
54220 OPT_LDFLAGS="-Wl,-z,relro"
54221 ac_ld_relro=yes
54223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
54224 $as_echo "$ac_ld_relro" >&6; }
54227 # Set linker optimization flags.
54228 if test x"$with_gnu_ld" = x"yes"; then
54229 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54236 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54237 ac_save_CXXFLAGS="$CXXFLAGS"
54238 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
54241 $as_echo_n "checking for sin in -lm... " >&6; }
54242 if ${ac_cv_lib_m_sin+:} false; then :
54243 $as_echo_n "(cached) " >&6
54244 else
54245 ac_check_lib_save_LIBS=$LIBS
54246 LIBS="-lm $LIBS"
54247 if test x$gcc_no_link = xyes; then
54248 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54251 /* end confdefs.h. */
54253 /* Override any GCC internal prototype to avoid an error.
54254 Use char because int might match the return type of a GCC
54255 builtin and then its argument prototype would still apply. */
54256 #ifdef __cplusplus
54257 extern "C"
54258 #endif
54259 char sin ();
54261 main ()
54263 return sin ();
54265 return 0;
54267 _ACEOF
54268 if ac_fn_c_try_link "$LINENO"; then :
54269 ac_cv_lib_m_sin=yes
54270 else
54271 ac_cv_lib_m_sin=no
54273 rm -f core conftest.err conftest.$ac_objext \
54274 conftest$ac_exeext conftest.$ac_ext
54275 LIBS=$ac_check_lib_save_LIBS
54277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54278 $as_echo "$ac_cv_lib_m_sin" >&6; }
54279 if test "x$ac_cv_lib_m_sin" = xyes; then :
54280 libm="-lm"
54283 ac_save_LIBS="$LIBS"
54284 LIBS="$LIBS $libm"
54288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54289 $as_echo_n "checking for isinf declaration... " >&6; }
54290 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54291 if ${glibcxx_cv_func_isinf_use+:} false; then :
54292 $as_echo_n "(cached) " >&6
54293 else
54296 ac_ext=cpp
54297 ac_cpp='$CXXCPP $CPPFLAGS'
54298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54303 /* end confdefs.h. */
54304 #include <math.h>
54305 #ifdef HAVE_IEEEFP_H
54306 #include <ieeefp.h>
54307 #endif
54310 main ()
54312 isinf(0);
54314 return 0;
54316 _ACEOF
54317 if ac_fn_cxx_try_compile "$LINENO"; then :
54318 glibcxx_cv_func_isinf_use=yes
54319 else
54320 glibcxx_cv_func_isinf_use=no
54322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54323 ac_ext=c
54324 ac_cpp='$CPP $CPPFLAGS'
54325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54334 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54336 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54337 for ac_func in isinf
54338 do :
54339 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54340 if test "x$ac_cv_func_isinf" = xyes; then :
54341 cat >>confdefs.h <<_ACEOF
54342 #define HAVE_ISINF 1
54343 _ACEOF
54346 done
54348 else
54350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54351 $as_echo_n "checking for _isinf declaration... " >&6; }
54352 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54353 if ${glibcxx_cv_func__isinf_use+:} false; then :
54354 $as_echo_n "(cached) " >&6
54355 else
54358 ac_ext=cpp
54359 ac_cpp='$CXXCPP $CPPFLAGS'
54360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54365 /* end confdefs.h. */
54366 #include <math.h>
54367 #ifdef HAVE_IEEEFP_H
54368 #include <ieeefp.h>
54369 #endif
54372 main ()
54374 _isinf(0);
54376 return 0;
54378 _ACEOF
54379 if ac_fn_cxx_try_compile "$LINENO"; then :
54380 glibcxx_cv_func__isinf_use=yes
54381 else
54382 glibcxx_cv_func__isinf_use=no
54384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54385 ac_ext=c
54386 ac_cpp='$CPP $CPPFLAGS'
54387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54396 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54398 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54399 for ac_func in _isinf
54400 do :
54401 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54402 if test "x$ac_cv_func__isinf" = xyes; then :
54403 cat >>confdefs.h <<_ACEOF
54404 #define HAVE__ISINF 1
54405 _ACEOF
54408 done
54417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54418 $as_echo_n "checking for isnan declaration... " >&6; }
54419 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54420 if ${glibcxx_cv_func_isnan_use+:} false; then :
54421 $as_echo_n "(cached) " >&6
54422 else
54425 ac_ext=cpp
54426 ac_cpp='$CXXCPP $CPPFLAGS'
54427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54432 /* end confdefs.h. */
54433 #include <math.h>
54434 #ifdef HAVE_IEEEFP_H
54435 #include <ieeefp.h>
54436 #endif
54439 main ()
54441 isnan(0);
54443 return 0;
54445 _ACEOF
54446 if ac_fn_cxx_try_compile "$LINENO"; then :
54447 glibcxx_cv_func_isnan_use=yes
54448 else
54449 glibcxx_cv_func_isnan_use=no
54451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54452 ac_ext=c
54453 ac_cpp='$CPP $CPPFLAGS'
54454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54463 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54465 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54466 for ac_func in isnan
54467 do :
54468 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54469 if test "x$ac_cv_func_isnan" = xyes; then :
54470 cat >>confdefs.h <<_ACEOF
54471 #define HAVE_ISNAN 1
54472 _ACEOF
54475 done
54477 else
54479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54480 $as_echo_n "checking for _isnan declaration... " >&6; }
54481 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54482 if ${glibcxx_cv_func__isnan_use+:} false; then :
54483 $as_echo_n "(cached) " >&6
54484 else
54487 ac_ext=cpp
54488 ac_cpp='$CXXCPP $CPPFLAGS'
54489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54494 /* end confdefs.h. */
54495 #include <math.h>
54496 #ifdef HAVE_IEEEFP_H
54497 #include <ieeefp.h>
54498 #endif
54501 main ()
54503 _isnan(0);
54505 return 0;
54507 _ACEOF
54508 if ac_fn_cxx_try_compile "$LINENO"; then :
54509 glibcxx_cv_func__isnan_use=yes
54510 else
54511 glibcxx_cv_func__isnan_use=no
54513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54514 ac_ext=c
54515 ac_cpp='$CPP $CPPFLAGS'
54516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54525 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54527 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54528 for ac_func in _isnan
54529 do :
54530 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54531 if test "x$ac_cv_func__isnan" = xyes; then :
54532 cat >>confdefs.h <<_ACEOF
54533 #define HAVE__ISNAN 1
54534 _ACEOF
54537 done
54546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54547 $as_echo_n "checking for finite declaration... " >&6; }
54548 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54549 if ${glibcxx_cv_func_finite_use+:} false; then :
54550 $as_echo_n "(cached) " >&6
54551 else
54554 ac_ext=cpp
54555 ac_cpp='$CXXCPP $CPPFLAGS'
54556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54561 /* end confdefs.h. */
54562 #include <math.h>
54563 #ifdef HAVE_IEEEFP_H
54564 #include <ieeefp.h>
54565 #endif
54568 main ()
54570 finite(0);
54572 return 0;
54574 _ACEOF
54575 if ac_fn_cxx_try_compile "$LINENO"; then :
54576 glibcxx_cv_func_finite_use=yes
54577 else
54578 glibcxx_cv_func_finite_use=no
54580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54581 ac_ext=c
54582 ac_cpp='$CPP $CPPFLAGS'
54583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54592 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54594 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54595 for ac_func in finite
54596 do :
54597 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54598 if test "x$ac_cv_func_finite" = xyes; then :
54599 cat >>confdefs.h <<_ACEOF
54600 #define HAVE_FINITE 1
54601 _ACEOF
54604 done
54606 else
54608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54609 $as_echo_n "checking for _finite declaration... " >&6; }
54610 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54611 if ${glibcxx_cv_func__finite_use+:} false; then :
54612 $as_echo_n "(cached) " >&6
54613 else
54616 ac_ext=cpp
54617 ac_cpp='$CXXCPP $CPPFLAGS'
54618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54623 /* end confdefs.h. */
54624 #include <math.h>
54625 #ifdef HAVE_IEEEFP_H
54626 #include <ieeefp.h>
54627 #endif
54630 main ()
54632 _finite(0);
54634 return 0;
54636 _ACEOF
54637 if ac_fn_cxx_try_compile "$LINENO"; then :
54638 glibcxx_cv_func__finite_use=yes
54639 else
54640 glibcxx_cv_func__finite_use=no
54642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54643 ac_ext=c
54644 ac_cpp='$CPP $CPPFLAGS'
54645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54654 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54656 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54657 for ac_func in _finite
54658 do :
54659 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54660 if test "x$ac_cv_func__finite" = xyes; then :
54661 cat >>confdefs.h <<_ACEOF
54662 #define HAVE__FINITE 1
54663 _ACEOF
54666 done
54675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54676 $as_echo_n "checking for sincos declaration... " >&6; }
54677 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54678 if ${glibcxx_cv_func_sincos_use+:} false; then :
54679 $as_echo_n "(cached) " >&6
54680 else
54683 ac_ext=cpp
54684 ac_cpp='$CXXCPP $CPPFLAGS'
54685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54690 /* end confdefs.h. */
54691 #include <math.h>
54693 main ()
54695 sincos(0, 0, 0);
54697 return 0;
54699 _ACEOF
54700 if ac_fn_cxx_try_compile "$LINENO"; then :
54701 glibcxx_cv_func_sincos_use=yes
54702 else
54703 glibcxx_cv_func_sincos_use=no
54705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54706 ac_ext=c
54707 ac_cpp='$CPP $CPPFLAGS'
54708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54717 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54719 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54720 for ac_func in sincos
54721 do :
54722 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54723 if test "x$ac_cv_func_sincos" = xyes; then :
54724 cat >>confdefs.h <<_ACEOF
54725 #define HAVE_SINCOS 1
54726 _ACEOF
54729 done
54731 else
54733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54734 $as_echo_n "checking for _sincos declaration... " >&6; }
54735 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54736 if ${glibcxx_cv_func__sincos_use+:} false; then :
54737 $as_echo_n "(cached) " >&6
54738 else
54741 ac_ext=cpp
54742 ac_cpp='$CXXCPP $CPPFLAGS'
54743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54748 /* end confdefs.h. */
54749 #include <math.h>
54751 main ()
54753 _sincos(0, 0, 0);
54755 return 0;
54757 _ACEOF
54758 if ac_fn_cxx_try_compile "$LINENO"; then :
54759 glibcxx_cv_func__sincos_use=yes
54760 else
54761 glibcxx_cv_func__sincos_use=no
54763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54764 ac_ext=c
54765 ac_cpp='$CPP $CPPFLAGS'
54766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54775 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54777 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54778 for ac_func in _sincos
54779 do :
54780 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54781 if test "x$ac_cv_func__sincos" = xyes; then :
54782 cat >>confdefs.h <<_ACEOF
54783 #define HAVE__SINCOS 1
54784 _ACEOF
54787 done
54796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54797 $as_echo_n "checking for fpclass declaration... " >&6; }
54798 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54799 if ${glibcxx_cv_func_fpclass_use+:} false; then :
54800 $as_echo_n "(cached) " >&6
54801 else
54804 ac_ext=cpp
54805 ac_cpp='$CXXCPP $CPPFLAGS'
54806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54811 /* end confdefs.h. */
54812 #include <math.h>
54813 #ifdef HAVE_IEEEFP_H
54814 #include <ieeefp.h>
54815 #endif
54818 main ()
54820 fpclass(0);
54822 return 0;
54824 _ACEOF
54825 if ac_fn_cxx_try_compile "$LINENO"; then :
54826 glibcxx_cv_func_fpclass_use=yes
54827 else
54828 glibcxx_cv_func_fpclass_use=no
54830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54831 ac_ext=c
54832 ac_cpp='$CPP $CPPFLAGS'
54833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54842 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54844 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54845 for ac_func in fpclass
54846 do :
54847 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54848 if test "x$ac_cv_func_fpclass" = xyes; then :
54849 cat >>confdefs.h <<_ACEOF
54850 #define HAVE_FPCLASS 1
54851 _ACEOF
54854 done
54856 else
54858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54859 $as_echo_n "checking for _fpclass declaration... " >&6; }
54860 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54861 if ${glibcxx_cv_func__fpclass_use+:} false; then :
54862 $as_echo_n "(cached) " >&6
54863 else
54866 ac_ext=cpp
54867 ac_cpp='$CXXCPP $CPPFLAGS'
54868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54873 /* end confdefs.h. */
54874 #include <math.h>
54875 #ifdef HAVE_IEEEFP_H
54876 #include <ieeefp.h>
54877 #endif
54880 main ()
54882 _fpclass(0);
54884 return 0;
54886 _ACEOF
54887 if ac_fn_cxx_try_compile "$LINENO"; then :
54888 glibcxx_cv_func__fpclass_use=yes
54889 else
54890 glibcxx_cv_func__fpclass_use=no
54892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54893 ac_ext=c
54894 ac_cpp='$CPP $CPPFLAGS'
54895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54904 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54906 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54907 for ac_func in _fpclass
54908 do :
54909 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54910 if test "x$ac_cv_func__fpclass" = xyes; then :
54911 cat >>confdefs.h <<_ACEOF
54912 #define HAVE__FPCLASS 1
54913 _ACEOF
54916 done
54925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54926 $as_echo_n "checking for qfpclass declaration... " >&6; }
54927 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54928 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
54929 $as_echo_n "(cached) " >&6
54930 else
54933 ac_ext=cpp
54934 ac_cpp='$CXXCPP $CPPFLAGS'
54935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54940 /* end confdefs.h. */
54941 #include <math.h>
54942 #ifdef HAVE_IEEEFP_H
54943 #include <ieeefp.h>
54944 #endif
54947 main ()
54949 qfpclass(0);
54951 return 0;
54953 _ACEOF
54954 if ac_fn_cxx_try_compile "$LINENO"; then :
54955 glibcxx_cv_func_qfpclass_use=yes
54956 else
54957 glibcxx_cv_func_qfpclass_use=no
54959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54960 ac_ext=c
54961 ac_cpp='$CPP $CPPFLAGS'
54962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54971 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54973 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54974 for ac_func in qfpclass
54975 do :
54976 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54977 if test "x$ac_cv_func_qfpclass" = xyes; then :
54978 cat >>confdefs.h <<_ACEOF
54979 #define HAVE_QFPCLASS 1
54980 _ACEOF
54983 done
54985 else
54987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54988 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54989 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54990 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
54991 $as_echo_n "(cached) " >&6
54992 else
54995 ac_ext=cpp
54996 ac_cpp='$CXXCPP $CPPFLAGS'
54997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55002 /* end confdefs.h. */
55003 #include <math.h>
55004 #ifdef HAVE_IEEEFP_H
55005 #include <ieeefp.h>
55006 #endif
55009 main ()
55011 _qfpclass(0);
55013 return 0;
55015 _ACEOF
55016 if ac_fn_cxx_try_compile "$LINENO"; then :
55017 glibcxx_cv_func__qfpclass_use=yes
55018 else
55019 glibcxx_cv_func__qfpclass_use=no
55021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55022 ac_ext=c
55023 ac_cpp='$CPP $CPPFLAGS'
55024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55033 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55035 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55036 for ac_func in _qfpclass
55037 do :
55038 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55039 if test "x$ac_cv_func__qfpclass" = xyes; then :
55040 cat >>confdefs.h <<_ACEOF
55041 #define HAVE__QFPCLASS 1
55042 _ACEOF
55045 done
55054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55055 $as_echo_n "checking for hypot declaration... " >&6; }
55056 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55057 if ${glibcxx_cv_func_hypot_use+:} false; then :
55058 $as_echo_n "(cached) " >&6
55059 else
55062 ac_ext=cpp
55063 ac_cpp='$CXXCPP $CPPFLAGS'
55064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55069 /* end confdefs.h. */
55070 #include <math.h>
55072 main ()
55074 hypot(0, 0);
55076 return 0;
55078 _ACEOF
55079 if ac_fn_cxx_try_compile "$LINENO"; then :
55080 glibcxx_cv_func_hypot_use=yes
55081 else
55082 glibcxx_cv_func_hypot_use=no
55084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55085 ac_ext=c
55086 ac_cpp='$CPP $CPPFLAGS'
55087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55096 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55098 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55099 for ac_func in hypot
55100 do :
55101 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55102 if test "x$ac_cv_func_hypot" = xyes; then :
55103 cat >>confdefs.h <<_ACEOF
55104 #define HAVE_HYPOT 1
55105 _ACEOF
55108 done
55110 else
55112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55113 $as_echo_n "checking for _hypot declaration... " >&6; }
55114 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55115 if ${glibcxx_cv_func__hypot_use+:} false; then :
55116 $as_echo_n "(cached) " >&6
55117 else
55120 ac_ext=cpp
55121 ac_cpp='$CXXCPP $CPPFLAGS'
55122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55127 /* end confdefs.h. */
55128 #include <math.h>
55130 main ()
55132 _hypot(0, 0);
55134 return 0;
55136 _ACEOF
55137 if ac_fn_cxx_try_compile "$LINENO"; then :
55138 glibcxx_cv_func__hypot_use=yes
55139 else
55140 glibcxx_cv_func__hypot_use=no
55142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55143 ac_ext=c
55144 ac_cpp='$CPP $CPPFLAGS'
55145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55154 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55156 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55157 for ac_func in _hypot
55158 do :
55159 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55160 if test "x$ac_cv_func__hypot" = xyes; then :
55161 cat >>confdefs.h <<_ACEOF
55162 #define HAVE__HYPOT 1
55163 _ACEOF
55166 done
55175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55176 $as_echo_n "checking for float trig functions... " >&6; }
55177 if ${glibcxx_cv_func_float_trig_use+:} false; then :
55178 $as_echo_n "(cached) " >&6
55179 else
55182 ac_ext=cpp
55183 ac_cpp='$CXXCPP $CPPFLAGS'
55184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55189 /* end confdefs.h. */
55190 #include <math.h>
55192 main ()
55194 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55196 return 0;
55198 _ACEOF
55199 if ac_fn_cxx_try_compile "$LINENO"; then :
55200 glibcxx_cv_func_float_trig_use=yes
55201 else
55202 glibcxx_cv_func_float_trig_use=no
55204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55205 ac_ext=c
55206 ac_cpp='$CPP $CPPFLAGS'
55207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
55214 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
55215 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
55216 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
55217 do :
55218 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55219 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55220 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55221 cat >>confdefs.h <<_ACEOF
55222 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55223 _ACEOF
55226 done
55228 else
55229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
55230 $as_echo_n "checking for _float trig functions... " >&6; }
55231 if ${glibcxx_cv_func__float_trig_use+:} false; then :
55232 $as_echo_n "(cached) " >&6
55233 else
55236 ac_ext=cpp
55237 ac_cpp='$CXXCPP $CPPFLAGS'
55238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55243 /* end confdefs.h. */
55244 #include <math.h>
55246 main ()
55248 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55250 return 0;
55252 _ACEOF
55253 if ac_fn_cxx_try_compile "$LINENO"; then :
55254 glibcxx_cv_func__float_trig_use=yes
55255 else
55256 glibcxx_cv_func__float_trig_use=no
55258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55259 ac_ext=c
55260 ac_cpp='$CPP $CPPFLAGS'
55261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55268 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55269 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55270 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55271 do :
55272 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55273 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55274 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55275 cat >>confdefs.h <<_ACEOF
55276 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55277 _ACEOF
55280 done
55289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55290 $as_echo_n "checking for float round functions... " >&6; }
55291 if ${glibcxx_cv_func_float_round_use+:} false; then :
55292 $as_echo_n "(cached) " >&6
55293 else
55296 ac_ext=cpp
55297 ac_cpp='$CXXCPP $CPPFLAGS'
55298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55303 /* end confdefs.h. */
55304 #include <math.h>
55306 main ()
55308 ceilf (0); floorf (0);
55310 return 0;
55312 _ACEOF
55313 if ac_fn_cxx_try_compile "$LINENO"; then :
55314 glibcxx_cv_func_float_round_use=yes
55315 else
55316 glibcxx_cv_func_float_round_use=no
55318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55319 ac_ext=c
55320 ac_cpp='$CPP $CPPFLAGS'
55321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55328 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55329 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55330 for ac_func in ceilf floorf
55331 do :
55332 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55333 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55334 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55335 cat >>confdefs.h <<_ACEOF
55336 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55337 _ACEOF
55340 done
55342 else
55343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55344 $as_echo_n "checking for _float round functions... " >&6; }
55345 if ${glibcxx_cv_func__float_round_use+:} false; then :
55346 $as_echo_n "(cached) " >&6
55347 else
55350 ac_ext=cpp
55351 ac_cpp='$CXXCPP $CPPFLAGS'
55352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55357 /* end confdefs.h. */
55358 #include <math.h>
55360 main ()
55362 _ceilf (0); _floorf (0);
55364 return 0;
55366 _ACEOF
55367 if ac_fn_cxx_try_compile "$LINENO"; then :
55368 glibcxx_cv_func__float_round_use=yes
55369 else
55370 glibcxx_cv_func__float_round_use=no
55372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55373 ac_ext=c
55374 ac_cpp='$CPP $CPPFLAGS'
55375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55382 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55383 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55384 for ac_func in _ceilf _floorf
55385 do :
55386 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55387 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55388 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55389 cat >>confdefs.h <<_ACEOF
55390 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55391 _ACEOF
55394 done
55404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55405 $as_echo_n "checking for expf declaration... " >&6; }
55406 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55407 if ${glibcxx_cv_func_expf_use+:} false; then :
55408 $as_echo_n "(cached) " >&6
55409 else
55412 ac_ext=cpp
55413 ac_cpp='$CXXCPP $CPPFLAGS'
55414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55419 /* end confdefs.h. */
55420 #include <math.h>
55421 #ifdef HAVE_IEEEFP_H
55422 #include <ieeefp.h>
55423 #endif
55426 main ()
55428 expf(0);
55430 return 0;
55432 _ACEOF
55433 if ac_fn_cxx_try_compile "$LINENO"; then :
55434 glibcxx_cv_func_expf_use=yes
55435 else
55436 glibcxx_cv_func_expf_use=no
55438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55439 ac_ext=c
55440 ac_cpp='$CPP $CPPFLAGS'
55441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55450 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55452 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55453 for ac_func in expf
55454 do :
55455 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55456 if test "x$ac_cv_func_expf" = xyes; then :
55457 cat >>confdefs.h <<_ACEOF
55458 #define HAVE_EXPF 1
55459 _ACEOF
55462 done
55464 else
55466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55467 $as_echo_n "checking for _expf declaration... " >&6; }
55468 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55469 if ${glibcxx_cv_func__expf_use+:} false; then :
55470 $as_echo_n "(cached) " >&6
55471 else
55474 ac_ext=cpp
55475 ac_cpp='$CXXCPP $CPPFLAGS'
55476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55481 /* end confdefs.h. */
55482 #include <math.h>
55483 #ifdef HAVE_IEEEFP_H
55484 #include <ieeefp.h>
55485 #endif
55488 main ()
55490 _expf(0);
55492 return 0;
55494 _ACEOF
55495 if ac_fn_cxx_try_compile "$LINENO"; then :
55496 glibcxx_cv_func__expf_use=yes
55497 else
55498 glibcxx_cv_func__expf_use=no
55500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55501 ac_ext=c
55502 ac_cpp='$CPP $CPPFLAGS'
55503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55512 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55514 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55515 for ac_func in _expf
55516 do :
55517 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55518 if test "x$ac_cv_func__expf" = xyes; then :
55519 cat >>confdefs.h <<_ACEOF
55520 #define HAVE__EXPF 1
55521 _ACEOF
55524 done
55533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55534 $as_echo_n "checking for isnanf declaration... " >&6; }
55535 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55536 if ${glibcxx_cv_func_isnanf_use+:} false; then :
55537 $as_echo_n "(cached) " >&6
55538 else
55541 ac_ext=cpp
55542 ac_cpp='$CXXCPP $CPPFLAGS'
55543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55548 /* end confdefs.h. */
55549 #include <math.h>
55550 #ifdef HAVE_IEEEFP_H
55551 #include <ieeefp.h>
55552 #endif
55555 main ()
55557 isnanf(0);
55559 return 0;
55561 _ACEOF
55562 if ac_fn_cxx_try_compile "$LINENO"; then :
55563 glibcxx_cv_func_isnanf_use=yes
55564 else
55565 glibcxx_cv_func_isnanf_use=no
55567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55568 ac_ext=c
55569 ac_cpp='$CPP $CPPFLAGS'
55570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55579 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55581 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55582 for ac_func in isnanf
55583 do :
55584 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55585 if test "x$ac_cv_func_isnanf" = xyes; then :
55586 cat >>confdefs.h <<_ACEOF
55587 #define HAVE_ISNANF 1
55588 _ACEOF
55591 done
55593 else
55595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55596 $as_echo_n "checking for _isnanf declaration... " >&6; }
55597 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55598 if ${glibcxx_cv_func__isnanf_use+:} false; then :
55599 $as_echo_n "(cached) " >&6
55600 else
55603 ac_ext=cpp
55604 ac_cpp='$CXXCPP $CPPFLAGS'
55605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55610 /* end confdefs.h. */
55611 #include <math.h>
55612 #ifdef HAVE_IEEEFP_H
55613 #include <ieeefp.h>
55614 #endif
55617 main ()
55619 _isnanf(0);
55621 return 0;
55623 _ACEOF
55624 if ac_fn_cxx_try_compile "$LINENO"; then :
55625 glibcxx_cv_func__isnanf_use=yes
55626 else
55627 glibcxx_cv_func__isnanf_use=no
55629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55630 ac_ext=c
55631 ac_cpp='$CPP $CPPFLAGS'
55632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55641 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55643 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55644 for ac_func in _isnanf
55645 do :
55646 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55647 if test "x$ac_cv_func__isnanf" = xyes; then :
55648 cat >>confdefs.h <<_ACEOF
55649 #define HAVE__ISNANF 1
55650 _ACEOF
55653 done
55662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55663 $as_echo_n "checking for isinff declaration... " >&6; }
55664 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55665 if ${glibcxx_cv_func_isinff_use+:} false; then :
55666 $as_echo_n "(cached) " >&6
55667 else
55670 ac_ext=cpp
55671 ac_cpp='$CXXCPP $CPPFLAGS'
55672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55677 /* end confdefs.h. */
55678 #include <math.h>
55679 #ifdef HAVE_IEEEFP_H
55680 #include <ieeefp.h>
55681 #endif
55684 main ()
55686 isinff(0);
55688 return 0;
55690 _ACEOF
55691 if ac_fn_cxx_try_compile "$LINENO"; then :
55692 glibcxx_cv_func_isinff_use=yes
55693 else
55694 glibcxx_cv_func_isinff_use=no
55696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55697 ac_ext=c
55698 ac_cpp='$CPP $CPPFLAGS'
55699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55708 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55710 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55711 for ac_func in isinff
55712 do :
55713 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55714 if test "x$ac_cv_func_isinff" = xyes; then :
55715 cat >>confdefs.h <<_ACEOF
55716 #define HAVE_ISINFF 1
55717 _ACEOF
55720 done
55722 else
55724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55725 $as_echo_n "checking for _isinff declaration... " >&6; }
55726 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55727 if ${glibcxx_cv_func__isinff_use+:} false; then :
55728 $as_echo_n "(cached) " >&6
55729 else
55732 ac_ext=cpp
55733 ac_cpp='$CXXCPP $CPPFLAGS'
55734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55739 /* end confdefs.h. */
55740 #include <math.h>
55741 #ifdef HAVE_IEEEFP_H
55742 #include <ieeefp.h>
55743 #endif
55746 main ()
55748 _isinff(0);
55750 return 0;
55752 _ACEOF
55753 if ac_fn_cxx_try_compile "$LINENO"; then :
55754 glibcxx_cv_func__isinff_use=yes
55755 else
55756 glibcxx_cv_func__isinff_use=no
55758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55759 ac_ext=c
55760 ac_cpp='$CPP $CPPFLAGS'
55761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55770 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55772 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55773 for ac_func in _isinff
55774 do :
55775 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55776 if test "x$ac_cv_func__isinff" = xyes; then :
55777 cat >>confdefs.h <<_ACEOF
55778 #define HAVE__ISINFF 1
55779 _ACEOF
55782 done
55791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55792 $as_echo_n "checking for atan2f declaration... " >&6; }
55793 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55794 if ${glibcxx_cv_func_atan2f_use+:} false; then :
55795 $as_echo_n "(cached) " >&6
55796 else
55799 ac_ext=cpp
55800 ac_cpp='$CXXCPP $CPPFLAGS'
55801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55806 /* end confdefs.h. */
55807 #include <math.h>
55809 main ()
55811 atan2f(0, 0);
55813 return 0;
55815 _ACEOF
55816 if ac_fn_cxx_try_compile "$LINENO"; then :
55817 glibcxx_cv_func_atan2f_use=yes
55818 else
55819 glibcxx_cv_func_atan2f_use=no
55821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55822 ac_ext=c
55823 ac_cpp='$CPP $CPPFLAGS'
55824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55833 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55835 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55836 for ac_func in atan2f
55837 do :
55838 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55839 if test "x$ac_cv_func_atan2f" = xyes; then :
55840 cat >>confdefs.h <<_ACEOF
55841 #define HAVE_ATAN2F 1
55842 _ACEOF
55845 done
55847 else
55849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55850 $as_echo_n "checking for _atan2f declaration... " >&6; }
55851 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55852 if ${glibcxx_cv_func__atan2f_use+:} false; then :
55853 $as_echo_n "(cached) " >&6
55854 else
55857 ac_ext=cpp
55858 ac_cpp='$CXXCPP $CPPFLAGS'
55859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55864 /* end confdefs.h. */
55865 #include <math.h>
55867 main ()
55869 _atan2f(0, 0);
55871 return 0;
55873 _ACEOF
55874 if ac_fn_cxx_try_compile "$LINENO"; then :
55875 glibcxx_cv_func__atan2f_use=yes
55876 else
55877 glibcxx_cv_func__atan2f_use=no
55879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55880 ac_ext=c
55881 ac_cpp='$CPP $CPPFLAGS'
55882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55891 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55893 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55894 for ac_func in _atan2f
55895 do :
55896 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55897 if test "x$ac_cv_func__atan2f" = xyes; then :
55898 cat >>confdefs.h <<_ACEOF
55899 #define HAVE__ATAN2F 1
55900 _ACEOF
55903 done
55912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55913 $as_echo_n "checking for fabsf declaration... " >&6; }
55914 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55915 if ${glibcxx_cv_func_fabsf_use+:} false; then :
55916 $as_echo_n "(cached) " >&6
55917 else
55920 ac_ext=cpp
55921 ac_cpp='$CXXCPP $CPPFLAGS'
55922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55927 /* end confdefs.h. */
55928 #include <math.h>
55929 #ifdef HAVE_IEEEFP_H
55930 #include <ieeefp.h>
55931 #endif
55934 main ()
55936 fabsf(0);
55938 return 0;
55940 _ACEOF
55941 if ac_fn_cxx_try_compile "$LINENO"; then :
55942 glibcxx_cv_func_fabsf_use=yes
55943 else
55944 glibcxx_cv_func_fabsf_use=no
55946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55947 ac_ext=c
55948 ac_cpp='$CPP $CPPFLAGS'
55949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55958 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55960 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55961 for ac_func in fabsf
55962 do :
55963 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55964 if test "x$ac_cv_func_fabsf" = xyes; then :
55965 cat >>confdefs.h <<_ACEOF
55966 #define HAVE_FABSF 1
55967 _ACEOF
55970 done
55972 else
55974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55975 $as_echo_n "checking for _fabsf declaration... " >&6; }
55976 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55977 if ${glibcxx_cv_func__fabsf_use+:} false; then :
55978 $as_echo_n "(cached) " >&6
55979 else
55982 ac_ext=cpp
55983 ac_cpp='$CXXCPP $CPPFLAGS'
55984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55989 /* end confdefs.h. */
55990 #include <math.h>
55991 #ifdef HAVE_IEEEFP_H
55992 #include <ieeefp.h>
55993 #endif
55996 main ()
55998 _fabsf(0);
56000 return 0;
56002 _ACEOF
56003 if ac_fn_cxx_try_compile "$LINENO"; then :
56004 glibcxx_cv_func__fabsf_use=yes
56005 else
56006 glibcxx_cv_func__fabsf_use=no
56008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56009 ac_ext=c
56010 ac_cpp='$CPP $CPPFLAGS'
56011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56020 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56022 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56023 for ac_func in _fabsf
56024 do :
56025 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56026 if test "x$ac_cv_func__fabsf" = xyes; then :
56027 cat >>confdefs.h <<_ACEOF
56028 #define HAVE__FABSF 1
56029 _ACEOF
56032 done
56041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56042 $as_echo_n "checking for fmodf declaration... " >&6; }
56043 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56044 if ${glibcxx_cv_func_fmodf_use+:} false; then :
56045 $as_echo_n "(cached) " >&6
56046 else
56049 ac_ext=cpp
56050 ac_cpp='$CXXCPP $CPPFLAGS'
56051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56056 /* end confdefs.h. */
56057 #include <math.h>
56059 main ()
56061 fmodf(0, 0);
56063 return 0;
56065 _ACEOF
56066 if ac_fn_cxx_try_compile "$LINENO"; then :
56067 glibcxx_cv_func_fmodf_use=yes
56068 else
56069 glibcxx_cv_func_fmodf_use=no
56071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56072 ac_ext=c
56073 ac_cpp='$CPP $CPPFLAGS'
56074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56083 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56085 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56086 for ac_func in fmodf
56087 do :
56088 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56089 if test "x$ac_cv_func_fmodf" = xyes; then :
56090 cat >>confdefs.h <<_ACEOF
56091 #define HAVE_FMODF 1
56092 _ACEOF
56095 done
56097 else
56099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56100 $as_echo_n "checking for _fmodf declaration... " >&6; }
56101 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56102 if ${glibcxx_cv_func__fmodf_use+:} false; then :
56103 $as_echo_n "(cached) " >&6
56104 else
56107 ac_ext=cpp
56108 ac_cpp='$CXXCPP $CPPFLAGS'
56109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56114 /* end confdefs.h. */
56115 #include <math.h>
56117 main ()
56119 _fmodf(0, 0);
56121 return 0;
56123 _ACEOF
56124 if ac_fn_cxx_try_compile "$LINENO"; then :
56125 glibcxx_cv_func__fmodf_use=yes
56126 else
56127 glibcxx_cv_func__fmodf_use=no
56129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56130 ac_ext=c
56131 ac_cpp='$CPP $CPPFLAGS'
56132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56141 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56143 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56144 for ac_func in _fmodf
56145 do :
56146 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56147 if test "x$ac_cv_func__fmodf" = xyes; then :
56148 cat >>confdefs.h <<_ACEOF
56149 #define HAVE__FMODF 1
56150 _ACEOF
56153 done
56162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56163 $as_echo_n "checking for frexpf declaration... " >&6; }
56164 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56165 if ${glibcxx_cv_func_frexpf_use+:} false; then :
56166 $as_echo_n "(cached) " >&6
56167 else
56170 ac_ext=cpp
56171 ac_cpp='$CXXCPP $CPPFLAGS'
56172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56177 /* end confdefs.h. */
56178 #include <math.h>
56180 main ()
56182 frexpf(0, 0);
56184 return 0;
56186 _ACEOF
56187 if ac_fn_cxx_try_compile "$LINENO"; then :
56188 glibcxx_cv_func_frexpf_use=yes
56189 else
56190 glibcxx_cv_func_frexpf_use=no
56192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56193 ac_ext=c
56194 ac_cpp='$CPP $CPPFLAGS'
56195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56204 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
56206 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
56207 for ac_func in frexpf
56208 do :
56209 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
56210 if test "x$ac_cv_func_frexpf" = xyes; then :
56211 cat >>confdefs.h <<_ACEOF
56212 #define HAVE_FREXPF 1
56213 _ACEOF
56216 done
56218 else
56220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
56221 $as_echo_n "checking for _frexpf declaration... " >&6; }
56222 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
56223 if ${glibcxx_cv_func__frexpf_use+:} false; then :
56224 $as_echo_n "(cached) " >&6
56225 else
56228 ac_ext=cpp
56229 ac_cpp='$CXXCPP $CPPFLAGS'
56230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56235 /* end confdefs.h. */
56236 #include <math.h>
56238 main ()
56240 _frexpf(0, 0);
56242 return 0;
56244 _ACEOF
56245 if ac_fn_cxx_try_compile "$LINENO"; then :
56246 glibcxx_cv_func__frexpf_use=yes
56247 else
56248 glibcxx_cv_func__frexpf_use=no
56250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56251 ac_ext=c
56252 ac_cpp='$CPP $CPPFLAGS'
56253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56262 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56264 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56265 for ac_func in _frexpf
56266 do :
56267 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56268 if test "x$ac_cv_func__frexpf" = xyes; then :
56269 cat >>confdefs.h <<_ACEOF
56270 #define HAVE__FREXPF 1
56271 _ACEOF
56274 done
56283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56284 $as_echo_n "checking for hypotf declaration... " >&6; }
56285 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56286 if ${glibcxx_cv_func_hypotf_use+:} false; then :
56287 $as_echo_n "(cached) " >&6
56288 else
56291 ac_ext=cpp
56292 ac_cpp='$CXXCPP $CPPFLAGS'
56293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56298 /* end confdefs.h. */
56299 #include <math.h>
56301 main ()
56303 hypotf(0, 0);
56305 return 0;
56307 _ACEOF
56308 if ac_fn_cxx_try_compile "$LINENO"; then :
56309 glibcxx_cv_func_hypotf_use=yes
56310 else
56311 glibcxx_cv_func_hypotf_use=no
56313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56314 ac_ext=c
56315 ac_cpp='$CPP $CPPFLAGS'
56316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56325 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56327 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56328 for ac_func in hypotf
56329 do :
56330 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56331 if test "x$ac_cv_func_hypotf" = xyes; then :
56332 cat >>confdefs.h <<_ACEOF
56333 #define HAVE_HYPOTF 1
56334 _ACEOF
56337 done
56339 else
56341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56342 $as_echo_n "checking for _hypotf declaration... " >&6; }
56343 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56344 if ${glibcxx_cv_func__hypotf_use+:} false; then :
56345 $as_echo_n "(cached) " >&6
56346 else
56349 ac_ext=cpp
56350 ac_cpp='$CXXCPP $CPPFLAGS'
56351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56356 /* end confdefs.h. */
56357 #include <math.h>
56359 main ()
56361 _hypotf(0, 0);
56363 return 0;
56365 _ACEOF
56366 if ac_fn_cxx_try_compile "$LINENO"; then :
56367 glibcxx_cv_func__hypotf_use=yes
56368 else
56369 glibcxx_cv_func__hypotf_use=no
56371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56372 ac_ext=c
56373 ac_cpp='$CPP $CPPFLAGS'
56374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56383 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56385 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56386 for ac_func in _hypotf
56387 do :
56388 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56389 if test "x$ac_cv_func__hypotf" = xyes; then :
56390 cat >>confdefs.h <<_ACEOF
56391 #define HAVE__HYPOTF 1
56392 _ACEOF
56395 done
56404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56405 $as_echo_n "checking for ldexpf declaration... " >&6; }
56406 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56407 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
56408 $as_echo_n "(cached) " >&6
56409 else
56412 ac_ext=cpp
56413 ac_cpp='$CXXCPP $CPPFLAGS'
56414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56419 /* end confdefs.h. */
56420 #include <math.h>
56422 main ()
56424 ldexpf(0, 0);
56426 return 0;
56428 _ACEOF
56429 if ac_fn_cxx_try_compile "$LINENO"; then :
56430 glibcxx_cv_func_ldexpf_use=yes
56431 else
56432 glibcxx_cv_func_ldexpf_use=no
56434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56435 ac_ext=c
56436 ac_cpp='$CPP $CPPFLAGS'
56437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56446 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56448 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56449 for ac_func in ldexpf
56450 do :
56451 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56452 if test "x$ac_cv_func_ldexpf" = xyes; then :
56453 cat >>confdefs.h <<_ACEOF
56454 #define HAVE_LDEXPF 1
56455 _ACEOF
56458 done
56460 else
56462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56463 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56464 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56465 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
56466 $as_echo_n "(cached) " >&6
56467 else
56470 ac_ext=cpp
56471 ac_cpp='$CXXCPP $CPPFLAGS'
56472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56477 /* end confdefs.h. */
56478 #include <math.h>
56480 main ()
56482 _ldexpf(0, 0);
56484 return 0;
56486 _ACEOF
56487 if ac_fn_cxx_try_compile "$LINENO"; then :
56488 glibcxx_cv_func__ldexpf_use=yes
56489 else
56490 glibcxx_cv_func__ldexpf_use=no
56492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56493 ac_ext=c
56494 ac_cpp='$CPP $CPPFLAGS'
56495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56504 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56506 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56507 for ac_func in _ldexpf
56508 do :
56509 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56510 if test "x$ac_cv_func__ldexpf" = xyes; then :
56511 cat >>confdefs.h <<_ACEOF
56512 #define HAVE__LDEXPF 1
56513 _ACEOF
56516 done
56525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56526 $as_echo_n "checking for logf declaration... " >&6; }
56527 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56528 if ${glibcxx_cv_func_logf_use+:} false; then :
56529 $as_echo_n "(cached) " >&6
56530 else
56533 ac_ext=cpp
56534 ac_cpp='$CXXCPP $CPPFLAGS'
56535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56540 /* end confdefs.h. */
56541 #include <math.h>
56542 #ifdef HAVE_IEEEFP_H
56543 #include <ieeefp.h>
56544 #endif
56547 main ()
56549 logf(0);
56551 return 0;
56553 _ACEOF
56554 if ac_fn_cxx_try_compile "$LINENO"; then :
56555 glibcxx_cv_func_logf_use=yes
56556 else
56557 glibcxx_cv_func_logf_use=no
56559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56560 ac_ext=c
56561 ac_cpp='$CPP $CPPFLAGS'
56562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56571 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56573 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56574 for ac_func in logf
56575 do :
56576 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56577 if test "x$ac_cv_func_logf" = xyes; then :
56578 cat >>confdefs.h <<_ACEOF
56579 #define HAVE_LOGF 1
56580 _ACEOF
56583 done
56585 else
56587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56588 $as_echo_n "checking for _logf declaration... " >&6; }
56589 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56590 if ${glibcxx_cv_func__logf_use+:} false; then :
56591 $as_echo_n "(cached) " >&6
56592 else
56595 ac_ext=cpp
56596 ac_cpp='$CXXCPP $CPPFLAGS'
56597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56602 /* end confdefs.h. */
56603 #include <math.h>
56604 #ifdef HAVE_IEEEFP_H
56605 #include <ieeefp.h>
56606 #endif
56609 main ()
56611 _logf(0);
56613 return 0;
56615 _ACEOF
56616 if ac_fn_cxx_try_compile "$LINENO"; then :
56617 glibcxx_cv_func__logf_use=yes
56618 else
56619 glibcxx_cv_func__logf_use=no
56621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56622 ac_ext=c
56623 ac_cpp='$CPP $CPPFLAGS'
56624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56633 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56635 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56636 for ac_func in _logf
56637 do :
56638 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56639 if test "x$ac_cv_func__logf" = xyes; then :
56640 cat >>confdefs.h <<_ACEOF
56641 #define HAVE__LOGF 1
56642 _ACEOF
56645 done
56654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56655 $as_echo_n "checking for log10f declaration... " >&6; }
56656 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56657 if ${glibcxx_cv_func_log10f_use+:} false; then :
56658 $as_echo_n "(cached) " >&6
56659 else
56662 ac_ext=cpp
56663 ac_cpp='$CXXCPP $CPPFLAGS'
56664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56669 /* end confdefs.h. */
56670 #include <math.h>
56671 #ifdef HAVE_IEEEFP_H
56672 #include <ieeefp.h>
56673 #endif
56676 main ()
56678 log10f(0);
56680 return 0;
56682 _ACEOF
56683 if ac_fn_cxx_try_compile "$LINENO"; then :
56684 glibcxx_cv_func_log10f_use=yes
56685 else
56686 glibcxx_cv_func_log10f_use=no
56688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56689 ac_ext=c
56690 ac_cpp='$CPP $CPPFLAGS'
56691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56700 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56702 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56703 for ac_func in log10f
56704 do :
56705 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56706 if test "x$ac_cv_func_log10f" = xyes; then :
56707 cat >>confdefs.h <<_ACEOF
56708 #define HAVE_LOG10F 1
56709 _ACEOF
56712 done
56714 else
56716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56717 $as_echo_n "checking for _log10f declaration... " >&6; }
56718 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56719 if ${glibcxx_cv_func__log10f_use+:} false; then :
56720 $as_echo_n "(cached) " >&6
56721 else
56724 ac_ext=cpp
56725 ac_cpp='$CXXCPP $CPPFLAGS'
56726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56731 /* end confdefs.h. */
56732 #include <math.h>
56733 #ifdef HAVE_IEEEFP_H
56734 #include <ieeefp.h>
56735 #endif
56738 main ()
56740 _log10f(0);
56742 return 0;
56744 _ACEOF
56745 if ac_fn_cxx_try_compile "$LINENO"; then :
56746 glibcxx_cv_func__log10f_use=yes
56747 else
56748 glibcxx_cv_func__log10f_use=no
56750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56751 ac_ext=c
56752 ac_cpp='$CPP $CPPFLAGS'
56753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56762 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56764 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56765 for ac_func in _log10f
56766 do :
56767 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56768 if test "x$ac_cv_func__log10f" = xyes; then :
56769 cat >>confdefs.h <<_ACEOF
56770 #define HAVE__LOG10F 1
56771 _ACEOF
56774 done
56783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56784 $as_echo_n "checking for modff declaration... " >&6; }
56785 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56786 if ${glibcxx_cv_func_modff_use+:} false; then :
56787 $as_echo_n "(cached) " >&6
56788 else
56791 ac_ext=cpp
56792 ac_cpp='$CXXCPP $CPPFLAGS'
56793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56798 /* end confdefs.h. */
56799 #include <math.h>
56801 main ()
56803 modff(0, 0);
56805 return 0;
56807 _ACEOF
56808 if ac_fn_cxx_try_compile "$LINENO"; then :
56809 glibcxx_cv_func_modff_use=yes
56810 else
56811 glibcxx_cv_func_modff_use=no
56813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56814 ac_ext=c
56815 ac_cpp='$CPP $CPPFLAGS'
56816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56825 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56827 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56828 for ac_func in modff
56829 do :
56830 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56831 if test "x$ac_cv_func_modff" = xyes; then :
56832 cat >>confdefs.h <<_ACEOF
56833 #define HAVE_MODFF 1
56834 _ACEOF
56837 done
56839 else
56841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56842 $as_echo_n "checking for _modff declaration... " >&6; }
56843 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56844 if ${glibcxx_cv_func__modff_use+:} false; then :
56845 $as_echo_n "(cached) " >&6
56846 else
56849 ac_ext=cpp
56850 ac_cpp='$CXXCPP $CPPFLAGS'
56851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56856 /* end confdefs.h. */
56857 #include <math.h>
56859 main ()
56861 _modff(0, 0);
56863 return 0;
56865 _ACEOF
56866 if ac_fn_cxx_try_compile "$LINENO"; then :
56867 glibcxx_cv_func__modff_use=yes
56868 else
56869 glibcxx_cv_func__modff_use=no
56871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56872 ac_ext=c
56873 ac_cpp='$CPP $CPPFLAGS'
56874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56883 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56885 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56886 for ac_func in _modff
56887 do :
56888 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56889 if test "x$ac_cv_func__modff" = xyes; then :
56890 cat >>confdefs.h <<_ACEOF
56891 #define HAVE__MODFF 1
56892 _ACEOF
56895 done
56904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56905 $as_echo_n "checking for modf declaration... " >&6; }
56906 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56907 if ${glibcxx_cv_func_modf_use+:} false; then :
56908 $as_echo_n "(cached) " >&6
56909 else
56912 ac_ext=cpp
56913 ac_cpp='$CXXCPP $CPPFLAGS'
56914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56919 /* end confdefs.h. */
56920 #include <math.h>
56922 main ()
56924 modf(0, 0);
56926 return 0;
56928 _ACEOF
56929 if ac_fn_cxx_try_compile "$LINENO"; then :
56930 glibcxx_cv_func_modf_use=yes
56931 else
56932 glibcxx_cv_func_modf_use=no
56934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56935 ac_ext=c
56936 ac_cpp='$CPP $CPPFLAGS'
56937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56946 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56948 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56949 for ac_func in modf
56950 do :
56951 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56952 if test "x$ac_cv_func_modf" = xyes; then :
56953 cat >>confdefs.h <<_ACEOF
56954 #define HAVE_MODF 1
56955 _ACEOF
56958 done
56960 else
56962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56963 $as_echo_n "checking for _modf declaration... " >&6; }
56964 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56965 if ${glibcxx_cv_func__modf_use+:} false; then :
56966 $as_echo_n "(cached) " >&6
56967 else
56970 ac_ext=cpp
56971 ac_cpp='$CXXCPP $CPPFLAGS'
56972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56977 /* end confdefs.h. */
56978 #include <math.h>
56980 main ()
56982 _modf(0, 0);
56984 return 0;
56986 _ACEOF
56987 if ac_fn_cxx_try_compile "$LINENO"; then :
56988 glibcxx_cv_func__modf_use=yes
56989 else
56990 glibcxx_cv_func__modf_use=no
56992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56993 ac_ext=c
56994 ac_cpp='$CPP $CPPFLAGS'
56995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57004 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
57006 if test x$glibcxx_cv_func__modf_use = x"yes"; then
57007 for ac_func in _modf
57008 do :
57009 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57010 if test "x$ac_cv_func__modf" = xyes; then :
57011 cat >>confdefs.h <<_ACEOF
57012 #define HAVE__MODF 1
57013 _ACEOF
57016 done
57025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57026 $as_echo_n "checking for powf declaration... " >&6; }
57027 if test x${glibcxx_cv_func_powf_use+set} != xset; then
57028 if ${glibcxx_cv_func_powf_use+:} false; then :
57029 $as_echo_n "(cached) " >&6
57030 else
57033 ac_ext=cpp
57034 ac_cpp='$CXXCPP $CPPFLAGS'
57035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57040 /* end confdefs.h. */
57041 #include <math.h>
57043 main ()
57045 powf(0, 0);
57047 return 0;
57049 _ACEOF
57050 if ac_fn_cxx_try_compile "$LINENO"; then :
57051 glibcxx_cv_func_powf_use=yes
57052 else
57053 glibcxx_cv_func_powf_use=no
57055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57056 ac_ext=c
57057 ac_cpp='$CPP $CPPFLAGS'
57058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57067 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
57069 if test x$glibcxx_cv_func_powf_use = x"yes"; then
57070 for ac_func in powf
57071 do :
57072 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57073 if test "x$ac_cv_func_powf" = xyes; then :
57074 cat >>confdefs.h <<_ACEOF
57075 #define HAVE_POWF 1
57076 _ACEOF
57079 done
57081 else
57083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57084 $as_echo_n "checking for _powf declaration... " >&6; }
57085 if test x${glibcxx_cv_func__powf_use+set} != xset; then
57086 if ${glibcxx_cv_func__powf_use+:} false; then :
57087 $as_echo_n "(cached) " >&6
57088 else
57091 ac_ext=cpp
57092 ac_cpp='$CXXCPP $CPPFLAGS'
57093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57098 /* end confdefs.h. */
57099 #include <math.h>
57101 main ()
57103 _powf(0, 0);
57105 return 0;
57107 _ACEOF
57108 if ac_fn_cxx_try_compile "$LINENO"; then :
57109 glibcxx_cv_func__powf_use=yes
57110 else
57111 glibcxx_cv_func__powf_use=no
57113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57114 ac_ext=c
57115 ac_cpp='$CPP $CPPFLAGS'
57116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57125 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
57127 if test x$glibcxx_cv_func__powf_use = x"yes"; then
57128 for ac_func in _powf
57129 do :
57130 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57131 if test "x$ac_cv_func__powf" = xyes; then :
57132 cat >>confdefs.h <<_ACEOF
57133 #define HAVE__POWF 1
57134 _ACEOF
57137 done
57146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57147 $as_echo_n "checking for sqrtf declaration... " >&6; }
57148 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57149 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57150 $as_echo_n "(cached) " >&6
57151 else
57154 ac_ext=cpp
57155 ac_cpp='$CXXCPP $CPPFLAGS'
57156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57161 /* end confdefs.h. */
57162 #include <math.h>
57163 #ifdef HAVE_IEEEFP_H
57164 #include <ieeefp.h>
57165 #endif
57168 main ()
57170 sqrtf(0);
57172 return 0;
57174 _ACEOF
57175 if ac_fn_cxx_try_compile "$LINENO"; then :
57176 glibcxx_cv_func_sqrtf_use=yes
57177 else
57178 glibcxx_cv_func_sqrtf_use=no
57180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57181 ac_ext=c
57182 ac_cpp='$CPP $CPPFLAGS'
57183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57192 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57194 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57195 for ac_func in sqrtf
57196 do :
57197 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57198 if test "x$ac_cv_func_sqrtf" = xyes; then :
57199 cat >>confdefs.h <<_ACEOF
57200 #define HAVE_SQRTF 1
57201 _ACEOF
57204 done
57206 else
57208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
57209 $as_echo_n "checking for _sqrtf declaration... " >&6; }
57210 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
57211 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
57212 $as_echo_n "(cached) " >&6
57213 else
57216 ac_ext=cpp
57217 ac_cpp='$CXXCPP $CPPFLAGS'
57218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57223 /* end confdefs.h. */
57224 #include <math.h>
57225 #ifdef HAVE_IEEEFP_H
57226 #include <ieeefp.h>
57227 #endif
57230 main ()
57232 _sqrtf(0);
57234 return 0;
57236 _ACEOF
57237 if ac_fn_cxx_try_compile "$LINENO"; then :
57238 glibcxx_cv_func__sqrtf_use=yes
57239 else
57240 glibcxx_cv_func__sqrtf_use=no
57242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57243 ac_ext=c
57244 ac_cpp='$CPP $CPPFLAGS'
57245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57254 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57256 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57257 for ac_func in _sqrtf
57258 do :
57259 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57260 if test "x$ac_cv_func__sqrtf" = xyes; then :
57261 cat >>confdefs.h <<_ACEOF
57262 #define HAVE__SQRTF 1
57263 _ACEOF
57266 done
57275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57276 $as_echo_n "checking for sincosf declaration... " >&6; }
57277 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57278 if ${glibcxx_cv_func_sincosf_use+:} false; then :
57279 $as_echo_n "(cached) " >&6
57280 else
57283 ac_ext=cpp
57284 ac_cpp='$CXXCPP $CPPFLAGS'
57285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57290 /* end confdefs.h. */
57291 #include <math.h>
57293 main ()
57295 sincosf(0, 0, 0);
57297 return 0;
57299 _ACEOF
57300 if ac_fn_cxx_try_compile "$LINENO"; then :
57301 glibcxx_cv_func_sincosf_use=yes
57302 else
57303 glibcxx_cv_func_sincosf_use=no
57305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57306 ac_ext=c
57307 ac_cpp='$CPP $CPPFLAGS'
57308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57317 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57319 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57320 for ac_func in sincosf
57321 do :
57322 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57323 if test "x$ac_cv_func_sincosf" = xyes; then :
57324 cat >>confdefs.h <<_ACEOF
57325 #define HAVE_SINCOSF 1
57326 _ACEOF
57329 done
57331 else
57333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57334 $as_echo_n "checking for _sincosf declaration... " >&6; }
57335 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57336 if ${glibcxx_cv_func__sincosf_use+:} false; then :
57337 $as_echo_n "(cached) " >&6
57338 else
57341 ac_ext=cpp
57342 ac_cpp='$CXXCPP $CPPFLAGS'
57343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57348 /* end confdefs.h. */
57349 #include <math.h>
57351 main ()
57353 _sincosf(0, 0, 0);
57355 return 0;
57357 _ACEOF
57358 if ac_fn_cxx_try_compile "$LINENO"; then :
57359 glibcxx_cv_func__sincosf_use=yes
57360 else
57361 glibcxx_cv_func__sincosf_use=no
57363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57364 ac_ext=c
57365 ac_cpp='$CPP $CPPFLAGS'
57366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57375 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57377 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57378 for ac_func in _sincosf
57379 do :
57380 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57381 if test "x$ac_cv_func__sincosf" = xyes; then :
57382 cat >>confdefs.h <<_ACEOF
57383 #define HAVE__SINCOSF 1
57384 _ACEOF
57387 done
57396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57397 $as_echo_n "checking for finitef declaration... " >&6; }
57398 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57399 if ${glibcxx_cv_func_finitef_use+:} false; then :
57400 $as_echo_n "(cached) " >&6
57401 else
57404 ac_ext=cpp
57405 ac_cpp='$CXXCPP $CPPFLAGS'
57406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57411 /* end confdefs.h. */
57412 #include <math.h>
57413 #ifdef HAVE_IEEEFP_H
57414 #include <ieeefp.h>
57415 #endif
57418 main ()
57420 finitef(0);
57422 return 0;
57424 _ACEOF
57425 if ac_fn_cxx_try_compile "$LINENO"; then :
57426 glibcxx_cv_func_finitef_use=yes
57427 else
57428 glibcxx_cv_func_finitef_use=no
57430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57431 ac_ext=c
57432 ac_cpp='$CPP $CPPFLAGS'
57433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57442 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57444 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57445 for ac_func in finitef
57446 do :
57447 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57448 if test "x$ac_cv_func_finitef" = xyes; then :
57449 cat >>confdefs.h <<_ACEOF
57450 #define HAVE_FINITEF 1
57451 _ACEOF
57454 done
57456 else
57458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57459 $as_echo_n "checking for _finitef declaration... " >&6; }
57460 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57461 if ${glibcxx_cv_func__finitef_use+:} false; then :
57462 $as_echo_n "(cached) " >&6
57463 else
57466 ac_ext=cpp
57467 ac_cpp='$CXXCPP $CPPFLAGS'
57468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57473 /* end confdefs.h. */
57474 #include <math.h>
57475 #ifdef HAVE_IEEEFP_H
57476 #include <ieeefp.h>
57477 #endif
57480 main ()
57482 _finitef(0);
57484 return 0;
57486 _ACEOF
57487 if ac_fn_cxx_try_compile "$LINENO"; then :
57488 glibcxx_cv_func__finitef_use=yes
57489 else
57490 glibcxx_cv_func__finitef_use=no
57492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57493 ac_ext=c
57494 ac_cpp='$CPP $CPPFLAGS'
57495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57504 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57506 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57507 for ac_func in _finitef
57508 do :
57509 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57510 if test "x$ac_cv_func__finitef" = xyes; then :
57511 cat >>confdefs.h <<_ACEOF
57512 #define HAVE__FINITEF 1
57513 _ACEOF
57516 done
57525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57526 $as_echo_n "checking for long double trig functions... " >&6; }
57527 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
57528 $as_echo_n "(cached) " >&6
57529 else
57532 ac_ext=cpp
57533 ac_cpp='$CXXCPP $CPPFLAGS'
57534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57539 /* end confdefs.h. */
57540 #include <math.h>
57542 main ()
57544 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57546 return 0;
57548 _ACEOF
57549 if ac_fn_cxx_try_compile "$LINENO"; then :
57550 glibcxx_cv_func_long_double_trig_use=yes
57551 else
57552 glibcxx_cv_func_long_double_trig_use=no
57554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57555 ac_ext=c
57556 ac_cpp='$CPP $CPPFLAGS'
57557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57564 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57565 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57566 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57567 do :
57568 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57569 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57570 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57571 cat >>confdefs.h <<_ACEOF
57572 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57573 _ACEOF
57576 done
57578 else
57579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57580 $as_echo_n "checking for _long double trig functions... " >&6; }
57581 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
57582 $as_echo_n "(cached) " >&6
57583 else
57586 ac_ext=cpp
57587 ac_cpp='$CXXCPP $CPPFLAGS'
57588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57593 /* end confdefs.h. */
57594 #include <math.h>
57596 main ()
57598 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57600 return 0;
57602 _ACEOF
57603 if ac_fn_cxx_try_compile "$LINENO"; then :
57604 glibcxx_cv_func__long_double_trig_use=yes
57605 else
57606 glibcxx_cv_func__long_double_trig_use=no
57608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57609 ac_ext=c
57610 ac_cpp='$CPP $CPPFLAGS'
57611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57618 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57619 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57620 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57621 do :
57622 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57623 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57624 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57625 cat >>confdefs.h <<_ACEOF
57626 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57627 _ACEOF
57630 done
57639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57640 $as_echo_n "checking for long double round functions... " >&6; }
57641 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
57642 $as_echo_n "(cached) " >&6
57643 else
57646 ac_ext=cpp
57647 ac_cpp='$CXXCPP $CPPFLAGS'
57648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57653 /* end confdefs.h. */
57654 #include <math.h>
57656 main ()
57658 ceill (0); floorl (0);
57660 return 0;
57662 _ACEOF
57663 if ac_fn_cxx_try_compile "$LINENO"; then :
57664 glibcxx_cv_func_long_double_round_use=yes
57665 else
57666 glibcxx_cv_func_long_double_round_use=no
57668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57669 ac_ext=c
57670 ac_cpp='$CPP $CPPFLAGS'
57671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57678 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57679 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57680 for ac_func in ceill floorl
57681 do :
57682 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57683 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57684 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57685 cat >>confdefs.h <<_ACEOF
57686 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57687 _ACEOF
57690 done
57692 else
57693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57694 $as_echo_n "checking for _long double round functions... " >&6; }
57695 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
57696 $as_echo_n "(cached) " >&6
57697 else
57700 ac_ext=cpp
57701 ac_cpp='$CXXCPP $CPPFLAGS'
57702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57707 /* end confdefs.h. */
57708 #include <math.h>
57710 main ()
57712 _ceill (0); _floorl (0);
57714 return 0;
57716 _ACEOF
57717 if ac_fn_cxx_try_compile "$LINENO"; then :
57718 glibcxx_cv_func__long_double_round_use=yes
57719 else
57720 glibcxx_cv_func__long_double_round_use=no
57722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57723 ac_ext=c
57724 ac_cpp='$CPP $CPPFLAGS'
57725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57732 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57733 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57734 for ac_func in _ceill _floorl
57735 do :
57736 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57737 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57738 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57739 cat >>confdefs.h <<_ACEOF
57740 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57741 _ACEOF
57744 done
57754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57755 $as_echo_n "checking for isnanl declaration... " >&6; }
57756 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57757 if ${glibcxx_cv_func_isnanl_use+:} false; then :
57758 $as_echo_n "(cached) " >&6
57759 else
57762 ac_ext=cpp
57763 ac_cpp='$CXXCPP $CPPFLAGS'
57764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57769 /* end confdefs.h. */
57770 #include <math.h>
57771 #ifdef HAVE_IEEEFP_H
57772 #include <ieeefp.h>
57773 #endif
57776 main ()
57778 isnanl(0);
57780 return 0;
57782 _ACEOF
57783 if ac_fn_cxx_try_compile "$LINENO"; then :
57784 glibcxx_cv_func_isnanl_use=yes
57785 else
57786 glibcxx_cv_func_isnanl_use=no
57788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57789 ac_ext=c
57790 ac_cpp='$CPP $CPPFLAGS'
57791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57800 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57802 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57803 for ac_func in isnanl
57804 do :
57805 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57806 if test "x$ac_cv_func_isnanl" = xyes; then :
57807 cat >>confdefs.h <<_ACEOF
57808 #define HAVE_ISNANL 1
57809 _ACEOF
57812 done
57814 else
57816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57817 $as_echo_n "checking for _isnanl declaration... " >&6; }
57818 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57819 if ${glibcxx_cv_func__isnanl_use+:} false; then :
57820 $as_echo_n "(cached) " >&6
57821 else
57824 ac_ext=cpp
57825 ac_cpp='$CXXCPP $CPPFLAGS'
57826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57831 /* end confdefs.h. */
57832 #include <math.h>
57833 #ifdef HAVE_IEEEFP_H
57834 #include <ieeefp.h>
57835 #endif
57838 main ()
57840 _isnanl(0);
57842 return 0;
57844 _ACEOF
57845 if ac_fn_cxx_try_compile "$LINENO"; then :
57846 glibcxx_cv_func__isnanl_use=yes
57847 else
57848 glibcxx_cv_func__isnanl_use=no
57850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57851 ac_ext=c
57852 ac_cpp='$CPP $CPPFLAGS'
57853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57862 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57864 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57865 for ac_func in _isnanl
57866 do :
57867 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57868 if test "x$ac_cv_func__isnanl" = xyes; then :
57869 cat >>confdefs.h <<_ACEOF
57870 #define HAVE__ISNANL 1
57871 _ACEOF
57874 done
57883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57884 $as_echo_n "checking for isinfl declaration... " >&6; }
57885 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57886 if ${glibcxx_cv_func_isinfl_use+:} false; then :
57887 $as_echo_n "(cached) " >&6
57888 else
57891 ac_ext=cpp
57892 ac_cpp='$CXXCPP $CPPFLAGS'
57893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57898 /* end confdefs.h. */
57899 #include <math.h>
57900 #ifdef HAVE_IEEEFP_H
57901 #include <ieeefp.h>
57902 #endif
57905 main ()
57907 isinfl(0);
57909 return 0;
57911 _ACEOF
57912 if ac_fn_cxx_try_compile "$LINENO"; then :
57913 glibcxx_cv_func_isinfl_use=yes
57914 else
57915 glibcxx_cv_func_isinfl_use=no
57917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57918 ac_ext=c
57919 ac_cpp='$CPP $CPPFLAGS'
57920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57929 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57931 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57932 for ac_func in isinfl
57933 do :
57934 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57935 if test "x$ac_cv_func_isinfl" = xyes; then :
57936 cat >>confdefs.h <<_ACEOF
57937 #define HAVE_ISINFL 1
57938 _ACEOF
57941 done
57943 else
57945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57946 $as_echo_n "checking for _isinfl declaration... " >&6; }
57947 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57948 if ${glibcxx_cv_func__isinfl_use+:} false; then :
57949 $as_echo_n "(cached) " >&6
57950 else
57953 ac_ext=cpp
57954 ac_cpp='$CXXCPP $CPPFLAGS'
57955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57960 /* end confdefs.h. */
57961 #include <math.h>
57962 #ifdef HAVE_IEEEFP_H
57963 #include <ieeefp.h>
57964 #endif
57967 main ()
57969 _isinfl(0);
57971 return 0;
57973 _ACEOF
57974 if ac_fn_cxx_try_compile "$LINENO"; then :
57975 glibcxx_cv_func__isinfl_use=yes
57976 else
57977 glibcxx_cv_func__isinfl_use=no
57979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57980 ac_ext=c
57981 ac_cpp='$CPP $CPPFLAGS'
57982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57991 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57993 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57994 for ac_func in _isinfl
57995 do :
57996 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57997 if test "x$ac_cv_func__isinfl" = xyes; then :
57998 cat >>confdefs.h <<_ACEOF
57999 #define HAVE__ISINFL 1
58000 _ACEOF
58003 done
58012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58013 $as_echo_n "checking for atan2l declaration... " >&6; }
58014 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58015 if ${glibcxx_cv_func_atan2l_use+:} false; then :
58016 $as_echo_n "(cached) " >&6
58017 else
58020 ac_ext=cpp
58021 ac_cpp='$CXXCPP $CPPFLAGS'
58022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58027 /* end confdefs.h. */
58028 #include <math.h>
58030 main ()
58032 atan2l(0, 0);
58034 return 0;
58036 _ACEOF
58037 if ac_fn_cxx_try_compile "$LINENO"; then :
58038 glibcxx_cv_func_atan2l_use=yes
58039 else
58040 glibcxx_cv_func_atan2l_use=no
58042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58043 ac_ext=c
58044 ac_cpp='$CPP $CPPFLAGS'
58045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58054 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58056 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58057 for ac_func in atan2l
58058 do :
58059 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58060 if test "x$ac_cv_func_atan2l" = xyes; then :
58061 cat >>confdefs.h <<_ACEOF
58062 #define HAVE_ATAN2L 1
58063 _ACEOF
58066 done
58068 else
58070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58071 $as_echo_n "checking for _atan2l declaration... " >&6; }
58072 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58073 if ${glibcxx_cv_func__atan2l_use+:} false; then :
58074 $as_echo_n "(cached) " >&6
58075 else
58078 ac_ext=cpp
58079 ac_cpp='$CXXCPP $CPPFLAGS'
58080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58085 /* end confdefs.h. */
58086 #include <math.h>
58088 main ()
58090 _atan2l(0, 0);
58092 return 0;
58094 _ACEOF
58095 if ac_fn_cxx_try_compile "$LINENO"; then :
58096 glibcxx_cv_func__atan2l_use=yes
58097 else
58098 glibcxx_cv_func__atan2l_use=no
58100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58101 ac_ext=c
58102 ac_cpp='$CPP $CPPFLAGS'
58103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58112 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58114 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58115 for ac_func in _atan2l
58116 do :
58117 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58118 if test "x$ac_cv_func__atan2l" = xyes; then :
58119 cat >>confdefs.h <<_ACEOF
58120 #define HAVE__ATAN2L 1
58121 _ACEOF
58124 done
58133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58134 $as_echo_n "checking for expl declaration... " >&6; }
58135 if test x${glibcxx_cv_func_expl_use+set} != xset; then
58136 if ${glibcxx_cv_func_expl_use+:} false; then :
58137 $as_echo_n "(cached) " >&6
58138 else
58141 ac_ext=cpp
58142 ac_cpp='$CXXCPP $CPPFLAGS'
58143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58148 /* end confdefs.h. */
58149 #include <math.h>
58150 #ifdef HAVE_IEEEFP_H
58151 #include <ieeefp.h>
58152 #endif
58155 main ()
58157 expl(0);
58159 return 0;
58161 _ACEOF
58162 if ac_fn_cxx_try_compile "$LINENO"; then :
58163 glibcxx_cv_func_expl_use=yes
58164 else
58165 glibcxx_cv_func_expl_use=no
58167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58168 ac_ext=c
58169 ac_cpp='$CPP $CPPFLAGS'
58170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58179 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
58181 if test x$glibcxx_cv_func_expl_use = x"yes"; then
58182 for ac_func in expl
58183 do :
58184 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58185 if test "x$ac_cv_func_expl" = xyes; then :
58186 cat >>confdefs.h <<_ACEOF
58187 #define HAVE_EXPL 1
58188 _ACEOF
58191 done
58193 else
58195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58196 $as_echo_n "checking for _expl declaration... " >&6; }
58197 if test x${glibcxx_cv_func__expl_use+set} != xset; then
58198 if ${glibcxx_cv_func__expl_use+:} false; then :
58199 $as_echo_n "(cached) " >&6
58200 else
58203 ac_ext=cpp
58204 ac_cpp='$CXXCPP $CPPFLAGS'
58205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58210 /* end confdefs.h. */
58211 #include <math.h>
58212 #ifdef HAVE_IEEEFP_H
58213 #include <ieeefp.h>
58214 #endif
58217 main ()
58219 _expl(0);
58221 return 0;
58223 _ACEOF
58224 if ac_fn_cxx_try_compile "$LINENO"; then :
58225 glibcxx_cv_func__expl_use=yes
58226 else
58227 glibcxx_cv_func__expl_use=no
58229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58230 ac_ext=c
58231 ac_cpp='$CPP $CPPFLAGS'
58232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58241 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
58243 if test x$glibcxx_cv_func__expl_use = x"yes"; then
58244 for ac_func in _expl
58245 do :
58246 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58247 if test "x$ac_cv_func__expl" = xyes; then :
58248 cat >>confdefs.h <<_ACEOF
58249 #define HAVE__EXPL 1
58250 _ACEOF
58253 done
58262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58263 $as_echo_n "checking for fabsl declaration... " >&6; }
58264 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58265 if ${glibcxx_cv_func_fabsl_use+:} false; then :
58266 $as_echo_n "(cached) " >&6
58267 else
58270 ac_ext=cpp
58271 ac_cpp='$CXXCPP $CPPFLAGS'
58272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58277 /* end confdefs.h. */
58278 #include <math.h>
58279 #ifdef HAVE_IEEEFP_H
58280 #include <ieeefp.h>
58281 #endif
58284 main ()
58286 fabsl(0);
58288 return 0;
58290 _ACEOF
58291 if ac_fn_cxx_try_compile "$LINENO"; then :
58292 glibcxx_cv_func_fabsl_use=yes
58293 else
58294 glibcxx_cv_func_fabsl_use=no
58296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58297 ac_ext=c
58298 ac_cpp='$CPP $CPPFLAGS'
58299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58308 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58310 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58311 for ac_func in fabsl
58312 do :
58313 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58314 if test "x$ac_cv_func_fabsl" = xyes; then :
58315 cat >>confdefs.h <<_ACEOF
58316 #define HAVE_FABSL 1
58317 _ACEOF
58320 done
58322 else
58324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58325 $as_echo_n "checking for _fabsl declaration... " >&6; }
58326 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58327 if ${glibcxx_cv_func__fabsl_use+:} false; then :
58328 $as_echo_n "(cached) " >&6
58329 else
58332 ac_ext=cpp
58333 ac_cpp='$CXXCPP $CPPFLAGS'
58334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58339 /* end confdefs.h. */
58340 #include <math.h>
58341 #ifdef HAVE_IEEEFP_H
58342 #include <ieeefp.h>
58343 #endif
58346 main ()
58348 _fabsl(0);
58350 return 0;
58352 _ACEOF
58353 if ac_fn_cxx_try_compile "$LINENO"; then :
58354 glibcxx_cv_func__fabsl_use=yes
58355 else
58356 glibcxx_cv_func__fabsl_use=no
58358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58359 ac_ext=c
58360 ac_cpp='$CPP $CPPFLAGS'
58361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58370 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58372 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58373 for ac_func in _fabsl
58374 do :
58375 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58376 if test "x$ac_cv_func__fabsl" = xyes; then :
58377 cat >>confdefs.h <<_ACEOF
58378 #define HAVE__FABSL 1
58379 _ACEOF
58382 done
58391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58392 $as_echo_n "checking for fmodl declaration... " >&6; }
58393 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58394 if ${glibcxx_cv_func_fmodl_use+:} false; then :
58395 $as_echo_n "(cached) " >&6
58396 else
58399 ac_ext=cpp
58400 ac_cpp='$CXXCPP $CPPFLAGS'
58401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58406 /* end confdefs.h. */
58407 #include <math.h>
58409 main ()
58411 fmodl(0, 0);
58413 return 0;
58415 _ACEOF
58416 if ac_fn_cxx_try_compile "$LINENO"; then :
58417 glibcxx_cv_func_fmodl_use=yes
58418 else
58419 glibcxx_cv_func_fmodl_use=no
58421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58422 ac_ext=c
58423 ac_cpp='$CPP $CPPFLAGS'
58424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58433 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58435 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58436 for ac_func in fmodl
58437 do :
58438 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58439 if test "x$ac_cv_func_fmodl" = xyes; then :
58440 cat >>confdefs.h <<_ACEOF
58441 #define HAVE_FMODL 1
58442 _ACEOF
58445 done
58447 else
58449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58450 $as_echo_n "checking for _fmodl declaration... " >&6; }
58451 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58452 if ${glibcxx_cv_func__fmodl_use+:} false; then :
58453 $as_echo_n "(cached) " >&6
58454 else
58457 ac_ext=cpp
58458 ac_cpp='$CXXCPP $CPPFLAGS'
58459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58464 /* end confdefs.h. */
58465 #include <math.h>
58467 main ()
58469 _fmodl(0, 0);
58471 return 0;
58473 _ACEOF
58474 if ac_fn_cxx_try_compile "$LINENO"; then :
58475 glibcxx_cv_func__fmodl_use=yes
58476 else
58477 glibcxx_cv_func__fmodl_use=no
58479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58480 ac_ext=c
58481 ac_cpp='$CPP $CPPFLAGS'
58482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58491 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58493 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58494 for ac_func in _fmodl
58495 do :
58496 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58497 if test "x$ac_cv_func__fmodl" = xyes; then :
58498 cat >>confdefs.h <<_ACEOF
58499 #define HAVE__FMODL 1
58500 _ACEOF
58503 done
58512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58513 $as_echo_n "checking for frexpl declaration... " >&6; }
58514 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58515 if ${glibcxx_cv_func_frexpl_use+:} false; then :
58516 $as_echo_n "(cached) " >&6
58517 else
58520 ac_ext=cpp
58521 ac_cpp='$CXXCPP $CPPFLAGS'
58522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58527 /* end confdefs.h. */
58528 #include <math.h>
58530 main ()
58532 frexpl(0, 0);
58534 return 0;
58536 _ACEOF
58537 if ac_fn_cxx_try_compile "$LINENO"; then :
58538 glibcxx_cv_func_frexpl_use=yes
58539 else
58540 glibcxx_cv_func_frexpl_use=no
58542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58543 ac_ext=c
58544 ac_cpp='$CPP $CPPFLAGS'
58545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58554 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58556 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58557 for ac_func in frexpl
58558 do :
58559 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58560 if test "x$ac_cv_func_frexpl" = xyes; then :
58561 cat >>confdefs.h <<_ACEOF
58562 #define HAVE_FREXPL 1
58563 _ACEOF
58566 done
58568 else
58570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58571 $as_echo_n "checking for _frexpl declaration... " >&6; }
58572 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58573 if ${glibcxx_cv_func__frexpl_use+:} false; then :
58574 $as_echo_n "(cached) " >&6
58575 else
58578 ac_ext=cpp
58579 ac_cpp='$CXXCPP $CPPFLAGS'
58580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58585 /* end confdefs.h. */
58586 #include <math.h>
58588 main ()
58590 _frexpl(0, 0);
58592 return 0;
58594 _ACEOF
58595 if ac_fn_cxx_try_compile "$LINENO"; then :
58596 glibcxx_cv_func__frexpl_use=yes
58597 else
58598 glibcxx_cv_func__frexpl_use=no
58600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58601 ac_ext=c
58602 ac_cpp='$CPP $CPPFLAGS'
58603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58612 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58614 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58615 for ac_func in _frexpl
58616 do :
58617 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58618 if test "x$ac_cv_func__frexpl" = xyes; then :
58619 cat >>confdefs.h <<_ACEOF
58620 #define HAVE__FREXPL 1
58621 _ACEOF
58624 done
58633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58634 $as_echo_n "checking for hypotl declaration... " >&6; }
58635 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58636 if ${glibcxx_cv_func_hypotl_use+:} false; then :
58637 $as_echo_n "(cached) " >&6
58638 else
58641 ac_ext=cpp
58642 ac_cpp='$CXXCPP $CPPFLAGS'
58643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58648 /* end confdefs.h. */
58649 #include <math.h>
58651 main ()
58653 hypotl(0, 0);
58655 return 0;
58657 _ACEOF
58658 if ac_fn_cxx_try_compile "$LINENO"; then :
58659 glibcxx_cv_func_hypotl_use=yes
58660 else
58661 glibcxx_cv_func_hypotl_use=no
58663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58664 ac_ext=c
58665 ac_cpp='$CPP $CPPFLAGS'
58666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58675 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58677 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58678 for ac_func in hypotl
58679 do :
58680 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58681 if test "x$ac_cv_func_hypotl" = xyes; then :
58682 cat >>confdefs.h <<_ACEOF
58683 #define HAVE_HYPOTL 1
58684 _ACEOF
58687 done
58689 else
58691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58692 $as_echo_n "checking for _hypotl declaration... " >&6; }
58693 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58694 if ${glibcxx_cv_func__hypotl_use+:} false; then :
58695 $as_echo_n "(cached) " >&6
58696 else
58699 ac_ext=cpp
58700 ac_cpp='$CXXCPP $CPPFLAGS'
58701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58706 /* end confdefs.h. */
58707 #include <math.h>
58709 main ()
58711 _hypotl(0, 0);
58713 return 0;
58715 _ACEOF
58716 if ac_fn_cxx_try_compile "$LINENO"; then :
58717 glibcxx_cv_func__hypotl_use=yes
58718 else
58719 glibcxx_cv_func__hypotl_use=no
58721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58722 ac_ext=c
58723 ac_cpp='$CPP $CPPFLAGS'
58724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58733 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58735 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58736 for ac_func in _hypotl
58737 do :
58738 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58739 if test "x$ac_cv_func__hypotl" = xyes; then :
58740 cat >>confdefs.h <<_ACEOF
58741 #define HAVE__HYPOTL 1
58742 _ACEOF
58745 done
58754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58755 $as_echo_n "checking for ldexpl declaration... " >&6; }
58756 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58757 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
58758 $as_echo_n "(cached) " >&6
58759 else
58762 ac_ext=cpp
58763 ac_cpp='$CXXCPP $CPPFLAGS'
58764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58769 /* end confdefs.h. */
58770 #include <math.h>
58772 main ()
58774 ldexpl(0, 0);
58776 return 0;
58778 _ACEOF
58779 if ac_fn_cxx_try_compile "$LINENO"; then :
58780 glibcxx_cv_func_ldexpl_use=yes
58781 else
58782 glibcxx_cv_func_ldexpl_use=no
58784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58785 ac_ext=c
58786 ac_cpp='$CPP $CPPFLAGS'
58787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58796 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58798 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58799 for ac_func in ldexpl
58800 do :
58801 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58802 if test "x$ac_cv_func_ldexpl" = xyes; then :
58803 cat >>confdefs.h <<_ACEOF
58804 #define HAVE_LDEXPL 1
58805 _ACEOF
58808 done
58810 else
58812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58813 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58814 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58815 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
58816 $as_echo_n "(cached) " >&6
58817 else
58820 ac_ext=cpp
58821 ac_cpp='$CXXCPP $CPPFLAGS'
58822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58827 /* end confdefs.h. */
58828 #include <math.h>
58830 main ()
58832 _ldexpl(0, 0);
58834 return 0;
58836 _ACEOF
58837 if ac_fn_cxx_try_compile "$LINENO"; then :
58838 glibcxx_cv_func__ldexpl_use=yes
58839 else
58840 glibcxx_cv_func__ldexpl_use=no
58842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58843 ac_ext=c
58844 ac_cpp='$CPP $CPPFLAGS'
58845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58854 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58856 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58857 for ac_func in _ldexpl
58858 do :
58859 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58860 if test "x$ac_cv_func__ldexpl" = xyes; then :
58861 cat >>confdefs.h <<_ACEOF
58862 #define HAVE__LDEXPL 1
58863 _ACEOF
58866 done
58875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58876 $as_echo_n "checking for logl declaration... " >&6; }
58877 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58878 if ${glibcxx_cv_func_logl_use+:} false; then :
58879 $as_echo_n "(cached) " >&6
58880 else
58883 ac_ext=cpp
58884 ac_cpp='$CXXCPP $CPPFLAGS'
58885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58890 /* end confdefs.h. */
58891 #include <math.h>
58892 #ifdef HAVE_IEEEFP_H
58893 #include <ieeefp.h>
58894 #endif
58897 main ()
58899 logl(0);
58901 return 0;
58903 _ACEOF
58904 if ac_fn_cxx_try_compile "$LINENO"; then :
58905 glibcxx_cv_func_logl_use=yes
58906 else
58907 glibcxx_cv_func_logl_use=no
58909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58910 ac_ext=c
58911 ac_cpp='$CPP $CPPFLAGS'
58912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58921 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58923 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58924 for ac_func in logl
58925 do :
58926 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58927 if test "x$ac_cv_func_logl" = xyes; then :
58928 cat >>confdefs.h <<_ACEOF
58929 #define HAVE_LOGL 1
58930 _ACEOF
58933 done
58935 else
58937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58938 $as_echo_n "checking for _logl declaration... " >&6; }
58939 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58940 if ${glibcxx_cv_func__logl_use+:} false; then :
58941 $as_echo_n "(cached) " >&6
58942 else
58945 ac_ext=cpp
58946 ac_cpp='$CXXCPP $CPPFLAGS'
58947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58952 /* end confdefs.h. */
58953 #include <math.h>
58954 #ifdef HAVE_IEEEFP_H
58955 #include <ieeefp.h>
58956 #endif
58959 main ()
58961 _logl(0);
58963 return 0;
58965 _ACEOF
58966 if ac_fn_cxx_try_compile "$LINENO"; then :
58967 glibcxx_cv_func__logl_use=yes
58968 else
58969 glibcxx_cv_func__logl_use=no
58971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58972 ac_ext=c
58973 ac_cpp='$CPP $CPPFLAGS'
58974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58983 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58985 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58986 for ac_func in _logl
58987 do :
58988 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58989 if test "x$ac_cv_func__logl" = xyes; then :
58990 cat >>confdefs.h <<_ACEOF
58991 #define HAVE__LOGL 1
58992 _ACEOF
58995 done
59004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59005 $as_echo_n "checking for log10l declaration... " >&6; }
59006 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59007 if ${glibcxx_cv_func_log10l_use+:} false; then :
59008 $as_echo_n "(cached) " >&6
59009 else
59012 ac_ext=cpp
59013 ac_cpp='$CXXCPP $CPPFLAGS'
59014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59019 /* end confdefs.h. */
59020 #include <math.h>
59021 #ifdef HAVE_IEEEFP_H
59022 #include <ieeefp.h>
59023 #endif
59026 main ()
59028 log10l(0);
59030 return 0;
59032 _ACEOF
59033 if ac_fn_cxx_try_compile "$LINENO"; then :
59034 glibcxx_cv_func_log10l_use=yes
59035 else
59036 glibcxx_cv_func_log10l_use=no
59038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59039 ac_ext=c
59040 ac_cpp='$CPP $CPPFLAGS'
59041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59050 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59052 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59053 for ac_func in log10l
59054 do :
59055 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59056 if test "x$ac_cv_func_log10l" = xyes; then :
59057 cat >>confdefs.h <<_ACEOF
59058 #define HAVE_LOG10L 1
59059 _ACEOF
59062 done
59064 else
59066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59067 $as_echo_n "checking for _log10l declaration... " >&6; }
59068 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59069 if ${glibcxx_cv_func__log10l_use+:} false; then :
59070 $as_echo_n "(cached) " >&6
59071 else
59074 ac_ext=cpp
59075 ac_cpp='$CXXCPP $CPPFLAGS'
59076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59081 /* end confdefs.h. */
59082 #include <math.h>
59083 #ifdef HAVE_IEEEFP_H
59084 #include <ieeefp.h>
59085 #endif
59088 main ()
59090 _log10l(0);
59092 return 0;
59094 _ACEOF
59095 if ac_fn_cxx_try_compile "$LINENO"; then :
59096 glibcxx_cv_func__log10l_use=yes
59097 else
59098 glibcxx_cv_func__log10l_use=no
59100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59101 ac_ext=c
59102 ac_cpp='$CPP $CPPFLAGS'
59103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59112 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59114 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59115 for ac_func in _log10l
59116 do :
59117 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59118 if test "x$ac_cv_func__log10l" = xyes; then :
59119 cat >>confdefs.h <<_ACEOF
59120 #define HAVE__LOG10L 1
59121 _ACEOF
59124 done
59133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59134 $as_echo_n "checking for modfl declaration... " >&6; }
59135 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59136 if ${glibcxx_cv_func_modfl_use+:} false; then :
59137 $as_echo_n "(cached) " >&6
59138 else
59141 ac_ext=cpp
59142 ac_cpp='$CXXCPP $CPPFLAGS'
59143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59148 /* end confdefs.h. */
59149 #include <math.h>
59151 main ()
59153 modfl(0, 0);
59155 return 0;
59157 _ACEOF
59158 if ac_fn_cxx_try_compile "$LINENO"; then :
59159 glibcxx_cv_func_modfl_use=yes
59160 else
59161 glibcxx_cv_func_modfl_use=no
59163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59164 ac_ext=c
59165 ac_cpp='$CPP $CPPFLAGS'
59166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59175 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59177 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59178 for ac_func in modfl
59179 do :
59180 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59181 if test "x$ac_cv_func_modfl" = xyes; then :
59182 cat >>confdefs.h <<_ACEOF
59183 #define HAVE_MODFL 1
59184 _ACEOF
59187 done
59189 else
59191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59192 $as_echo_n "checking for _modfl declaration... " >&6; }
59193 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59194 if ${glibcxx_cv_func__modfl_use+:} false; then :
59195 $as_echo_n "(cached) " >&6
59196 else
59199 ac_ext=cpp
59200 ac_cpp='$CXXCPP $CPPFLAGS'
59201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59206 /* end confdefs.h. */
59207 #include <math.h>
59209 main ()
59211 _modfl(0, 0);
59213 return 0;
59215 _ACEOF
59216 if ac_fn_cxx_try_compile "$LINENO"; then :
59217 glibcxx_cv_func__modfl_use=yes
59218 else
59219 glibcxx_cv_func__modfl_use=no
59221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59222 ac_ext=c
59223 ac_cpp='$CPP $CPPFLAGS'
59224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
59233 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
59235 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59236 for ac_func in _modfl
59237 do :
59238 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59239 if test "x$ac_cv_func__modfl" = xyes; then :
59240 cat >>confdefs.h <<_ACEOF
59241 #define HAVE__MODFL 1
59242 _ACEOF
59245 done
59254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59255 $as_echo_n "checking for powl declaration... " >&6; }
59256 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59257 if ${glibcxx_cv_func_powl_use+:} false; then :
59258 $as_echo_n "(cached) " >&6
59259 else
59262 ac_ext=cpp
59263 ac_cpp='$CXXCPP $CPPFLAGS'
59264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59269 /* end confdefs.h. */
59270 #include <math.h>
59272 main ()
59274 powl(0, 0);
59276 return 0;
59278 _ACEOF
59279 if ac_fn_cxx_try_compile "$LINENO"; then :
59280 glibcxx_cv_func_powl_use=yes
59281 else
59282 glibcxx_cv_func_powl_use=no
59284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59285 ac_ext=c
59286 ac_cpp='$CPP $CPPFLAGS'
59287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59296 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59298 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59299 for ac_func in powl
59300 do :
59301 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59302 if test "x$ac_cv_func_powl" = xyes; then :
59303 cat >>confdefs.h <<_ACEOF
59304 #define HAVE_POWL 1
59305 _ACEOF
59308 done
59310 else
59312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59313 $as_echo_n "checking for _powl declaration... " >&6; }
59314 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59315 if ${glibcxx_cv_func__powl_use+:} false; then :
59316 $as_echo_n "(cached) " >&6
59317 else
59320 ac_ext=cpp
59321 ac_cpp='$CXXCPP $CPPFLAGS'
59322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59327 /* end confdefs.h. */
59328 #include <math.h>
59330 main ()
59332 _powl(0, 0);
59334 return 0;
59336 _ACEOF
59337 if ac_fn_cxx_try_compile "$LINENO"; then :
59338 glibcxx_cv_func__powl_use=yes
59339 else
59340 glibcxx_cv_func__powl_use=no
59342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59343 ac_ext=c
59344 ac_cpp='$CPP $CPPFLAGS'
59345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59354 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59356 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59357 for ac_func in _powl
59358 do :
59359 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59360 if test "x$ac_cv_func__powl" = xyes; then :
59361 cat >>confdefs.h <<_ACEOF
59362 #define HAVE__POWL 1
59363 _ACEOF
59366 done
59375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59376 $as_echo_n "checking for sqrtl declaration... " >&6; }
59377 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59378 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
59379 $as_echo_n "(cached) " >&6
59380 else
59383 ac_ext=cpp
59384 ac_cpp='$CXXCPP $CPPFLAGS'
59385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59390 /* end confdefs.h. */
59391 #include <math.h>
59392 #ifdef HAVE_IEEEFP_H
59393 #include <ieeefp.h>
59394 #endif
59397 main ()
59399 sqrtl(0);
59401 return 0;
59403 _ACEOF
59404 if ac_fn_cxx_try_compile "$LINENO"; then :
59405 glibcxx_cv_func_sqrtl_use=yes
59406 else
59407 glibcxx_cv_func_sqrtl_use=no
59409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59410 ac_ext=c
59411 ac_cpp='$CPP $CPPFLAGS'
59412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59421 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59423 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59424 for ac_func in sqrtl
59425 do :
59426 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59427 if test "x$ac_cv_func_sqrtl" = xyes; then :
59428 cat >>confdefs.h <<_ACEOF
59429 #define HAVE_SQRTL 1
59430 _ACEOF
59433 done
59435 else
59437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59438 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59439 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59440 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
59441 $as_echo_n "(cached) " >&6
59442 else
59445 ac_ext=cpp
59446 ac_cpp='$CXXCPP $CPPFLAGS'
59447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59452 /* end confdefs.h. */
59453 #include <math.h>
59454 #ifdef HAVE_IEEEFP_H
59455 #include <ieeefp.h>
59456 #endif
59459 main ()
59461 _sqrtl(0);
59463 return 0;
59465 _ACEOF
59466 if ac_fn_cxx_try_compile "$LINENO"; then :
59467 glibcxx_cv_func__sqrtl_use=yes
59468 else
59469 glibcxx_cv_func__sqrtl_use=no
59471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59472 ac_ext=c
59473 ac_cpp='$CPP $CPPFLAGS'
59474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59483 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59485 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59486 for ac_func in _sqrtl
59487 do :
59488 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59489 if test "x$ac_cv_func__sqrtl" = xyes; then :
59490 cat >>confdefs.h <<_ACEOF
59491 #define HAVE__SQRTL 1
59492 _ACEOF
59495 done
59504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59505 $as_echo_n "checking for sincosl declaration... " >&6; }
59506 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59507 if ${glibcxx_cv_func_sincosl_use+:} false; then :
59508 $as_echo_n "(cached) " >&6
59509 else
59512 ac_ext=cpp
59513 ac_cpp='$CXXCPP $CPPFLAGS'
59514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59519 /* end confdefs.h. */
59520 #include <math.h>
59522 main ()
59524 sincosl(0, 0, 0);
59526 return 0;
59528 _ACEOF
59529 if ac_fn_cxx_try_compile "$LINENO"; then :
59530 glibcxx_cv_func_sincosl_use=yes
59531 else
59532 glibcxx_cv_func_sincosl_use=no
59534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59535 ac_ext=c
59536 ac_cpp='$CPP $CPPFLAGS'
59537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59546 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59548 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59549 for ac_func in sincosl
59550 do :
59551 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59552 if test "x$ac_cv_func_sincosl" = xyes; then :
59553 cat >>confdefs.h <<_ACEOF
59554 #define HAVE_SINCOSL 1
59555 _ACEOF
59558 done
59560 else
59562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59563 $as_echo_n "checking for _sincosl declaration... " >&6; }
59564 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59565 if ${glibcxx_cv_func__sincosl_use+:} false; then :
59566 $as_echo_n "(cached) " >&6
59567 else
59570 ac_ext=cpp
59571 ac_cpp='$CXXCPP $CPPFLAGS'
59572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59577 /* end confdefs.h. */
59578 #include <math.h>
59580 main ()
59582 _sincosl(0, 0, 0);
59584 return 0;
59586 _ACEOF
59587 if ac_fn_cxx_try_compile "$LINENO"; then :
59588 glibcxx_cv_func__sincosl_use=yes
59589 else
59590 glibcxx_cv_func__sincosl_use=no
59592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59593 ac_ext=c
59594 ac_cpp='$CPP $CPPFLAGS'
59595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59604 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59606 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59607 for ac_func in _sincosl
59608 do :
59609 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59610 if test "x$ac_cv_func__sincosl" = xyes; then :
59611 cat >>confdefs.h <<_ACEOF
59612 #define HAVE__SINCOSL 1
59613 _ACEOF
59616 done
59625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59626 $as_echo_n "checking for finitel declaration... " >&6; }
59627 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59628 if ${glibcxx_cv_func_finitel_use+:} false; then :
59629 $as_echo_n "(cached) " >&6
59630 else
59633 ac_ext=cpp
59634 ac_cpp='$CXXCPP $CPPFLAGS'
59635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59640 /* end confdefs.h. */
59641 #include <math.h>
59642 #ifdef HAVE_IEEEFP_H
59643 #include <ieeefp.h>
59644 #endif
59647 main ()
59649 finitel(0);
59651 return 0;
59653 _ACEOF
59654 if ac_fn_cxx_try_compile "$LINENO"; then :
59655 glibcxx_cv_func_finitel_use=yes
59656 else
59657 glibcxx_cv_func_finitel_use=no
59659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59660 ac_ext=c
59661 ac_cpp='$CPP $CPPFLAGS'
59662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59671 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59673 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59674 for ac_func in finitel
59675 do :
59676 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59677 if test "x$ac_cv_func_finitel" = xyes; then :
59678 cat >>confdefs.h <<_ACEOF
59679 #define HAVE_FINITEL 1
59680 _ACEOF
59683 done
59685 else
59687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59688 $as_echo_n "checking for _finitel declaration... " >&6; }
59689 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59690 if ${glibcxx_cv_func__finitel_use+:} false; then :
59691 $as_echo_n "(cached) " >&6
59692 else
59695 ac_ext=cpp
59696 ac_cpp='$CXXCPP $CPPFLAGS'
59697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59702 /* end confdefs.h. */
59703 #include <math.h>
59704 #ifdef HAVE_IEEEFP_H
59705 #include <ieeefp.h>
59706 #endif
59709 main ()
59711 _finitel(0);
59713 return 0;
59715 _ACEOF
59716 if ac_fn_cxx_try_compile "$LINENO"; then :
59717 glibcxx_cv_func__finitel_use=yes
59718 else
59719 glibcxx_cv_func__finitel_use=no
59721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59722 ac_ext=c
59723 ac_cpp='$CPP $CPPFLAGS'
59724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59733 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59735 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59736 for ac_func in _finitel
59737 do :
59738 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59739 if test "x$ac_cv_func__finitel" = xyes; then :
59740 cat >>confdefs.h <<_ACEOF
59741 #define HAVE__FINITEL 1
59742 _ACEOF
59745 done
59753 LIBS="$ac_save_LIBS"
59754 CXXFLAGS="$ac_save_CXXFLAGS"
59757 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59758 ac_save_CXXFLAGS="$CXXFLAGS"
59759 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59763 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59764 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59765 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
59766 $as_echo_n "(cached) " >&6
59767 else
59770 ac_ext=cpp
59771 ac_cpp='$CXXCPP $CPPFLAGS'
59772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59777 /* end confdefs.h. */
59778 #include <stdlib.h>
59780 main ()
59782 at_quick_exit(0);
59784 return 0;
59786 _ACEOF
59787 if ac_fn_cxx_try_compile "$LINENO"; then :
59788 glibcxx_cv_func_at_quick_exit_use=yes
59789 else
59790 glibcxx_cv_func_at_quick_exit_use=no
59792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59793 ac_ext=c
59794 ac_cpp='$CPP $CPPFLAGS'
59795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59804 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59805 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59806 for ac_func in at_quick_exit
59807 do :
59808 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59809 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
59810 cat >>confdefs.h <<_ACEOF
59811 #define HAVE_AT_QUICK_EXIT 1
59812 _ACEOF
59815 done
59820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59821 $as_echo_n "checking for quick_exit declaration... " >&6; }
59822 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59823 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
59824 $as_echo_n "(cached) " >&6
59825 else
59828 ac_ext=cpp
59829 ac_cpp='$CXXCPP $CPPFLAGS'
59830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59835 /* end confdefs.h. */
59836 #include <stdlib.h>
59838 main ()
59840 quick_exit(0);
59842 return 0;
59844 _ACEOF
59845 if ac_fn_cxx_try_compile "$LINENO"; then :
59846 glibcxx_cv_func_quick_exit_use=yes
59847 else
59848 glibcxx_cv_func_quick_exit_use=no
59850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59851 ac_ext=c
59852 ac_cpp='$CPP $CPPFLAGS'
59853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59862 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59863 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59864 for ac_func in quick_exit
59865 do :
59866 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59867 if test "x$ac_cv_func_quick_exit" = xyes; then :
59868 cat >>confdefs.h <<_ACEOF
59869 #define HAVE_QUICK_EXIT 1
59870 _ACEOF
59873 done
59878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59879 $as_echo_n "checking for strtold declaration... " >&6; }
59880 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59881 if ${glibcxx_cv_func_strtold_use+:} false; then :
59882 $as_echo_n "(cached) " >&6
59883 else
59886 ac_ext=cpp
59887 ac_cpp='$CXXCPP $CPPFLAGS'
59888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59893 /* end confdefs.h. */
59894 #include <stdlib.h>
59896 main ()
59898 strtold(0, 0);
59900 return 0;
59902 _ACEOF
59903 if ac_fn_cxx_try_compile "$LINENO"; then :
59904 glibcxx_cv_func_strtold_use=yes
59905 else
59906 glibcxx_cv_func_strtold_use=no
59908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59909 ac_ext=c
59910 ac_cpp='$CPP $CPPFLAGS'
59911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59920 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59921 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59922 for ac_func in strtold
59923 do :
59924 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59925 if test "x$ac_cv_func_strtold" = xyes; then :
59926 cat >>confdefs.h <<_ACEOF
59927 #define HAVE_STRTOLD 1
59928 _ACEOF
59931 done
59938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59939 $as_echo_n "checking for strtof declaration... " >&6; }
59940 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59941 if ${glibcxx_cv_func_strtof_use+:} false; then :
59942 $as_echo_n "(cached) " >&6
59943 else
59946 ac_ext=cpp
59947 ac_cpp='$CXXCPP $CPPFLAGS'
59948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59953 /* end confdefs.h. */
59954 #include <stdlib.h>
59956 main ()
59958 strtof(0, 0);
59960 return 0;
59962 _ACEOF
59963 if ac_fn_cxx_try_compile "$LINENO"; then :
59964 glibcxx_cv_func_strtof_use=yes
59965 else
59966 glibcxx_cv_func_strtof_use=no
59968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59969 ac_ext=c
59970 ac_cpp='$CPP $CPPFLAGS'
59971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59980 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59981 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59982 for ac_func in strtof
59983 do :
59984 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59985 if test "x$ac_cv_func_strtof" = xyes; then :
59986 cat >>confdefs.h <<_ACEOF
59987 #define HAVE_STRTOF 1
59988 _ACEOF
59991 done
59998 CXXFLAGS="$ac_save_CXXFLAGS"
60000 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
60002 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
60006 # Check whether --enable-tls was given.
60007 if test "${enable_tls+set}" = set; then :
60008 enableval=$enable_tls;
60009 case "$enableval" in
60010 yes|no) ;;
60011 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
60012 esac
60014 else
60015 enable_tls=yes
60019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
60020 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
60021 if ${gcc_cv_have_tls+:} false; then :
60022 $as_echo_n "(cached) " >&6
60023 else
60025 if test "$cross_compiling" = yes; then :
60026 if test x$gcc_no_link = xyes; then
60027 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60030 /* end confdefs.h. */
60031 __thread int a; int b; int main() { return a = b; }
60032 _ACEOF
60033 if ac_fn_c_try_link "$LINENO"; then :
60034 chktls_save_LDFLAGS="$LDFLAGS"
60035 case $host in
60036 *-*-linux*)
60037 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
60039 esac
60040 chktls_save_CFLAGS="$CFLAGS"
60041 CFLAGS="-fPIC $CFLAGS"
60042 if test x$gcc_no_link = xyes; then
60043 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60046 /* end confdefs.h. */
60047 int f() { return 0; }
60048 _ACEOF
60049 if ac_fn_c_try_link "$LINENO"; then :
60050 if test x$gcc_no_link = xyes; then
60051 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60054 /* end confdefs.h. */
60055 __thread int a; int b; int f() { return a = b; }
60056 _ACEOF
60057 if ac_fn_c_try_link "$LINENO"; then :
60058 gcc_cv_have_tls=yes
60059 else
60060 gcc_cv_have_tls=no
60062 rm -f core conftest.err conftest.$ac_objext \
60063 conftest$ac_exeext conftest.$ac_ext
60064 else
60065 gcc_cv_have_tls=yes
60067 rm -f core conftest.err conftest.$ac_objext \
60068 conftest$ac_exeext conftest.$ac_ext
60069 CFLAGS="$chktls_save_CFLAGS"
60070 LDFLAGS="$chktls_save_LDFLAGS"
60071 else
60072 gcc_cv_have_tls=no
60074 rm -f core conftest.err conftest.$ac_objext \
60075 conftest$ac_exeext conftest.$ac_ext
60078 else
60079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60080 /* end confdefs.h. */
60081 __thread int a; int b; int main() { return a = b; }
60082 _ACEOF
60083 if ac_fn_c_try_run "$LINENO"; then :
60084 chktls_save_LDFLAGS="$LDFLAGS"
60085 LDFLAGS="-static $LDFLAGS"
60086 if test x$gcc_no_link = xyes; then
60087 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60090 /* end confdefs.h. */
60091 int main() { return 0; }
60092 _ACEOF
60093 if ac_fn_c_try_link "$LINENO"; then :
60094 if test "$cross_compiling" = yes; then :
60095 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60097 as_fn_error $? "cannot run test program while cross compiling
60098 See \`config.log' for more details" "$LINENO" 5; }
60099 else
60100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60101 /* end confdefs.h. */
60102 __thread int a; int b; int main() { return a = b; }
60103 _ACEOF
60104 if ac_fn_c_try_run "$LINENO"; then :
60105 gcc_cv_have_tls=yes
60106 else
60107 gcc_cv_have_tls=no
60109 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60110 conftest.$ac_objext conftest.beam conftest.$ac_ext
60113 else
60114 gcc_cv_have_tls=yes
60116 rm -f core conftest.err conftest.$ac_objext \
60117 conftest$ac_exeext conftest.$ac_ext
60118 LDFLAGS="$chktls_save_LDFLAGS"
60119 if test $gcc_cv_have_tls = yes; then
60120 chktls_save_CFLAGS="$CFLAGS"
60121 thread_CFLAGS=failed
60122 for flag in '' '-pthread' '-lpthread'; do
60123 CFLAGS="$flag $chktls_save_CFLAGS"
60124 if test x$gcc_no_link = xyes; then
60125 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60128 /* end confdefs.h. */
60129 #include <pthread.h>
60130 void *g(void *d) { return NULL; }
60132 main ()
60134 pthread_t t; pthread_create(&t,NULL,g,NULL);
60136 return 0;
60138 _ACEOF
60139 if ac_fn_c_try_link "$LINENO"; then :
60140 thread_CFLAGS="$flag"
60142 rm -f core conftest.err conftest.$ac_objext \
60143 conftest$ac_exeext conftest.$ac_ext
60144 if test "X$thread_CFLAGS" != Xfailed; then
60145 break
60147 done
60148 CFLAGS="$chktls_save_CFLAGS"
60149 if test "X$thread_CFLAGS" != Xfailed; then
60150 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
60151 if test "$cross_compiling" = yes; then :
60152 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60153 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60154 as_fn_error $? "cannot run test program while cross compiling
60155 See \`config.log' for more details" "$LINENO" 5; }
60156 else
60157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60158 /* end confdefs.h. */
60159 #include <pthread.h>
60160 __thread int a;
60161 static int *volatile a_in_other_thread;
60162 static void *
60163 thread_func (void *arg)
60165 a_in_other_thread = &a;
60166 return (void *)0;
60169 main ()
60171 pthread_t thread;
60172 void *thread_retval;
60173 int *volatile a_in_main_thread;
60174 a_in_main_thread = &a;
60175 if (pthread_create (&thread, (pthread_attr_t *)0,
60176 thread_func, (void *)0))
60177 return 0;
60178 if (pthread_join (thread, &thread_retval))
60179 return 0;
60180 return (a_in_other_thread == a_in_main_thread);
60182 return 0;
60184 _ACEOF
60185 if ac_fn_c_try_run "$LINENO"; then :
60186 gcc_cv_have_tls=yes
60187 else
60188 gcc_cv_have_tls=no
60190 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60191 conftest.$ac_objext conftest.beam conftest.$ac_ext
60194 CFLAGS="$chktls_save_CFLAGS"
60197 else
60198 gcc_cv_have_tls=no
60200 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60201 conftest.$ac_objext conftest.beam conftest.$ac_ext
60205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
60206 $as_echo "$gcc_cv_have_tls" >&6; }
60207 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
60209 $as_echo "#define HAVE_TLS 1" >>confdefs.h
60212 for ac_func in __cxa_thread_atexit_impl
60213 do :
60214 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
60215 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
60216 cat >>confdefs.h <<_ACEOF
60217 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
60218 _ACEOF
60221 done
60223 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60224 do :
60225 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60226 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60227 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60228 cat >>confdefs.h <<_ACEOF
60229 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60230 _ACEOF
60233 done
60240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
60241 $as_echo_n "checking for iconv... " >&6; }
60242 if ${am_cv_func_iconv+:} false; then :
60243 $as_echo_n "(cached) " >&6
60244 else
60246 am_cv_func_iconv="no, consider installing GNU libiconv"
60247 am_cv_lib_iconv=no
60248 am_save_CPPFLAGS="$CPPFLAGS"
60249 CPPFLAGS="$CPPFLAGS $INCICONV"
60250 if test x$gcc_no_link = xyes; then
60251 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60254 /* end confdefs.h. */
60255 #include <stdlib.h>
60256 #include <iconv.h>
60258 main ()
60260 iconv_t cd = iconv_open("","");
60261 iconv(cd,NULL,NULL,NULL,NULL);
60262 iconv_close(cd);
60264 return 0;
60266 _ACEOF
60267 if ac_fn_c_try_link "$LINENO"; then :
60268 am_cv_func_iconv=yes
60270 rm -f core conftest.err conftest.$ac_objext \
60271 conftest$ac_exeext conftest.$ac_ext
60272 CPPFLAGS="$am_save_CPPFLAGS"
60274 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
60275 for _libs in .libs _libs; do
60276 am_save_CPPFLAGS="$CPPFLAGS"
60277 am_save_LIBS="$LIBS"
60278 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
60279 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
60280 if test x$gcc_no_link = xyes; then
60281 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60284 /* end confdefs.h. */
60285 #include <stdlib.h>
60286 #include <iconv.h>
60288 main ()
60290 iconv_t cd = iconv_open("","");
60291 iconv(cd,NULL,NULL,NULL,NULL);
60292 iconv_close(cd);
60294 return 0;
60296 _ACEOF
60297 if ac_fn_c_try_link "$LINENO"; then :
60298 INCICONV="-I../libiconv/include"
60299 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
60300 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
60301 am_cv_lib_iconv=yes
60302 am_cv_func_iconv=yes
60304 rm -f core conftest.err conftest.$ac_objext \
60305 conftest$ac_exeext conftest.$ac_ext
60306 CPPFLAGS="$am_save_CPPFLAGS"
60307 LIBS="$am_save_LIBS"
60308 if test "$am_cv_func_iconv" = "yes"; then
60309 break
60311 done
60314 if test "$am_cv_func_iconv" != yes; then
60315 am_save_CPPFLAGS="$CPPFLAGS"
60316 am_save_LIBS="$LIBS"
60317 CPPFLAGS="$CPPFLAGS $INCICONV"
60318 LIBS="$LIBS $LIBICONV"
60319 if test x$gcc_no_link = xyes; then
60320 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60323 /* end confdefs.h. */
60324 #include <stdlib.h>
60325 #include <iconv.h>
60327 main ()
60329 iconv_t cd = iconv_open("","");
60330 iconv(cd,NULL,NULL,NULL,NULL);
60331 iconv_close(cd);
60333 return 0;
60335 _ACEOF
60336 if ac_fn_c_try_link "$LINENO"; then :
60337 am_cv_lib_iconv=yes
60338 am_cv_func_iconv=yes
60340 rm -f core conftest.err conftest.$ac_objext \
60341 conftest$ac_exeext conftest.$ac_ext
60342 CPPFLAGS="$am_save_CPPFLAGS"
60343 LIBS="$am_save_LIBS"
60347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
60348 $as_echo "$am_cv_func_iconv" >&6; }
60349 if test "$am_cv_func_iconv" = yes; then
60351 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
60354 if test "$am_cv_lib_iconv" = yes; then
60356 for element in $INCICONV; do
60357 haveit=
60358 for x in $CPPFLAGS; do
60360 acl_save_prefix="$prefix"
60361 prefix="$acl_final_prefix"
60362 acl_save_exec_prefix="$exec_prefix"
60363 exec_prefix="$acl_final_exec_prefix"
60364 eval x=\"$x\"
60365 exec_prefix="$acl_save_exec_prefix"
60366 prefix="$acl_save_prefix"
60368 if test "X$x" = "X$element"; then
60369 haveit=yes
60370 break
60372 done
60373 if test -z "$haveit"; then
60374 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
60376 done
60378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
60379 $as_echo_n "checking how to link with libiconv... " >&6; }
60380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
60381 $as_echo "$LIBICONV" >&6; }
60382 else
60383 LIBICONV=
60384 LTLIBICONV=
60389 if test "$am_cv_func_iconv" = yes; then
60390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
60391 $as_echo_n "checking for iconv declaration... " >&6; }
60392 if ${am_cv_proto_iconv+:} false; then :
60393 $as_echo_n "(cached) " >&6
60394 else
60396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60397 /* end confdefs.h. */
60399 #include <stdlib.h>
60400 #include <iconv.h>
60401 extern
60402 #ifdef __cplusplus
60404 #endif
60405 #if defined(__STDC__) || defined(__cplusplus)
60406 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
60407 #else
60408 size_t iconv();
60409 #endif
60412 main ()
60416 return 0;
60418 _ACEOF
60419 if ac_fn_c_try_compile "$LINENO"; then :
60420 am_cv_proto_iconv_arg1=""
60421 else
60422 am_cv_proto_iconv_arg1="const"
60424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60425 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);"
60428 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
60429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
60430 }$am_cv_proto_iconv" >&5
60431 $as_echo "${ac_t:-
60432 }$am_cv_proto_iconv" >&6; }
60434 cat >>confdefs.h <<_ACEOF
60435 #define ICONV_CONST $am_cv_proto_iconv_arg1
60436 _ACEOF
60441 *-mingw32*)
60443 # If we're not using GNU ld, then there's no point in even trying these
60444 # tests. Check for that first. We should have already tested for gld
60445 # by now (in libtool), but require it now just to be safe...
60446 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60447 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60451 # The name set by libtool depends on the version of libtool. Shame on us
60452 # for depending on an impl detail, but c'est la vie. Older versions used
60453 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60454 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60455 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60456 # set (hence we're using an older libtool), then set it.
60457 if test x${with_gnu_ld+set} != xset; then
60458 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60459 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60460 with_gnu_ld=no
60461 else
60462 with_gnu_ld=$ac_cv_prog_gnu_ld
60466 # Start by getting the version number. I think the libtool test already
60467 # does some of this, but throws away the result.
60468 glibcxx_ld_is_gold=no
60469 if test x"$with_gnu_ld" = x"yes"; then
60470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60471 $as_echo_n "checking for ld version... " >&6; }
60473 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60474 glibcxx_ld_is_gold=yes
60476 ldver=`$LD --version 2>/dev/null |
60477 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'`
60479 glibcxx_gnu_ld_version=`echo $ldver | \
60480 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60482 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60485 # Set --gc-sections.
60486 glibcxx_have_gc_sections=no
60487 if test "$glibcxx_ld_is_gold" = "yes"; then
60488 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60489 glibcxx_have_gc_sections=yes
60491 else
60492 glibcxx_gcsections_min_ld=21602
60493 if test x"$with_gnu_ld" = x"yes" &&
60494 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60495 glibcxx_have_gc_sections=yes
60498 if test "$glibcxx_have_gc_sections" = "yes"; then
60499 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60500 # NB: This flag only works reliably after 2.16.1. Configure tests
60501 # for this are difficult, so hard wire a value that should work.
60503 ac_test_CFLAGS="${CFLAGS+set}"
60504 ac_save_CFLAGS="$CFLAGS"
60505 CFLAGS='-Wl,--gc-sections'
60507 # Check for -Wl,--gc-sections
60508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60509 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60510 if test x$gcc_no_link = xyes; then
60511 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60514 /* end confdefs.h. */
60515 int one(void) { return 1; }
60516 int two(void) { return 2; }
60519 main ()
60521 two();
60523 return 0;
60525 _ACEOF
60526 if ac_fn_c_try_link "$LINENO"; then :
60527 ac_gcsections=yes
60528 else
60529 ac_gcsections=no
60531 rm -f core conftest.err conftest.$ac_objext \
60532 conftest$ac_exeext conftest.$ac_ext
60533 if test "$ac_gcsections" = "yes"; then
60534 rm -f conftest.c
60535 touch conftest.c
60536 if $CC -c conftest.c; then
60537 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60538 grep "Warning: gc-sections option ignored" > /dev/null; then
60539 ac_gcsections=no
60542 rm -f conftest.c conftest.o conftest
60544 if test "$ac_gcsections" = "yes"; then
60545 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60548 $as_echo "$ac_gcsections" >&6; }
60550 if test "$ac_test_CFLAGS" = set; then
60551 CFLAGS="$ac_save_CFLAGS"
60552 else
60553 # this is the suspicious part
60554 CFLAGS=''
60558 # Set -z,relro.
60559 # Note this is only for shared objects.
60560 ac_ld_relro=no
60561 if test x"$with_gnu_ld" = x"yes"; then
60562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60563 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60564 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60565 if test -n "$cxx_z_relo"; then
60566 OPT_LDFLAGS="-Wl,-z,relro"
60567 ac_ld_relro=yes
60569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60570 $as_echo "$ac_ld_relro" >&6; }
60573 # Set linker optimization flags.
60574 if test x"$with_gnu_ld" = x"yes"; then
60575 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60582 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60583 ac_save_CXXFLAGS="$CXXFLAGS"
60584 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60587 $as_echo_n "checking for sin in -lm... " >&6; }
60588 if ${ac_cv_lib_m_sin+:} false; then :
60589 $as_echo_n "(cached) " >&6
60590 else
60591 ac_check_lib_save_LIBS=$LIBS
60592 LIBS="-lm $LIBS"
60593 if test x$gcc_no_link = xyes; then
60594 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60597 /* end confdefs.h. */
60599 /* Override any GCC internal prototype to avoid an error.
60600 Use char because int might match the return type of a GCC
60601 builtin and then its argument prototype would still apply. */
60602 #ifdef __cplusplus
60603 extern "C"
60604 #endif
60605 char sin ();
60607 main ()
60609 return sin ();
60611 return 0;
60613 _ACEOF
60614 if ac_fn_c_try_link "$LINENO"; then :
60615 ac_cv_lib_m_sin=yes
60616 else
60617 ac_cv_lib_m_sin=no
60619 rm -f core conftest.err conftest.$ac_objext \
60620 conftest$ac_exeext conftest.$ac_ext
60621 LIBS=$ac_check_lib_save_LIBS
60623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60624 $as_echo "$ac_cv_lib_m_sin" >&6; }
60625 if test "x$ac_cv_lib_m_sin" = xyes; then :
60626 libm="-lm"
60629 ac_save_LIBS="$LIBS"
60630 LIBS="$LIBS $libm"
60634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60635 $as_echo_n "checking for isinf declaration... " >&6; }
60636 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60637 if ${glibcxx_cv_func_isinf_use+:} false; then :
60638 $as_echo_n "(cached) " >&6
60639 else
60642 ac_ext=cpp
60643 ac_cpp='$CXXCPP $CPPFLAGS'
60644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60649 /* end confdefs.h. */
60650 #include <math.h>
60651 #ifdef HAVE_IEEEFP_H
60652 #include <ieeefp.h>
60653 #endif
60656 main ()
60658 isinf(0);
60660 return 0;
60662 _ACEOF
60663 if ac_fn_cxx_try_compile "$LINENO"; then :
60664 glibcxx_cv_func_isinf_use=yes
60665 else
60666 glibcxx_cv_func_isinf_use=no
60668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60669 ac_ext=c
60670 ac_cpp='$CPP $CPPFLAGS'
60671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60680 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60682 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60683 for ac_func in isinf
60684 do :
60685 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60686 if test "x$ac_cv_func_isinf" = xyes; then :
60687 cat >>confdefs.h <<_ACEOF
60688 #define HAVE_ISINF 1
60689 _ACEOF
60692 done
60694 else
60696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60697 $as_echo_n "checking for _isinf declaration... " >&6; }
60698 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60699 if ${glibcxx_cv_func__isinf_use+:} false; then :
60700 $as_echo_n "(cached) " >&6
60701 else
60704 ac_ext=cpp
60705 ac_cpp='$CXXCPP $CPPFLAGS'
60706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60711 /* end confdefs.h. */
60712 #include <math.h>
60713 #ifdef HAVE_IEEEFP_H
60714 #include <ieeefp.h>
60715 #endif
60718 main ()
60720 _isinf(0);
60722 return 0;
60724 _ACEOF
60725 if ac_fn_cxx_try_compile "$LINENO"; then :
60726 glibcxx_cv_func__isinf_use=yes
60727 else
60728 glibcxx_cv_func__isinf_use=no
60730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60731 ac_ext=c
60732 ac_cpp='$CPP $CPPFLAGS'
60733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60742 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60744 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60745 for ac_func in _isinf
60746 do :
60747 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60748 if test "x$ac_cv_func__isinf" = xyes; then :
60749 cat >>confdefs.h <<_ACEOF
60750 #define HAVE__ISINF 1
60751 _ACEOF
60754 done
60763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60764 $as_echo_n "checking for isnan declaration... " >&6; }
60765 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60766 if ${glibcxx_cv_func_isnan_use+:} false; then :
60767 $as_echo_n "(cached) " >&6
60768 else
60771 ac_ext=cpp
60772 ac_cpp='$CXXCPP $CPPFLAGS'
60773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60778 /* end confdefs.h. */
60779 #include <math.h>
60780 #ifdef HAVE_IEEEFP_H
60781 #include <ieeefp.h>
60782 #endif
60785 main ()
60787 isnan(0);
60789 return 0;
60791 _ACEOF
60792 if ac_fn_cxx_try_compile "$LINENO"; then :
60793 glibcxx_cv_func_isnan_use=yes
60794 else
60795 glibcxx_cv_func_isnan_use=no
60797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60798 ac_ext=c
60799 ac_cpp='$CPP $CPPFLAGS'
60800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60809 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60811 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60812 for ac_func in isnan
60813 do :
60814 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60815 if test "x$ac_cv_func_isnan" = xyes; then :
60816 cat >>confdefs.h <<_ACEOF
60817 #define HAVE_ISNAN 1
60818 _ACEOF
60821 done
60823 else
60825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60826 $as_echo_n "checking for _isnan declaration... " >&6; }
60827 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60828 if ${glibcxx_cv_func__isnan_use+:} false; then :
60829 $as_echo_n "(cached) " >&6
60830 else
60833 ac_ext=cpp
60834 ac_cpp='$CXXCPP $CPPFLAGS'
60835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60840 /* end confdefs.h. */
60841 #include <math.h>
60842 #ifdef HAVE_IEEEFP_H
60843 #include <ieeefp.h>
60844 #endif
60847 main ()
60849 _isnan(0);
60851 return 0;
60853 _ACEOF
60854 if ac_fn_cxx_try_compile "$LINENO"; then :
60855 glibcxx_cv_func__isnan_use=yes
60856 else
60857 glibcxx_cv_func__isnan_use=no
60859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60860 ac_ext=c
60861 ac_cpp='$CPP $CPPFLAGS'
60862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60871 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60873 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60874 for ac_func in _isnan
60875 do :
60876 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60877 if test "x$ac_cv_func__isnan" = xyes; then :
60878 cat >>confdefs.h <<_ACEOF
60879 #define HAVE__ISNAN 1
60880 _ACEOF
60883 done
60892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60893 $as_echo_n "checking for finite declaration... " >&6; }
60894 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60895 if ${glibcxx_cv_func_finite_use+:} false; then :
60896 $as_echo_n "(cached) " >&6
60897 else
60900 ac_ext=cpp
60901 ac_cpp='$CXXCPP $CPPFLAGS'
60902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60907 /* end confdefs.h. */
60908 #include <math.h>
60909 #ifdef HAVE_IEEEFP_H
60910 #include <ieeefp.h>
60911 #endif
60914 main ()
60916 finite(0);
60918 return 0;
60920 _ACEOF
60921 if ac_fn_cxx_try_compile "$LINENO"; then :
60922 glibcxx_cv_func_finite_use=yes
60923 else
60924 glibcxx_cv_func_finite_use=no
60926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60927 ac_ext=c
60928 ac_cpp='$CPP $CPPFLAGS'
60929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60938 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60940 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60941 for ac_func in finite
60942 do :
60943 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60944 if test "x$ac_cv_func_finite" = xyes; then :
60945 cat >>confdefs.h <<_ACEOF
60946 #define HAVE_FINITE 1
60947 _ACEOF
60950 done
60952 else
60954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60955 $as_echo_n "checking for _finite declaration... " >&6; }
60956 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60957 if ${glibcxx_cv_func__finite_use+:} false; then :
60958 $as_echo_n "(cached) " >&6
60959 else
60962 ac_ext=cpp
60963 ac_cpp='$CXXCPP $CPPFLAGS'
60964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60969 /* end confdefs.h. */
60970 #include <math.h>
60971 #ifdef HAVE_IEEEFP_H
60972 #include <ieeefp.h>
60973 #endif
60976 main ()
60978 _finite(0);
60980 return 0;
60982 _ACEOF
60983 if ac_fn_cxx_try_compile "$LINENO"; then :
60984 glibcxx_cv_func__finite_use=yes
60985 else
60986 glibcxx_cv_func__finite_use=no
60988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60989 ac_ext=c
60990 ac_cpp='$CPP $CPPFLAGS'
60991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61000 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
61002 if test x$glibcxx_cv_func__finite_use = x"yes"; then
61003 for ac_func in _finite
61004 do :
61005 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61006 if test "x$ac_cv_func__finite" = xyes; then :
61007 cat >>confdefs.h <<_ACEOF
61008 #define HAVE__FINITE 1
61009 _ACEOF
61012 done
61021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61022 $as_echo_n "checking for sincos declaration... " >&6; }
61023 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61024 if ${glibcxx_cv_func_sincos_use+:} false; then :
61025 $as_echo_n "(cached) " >&6
61026 else
61029 ac_ext=cpp
61030 ac_cpp='$CXXCPP $CPPFLAGS'
61031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61036 /* end confdefs.h. */
61037 #include <math.h>
61039 main ()
61041 sincos(0, 0, 0);
61043 return 0;
61045 _ACEOF
61046 if ac_fn_cxx_try_compile "$LINENO"; then :
61047 glibcxx_cv_func_sincos_use=yes
61048 else
61049 glibcxx_cv_func_sincos_use=no
61051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61052 ac_ext=c
61053 ac_cpp='$CPP $CPPFLAGS'
61054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61063 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61065 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61066 for ac_func in sincos
61067 do :
61068 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61069 if test "x$ac_cv_func_sincos" = xyes; then :
61070 cat >>confdefs.h <<_ACEOF
61071 #define HAVE_SINCOS 1
61072 _ACEOF
61075 done
61077 else
61079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61080 $as_echo_n "checking for _sincos declaration... " >&6; }
61081 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61082 if ${glibcxx_cv_func__sincos_use+:} false; then :
61083 $as_echo_n "(cached) " >&6
61084 else
61087 ac_ext=cpp
61088 ac_cpp='$CXXCPP $CPPFLAGS'
61089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61094 /* end confdefs.h. */
61095 #include <math.h>
61097 main ()
61099 _sincos(0, 0, 0);
61101 return 0;
61103 _ACEOF
61104 if ac_fn_cxx_try_compile "$LINENO"; then :
61105 glibcxx_cv_func__sincos_use=yes
61106 else
61107 glibcxx_cv_func__sincos_use=no
61109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61110 ac_ext=c
61111 ac_cpp='$CPP $CPPFLAGS'
61112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61121 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61123 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61124 for ac_func in _sincos
61125 do :
61126 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61127 if test "x$ac_cv_func__sincos" = xyes; then :
61128 cat >>confdefs.h <<_ACEOF
61129 #define HAVE__SINCOS 1
61130 _ACEOF
61133 done
61142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61143 $as_echo_n "checking for fpclass declaration... " >&6; }
61144 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61145 if ${glibcxx_cv_func_fpclass_use+:} false; then :
61146 $as_echo_n "(cached) " >&6
61147 else
61150 ac_ext=cpp
61151 ac_cpp='$CXXCPP $CPPFLAGS'
61152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61157 /* end confdefs.h. */
61158 #include <math.h>
61159 #ifdef HAVE_IEEEFP_H
61160 #include <ieeefp.h>
61161 #endif
61164 main ()
61166 fpclass(0);
61168 return 0;
61170 _ACEOF
61171 if ac_fn_cxx_try_compile "$LINENO"; then :
61172 glibcxx_cv_func_fpclass_use=yes
61173 else
61174 glibcxx_cv_func_fpclass_use=no
61176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61177 ac_ext=c
61178 ac_cpp='$CPP $CPPFLAGS'
61179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61188 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61190 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61191 for ac_func in fpclass
61192 do :
61193 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61194 if test "x$ac_cv_func_fpclass" = xyes; then :
61195 cat >>confdefs.h <<_ACEOF
61196 #define HAVE_FPCLASS 1
61197 _ACEOF
61200 done
61202 else
61204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
61205 $as_echo_n "checking for _fpclass declaration... " >&6; }
61206 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61207 if ${glibcxx_cv_func__fpclass_use+:} false; then :
61208 $as_echo_n "(cached) " >&6
61209 else
61212 ac_ext=cpp
61213 ac_cpp='$CXXCPP $CPPFLAGS'
61214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61219 /* end confdefs.h. */
61220 #include <math.h>
61221 #ifdef HAVE_IEEEFP_H
61222 #include <ieeefp.h>
61223 #endif
61226 main ()
61228 _fpclass(0);
61230 return 0;
61232 _ACEOF
61233 if ac_fn_cxx_try_compile "$LINENO"; then :
61234 glibcxx_cv_func__fpclass_use=yes
61235 else
61236 glibcxx_cv_func__fpclass_use=no
61238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61239 ac_ext=c
61240 ac_cpp='$CPP $CPPFLAGS'
61241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61250 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61252 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61253 for ac_func in _fpclass
61254 do :
61255 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61256 if test "x$ac_cv_func__fpclass" = xyes; then :
61257 cat >>confdefs.h <<_ACEOF
61258 #define HAVE__FPCLASS 1
61259 _ACEOF
61262 done
61271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61272 $as_echo_n "checking for qfpclass declaration... " >&6; }
61273 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61274 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
61275 $as_echo_n "(cached) " >&6
61276 else
61279 ac_ext=cpp
61280 ac_cpp='$CXXCPP $CPPFLAGS'
61281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61286 /* end confdefs.h. */
61287 #include <math.h>
61288 #ifdef HAVE_IEEEFP_H
61289 #include <ieeefp.h>
61290 #endif
61293 main ()
61295 qfpclass(0);
61297 return 0;
61299 _ACEOF
61300 if ac_fn_cxx_try_compile "$LINENO"; then :
61301 glibcxx_cv_func_qfpclass_use=yes
61302 else
61303 glibcxx_cv_func_qfpclass_use=no
61305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61306 ac_ext=c
61307 ac_cpp='$CPP $CPPFLAGS'
61308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61317 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61319 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61320 for ac_func in qfpclass
61321 do :
61322 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61323 if test "x$ac_cv_func_qfpclass" = xyes; then :
61324 cat >>confdefs.h <<_ACEOF
61325 #define HAVE_QFPCLASS 1
61326 _ACEOF
61329 done
61331 else
61333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61334 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61335 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61336 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
61337 $as_echo_n "(cached) " >&6
61338 else
61341 ac_ext=cpp
61342 ac_cpp='$CXXCPP $CPPFLAGS'
61343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61348 /* end confdefs.h. */
61349 #include <math.h>
61350 #ifdef HAVE_IEEEFP_H
61351 #include <ieeefp.h>
61352 #endif
61355 main ()
61357 _qfpclass(0);
61359 return 0;
61361 _ACEOF
61362 if ac_fn_cxx_try_compile "$LINENO"; then :
61363 glibcxx_cv_func__qfpclass_use=yes
61364 else
61365 glibcxx_cv_func__qfpclass_use=no
61367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61368 ac_ext=c
61369 ac_cpp='$CPP $CPPFLAGS'
61370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61379 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61381 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61382 for ac_func in _qfpclass
61383 do :
61384 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61385 if test "x$ac_cv_func__qfpclass" = xyes; then :
61386 cat >>confdefs.h <<_ACEOF
61387 #define HAVE__QFPCLASS 1
61388 _ACEOF
61391 done
61400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61401 $as_echo_n "checking for hypot declaration... " >&6; }
61402 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61403 if ${glibcxx_cv_func_hypot_use+:} false; then :
61404 $as_echo_n "(cached) " >&6
61405 else
61408 ac_ext=cpp
61409 ac_cpp='$CXXCPP $CPPFLAGS'
61410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61415 /* end confdefs.h. */
61416 #include <math.h>
61418 main ()
61420 hypot(0, 0);
61422 return 0;
61424 _ACEOF
61425 if ac_fn_cxx_try_compile "$LINENO"; then :
61426 glibcxx_cv_func_hypot_use=yes
61427 else
61428 glibcxx_cv_func_hypot_use=no
61430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61431 ac_ext=c
61432 ac_cpp='$CPP $CPPFLAGS'
61433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61442 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61444 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61445 for ac_func in hypot
61446 do :
61447 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61448 if test "x$ac_cv_func_hypot" = xyes; then :
61449 cat >>confdefs.h <<_ACEOF
61450 #define HAVE_HYPOT 1
61451 _ACEOF
61454 done
61456 else
61458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61459 $as_echo_n "checking for _hypot declaration... " >&6; }
61460 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61461 if ${glibcxx_cv_func__hypot_use+:} false; then :
61462 $as_echo_n "(cached) " >&6
61463 else
61466 ac_ext=cpp
61467 ac_cpp='$CXXCPP $CPPFLAGS'
61468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61473 /* end confdefs.h. */
61474 #include <math.h>
61476 main ()
61478 _hypot(0, 0);
61480 return 0;
61482 _ACEOF
61483 if ac_fn_cxx_try_compile "$LINENO"; then :
61484 glibcxx_cv_func__hypot_use=yes
61485 else
61486 glibcxx_cv_func__hypot_use=no
61488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61489 ac_ext=c
61490 ac_cpp='$CPP $CPPFLAGS'
61491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61500 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61502 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61503 for ac_func in _hypot
61504 do :
61505 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61506 if test "x$ac_cv_func__hypot" = xyes; then :
61507 cat >>confdefs.h <<_ACEOF
61508 #define HAVE__HYPOT 1
61509 _ACEOF
61512 done
61521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61522 $as_echo_n "checking for float trig functions... " >&6; }
61523 if ${glibcxx_cv_func_float_trig_use+:} false; then :
61524 $as_echo_n "(cached) " >&6
61525 else
61528 ac_ext=cpp
61529 ac_cpp='$CXXCPP $CPPFLAGS'
61530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61535 /* end confdefs.h. */
61536 #include <math.h>
61538 main ()
61540 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61542 return 0;
61544 _ACEOF
61545 if ac_fn_cxx_try_compile "$LINENO"; then :
61546 glibcxx_cv_func_float_trig_use=yes
61547 else
61548 glibcxx_cv_func_float_trig_use=no
61550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61551 ac_ext=c
61552 ac_cpp='$CPP $CPPFLAGS'
61553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61560 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61561 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61562 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61563 do :
61564 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61565 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61566 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61567 cat >>confdefs.h <<_ACEOF
61568 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61569 _ACEOF
61572 done
61574 else
61575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61576 $as_echo_n "checking for _float trig functions... " >&6; }
61577 if ${glibcxx_cv_func__float_trig_use+:} false; then :
61578 $as_echo_n "(cached) " >&6
61579 else
61582 ac_ext=cpp
61583 ac_cpp='$CXXCPP $CPPFLAGS'
61584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61589 /* end confdefs.h. */
61590 #include <math.h>
61592 main ()
61594 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61596 return 0;
61598 _ACEOF
61599 if ac_fn_cxx_try_compile "$LINENO"; then :
61600 glibcxx_cv_func__float_trig_use=yes
61601 else
61602 glibcxx_cv_func__float_trig_use=no
61604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61605 ac_ext=c
61606 ac_cpp='$CPP $CPPFLAGS'
61607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61614 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61615 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61616 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61617 do :
61618 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61619 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61620 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61621 cat >>confdefs.h <<_ACEOF
61622 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61623 _ACEOF
61626 done
61635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61636 $as_echo_n "checking for float round functions... " >&6; }
61637 if ${glibcxx_cv_func_float_round_use+:} false; then :
61638 $as_echo_n "(cached) " >&6
61639 else
61642 ac_ext=cpp
61643 ac_cpp='$CXXCPP $CPPFLAGS'
61644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61649 /* end confdefs.h. */
61650 #include <math.h>
61652 main ()
61654 ceilf (0); floorf (0);
61656 return 0;
61658 _ACEOF
61659 if ac_fn_cxx_try_compile "$LINENO"; then :
61660 glibcxx_cv_func_float_round_use=yes
61661 else
61662 glibcxx_cv_func_float_round_use=no
61664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61665 ac_ext=c
61666 ac_cpp='$CPP $CPPFLAGS'
61667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61674 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61675 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61676 for ac_func in ceilf floorf
61677 do :
61678 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61679 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61680 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61681 cat >>confdefs.h <<_ACEOF
61682 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61683 _ACEOF
61686 done
61688 else
61689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61690 $as_echo_n "checking for _float round functions... " >&6; }
61691 if ${glibcxx_cv_func__float_round_use+:} false; then :
61692 $as_echo_n "(cached) " >&6
61693 else
61696 ac_ext=cpp
61697 ac_cpp='$CXXCPP $CPPFLAGS'
61698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61703 /* end confdefs.h. */
61704 #include <math.h>
61706 main ()
61708 _ceilf (0); _floorf (0);
61710 return 0;
61712 _ACEOF
61713 if ac_fn_cxx_try_compile "$LINENO"; then :
61714 glibcxx_cv_func__float_round_use=yes
61715 else
61716 glibcxx_cv_func__float_round_use=no
61718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61719 ac_ext=c
61720 ac_cpp='$CPP $CPPFLAGS'
61721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61728 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61729 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61730 for ac_func in _ceilf _floorf
61731 do :
61732 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61733 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61734 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61735 cat >>confdefs.h <<_ACEOF
61736 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61737 _ACEOF
61740 done
61750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61751 $as_echo_n "checking for expf declaration... " >&6; }
61752 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61753 if ${glibcxx_cv_func_expf_use+:} false; then :
61754 $as_echo_n "(cached) " >&6
61755 else
61758 ac_ext=cpp
61759 ac_cpp='$CXXCPP $CPPFLAGS'
61760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61765 /* end confdefs.h. */
61766 #include <math.h>
61767 #ifdef HAVE_IEEEFP_H
61768 #include <ieeefp.h>
61769 #endif
61772 main ()
61774 expf(0);
61776 return 0;
61778 _ACEOF
61779 if ac_fn_cxx_try_compile "$LINENO"; then :
61780 glibcxx_cv_func_expf_use=yes
61781 else
61782 glibcxx_cv_func_expf_use=no
61784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61785 ac_ext=c
61786 ac_cpp='$CPP $CPPFLAGS'
61787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61796 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61798 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61799 for ac_func in expf
61800 do :
61801 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61802 if test "x$ac_cv_func_expf" = xyes; then :
61803 cat >>confdefs.h <<_ACEOF
61804 #define HAVE_EXPF 1
61805 _ACEOF
61808 done
61810 else
61812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61813 $as_echo_n "checking for _expf declaration... " >&6; }
61814 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61815 if ${glibcxx_cv_func__expf_use+:} false; then :
61816 $as_echo_n "(cached) " >&6
61817 else
61820 ac_ext=cpp
61821 ac_cpp='$CXXCPP $CPPFLAGS'
61822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61827 /* end confdefs.h. */
61828 #include <math.h>
61829 #ifdef HAVE_IEEEFP_H
61830 #include <ieeefp.h>
61831 #endif
61834 main ()
61836 _expf(0);
61838 return 0;
61840 _ACEOF
61841 if ac_fn_cxx_try_compile "$LINENO"; then :
61842 glibcxx_cv_func__expf_use=yes
61843 else
61844 glibcxx_cv_func__expf_use=no
61846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61847 ac_ext=c
61848 ac_cpp='$CPP $CPPFLAGS'
61849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61858 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61860 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61861 for ac_func in _expf
61862 do :
61863 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61864 if test "x$ac_cv_func__expf" = xyes; then :
61865 cat >>confdefs.h <<_ACEOF
61866 #define HAVE__EXPF 1
61867 _ACEOF
61870 done
61879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61880 $as_echo_n "checking for isnanf declaration... " >&6; }
61881 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61882 if ${glibcxx_cv_func_isnanf_use+:} false; then :
61883 $as_echo_n "(cached) " >&6
61884 else
61887 ac_ext=cpp
61888 ac_cpp='$CXXCPP $CPPFLAGS'
61889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61894 /* end confdefs.h. */
61895 #include <math.h>
61896 #ifdef HAVE_IEEEFP_H
61897 #include <ieeefp.h>
61898 #endif
61901 main ()
61903 isnanf(0);
61905 return 0;
61907 _ACEOF
61908 if ac_fn_cxx_try_compile "$LINENO"; then :
61909 glibcxx_cv_func_isnanf_use=yes
61910 else
61911 glibcxx_cv_func_isnanf_use=no
61913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61914 ac_ext=c
61915 ac_cpp='$CPP $CPPFLAGS'
61916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61925 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61927 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61928 for ac_func in isnanf
61929 do :
61930 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61931 if test "x$ac_cv_func_isnanf" = xyes; then :
61932 cat >>confdefs.h <<_ACEOF
61933 #define HAVE_ISNANF 1
61934 _ACEOF
61937 done
61939 else
61941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61942 $as_echo_n "checking for _isnanf declaration... " >&6; }
61943 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61944 if ${glibcxx_cv_func__isnanf_use+:} false; then :
61945 $as_echo_n "(cached) " >&6
61946 else
61949 ac_ext=cpp
61950 ac_cpp='$CXXCPP $CPPFLAGS'
61951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61956 /* end confdefs.h. */
61957 #include <math.h>
61958 #ifdef HAVE_IEEEFP_H
61959 #include <ieeefp.h>
61960 #endif
61963 main ()
61965 _isnanf(0);
61967 return 0;
61969 _ACEOF
61970 if ac_fn_cxx_try_compile "$LINENO"; then :
61971 glibcxx_cv_func__isnanf_use=yes
61972 else
61973 glibcxx_cv_func__isnanf_use=no
61975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61976 ac_ext=c
61977 ac_cpp='$CPP $CPPFLAGS'
61978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61987 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61989 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61990 for ac_func in _isnanf
61991 do :
61992 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61993 if test "x$ac_cv_func__isnanf" = xyes; then :
61994 cat >>confdefs.h <<_ACEOF
61995 #define HAVE__ISNANF 1
61996 _ACEOF
61999 done
62008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62009 $as_echo_n "checking for isinff declaration... " >&6; }
62010 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62011 if ${glibcxx_cv_func_isinff_use+:} false; then :
62012 $as_echo_n "(cached) " >&6
62013 else
62016 ac_ext=cpp
62017 ac_cpp='$CXXCPP $CPPFLAGS'
62018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62023 /* end confdefs.h. */
62024 #include <math.h>
62025 #ifdef HAVE_IEEEFP_H
62026 #include <ieeefp.h>
62027 #endif
62030 main ()
62032 isinff(0);
62034 return 0;
62036 _ACEOF
62037 if ac_fn_cxx_try_compile "$LINENO"; then :
62038 glibcxx_cv_func_isinff_use=yes
62039 else
62040 glibcxx_cv_func_isinff_use=no
62042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62043 ac_ext=c
62044 ac_cpp='$CPP $CPPFLAGS'
62045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62054 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62056 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62057 for ac_func in isinff
62058 do :
62059 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62060 if test "x$ac_cv_func_isinff" = xyes; then :
62061 cat >>confdefs.h <<_ACEOF
62062 #define HAVE_ISINFF 1
62063 _ACEOF
62066 done
62068 else
62070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62071 $as_echo_n "checking for _isinff declaration... " >&6; }
62072 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62073 if ${glibcxx_cv_func__isinff_use+:} false; then :
62074 $as_echo_n "(cached) " >&6
62075 else
62078 ac_ext=cpp
62079 ac_cpp='$CXXCPP $CPPFLAGS'
62080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62085 /* end confdefs.h. */
62086 #include <math.h>
62087 #ifdef HAVE_IEEEFP_H
62088 #include <ieeefp.h>
62089 #endif
62092 main ()
62094 _isinff(0);
62096 return 0;
62098 _ACEOF
62099 if ac_fn_cxx_try_compile "$LINENO"; then :
62100 glibcxx_cv_func__isinff_use=yes
62101 else
62102 glibcxx_cv_func__isinff_use=no
62104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62105 ac_ext=c
62106 ac_cpp='$CPP $CPPFLAGS'
62107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62116 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62118 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62119 for ac_func in _isinff
62120 do :
62121 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62122 if test "x$ac_cv_func__isinff" = xyes; then :
62123 cat >>confdefs.h <<_ACEOF
62124 #define HAVE__ISINFF 1
62125 _ACEOF
62128 done
62137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62138 $as_echo_n "checking for atan2f declaration... " >&6; }
62139 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62140 if ${glibcxx_cv_func_atan2f_use+:} false; then :
62141 $as_echo_n "(cached) " >&6
62142 else
62145 ac_ext=cpp
62146 ac_cpp='$CXXCPP $CPPFLAGS'
62147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62152 /* end confdefs.h. */
62153 #include <math.h>
62155 main ()
62157 atan2f(0, 0);
62159 return 0;
62161 _ACEOF
62162 if ac_fn_cxx_try_compile "$LINENO"; then :
62163 glibcxx_cv_func_atan2f_use=yes
62164 else
62165 glibcxx_cv_func_atan2f_use=no
62167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62168 ac_ext=c
62169 ac_cpp='$CPP $CPPFLAGS'
62170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62179 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62181 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62182 for ac_func in atan2f
62183 do :
62184 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62185 if test "x$ac_cv_func_atan2f" = xyes; then :
62186 cat >>confdefs.h <<_ACEOF
62187 #define HAVE_ATAN2F 1
62188 _ACEOF
62191 done
62193 else
62195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62196 $as_echo_n "checking for _atan2f declaration... " >&6; }
62197 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62198 if ${glibcxx_cv_func__atan2f_use+:} false; then :
62199 $as_echo_n "(cached) " >&6
62200 else
62203 ac_ext=cpp
62204 ac_cpp='$CXXCPP $CPPFLAGS'
62205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62210 /* end confdefs.h. */
62211 #include <math.h>
62213 main ()
62215 _atan2f(0, 0);
62217 return 0;
62219 _ACEOF
62220 if ac_fn_cxx_try_compile "$LINENO"; then :
62221 glibcxx_cv_func__atan2f_use=yes
62222 else
62223 glibcxx_cv_func__atan2f_use=no
62225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62226 ac_ext=c
62227 ac_cpp='$CPP $CPPFLAGS'
62228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62237 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62239 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62240 for ac_func in _atan2f
62241 do :
62242 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62243 if test "x$ac_cv_func__atan2f" = xyes; then :
62244 cat >>confdefs.h <<_ACEOF
62245 #define HAVE__ATAN2F 1
62246 _ACEOF
62249 done
62258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62259 $as_echo_n "checking for fabsf declaration... " >&6; }
62260 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62261 if ${glibcxx_cv_func_fabsf_use+:} false; then :
62262 $as_echo_n "(cached) " >&6
62263 else
62266 ac_ext=cpp
62267 ac_cpp='$CXXCPP $CPPFLAGS'
62268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62273 /* end confdefs.h. */
62274 #include <math.h>
62275 #ifdef HAVE_IEEEFP_H
62276 #include <ieeefp.h>
62277 #endif
62280 main ()
62282 fabsf(0);
62284 return 0;
62286 _ACEOF
62287 if ac_fn_cxx_try_compile "$LINENO"; then :
62288 glibcxx_cv_func_fabsf_use=yes
62289 else
62290 glibcxx_cv_func_fabsf_use=no
62292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62293 ac_ext=c
62294 ac_cpp='$CPP $CPPFLAGS'
62295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62304 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62306 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62307 for ac_func in fabsf
62308 do :
62309 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62310 if test "x$ac_cv_func_fabsf" = xyes; then :
62311 cat >>confdefs.h <<_ACEOF
62312 #define HAVE_FABSF 1
62313 _ACEOF
62316 done
62318 else
62320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62321 $as_echo_n "checking for _fabsf declaration... " >&6; }
62322 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62323 if ${glibcxx_cv_func__fabsf_use+:} false; then :
62324 $as_echo_n "(cached) " >&6
62325 else
62328 ac_ext=cpp
62329 ac_cpp='$CXXCPP $CPPFLAGS'
62330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62335 /* end confdefs.h. */
62336 #include <math.h>
62337 #ifdef HAVE_IEEEFP_H
62338 #include <ieeefp.h>
62339 #endif
62342 main ()
62344 _fabsf(0);
62346 return 0;
62348 _ACEOF
62349 if ac_fn_cxx_try_compile "$LINENO"; then :
62350 glibcxx_cv_func__fabsf_use=yes
62351 else
62352 glibcxx_cv_func__fabsf_use=no
62354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62355 ac_ext=c
62356 ac_cpp='$CPP $CPPFLAGS'
62357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62366 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62368 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62369 for ac_func in _fabsf
62370 do :
62371 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62372 if test "x$ac_cv_func__fabsf" = xyes; then :
62373 cat >>confdefs.h <<_ACEOF
62374 #define HAVE__FABSF 1
62375 _ACEOF
62378 done
62387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62388 $as_echo_n "checking for fmodf declaration... " >&6; }
62389 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62390 if ${glibcxx_cv_func_fmodf_use+:} false; then :
62391 $as_echo_n "(cached) " >&6
62392 else
62395 ac_ext=cpp
62396 ac_cpp='$CXXCPP $CPPFLAGS'
62397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62402 /* end confdefs.h. */
62403 #include <math.h>
62405 main ()
62407 fmodf(0, 0);
62409 return 0;
62411 _ACEOF
62412 if ac_fn_cxx_try_compile "$LINENO"; then :
62413 glibcxx_cv_func_fmodf_use=yes
62414 else
62415 glibcxx_cv_func_fmodf_use=no
62417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62418 ac_ext=c
62419 ac_cpp='$CPP $CPPFLAGS'
62420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62429 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62431 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62432 for ac_func in fmodf
62433 do :
62434 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62435 if test "x$ac_cv_func_fmodf" = xyes; then :
62436 cat >>confdefs.h <<_ACEOF
62437 #define HAVE_FMODF 1
62438 _ACEOF
62441 done
62443 else
62445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62446 $as_echo_n "checking for _fmodf declaration... " >&6; }
62447 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62448 if ${glibcxx_cv_func__fmodf_use+:} false; then :
62449 $as_echo_n "(cached) " >&6
62450 else
62453 ac_ext=cpp
62454 ac_cpp='$CXXCPP $CPPFLAGS'
62455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62460 /* end confdefs.h. */
62461 #include <math.h>
62463 main ()
62465 _fmodf(0, 0);
62467 return 0;
62469 _ACEOF
62470 if ac_fn_cxx_try_compile "$LINENO"; then :
62471 glibcxx_cv_func__fmodf_use=yes
62472 else
62473 glibcxx_cv_func__fmodf_use=no
62475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62476 ac_ext=c
62477 ac_cpp='$CPP $CPPFLAGS'
62478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62487 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62489 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62490 for ac_func in _fmodf
62491 do :
62492 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62493 if test "x$ac_cv_func__fmodf" = xyes; then :
62494 cat >>confdefs.h <<_ACEOF
62495 #define HAVE__FMODF 1
62496 _ACEOF
62499 done
62508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62509 $as_echo_n "checking for frexpf declaration... " >&6; }
62510 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62511 if ${glibcxx_cv_func_frexpf_use+:} false; then :
62512 $as_echo_n "(cached) " >&6
62513 else
62516 ac_ext=cpp
62517 ac_cpp='$CXXCPP $CPPFLAGS'
62518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62523 /* end confdefs.h. */
62524 #include <math.h>
62526 main ()
62528 frexpf(0, 0);
62530 return 0;
62532 _ACEOF
62533 if ac_fn_cxx_try_compile "$LINENO"; then :
62534 glibcxx_cv_func_frexpf_use=yes
62535 else
62536 glibcxx_cv_func_frexpf_use=no
62538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62539 ac_ext=c
62540 ac_cpp='$CPP $CPPFLAGS'
62541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62550 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62552 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62553 for ac_func in frexpf
62554 do :
62555 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62556 if test "x$ac_cv_func_frexpf" = xyes; then :
62557 cat >>confdefs.h <<_ACEOF
62558 #define HAVE_FREXPF 1
62559 _ACEOF
62562 done
62564 else
62566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62567 $as_echo_n "checking for _frexpf declaration... " >&6; }
62568 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62569 if ${glibcxx_cv_func__frexpf_use+:} false; then :
62570 $as_echo_n "(cached) " >&6
62571 else
62574 ac_ext=cpp
62575 ac_cpp='$CXXCPP $CPPFLAGS'
62576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62581 /* end confdefs.h. */
62582 #include <math.h>
62584 main ()
62586 _frexpf(0, 0);
62588 return 0;
62590 _ACEOF
62591 if ac_fn_cxx_try_compile "$LINENO"; then :
62592 glibcxx_cv_func__frexpf_use=yes
62593 else
62594 glibcxx_cv_func__frexpf_use=no
62596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62597 ac_ext=c
62598 ac_cpp='$CPP $CPPFLAGS'
62599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62608 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62610 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62611 for ac_func in _frexpf
62612 do :
62613 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62614 if test "x$ac_cv_func__frexpf" = xyes; then :
62615 cat >>confdefs.h <<_ACEOF
62616 #define HAVE__FREXPF 1
62617 _ACEOF
62620 done
62629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62630 $as_echo_n "checking for hypotf declaration... " >&6; }
62631 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62632 if ${glibcxx_cv_func_hypotf_use+:} false; then :
62633 $as_echo_n "(cached) " >&6
62634 else
62637 ac_ext=cpp
62638 ac_cpp='$CXXCPP $CPPFLAGS'
62639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62644 /* end confdefs.h. */
62645 #include <math.h>
62647 main ()
62649 hypotf(0, 0);
62651 return 0;
62653 _ACEOF
62654 if ac_fn_cxx_try_compile "$LINENO"; then :
62655 glibcxx_cv_func_hypotf_use=yes
62656 else
62657 glibcxx_cv_func_hypotf_use=no
62659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62660 ac_ext=c
62661 ac_cpp='$CPP $CPPFLAGS'
62662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62671 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62673 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62674 for ac_func in hypotf
62675 do :
62676 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62677 if test "x$ac_cv_func_hypotf" = xyes; then :
62678 cat >>confdefs.h <<_ACEOF
62679 #define HAVE_HYPOTF 1
62680 _ACEOF
62683 done
62685 else
62687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62688 $as_echo_n "checking for _hypotf declaration... " >&6; }
62689 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62690 if ${glibcxx_cv_func__hypotf_use+:} false; then :
62691 $as_echo_n "(cached) " >&6
62692 else
62695 ac_ext=cpp
62696 ac_cpp='$CXXCPP $CPPFLAGS'
62697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62702 /* end confdefs.h. */
62703 #include <math.h>
62705 main ()
62707 _hypotf(0, 0);
62709 return 0;
62711 _ACEOF
62712 if ac_fn_cxx_try_compile "$LINENO"; then :
62713 glibcxx_cv_func__hypotf_use=yes
62714 else
62715 glibcxx_cv_func__hypotf_use=no
62717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62718 ac_ext=c
62719 ac_cpp='$CPP $CPPFLAGS'
62720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62729 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62731 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62732 for ac_func in _hypotf
62733 do :
62734 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62735 if test "x$ac_cv_func__hypotf" = xyes; then :
62736 cat >>confdefs.h <<_ACEOF
62737 #define HAVE__HYPOTF 1
62738 _ACEOF
62741 done
62750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62751 $as_echo_n "checking for ldexpf declaration... " >&6; }
62752 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62753 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
62754 $as_echo_n "(cached) " >&6
62755 else
62758 ac_ext=cpp
62759 ac_cpp='$CXXCPP $CPPFLAGS'
62760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62765 /* end confdefs.h. */
62766 #include <math.h>
62768 main ()
62770 ldexpf(0, 0);
62772 return 0;
62774 _ACEOF
62775 if ac_fn_cxx_try_compile "$LINENO"; then :
62776 glibcxx_cv_func_ldexpf_use=yes
62777 else
62778 glibcxx_cv_func_ldexpf_use=no
62780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62781 ac_ext=c
62782 ac_cpp='$CPP $CPPFLAGS'
62783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62792 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62794 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62795 for ac_func in ldexpf
62796 do :
62797 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62798 if test "x$ac_cv_func_ldexpf" = xyes; then :
62799 cat >>confdefs.h <<_ACEOF
62800 #define HAVE_LDEXPF 1
62801 _ACEOF
62804 done
62806 else
62808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62809 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62810 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62811 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
62812 $as_echo_n "(cached) " >&6
62813 else
62816 ac_ext=cpp
62817 ac_cpp='$CXXCPP $CPPFLAGS'
62818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62823 /* end confdefs.h. */
62824 #include <math.h>
62826 main ()
62828 _ldexpf(0, 0);
62830 return 0;
62832 _ACEOF
62833 if ac_fn_cxx_try_compile "$LINENO"; then :
62834 glibcxx_cv_func__ldexpf_use=yes
62835 else
62836 glibcxx_cv_func__ldexpf_use=no
62838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62839 ac_ext=c
62840 ac_cpp='$CPP $CPPFLAGS'
62841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62850 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62852 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62853 for ac_func in _ldexpf
62854 do :
62855 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62856 if test "x$ac_cv_func__ldexpf" = xyes; then :
62857 cat >>confdefs.h <<_ACEOF
62858 #define HAVE__LDEXPF 1
62859 _ACEOF
62862 done
62871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62872 $as_echo_n "checking for logf declaration... " >&6; }
62873 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62874 if ${glibcxx_cv_func_logf_use+:} false; then :
62875 $as_echo_n "(cached) " >&6
62876 else
62879 ac_ext=cpp
62880 ac_cpp='$CXXCPP $CPPFLAGS'
62881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62886 /* end confdefs.h. */
62887 #include <math.h>
62888 #ifdef HAVE_IEEEFP_H
62889 #include <ieeefp.h>
62890 #endif
62893 main ()
62895 logf(0);
62897 return 0;
62899 _ACEOF
62900 if ac_fn_cxx_try_compile "$LINENO"; then :
62901 glibcxx_cv_func_logf_use=yes
62902 else
62903 glibcxx_cv_func_logf_use=no
62905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62906 ac_ext=c
62907 ac_cpp='$CPP $CPPFLAGS'
62908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62917 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62919 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62920 for ac_func in logf
62921 do :
62922 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62923 if test "x$ac_cv_func_logf" = xyes; then :
62924 cat >>confdefs.h <<_ACEOF
62925 #define HAVE_LOGF 1
62926 _ACEOF
62929 done
62931 else
62933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62934 $as_echo_n "checking for _logf declaration... " >&6; }
62935 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62936 if ${glibcxx_cv_func__logf_use+:} false; then :
62937 $as_echo_n "(cached) " >&6
62938 else
62941 ac_ext=cpp
62942 ac_cpp='$CXXCPP $CPPFLAGS'
62943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62948 /* end confdefs.h. */
62949 #include <math.h>
62950 #ifdef HAVE_IEEEFP_H
62951 #include <ieeefp.h>
62952 #endif
62955 main ()
62957 _logf(0);
62959 return 0;
62961 _ACEOF
62962 if ac_fn_cxx_try_compile "$LINENO"; then :
62963 glibcxx_cv_func__logf_use=yes
62964 else
62965 glibcxx_cv_func__logf_use=no
62967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62968 ac_ext=c
62969 ac_cpp='$CPP $CPPFLAGS'
62970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62979 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62981 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62982 for ac_func in _logf
62983 do :
62984 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62985 if test "x$ac_cv_func__logf" = xyes; then :
62986 cat >>confdefs.h <<_ACEOF
62987 #define HAVE__LOGF 1
62988 _ACEOF
62991 done
63000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63001 $as_echo_n "checking for log10f declaration... " >&6; }
63002 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63003 if ${glibcxx_cv_func_log10f_use+:} false; then :
63004 $as_echo_n "(cached) " >&6
63005 else
63008 ac_ext=cpp
63009 ac_cpp='$CXXCPP $CPPFLAGS'
63010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63015 /* end confdefs.h. */
63016 #include <math.h>
63017 #ifdef HAVE_IEEEFP_H
63018 #include <ieeefp.h>
63019 #endif
63022 main ()
63024 log10f(0);
63026 return 0;
63028 _ACEOF
63029 if ac_fn_cxx_try_compile "$LINENO"; then :
63030 glibcxx_cv_func_log10f_use=yes
63031 else
63032 glibcxx_cv_func_log10f_use=no
63034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63035 ac_ext=c
63036 ac_cpp='$CPP $CPPFLAGS'
63037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63046 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63048 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63049 for ac_func in log10f
63050 do :
63051 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63052 if test "x$ac_cv_func_log10f" = xyes; then :
63053 cat >>confdefs.h <<_ACEOF
63054 #define HAVE_LOG10F 1
63055 _ACEOF
63058 done
63060 else
63062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63063 $as_echo_n "checking for _log10f declaration... " >&6; }
63064 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63065 if ${glibcxx_cv_func__log10f_use+:} false; then :
63066 $as_echo_n "(cached) " >&6
63067 else
63070 ac_ext=cpp
63071 ac_cpp='$CXXCPP $CPPFLAGS'
63072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63077 /* end confdefs.h. */
63078 #include <math.h>
63079 #ifdef HAVE_IEEEFP_H
63080 #include <ieeefp.h>
63081 #endif
63084 main ()
63086 _log10f(0);
63088 return 0;
63090 _ACEOF
63091 if ac_fn_cxx_try_compile "$LINENO"; then :
63092 glibcxx_cv_func__log10f_use=yes
63093 else
63094 glibcxx_cv_func__log10f_use=no
63096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63097 ac_ext=c
63098 ac_cpp='$CPP $CPPFLAGS'
63099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63108 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63110 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63111 for ac_func in _log10f
63112 do :
63113 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63114 if test "x$ac_cv_func__log10f" = xyes; then :
63115 cat >>confdefs.h <<_ACEOF
63116 #define HAVE__LOG10F 1
63117 _ACEOF
63120 done
63129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63130 $as_echo_n "checking for modff declaration... " >&6; }
63131 if test x${glibcxx_cv_func_modff_use+set} != xset; then
63132 if ${glibcxx_cv_func_modff_use+:} false; then :
63133 $as_echo_n "(cached) " >&6
63134 else
63137 ac_ext=cpp
63138 ac_cpp='$CXXCPP $CPPFLAGS'
63139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63144 /* end confdefs.h. */
63145 #include <math.h>
63147 main ()
63149 modff(0, 0);
63151 return 0;
63153 _ACEOF
63154 if ac_fn_cxx_try_compile "$LINENO"; then :
63155 glibcxx_cv_func_modff_use=yes
63156 else
63157 glibcxx_cv_func_modff_use=no
63159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63160 ac_ext=c
63161 ac_cpp='$CPP $CPPFLAGS'
63162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63171 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
63173 if test x$glibcxx_cv_func_modff_use = x"yes"; then
63174 for ac_func in modff
63175 do :
63176 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63177 if test "x$ac_cv_func_modff" = xyes; then :
63178 cat >>confdefs.h <<_ACEOF
63179 #define HAVE_MODFF 1
63180 _ACEOF
63183 done
63185 else
63187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63188 $as_echo_n "checking for _modff declaration... " >&6; }
63189 if test x${glibcxx_cv_func__modff_use+set} != xset; then
63190 if ${glibcxx_cv_func__modff_use+:} false; then :
63191 $as_echo_n "(cached) " >&6
63192 else
63195 ac_ext=cpp
63196 ac_cpp='$CXXCPP $CPPFLAGS'
63197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63202 /* end confdefs.h. */
63203 #include <math.h>
63205 main ()
63207 _modff(0, 0);
63209 return 0;
63211 _ACEOF
63212 if ac_fn_cxx_try_compile "$LINENO"; then :
63213 glibcxx_cv_func__modff_use=yes
63214 else
63215 glibcxx_cv_func__modff_use=no
63217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63218 ac_ext=c
63219 ac_cpp='$CPP $CPPFLAGS'
63220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
63229 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
63231 if test x$glibcxx_cv_func__modff_use = x"yes"; then
63232 for ac_func in _modff
63233 do :
63234 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63235 if test "x$ac_cv_func__modff" = xyes; then :
63236 cat >>confdefs.h <<_ACEOF
63237 #define HAVE__MODFF 1
63238 _ACEOF
63241 done
63250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63251 $as_echo_n "checking for modf declaration... " >&6; }
63252 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63253 if ${glibcxx_cv_func_modf_use+:} false; then :
63254 $as_echo_n "(cached) " >&6
63255 else
63258 ac_ext=cpp
63259 ac_cpp='$CXXCPP $CPPFLAGS'
63260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63265 /* end confdefs.h. */
63266 #include <math.h>
63268 main ()
63270 modf(0, 0);
63272 return 0;
63274 _ACEOF
63275 if ac_fn_cxx_try_compile "$LINENO"; then :
63276 glibcxx_cv_func_modf_use=yes
63277 else
63278 glibcxx_cv_func_modf_use=no
63280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63281 ac_ext=c
63282 ac_cpp='$CPP $CPPFLAGS'
63283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63292 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63294 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63295 for ac_func in modf
63296 do :
63297 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63298 if test "x$ac_cv_func_modf" = xyes; then :
63299 cat >>confdefs.h <<_ACEOF
63300 #define HAVE_MODF 1
63301 _ACEOF
63304 done
63306 else
63308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63309 $as_echo_n "checking for _modf declaration... " >&6; }
63310 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63311 if ${glibcxx_cv_func__modf_use+:} false; then :
63312 $as_echo_n "(cached) " >&6
63313 else
63316 ac_ext=cpp
63317 ac_cpp='$CXXCPP $CPPFLAGS'
63318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63323 /* end confdefs.h. */
63324 #include <math.h>
63326 main ()
63328 _modf(0, 0);
63330 return 0;
63332 _ACEOF
63333 if ac_fn_cxx_try_compile "$LINENO"; then :
63334 glibcxx_cv_func__modf_use=yes
63335 else
63336 glibcxx_cv_func__modf_use=no
63338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63339 ac_ext=c
63340 ac_cpp='$CPP $CPPFLAGS'
63341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63350 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63352 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63353 for ac_func in _modf
63354 do :
63355 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63356 if test "x$ac_cv_func__modf" = xyes; then :
63357 cat >>confdefs.h <<_ACEOF
63358 #define HAVE__MODF 1
63359 _ACEOF
63362 done
63371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63372 $as_echo_n "checking for powf declaration... " >&6; }
63373 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63374 if ${glibcxx_cv_func_powf_use+:} false; then :
63375 $as_echo_n "(cached) " >&6
63376 else
63379 ac_ext=cpp
63380 ac_cpp='$CXXCPP $CPPFLAGS'
63381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63386 /* end confdefs.h. */
63387 #include <math.h>
63389 main ()
63391 powf(0, 0);
63393 return 0;
63395 _ACEOF
63396 if ac_fn_cxx_try_compile "$LINENO"; then :
63397 glibcxx_cv_func_powf_use=yes
63398 else
63399 glibcxx_cv_func_powf_use=no
63401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63402 ac_ext=c
63403 ac_cpp='$CPP $CPPFLAGS'
63404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63413 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63415 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63416 for ac_func in powf
63417 do :
63418 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63419 if test "x$ac_cv_func_powf" = xyes; then :
63420 cat >>confdefs.h <<_ACEOF
63421 #define HAVE_POWF 1
63422 _ACEOF
63425 done
63427 else
63429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63430 $as_echo_n "checking for _powf declaration... " >&6; }
63431 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63432 if ${glibcxx_cv_func__powf_use+:} false; then :
63433 $as_echo_n "(cached) " >&6
63434 else
63437 ac_ext=cpp
63438 ac_cpp='$CXXCPP $CPPFLAGS'
63439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63444 /* end confdefs.h. */
63445 #include <math.h>
63447 main ()
63449 _powf(0, 0);
63451 return 0;
63453 _ACEOF
63454 if ac_fn_cxx_try_compile "$LINENO"; then :
63455 glibcxx_cv_func__powf_use=yes
63456 else
63457 glibcxx_cv_func__powf_use=no
63459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63460 ac_ext=c
63461 ac_cpp='$CPP $CPPFLAGS'
63462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63471 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63473 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63474 for ac_func in _powf
63475 do :
63476 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63477 if test "x$ac_cv_func__powf" = xyes; then :
63478 cat >>confdefs.h <<_ACEOF
63479 #define HAVE__POWF 1
63480 _ACEOF
63483 done
63492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63493 $as_echo_n "checking for sqrtf declaration... " >&6; }
63494 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63495 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
63496 $as_echo_n "(cached) " >&6
63497 else
63500 ac_ext=cpp
63501 ac_cpp='$CXXCPP $CPPFLAGS'
63502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63507 /* end confdefs.h. */
63508 #include <math.h>
63509 #ifdef HAVE_IEEEFP_H
63510 #include <ieeefp.h>
63511 #endif
63514 main ()
63516 sqrtf(0);
63518 return 0;
63520 _ACEOF
63521 if ac_fn_cxx_try_compile "$LINENO"; then :
63522 glibcxx_cv_func_sqrtf_use=yes
63523 else
63524 glibcxx_cv_func_sqrtf_use=no
63526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63527 ac_ext=c
63528 ac_cpp='$CPP $CPPFLAGS'
63529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63538 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63540 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63541 for ac_func in sqrtf
63542 do :
63543 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63544 if test "x$ac_cv_func_sqrtf" = xyes; then :
63545 cat >>confdefs.h <<_ACEOF
63546 #define HAVE_SQRTF 1
63547 _ACEOF
63550 done
63552 else
63554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63555 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63556 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63557 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
63558 $as_echo_n "(cached) " >&6
63559 else
63562 ac_ext=cpp
63563 ac_cpp='$CXXCPP $CPPFLAGS'
63564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63569 /* end confdefs.h. */
63570 #include <math.h>
63571 #ifdef HAVE_IEEEFP_H
63572 #include <ieeefp.h>
63573 #endif
63576 main ()
63578 _sqrtf(0);
63580 return 0;
63582 _ACEOF
63583 if ac_fn_cxx_try_compile "$LINENO"; then :
63584 glibcxx_cv_func__sqrtf_use=yes
63585 else
63586 glibcxx_cv_func__sqrtf_use=no
63588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63589 ac_ext=c
63590 ac_cpp='$CPP $CPPFLAGS'
63591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63600 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63602 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63603 for ac_func in _sqrtf
63604 do :
63605 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63606 if test "x$ac_cv_func__sqrtf" = xyes; then :
63607 cat >>confdefs.h <<_ACEOF
63608 #define HAVE__SQRTF 1
63609 _ACEOF
63612 done
63621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63622 $as_echo_n "checking for sincosf declaration... " >&6; }
63623 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63624 if ${glibcxx_cv_func_sincosf_use+:} false; then :
63625 $as_echo_n "(cached) " >&6
63626 else
63629 ac_ext=cpp
63630 ac_cpp='$CXXCPP $CPPFLAGS'
63631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63636 /* end confdefs.h. */
63637 #include <math.h>
63639 main ()
63641 sincosf(0, 0, 0);
63643 return 0;
63645 _ACEOF
63646 if ac_fn_cxx_try_compile "$LINENO"; then :
63647 glibcxx_cv_func_sincosf_use=yes
63648 else
63649 glibcxx_cv_func_sincosf_use=no
63651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63652 ac_ext=c
63653 ac_cpp='$CPP $CPPFLAGS'
63654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63663 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63665 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63666 for ac_func in sincosf
63667 do :
63668 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63669 if test "x$ac_cv_func_sincosf" = xyes; then :
63670 cat >>confdefs.h <<_ACEOF
63671 #define HAVE_SINCOSF 1
63672 _ACEOF
63675 done
63677 else
63679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63680 $as_echo_n "checking for _sincosf declaration... " >&6; }
63681 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63682 if ${glibcxx_cv_func__sincosf_use+:} false; then :
63683 $as_echo_n "(cached) " >&6
63684 else
63687 ac_ext=cpp
63688 ac_cpp='$CXXCPP $CPPFLAGS'
63689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63694 /* end confdefs.h. */
63695 #include <math.h>
63697 main ()
63699 _sincosf(0, 0, 0);
63701 return 0;
63703 _ACEOF
63704 if ac_fn_cxx_try_compile "$LINENO"; then :
63705 glibcxx_cv_func__sincosf_use=yes
63706 else
63707 glibcxx_cv_func__sincosf_use=no
63709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63710 ac_ext=c
63711 ac_cpp='$CPP $CPPFLAGS'
63712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63721 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63723 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63724 for ac_func in _sincosf
63725 do :
63726 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63727 if test "x$ac_cv_func__sincosf" = xyes; then :
63728 cat >>confdefs.h <<_ACEOF
63729 #define HAVE__SINCOSF 1
63730 _ACEOF
63733 done
63742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63743 $as_echo_n "checking for finitef declaration... " >&6; }
63744 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63745 if ${glibcxx_cv_func_finitef_use+:} false; then :
63746 $as_echo_n "(cached) " >&6
63747 else
63750 ac_ext=cpp
63751 ac_cpp='$CXXCPP $CPPFLAGS'
63752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63757 /* end confdefs.h. */
63758 #include <math.h>
63759 #ifdef HAVE_IEEEFP_H
63760 #include <ieeefp.h>
63761 #endif
63764 main ()
63766 finitef(0);
63768 return 0;
63770 _ACEOF
63771 if ac_fn_cxx_try_compile "$LINENO"; then :
63772 glibcxx_cv_func_finitef_use=yes
63773 else
63774 glibcxx_cv_func_finitef_use=no
63776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63777 ac_ext=c
63778 ac_cpp='$CPP $CPPFLAGS'
63779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63788 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63790 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63791 for ac_func in finitef
63792 do :
63793 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63794 if test "x$ac_cv_func_finitef" = xyes; then :
63795 cat >>confdefs.h <<_ACEOF
63796 #define HAVE_FINITEF 1
63797 _ACEOF
63800 done
63802 else
63804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63805 $as_echo_n "checking for _finitef declaration... " >&6; }
63806 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63807 if ${glibcxx_cv_func__finitef_use+:} false; then :
63808 $as_echo_n "(cached) " >&6
63809 else
63812 ac_ext=cpp
63813 ac_cpp='$CXXCPP $CPPFLAGS'
63814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63819 /* end confdefs.h. */
63820 #include <math.h>
63821 #ifdef HAVE_IEEEFP_H
63822 #include <ieeefp.h>
63823 #endif
63826 main ()
63828 _finitef(0);
63830 return 0;
63832 _ACEOF
63833 if ac_fn_cxx_try_compile "$LINENO"; then :
63834 glibcxx_cv_func__finitef_use=yes
63835 else
63836 glibcxx_cv_func__finitef_use=no
63838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63839 ac_ext=c
63840 ac_cpp='$CPP $CPPFLAGS'
63841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63850 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63852 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63853 for ac_func in _finitef
63854 do :
63855 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63856 if test "x$ac_cv_func__finitef" = xyes; then :
63857 cat >>confdefs.h <<_ACEOF
63858 #define HAVE__FINITEF 1
63859 _ACEOF
63862 done
63871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63872 $as_echo_n "checking for long double trig functions... " >&6; }
63873 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
63874 $as_echo_n "(cached) " >&6
63875 else
63878 ac_ext=cpp
63879 ac_cpp='$CXXCPP $CPPFLAGS'
63880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63885 /* end confdefs.h. */
63886 #include <math.h>
63888 main ()
63890 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63892 return 0;
63894 _ACEOF
63895 if ac_fn_cxx_try_compile "$LINENO"; then :
63896 glibcxx_cv_func_long_double_trig_use=yes
63897 else
63898 glibcxx_cv_func_long_double_trig_use=no
63900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63901 ac_ext=c
63902 ac_cpp='$CPP $CPPFLAGS'
63903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63910 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63911 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63912 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63913 do :
63914 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63915 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63916 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
63917 cat >>confdefs.h <<_ACEOF
63918 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63919 _ACEOF
63922 done
63924 else
63925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63926 $as_echo_n "checking for _long double trig functions... " >&6; }
63927 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
63928 $as_echo_n "(cached) " >&6
63929 else
63932 ac_ext=cpp
63933 ac_cpp='$CXXCPP $CPPFLAGS'
63934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63939 /* end confdefs.h. */
63940 #include <math.h>
63942 main ()
63944 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63946 return 0;
63948 _ACEOF
63949 if ac_fn_cxx_try_compile "$LINENO"; then :
63950 glibcxx_cv_func__long_double_trig_use=yes
63951 else
63952 glibcxx_cv_func__long_double_trig_use=no
63954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63955 ac_ext=c
63956 ac_cpp='$CPP $CPPFLAGS'
63957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63964 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63965 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63966 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63967 do :
63968 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63969 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63970 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
63971 cat >>confdefs.h <<_ACEOF
63972 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63973 _ACEOF
63976 done
63985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63986 $as_echo_n "checking for long double round functions... " >&6; }
63987 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
63988 $as_echo_n "(cached) " >&6
63989 else
63992 ac_ext=cpp
63993 ac_cpp='$CXXCPP $CPPFLAGS'
63994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63999 /* end confdefs.h. */
64000 #include <math.h>
64002 main ()
64004 ceill (0); floorl (0);
64006 return 0;
64008 _ACEOF
64009 if ac_fn_cxx_try_compile "$LINENO"; then :
64010 glibcxx_cv_func_long_double_round_use=yes
64011 else
64012 glibcxx_cv_func_long_double_round_use=no
64014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64015 ac_ext=c
64016 ac_cpp='$CPP $CPPFLAGS'
64017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64024 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64025 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64026 for ac_func in ceill floorl
64027 do :
64028 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64029 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64030 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64031 cat >>confdefs.h <<_ACEOF
64032 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64033 _ACEOF
64036 done
64038 else
64039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64040 $as_echo_n "checking for _long double round functions... " >&6; }
64041 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
64042 $as_echo_n "(cached) " >&6
64043 else
64046 ac_ext=cpp
64047 ac_cpp='$CXXCPP $CPPFLAGS'
64048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64053 /* end confdefs.h. */
64054 #include <math.h>
64056 main ()
64058 _ceill (0); _floorl (0);
64060 return 0;
64062 _ACEOF
64063 if ac_fn_cxx_try_compile "$LINENO"; then :
64064 glibcxx_cv_func__long_double_round_use=yes
64065 else
64066 glibcxx_cv_func__long_double_round_use=no
64068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64069 ac_ext=c
64070 ac_cpp='$CPP $CPPFLAGS'
64071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64078 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64079 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64080 for ac_func in _ceill _floorl
64081 do :
64082 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64083 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64084 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64085 cat >>confdefs.h <<_ACEOF
64086 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64087 _ACEOF
64090 done
64100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64101 $as_echo_n "checking for isnanl declaration... " >&6; }
64102 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64103 if ${glibcxx_cv_func_isnanl_use+:} false; then :
64104 $as_echo_n "(cached) " >&6
64105 else
64108 ac_ext=cpp
64109 ac_cpp='$CXXCPP $CPPFLAGS'
64110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64115 /* end confdefs.h. */
64116 #include <math.h>
64117 #ifdef HAVE_IEEEFP_H
64118 #include <ieeefp.h>
64119 #endif
64122 main ()
64124 isnanl(0);
64126 return 0;
64128 _ACEOF
64129 if ac_fn_cxx_try_compile "$LINENO"; then :
64130 glibcxx_cv_func_isnanl_use=yes
64131 else
64132 glibcxx_cv_func_isnanl_use=no
64134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64135 ac_ext=c
64136 ac_cpp='$CPP $CPPFLAGS'
64137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64146 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64148 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64149 for ac_func in isnanl
64150 do :
64151 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64152 if test "x$ac_cv_func_isnanl" = xyes; then :
64153 cat >>confdefs.h <<_ACEOF
64154 #define HAVE_ISNANL 1
64155 _ACEOF
64158 done
64160 else
64162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64163 $as_echo_n "checking for _isnanl declaration... " >&6; }
64164 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64165 if ${glibcxx_cv_func__isnanl_use+:} false; then :
64166 $as_echo_n "(cached) " >&6
64167 else
64170 ac_ext=cpp
64171 ac_cpp='$CXXCPP $CPPFLAGS'
64172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64177 /* end confdefs.h. */
64178 #include <math.h>
64179 #ifdef HAVE_IEEEFP_H
64180 #include <ieeefp.h>
64181 #endif
64184 main ()
64186 _isnanl(0);
64188 return 0;
64190 _ACEOF
64191 if ac_fn_cxx_try_compile "$LINENO"; then :
64192 glibcxx_cv_func__isnanl_use=yes
64193 else
64194 glibcxx_cv_func__isnanl_use=no
64196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64197 ac_ext=c
64198 ac_cpp='$CPP $CPPFLAGS'
64199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
64208 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
64210 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64211 for ac_func in _isnanl
64212 do :
64213 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
64214 if test "x$ac_cv_func__isnanl" = xyes; then :
64215 cat >>confdefs.h <<_ACEOF
64216 #define HAVE__ISNANL 1
64217 _ACEOF
64220 done
64229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64230 $as_echo_n "checking for isinfl declaration... " >&6; }
64231 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64232 if ${glibcxx_cv_func_isinfl_use+:} false; then :
64233 $as_echo_n "(cached) " >&6
64234 else
64237 ac_ext=cpp
64238 ac_cpp='$CXXCPP $CPPFLAGS'
64239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64244 /* end confdefs.h. */
64245 #include <math.h>
64246 #ifdef HAVE_IEEEFP_H
64247 #include <ieeefp.h>
64248 #endif
64251 main ()
64253 isinfl(0);
64255 return 0;
64257 _ACEOF
64258 if ac_fn_cxx_try_compile "$LINENO"; then :
64259 glibcxx_cv_func_isinfl_use=yes
64260 else
64261 glibcxx_cv_func_isinfl_use=no
64263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64264 ac_ext=c
64265 ac_cpp='$CPP $CPPFLAGS'
64266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64275 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64277 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64278 for ac_func in isinfl
64279 do :
64280 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64281 if test "x$ac_cv_func_isinfl" = xyes; then :
64282 cat >>confdefs.h <<_ACEOF
64283 #define HAVE_ISINFL 1
64284 _ACEOF
64287 done
64289 else
64291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64292 $as_echo_n "checking for _isinfl declaration... " >&6; }
64293 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64294 if ${glibcxx_cv_func__isinfl_use+:} false; then :
64295 $as_echo_n "(cached) " >&6
64296 else
64299 ac_ext=cpp
64300 ac_cpp='$CXXCPP $CPPFLAGS'
64301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64306 /* end confdefs.h. */
64307 #include <math.h>
64308 #ifdef HAVE_IEEEFP_H
64309 #include <ieeefp.h>
64310 #endif
64313 main ()
64315 _isinfl(0);
64317 return 0;
64319 _ACEOF
64320 if ac_fn_cxx_try_compile "$LINENO"; then :
64321 glibcxx_cv_func__isinfl_use=yes
64322 else
64323 glibcxx_cv_func__isinfl_use=no
64325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64326 ac_ext=c
64327 ac_cpp='$CPP $CPPFLAGS'
64328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64337 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64339 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64340 for ac_func in _isinfl
64341 do :
64342 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64343 if test "x$ac_cv_func__isinfl" = xyes; then :
64344 cat >>confdefs.h <<_ACEOF
64345 #define HAVE__ISINFL 1
64346 _ACEOF
64349 done
64358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64359 $as_echo_n "checking for atan2l declaration... " >&6; }
64360 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64361 if ${glibcxx_cv_func_atan2l_use+:} false; then :
64362 $as_echo_n "(cached) " >&6
64363 else
64366 ac_ext=cpp
64367 ac_cpp='$CXXCPP $CPPFLAGS'
64368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64373 /* end confdefs.h. */
64374 #include <math.h>
64376 main ()
64378 atan2l(0, 0);
64380 return 0;
64382 _ACEOF
64383 if ac_fn_cxx_try_compile "$LINENO"; then :
64384 glibcxx_cv_func_atan2l_use=yes
64385 else
64386 glibcxx_cv_func_atan2l_use=no
64388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64389 ac_ext=c
64390 ac_cpp='$CPP $CPPFLAGS'
64391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64400 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64402 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64403 for ac_func in atan2l
64404 do :
64405 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64406 if test "x$ac_cv_func_atan2l" = xyes; then :
64407 cat >>confdefs.h <<_ACEOF
64408 #define HAVE_ATAN2L 1
64409 _ACEOF
64412 done
64414 else
64416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64417 $as_echo_n "checking for _atan2l declaration... " >&6; }
64418 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64419 if ${glibcxx_cv_func__atan2l_use+:} false; then :
64420 $as_echo_n "(cached) " >&6
64421 else
64424 ac_ext=cpp
64425 ac_cpp='$CXXCPP $CPPFLAGS'
64426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64431 /* end confdefs.h. */
64432 #include <math.h>
64434 main ()
64436 _atan2l(0, 0);
64438 return 0;
64440 _ACEOF
64441 if ac_fn_cxx_try_compile "$LINENO"; then :
64442 glibcxx_cv_func__atan2l_use=yes
64443 else
64444 glibcxx_cv_func__atan2l_use=no
64446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64447 ac_ext=c
64448 ac_cpp='$CPP $CPPFLAGS'
64449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64458 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64460 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64461 for ac_func in _atan2l
64462 do :
64463 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64464 if test "x$ac_cv_func__atan2l" = xyes; then :
64465 cat >>confdefs.h <<_ACEOF
64466 #define HAVE__ATAN2L 1
64467 _ACEOF
64470 done
64479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64480 $as_echo_n "checking for expl declaration... " >&6; }
64481 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64482 if ${glibcxx_cv_func_expl_use+:} false; then :
64483 $as_echo_n "(cached) " >&6
64484 else
64487 ac_ext=cpp
64488 ac_cpp='$CXXCPP $CPPFLAGS'
64489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64494 /* end confdefs.h. */
64495 #include <math.h>
64496 #ifdef HAVE_IEEEFP_H
64497 #include <ieeefp.h>
64498 #endif
64501 main ()
64503 expl(0);
64505 return 0;
64507 _ACEOF
64508 if ac_fn_cxx_try_compile "$LINENO"; then :
64509 glibcxx_cv_func_expl_use=yes
64510 else
64511 glibcxx_cv_func_expl_use=no
64513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64514 ac_ext=c
64515 ac_cpp='$CPP $CPPFLAGS'
64516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64525 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64527 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64528 for ac_func in expl
64529 do :
64530 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64531 if test "x$ac_cv_func_expl" = xyes; then :
64532 cat >>confdefs.h <<_ACEOF
64533 #define HAVE_EXPL 1
64534 _ACEOF
64537 done
64539 else
64541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64542 $as_echo_n "checking for _expl declaration... " >&6; }
64543 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64544 if ${glibcxx_cv_func__expl_use+:} false; then :
64545 $as_echo_n "(cached) " >&6
64546 else
64549 ac_ext=cpp
64550 ac_cpp='$CXXCPP $CPPFLAGS'
64551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64556 /* end confdefs.h. */
64557 #include <math.h>
64558 #ifdef HAVE_IEEEFP_H
64559 #include <ieeefp.h>
64560 #endif
64563 main ()
64565 _expl(0);
64567 return 0;
64569 _ACEOF
64570 if ac_fn_cxx_try_compile "$LINENO"; then :
64571 glibcxx_cv_func__expl_use=yes
64572 else
64573 glibcxx_cv_func__expl_use=no
64575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64576 ac_ext=c
64577 ac_cpp='$CPP $CPPFLAGS'
64578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64587 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64589 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64590 for ac_func in _expl
64591 do :
64592 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64593 if test "x$ac_cv_func__expl" = xyes; then :
64594 cat >>confdefs.h <<_ACEOF
64595 #define HAVE__EXPL 1
64596 _ACEOF
64599 done
64608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64609 $as_echo_n "checking for fabsl declaration... " >&6; }
64610 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64611 if ${glibcxx_cv_func_fabsl_use+:} false; then :
64612 $as_echo_n "(cached) " >&6
64613 else
64616 ac_ext=cpp
64617 ac_cpp='$CXXCPP $CPPFLAGS'
64618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64623 /* end confdefs.h. */
64624 #include <math.h>
64625 #ifdef HAVE_IEEEFP_H
64626 #include <ieeefp.h>
64627 #endif
64630 main ()
64632 fabsl(0);
64634 return 0;
64636 _ACEOF
64637 if ac_fn_cxx_try_compile "$LINENO"; then :
64638 glibcxx_cv_func_fabsl_use=yes
64639 else
64640 glibcxx_cv_func_fabsl_use=no
64642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64643 ac_ext=c
64644 ac_cpp='$CPP $CPPFLAGS'
64645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64654 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64656 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64657 for ac_func in fabsl
64658 do :
64659 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64660 if test "x$ac_cv_func_fabsl" = xyes; then :
64661 cat >>confdefs.h <<_ACEOF
64662 #define HAVE_FABSL 1
64663 _ACEOF
64666 done
64668 else
64670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64671 $as_echo_n "checking for _fabsl declaration... " >&6; }
64672 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64673 if ${glibcxx_cv_func__fabsl_use+:} false; then :
64674 $as_echo_n "(cached) " >&6
64675 else
64678 ac_ext=cpp
64679 ac_cpp='$CXXCPP $CPPFLAGS'
64680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64685 /* end confdefs.h. */
64686 #include <math.h>
64687 #ifdef HAVE_IEEEFP_H
64688 #include <ieeefp.h>
64689 #endif
64692 main ()
64694 _fabsl(0);
64696 return 0;
64698 _ACEOF
64699 if ac_fn_cxx_try_compile "$LINENO"; then :
64700 glibcxx_cv_func__fabsl_use=yes
64701 else
64702 glibcxx_cv_func__fabsl_use=no
64704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64705 ac_ext=c
64706 ac_cpp='$CPP $CPPFLAGS'
64707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64716 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64718 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64719 for ac_func in _fabsl
64720 do :
64721 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64722 if test "x$ac_cv_func__fabsl" = xyes; then :
64723 cat >>confdefs.h <<_ACEOF
64724 #define HAVE__FABSL 1
64725 _ACEOF
64728 done
64737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64738 $as_echo_n "checking for fmodl declaration... " >&6; }
64739 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64740 if ${glibcxx_cv_func_fmodl_use+:} false; then :
64741 $as_echo_n "(cached) " >&6
64742 else
64745 ac_ext=cpp
64746 ac_cpp='$CXXCPP $CPPFLAGS'
64747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64752 /* end confdefs.h. */
64753 #include <math.h>
64755 main ()
64757 fmodl(0, 0);
64759 return 0;
64761 _ACEOF
64762 if ac_fn_cxx_try_compile "$LINENO"; then :
64763 glibcxx_cv_func_fmodl_use=yes
64764 else
64765 glibcxx_cv_func_fmodl_use=no
64767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64768 ac_ext=c
64769 ac_cpp='$CPP $CPPFLAGS'
64770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64779 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64781 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64782 for ac_func in fmodl
64783 do :
64784 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64785 if test "x$ac_cv_func_fmodl" = xyes; then :
64786 cat >>confdefs.h <<_ACEOF
64787 #define HAVE_FMODL 1
64788 _ACEOF
64791 done
64793 else
64795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64796 $as_echo_n "checking for _fmodl declaration... " >&6; }
64797 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64798 if ${glibcxx_cv_func__fmodl_use+:} false; then :
64799 $as_echo_n "(cached) " >&6
64800 else
64803 ac_ext=cpp
64804 ac_cpp='$CXXCPP $CPPFLAGS'
64805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64810 /* end confdefs.h. */
64811 #include <math.h>
64813 main ()
64815 _fmodl(0, 0);
64817 return 0;
64819 _ACEOF
64820 if ac_fn_cxx_try_compile "$LINENO"; then :
64821 glibcxx_cv_func__fmodl_use=yes
64822 else
64823 glibcxx_cv_func__fmodl_use=no
64825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64826 ac_ext=c
64827 ac_cpp='$CPP $CPPFLAGS'
64828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64837 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64839 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64840 for ac_func in _fmodl
64841 do :
64842 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64843 if test "x$ac_cv_func__fmodl" = xyes; then :
64844 cat >>confdefs.h <<_ACEOF
64845 #define HAVE__FMODL 1
64846 _ACEOF
64849 done
64858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64859 $as_echo_n "checking for frexpl declaration... " >&6; }
64860 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64861 if ${glibcxx_cv_func_frexpl_use+:} false; then :
64862 $as_echo_n "(cached) " >&6
64863 else
64866 ac_ext=cpp
64867 ac_cpp='$CXXCPP $CPPFLAGS'
64868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64873 /* end confdefs.h. */
64874 #include <math.h>
64876 main ()
64878 frexpl(0, 0);
64880 return 0;
64882 _ACEOF
64883 if ac_fn_cxx_try_compile "$LINENO"; then :
64884 glibcxx_cv_func_frexpl_use=yes
64885 else
64886 glibcxx_cv_func_frexpl_use=no
64888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64889 ac_ext=c
64890 ac_cpp='$CPP $CPPFLAGS'
64891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64900 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64902 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64903 for ac_func in frexpl
64904 do :
64905 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64906 if test "x$ac_cv_func_frexpl" = xyes; then :
64907 cat >>confdefs.h <<_ACEOF
64908 #define HAVE_FREXPL 1
64909 _ACEOF
64912 done
64914 else
64916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64917 $as_echo_n "checking for _frexpl declaration... " >&6; }
64918 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64919 if ${glibcxx_cv_func__frexpl_use+:} false; then :
64920 $as_echo_n "(cached) " >&6
64921 else
64924 ac_ext=cpp
64925 ac_cpp='$CXXCPP $CPPFLAGS'
64926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64931 /* end confdefs.h. */
64932 #include <math.h>
64934 main ()
64936 _frexpl(0, 0);
64938 return 0;
64940 _ACEOF
64941 if ac_fn_cxx_try_compile "$LINENO"; then :
64942 glibcxx_cv_func__frexpl_use=yes
64943 else
64944 glibcxx_cv_func__frexpl_use=no
64946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64947 ac_ext=c
64948 ac_cpp='$CPP $CPPFLAGS'
64949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64958 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64960 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64961 for ac_func in _frexpl
64962 do :
64963 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64964 if test "x$ac_cv_func__frexpl" = xyes; then :
64965 cat >>confdefs.h <<_ACEOF
64966 #define HAVE__FREXPL 1
64967 _ACEOF
64970 done
64979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64980 $as_echo_n "checking for hypotl declaration... " >&6; }
64981 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64982 if ${glibcxx_cv_func_hypotl_use+:} false; then :
64983 $as_echo_n "(cached) " >&6
64984 else
64987 ac_ext=cpp
64988 ac_cpp='$CXXCPP $CPPFLAGS'
64989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64994 /* end confdefs.h. */
64995 #include <math.h>
64997 main ()
64999 hypotl(0, 0);
65001 return 0;
65003 _ACEOF
65004 if ac_fn_cxx_try_compile "$LINENO"; then :
65005 glibcxx_cv_func_hypotl_use=yes
65006 else
65007 glibcxx_cv_func_hypotl_use=no
65009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65010 ac_ext=c
65011 ac_cpp='$CPP $CPPFLAGS'
65012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65021 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65023 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65024 for ac_func in hypotl
65025 do :
65026 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65027 if test "x$ac_cv_func_hypotl" = xyes; then :
65028 cat >>confdefs.h <<_ACEOF
65029 #define HAVE_HYPOTL 1
65030 _ACEOF
65033 done
65035 else
65037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65038 $as_echo_n "checking for _hypotl declaration... " >&6; }
65039 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65040 if ${glibcxx_cv_func__hypotl_use+:} false; then :
65041 $as_echo_n "(cached) " >&6
65042 else
65045 ac_ext=cpp
65046 ac_cpp='$CXXCPP $CPPFLAGS'
65047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65052 /* end confdefs.h. */
65053 #include <math.h>
65055 main ()
65057 _hypotl(0, 0);
65059 return 0;
65061 _ACEOF
65062 if ac_fn_cxx_try_compile "$LINENO"; then :
65063 glibcxx_cv_func__hypotl_use=yes
65064 else
65065 glibcxx_cv_func__hypotl_use=no
65067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65068 ac_ext=c
65069 ac_cpp='$CPP $CPPFLAGS'
65070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65079 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65081 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65082 for ac_func in _hypotl
65083 do :
65084 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65085 if test "x$ac_cv_func__hypotl" = xyes; then :
65086 cat >>confdefs.h <<_ACEOF
65087 #define HAVE__HYPOTL 1
65088 _ACEOF
65091 done
65100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65101 $as_echo_n "checking for ldexpl declaration... " >&6; }
65102 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65103 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65104 $as_echo_n "(cached) " >&6
65105 else
65108 ac_ext=cpp
65109 ac_cpp='$CXXCPP $CPPFLAGS'
65110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65115 /* end confdefs.h. */
65116 #include <math.h>
65118 main ()
65120 ldexpl(0, 0);
65122 return 0;
65124 _ACEOF
65125 if ac_fn_cxx_try_compile "$LINENO"; then :
65126 glibcxx_cv_func_ldexpl_use=yes
65127 else
65128 glibcxx_cv_func_ldexpl_use=no
65130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65131 ac_ext=c
65132 ac_cpp='$CPP $CPPFLAGS'
65133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65142 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65144 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65145 for ac_func in ldexpl
65146 do :
65147 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65148 if test "x$ac_cv_func_ldexpl" = xyes; then :
65149 cat >>confdefs.h <<_ACEOF
65150 #define HAVE_LDEXPL 1
65151 _ACEOF
65154 done
65156 else
65158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65159 $as_echo_n "checking for _ldexpl declaration... " >&6; }
65160 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65161 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
65162 $as_echo_n "(cached) " >&6
65163 else
65166 ac_ext=cpp
65167 ac_cpp='$CXXCPP $CPPFLAGS'
65168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65173 /* end confdefs.h. */
65174 #include <math.h>
65176 main ()
65178 _ldexpl(0, 0);
65180 return 0;
65182 _ACEOF
65183 if ac_fn_cxx_try_compile "$LINENO"; then :
65184 glibcxx_cv_func__ldexpl_use=yes
65185 else
65186 glibcxx_cv_func__ldexpl_use=no
65188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65189 ac_ext=c
65190 ac_cpp='$CPP $CPPFLAGS'
65191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
65200 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
65202 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65203 for ac_func in _ldexpl
65204 do :
65205 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
65206 if test "x$ac_cv_func__ldexpl" = xyes; then :
65207 cat >>confdefs.h <<_ACEOF
65208 #define HAVE__LDEXPL 1
65209 _ACEOF
65212 done
65221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
65222 $as_echo_n "checking for logl declaration... " >&6; }
65223 if test x${glibcxx_cv_func_logl_use+set} != xset; then
65224 if ${glibcxx_cv_func_logl_use+:} false; then :
65225 $as_echo_n "(cached) " >&6
65226 else
65229 ac_ext=cpp
65230 ac_cpp='$CXXCPP $CPPFLAGS'
65231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65236 /* end confdefs.h. */
65237 #include <math.h>
65238 #ifdef HAVE_IEEEFP_H
65239 #include <ieeefp.h>
65240 #endif
65243 main ()
65245 logl(0);
65247 return 0;
65249 _ACEOF
65250 if ac_fn_cxx_try_compile "$LINENO"; then :
65251 glibcxx_cv_func_logl_use=yes
65252 else
65253 glibcxx_cv_func_logl_use=no
65255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65256 ac_ext=c
65257 ac_cpp='$CPP $CPPFLAGS'
65258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65267 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65269 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65270 for ac_func in logl
65271 do :
65272 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65273 if test "x$ac_cv_func_logl" = xyes; then :
65274 cat >>confdefs.h <<_ACEOF
65275 #define HAVE_LOGL 1
65276 _ACEOF
65279 done
65281 else
65283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65284 $as_echo_n "checking for _logl declaration... " >&6; }
65285 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65286 if ${glibcxx_cv_func__logl_use+:} false; then :
65287 $as_echo_n "(cached) " >&6
65288 else
65291 ac_ext=cpp
65292 ac_cpp='$CXXCPP $CPPFLAGS'
65293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65298 /* end confdefs.h. */
65299 #include <math.h>
65300 #ifdef HAVE_IEEEFP_H
65301 #include <ieeefp.h>
65302 #endif
65305 main ()
65307 _logl(0);
65309 return 0;
65311 _ACEOF
65312 if ac_fn_cxx_try_compile "$LINENO"; then :
65313 glibcxx_cv_func__logl_use=yes
65314 else
65315 glibcxx_cv_func__logl_use=no
65317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65318 ac_ext=c
65319 ac_cpp='$CPP $CPPFLAGS'
65320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65329 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65331 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65332 for ac_func in _logl
65333 do :
65334 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65335 if test "x$ac_cv_func__logl" = xyes; then :
65336 cat >>confdefs.h <<_ACEOF
65337 #define HAVE__LOGL 1
65338 _ACEOF
65341 done
65350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65351 $as_echo_n "checking for log10l declaration... " >&6; }
65352 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65353 if ${glibcxx_cv_func_log10l_use+:} false; then :
65354 $as_echo_n "(cached) " >&6
65355 else
65358 ac_ext=cpp
65359 ac_cpp='$CXXCPP $CPPFLAGS'
65360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65365 /* end confdefs.h. */
65366 #include <math.h>
65367 #ifdef HAVE_IEEEFP_H
65368 #include <ieeefp.h>
65369 #endif
65372 main ()
65374 log10l(0);
65376 return 0;
65378 _ACEOF
65379 if ac_fn_cxx_try_compile "$LINENO"; then :
65380 glibcxx_cv_func_log10l_use=yes
65381 else
65382 glibcxx_cv_func_log10l_use=no
65384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65385 ac_ext=c
65386 ac_cpp='$CPP $CPPFLAGS'
65387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65396 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65398 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65399 for ac_func in log10l
65400 do :
65401 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65402 if test "x$ac_cv_func_log10l" = xyes; then :
65403 cat >>confdefs.h <<_ACEOF
65404 #define HAVE_LOG10L 1
65405 _ACEOF
65408 done
65410 else
65412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65413 $as_echo_n "checking for _log10l declaration... " >&6; }
65414 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65415 if ${glibcxx_cv_func__log10l_use+:} false; then :
65416 $as_echo_n "(cached) " >&6
65417 else
65420 ac_ext=cpp
65421 ac_cpp='$CXXCPP $CPPFLAGS'
65422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65427 /* end confdefs.h. */
65428 #include <math.h>
65429 #ifdef HAVE_IEEEFP_H
65430 #include <ieeefp.h>
65431 #endif
65434 main ()
65436 _log10l(0);
65438 return 0;
65440 _ACEOF
65441 if ac_fn_cxx_try_compile "$LINENO"; then :
65442 glibcxx_cv_func__log10l_use=yes
65443 else
65444 glibcxx_cv_func__log10l_use=no
65446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65447 ac_ext=c
65448 ac_cpp='$CPP $CPPFLAGS'
65449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65458 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65460 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65461 for ac_func in _log10l
65462 do :
65463 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65464 if test "x$ac_cv_func__log10l" = xyes; then :
65465 cat >>confdefs.h <<_ACEOF
65466 #define HAVE__LOG10L 1
65467 _ACEOF
65470 done
65479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65480 $as_echo_n "checking for modfl declaration... " >&6; }
65481 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65482 if ${glibcxx_cv_func_modfl_use+:} false; then :
65483 $as_echo_n "(cached) " >&6
65484 else
65487 ac_ext=cpp
65488 ac_cpp='$CXXCPP $CPPFLAGS'
65489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65494 /* end confdefs.h. */
65495 #include <math.h>
65497 main ()
65499 modfl(0, 0);
65501 return 0;
65503 _ACEOF
65504 if ac_fn_cxx_try_compile "$LINENO"; then :
65505 glibcxx_cv_func_modfl_use=yes
65506 else
65507 glibcxx_cv_func_modfl_use=no
65509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65510 ac_ext=c
65511 ac_cpp='$CPP $CPPFLAGS'
65512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65521 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65523 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65524 for ac_func in modfl
65525 do :
65526 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65527 if test "x$ac_cv_func_modfl" = xyes; then :
65528 cat >>confdefs.h <<_ACEOF
65529 #define HAVE_MODFL 1
65530 _ACEOF
65533 done
65535 else
65537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65538 $as_echo_n "checking for _modfl declaration... " >&6; }
65539 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65540 if ${glibcxx_cv_func__modfl_use+:} false; then :
65541 $as_echo_n "(cached) " >&6
65542 else
65545 ac_ext=cpp
65546 ac_cpp='$CXXCPP $CPPFLAGS'
65547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65552 /* end confdefs.h. */
65553 #include <math.h>
65555 main ()
65557 _modfl(0, 0);
65559 return 0;
65561 _ACEOF
65562 if ac_fn_cxx_try_compile "$LINENO"; then :
65563 glibcxx_cv_func__modfl_use=yes
65564 else
65565 glibcxx_cv_func__modfl_use=no
65567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65568 ac_ext=c
65569 ac_cpp='$CPP $CPPFLAGS'
65570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65579 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65581 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65582 for ac_func in _modfl
65583 do :
65584 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65585 if test "x$ac_cv_func__modfl" = xyes; then :
65586 cat >>confdefs.h <<_ACEOF
65587 #define HAVE__MODFL 1
65588 _ACEOF
65591 done
65600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65601 $as_echo_n "checking for powl declaration... " >&6; }
65602 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65603 if ${glibcxx_cv_func_powl_use+:} false; then :
65604 $as_echo_n "(cached) " >&6
65605 else
65608 ac_ext=cpp
65609 ac_cpp='$CXXCPP $CPPFLAGS'
65610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65615 /* end confdefs.h. */
65616 #include <math.h>
65618 main ()
65620 powl(0, 0);
65622 return 0;
65624 _ACEOF
65625 if ac_fn_cxx_try_compile "$LINENO"; then :
65626 glibcxx_cv_func_powl_use=yes
65627 else
65628 glibcxx_cv_func_powl_use=no
65630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65631 ac_ext=c
65632 ac_cpp='$CPP $CPPFLAGS'
65633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65642 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65644 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65645 for ac_func in powl
65646 do :
65647 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65648 if test "x$ac_cv_func_powl" = xyes; then :
65649 cat >>confdefs.h <<_ACEOF
65650 #define HAVE_POWL 1
65651 _ACEOF
65654 done
65656 else
65658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65659 $as_echo_n "checking for _powl declaration... " >&6; }
65660 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65661 if ${glibcxx_cv_func__powl_use+:} false; then :
65662 $as_echo_n "(cached) " >&6
65663 else
65666 ac_ext=cpp
65667 ac_cpp='$CXXCPP $CPPFLAGS'
65668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65673 /* end confdefs.h. */
65674 #include <math.h>
65676 main ()
65678 _powl(0, 0);
65680 return 0;
65682 _ACEOF
65683 if ac_fn_cxx_try_compile "$LINENO"; then :
65684 glibcxx_cv_func__powl_use=yes
65685 else
65686 glibcxx_cv_func__powl_use=no
65688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65689 ac_ext=c
65690 ac_cpp='$CPP $CPPFLAGS'
65691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65700 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65702 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65703 for ac_func in _powl
65704 do :
65705 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65706 if test "x$ac_cv_func__powl" = xyes; then :
65707 cat >>confdefs.h <<_ACEOF
65708 #define HAVE__POWL 1
65709 _ACEOF
65712 done
65721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65722 $as_echo_n "checking for sqrtl declaration... " >&6; }
65723 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65724 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
65725 $as_echo_n "(cached) " >&6
65726 else
65729 ac_ext=cpp
65730 ac_cpp='$CXXCPP $CPPFLAGS'
65731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65736 /* end confdefs.h. */
65737 #include <math.h>
65738 #ifdef HAVE_IEEEFP_H
65739 #include <ieeefp.h>
65740 #endif
65743 main ()
65745 sqrtl(0);
65747 return 0;
65749 _ACEOF
65750 if ac_fn_cxx_try_compile "$LINENO"; then :
65751 glibcxx_cv_func_sqrtl_use=yes
65752 else
65753 glibcxx_cv_func_sqrtl_use=no
65755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65756 ac_ext=c
65757 ac_cpp='$CPP $CPPFLAGS'
65758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65767 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65769 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65770 for ac_func in sqrtl
65771 do :
65772 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65773 if test "x$ac_cv_func_sqrtl" = xyes; then :
65774 cat >>confdefs.h <<_ACEOF
65775 #define HAVE_SQRTL 1
65776 _ACEOF
65779 done
65781 else
65783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65784 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65785 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65786 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
65787 $as_echo_n "(cached) " >&6
65788 else
65791 ac_ext=cpp
65792 ac_cpp='$CXXCPP $CPPFLAGS'
65793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65798 /* end confdefs.h. */
65799 #include <math.h>
65800 #ifdef HAVE_IEEEFP_H
65801 #include <ieeefp.h>
65802 #endif
65805 main ()
65807 _sqrtl(0);
65809 return 0;
65811 _ACEOF
65812 if ac_fn_cxx_try_compile "$LINENO"; then :
65813 glibcxx_cv_func__sqrtl_use=yes
65814 else
65815 glibcxx_cv_func__sqrtl_use=no
65817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65818 ac_ext=c
65819 ac_cpp='$CPP $CPPFLAGS'
65820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65829 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65831 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65832 for ac_func in _sqrtl
65833 do :
65834 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65835 if test "x$ac_cv_func__sqrtl" = xyes; then :
65836 cat >>confdefs.h <<_ACEOF
65837 #define HAVE__SQRTL 1
65838 _ACEOF
65841 done
65850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65851 $as_echo_n "checking for sincosl declaration... " >&6; }
65852 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65853 if ${glibcxx_cv_func_sincosl_use+:} false; then :
65854 $as_echo_n "(cached) " >&6
65855 else
65858 ac_ext=cpp
65859 ac_cpp='$CXXCPP $CPPFLAGS'
65860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65865 /* end confdefs.h. */
65866 #include <math.h>
65868 main ()
65870 sincosl(0, 0, 0);
65872 return 0;
65874 _ACEOF
65875 if ac_fn_cxx_try_compile "$LINENO"; then :
65876 glibcxx_cv_func_sincosl_use=yes
65877 else
65878 glibcxx_cv_func_sincosl_use=no
65880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65881 ac_ext=c
65882 ac_cpp='$CPP $CPPFLAGS'
65883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65892 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65894 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65895 for ac_func in sincosl
65896 do :
65897 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65898 if test "x$ac_cv_func_sincosl" = xyes; then :
65899 cat >>confdefs.h <<_ACEOF
65900 #define HAVE_SINCOSL 1
65901 _ACEOF
65904 done
65906 else
65908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65909 $as_echo_n "checking for _sincosl declaration... " >&6; }
65910 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65911 if ${glibcxx_cv_func__sincosl_use+:} false; then :
65912 $as_echo_n "(cached) " >&6
65913 else
65916 ac_ext=cpp
65917 ac_cpp='$CXXCPP $CPPFLAGS'
65918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65923 /* end confdefs.h. */
65924 #include <math.h>
65926 main ()
65928 _sincosl(0, 0, 0);
65930 return 0;
65932 _ACEOF
65933 if ac_fn_cxx_try_compile "$LINENO"; then :
65934 glibcxx_cv_func__sincosl_use=yes
65935 else
65936 glibcxx_cv_func__sincosl_use=no
65938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65939 ac_ext=c
65940 ac_cpp='$CPP $CPPFLAGS'
65941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65950 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65952 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65953 for ac_func in _sincosl
65954 do :
65955 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65956 if test "x$ac_cv_func__sincosl" = xyes; then :
65957 cat >>confdefs.h <<_ACEOF
65958 #define HAVE__SINCOSL 1
65959 _ACEOF
65962 done
65971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65972 $as_echo_n "checking for finitel declaration... " >&6; }
65973 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65974 if ${glibcxx_cv_func_finitel_use+:} false; then :
65975 $as_echo_n "(cached) " >&6
65976 else
65979 ac_ext=cpp
65980 ac_cpp='$CXXCPP $CPPFLAGS'
65981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65986 /* end confdefs.h. */
65987 #include <math.h>
65988 #ifdef HAVE_IEEEFP_H
65989 #include <ieeefp.h>
65990 #endif
65993 main ()
65995 finitel(0);
65997 return 0;
65999 _ACEOF
66000 if ac_fn_cxx_try_compile "$LINENO"; then :
66001 glibcxx_cv_func_finitel_use=yes
66002 else
66003 glibcxx_cv_func_finitel_use=no
66005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66006 ac_ext=c
66007 ac_cpp='$CPP $CPPFLAGS'
66008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66017 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66019 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66020 for ac_func in finitel
66021 do :
66022 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66023 if test "x$ac_cv_func_finitel" = xyes; then :
66024 cat >>confdefs.h <<_ACEOF
66025 #define HAVE_FINITEL 1
66026 _ACEOF
66029 done
66031 else
66033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66034 $as_echo_n "checking for _finitel declaration... " >&6; }
66035 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66036 if ${glibcxx_cv_func__finitel_use+:} false; then :
66037 $as_echo_n "(cached) " >&6
66038 else
66041 ac_ext=cpp
66042 ac_cpp='$CXXCPP $CPPFLAGS'
66043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66048 /* end confdefs.h. */
66049 #include <math.h>
66050 #ifdef HAVE_IEEEFP_H
66051 #include <ieeefp.h>
66052 #endif
66055 main ()
66057 _finitel(0);
66059 return 0;
66061 _ACEOF
66062 if ac_fn_cxx_try_compile "$LINENO"; then :
66063 glibcxx_cv_func__finitel_use=yes
66064 else
66065 glibcxx_cv_func__finitel_use=no
66067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66068 ac_ext=c
66069 ac_cpp='$CPP $CPPFLAGS'
66070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66079 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66081 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66082 for ac_func in _finitel
66083 do :
66084 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66085 if test "x$ac_cv_func__finitel" = xyes; then :
66086 cat >>confdefs.h <<_ACEOF
66087 #define HAVE__FINITEL 1
66088 _ACEOF
66091 done
66099 LIBS="$ac_save_LIBS"
66100 CXXFLAGS="$ac_save_CXXFLAGS"
66103 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66104 ac_save_CXXFLAGS="$CXXFLAGS"
66105 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66109 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
66110 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66111 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
66112 $as_echo_n "(cached) " >&6
66113 else
66116 ac_ext=cpp
66117 ac_cpp='$CXXCPP $CPPFLAGS'
66118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66123 /* end confdefs.h. */
66124 #include <stdlib.h>
66126 main ()
66128 at_quick_exit(0);
66130 return 0;
66132 _ACEOF
66133 if ac_fn_cxx_try_compile "$LINENO"; then :
66134 glibcxx_cv_func_at_quick_exit_use=yes
66135 else
66136 glibcxx_cv_func_at_quick_exit_use=no
66138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66139 ac_ext=c
66140 ac_cpp='$CPP $CPPFLAGS'
66141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66150 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66151 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66152 for ac_func in at_quick_exit
66153 do :
66154 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66155 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66156 cat >>confdefs.h <<_ACEOF
66157 #define HAVE_AT_QUICK_EXIT 1
66158 _ACEOF
66161 done
66166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66167 $as_echo_n "checking for quick_exit declaration... " >&6; }
66168 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66169 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66170 $as_echo_n "(cached) " >&6
66171 else
66174 ac_ext=cpp
66175 ac_cpp='$CXXCPP $CPPFLAGS'
66176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66181 /* end confdefs.h. */
66182 #include <stdlib.h>
66184 main ()
66186 quick_exit(0);
66188 return 0;
66190 _ACEOF
66191 if ac_fn_cxx_try_compile "$LINENO"; then :
66192 glibcxx_cv_func_quick_exit_use=yes
66193 else
66194 glibcxx_cv_func_quick_exit_use=no
66196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66197 ac_ext=c
66198 ac_cpp='$CPP $CPPFLAGS'
66199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
66208 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
66209 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
66210 for ac_func in quick_exit
66211 do :
66212 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
66213 if test "x$ac_cv_func_quick_exit" = xyes; then :
66214 cat >>confdefs.h <<_ACEOF
66215 #define HAVE_QUICK_EXIT 1
66216 _ACEOF
66219 done
66224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
66225 $as_echo_n "checking for strtold declaration... " >&6; }
66226 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
66227 if ${glibcxx_cv_func_strtold_use+:} false; then :
66228 $as_echo_n "(cached) " >&6
66229 else
66232 ac_ext=cpp
66233 ac_cpp='$CXXCPP $CPPFLAGS'
66234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66239 /* end confdefs.h. */
66240 #include <stdlib.h>
66242 main ()
66244 strtold(0, 0);
66246 return 0;
66248 _ACEOF
66249 if ac_fn_cxx_try_compile "$LINENO"; then :
66250 glibcxx_cv_func_strtold_use=yes
66251 else
66252 glibcxx_cv_func_strtold_use=no
66254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66255 ac_ext=c
66256 ac_cpp='$CPP $CPPFLAGS'
66257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66266 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66267 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66268 for ac_func in strtold
66269 do :
66270 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66271 if test "x$ac_cv_func_strtold" = xyes; then :
66272 cat >>confdefs.h <<_ACEOF
66273 #define HAVE_STRTOLD 1
66274 _ACEOF
66277 done
66284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66285 $as_echo_n "checking for strtof declaration... " >&6; }
66286 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66287 if ${glibcxx_cv_func_strtof_use+:} false; then :
66288 $as_echo_n "(cached) " >&6
66289 else
66292 ac_ext=cpp
66293 ac_cpp='$CXXCPP $CPPFLAGS'
66294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66299 /* end confdefs.h. */
66300 #include <stdlib.h>
66302 main ()
66304 strtof(0, 0);
66306 return 0;
66308 _ACEOF
66309 if ac_fn_cxx_try_compile "$LINENO"; then :
66310 glibcxx_cv_func_strtof_use=yes
66311 else
66312 glibcxx_cv_func_strtof_use=no
66314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66315 ac_ext=c
66316 ac_cpp='$CPP $CPPFLAGS'
66317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66326 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66327 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66328 for ac_func in strtof
66329 do :
66330 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66331 if test "x$ac_cv_func_strtof" = xyes; then :
66332 cat >>confdefs.h <<_ACEOF
66333 #define HAVE_STRTOF 1
66334 _ACEOF
66337 done
66344 CXXFLAGS="$ac_save_CXXFLAGS"
66346 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66347 do :
66348 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66349 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66350 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66351 cat >>confdefs.h <<_ACEOF
66352 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66353 _ACEOF
66356 done
66358 for ac_func in _wfopen
66359 do :
66360 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
66361 if test "x$ac_cv_func__wfopen" = xyes; then :
66362 cat >>confdefs.h <<_ACEOF
66363 #define HAVE__WFOPEN 1
66364 _ACEOF
66367 done
66370 *-netbsd* | *-openbsd*)
66371 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66374 # If we're not using GNU ld, then there's no point in even trying these
66375 # tests. Check for that first. We should have already tested for gld
66376 # by now (in libtool), but require it now just to be safe...
66377 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66378 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66382 # The name set by libtool depends on the version of libtool. Shame on us
66383 # for depending on an impl detail, but c'est la vie. Older versions used
66384 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66385 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66386 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66387 # set (hence we're using an older libtool), then set it.
66388 if test x${with_gnu_ld+set} != xset; then
66389 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66390 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66391 with_gnu_ld=no
66392 else
66393 with_gnu_ld=$ac_cv_prog_gnu_ld
66397 # Start by getting the version number. I think the libtool test already
66398 # does some of this, but throws away the result.
66399 glibcxx_ld_is_gold=no
66400 if test x"$with_gnu_ld" = x"yes"; then
66401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66402 $as_echo_n "checking for ld version... " >&6; }
66404 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66405 glibcxx_ld_is_gold=yes
66407 ldver=`$LD --version 2>/dev/null |
66408 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'`
66410 glibcxx_gnu_ld_version=`echo $ldver | \
66411 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66413 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66416 # Set --gc-sections.
66417 glibcxx_have_gc_sections=no
66418 if test "$glibcxx_ld_is_gold" = "yes"; then
66419 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66420 glibcxx_have_gc_sections=yes
66422 else
66423 glibcxx_gcsections_min_ld=21602
66424 if test x"$with_gnu_ld" = x"yes" &&
66425 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66426 glibcxx_have_gc_sections=yes
66429 if test "$glibcxx_have_gc_sections" = "yes"; then
66430 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66431 # NB: This flag only works reliably after 2.16.1. Configure tests
66432 # for this are difficult, so hard wire a value that should work.
66434 ac_test_CFLAGS="${CFLAGS+set}"
66435 ac_save_CFLAGS="$CFLAGS"
66436 CFLAGS='-Wl,--gc-sections'
66438 # Check for -Wl,--gc-sections
66439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66440 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66441 if test x$gcc_no_link = xyes; then
66442 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66445 /* end confdefs.h. */
66446 int one(void) { return 1; }
66447 int two(void) { return 2; }
66450 main ()
66452 two();
66454 return 0;
66456 _ACEOF
66457 if ac_fn_c_try_link "$LINENO"; then :
66458 ac_gcsections=yes
66459 else
66460 ac_gcsections=no
66462 rm -f core conftest.err conftest.$ac_objext \
66463 conftest$ac_exeext conftest.$ac_ext
66464 if test "$ac_gcsections" = "yes"; then
66465 rm -f conftest.c
66466 touch conftest.c
66467 if $CC -c conftest.c; then
66468 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66469 grep "Warning: gc-sections option ignored" > /dev/null; then
66470 ac_gcsections=no
66473 rm -f conftest.c conftest.o conftest
66475 if test "$ac_gcsections" = "yes"; then
66476 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66479 $as_echo "$ac_gcsections" >&6; }
66481 if test "$ac_test_CFLAGS" = set; then
66482 CFLAGS="$ac_save_CFLAGS"
66483 else
66484 # this is the suspicious part
66485 CFLAGS=''
66489 # Set -z,relro.
66490 # Note this is only for shared objects.
66491 ac_ld_relro=no
66492 if test x"$with_gnu_ld" = x"yes"; then
66493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66494 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66495 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66496 if test -n "$cxx_z_relo"; then
66497 OPT_LDFLAGS="-Wl,-z,relro"
66498 ac_ld_relro=yes
66500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66501 $as_echo "$ac_ld_relro" >&6; }
66504 # Set linker optimization flags.
66505 if test x"$with_gnu_ld" = x"yes"; then
66506 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66512 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66514 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66516 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66518 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66520 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66522 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66524 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66526 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66528 if test x"long_double_math_on_this_cpu" = x"yes"; then
66529 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66531 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66533 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66536 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66537 do :
66538 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66539 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66540 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66541 cat >>confdefs.h <<_ACEOF
66542 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66543 _ACEOF
66546 done
66549 *-qnx6.1* | *-qnx6.2*)
66550 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66553 # If we're not using GNU ld, then there's no point in even trying these
66554 # tests. Check for that first. We should have already tested for gld
66555 # by now (in libtool), but require it now just to be safe...
66556 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66557 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66561 # The name set by libtool depends on the version of libtool. Shame on us
66562 # for depending on an impl detail, but c'est la vie. Older versions used
66563 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66564 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66565 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66566 # set (hence we're using an older libtool), then set it.
66567 if test x${with_gnu_ld+set} != xset; then
66568 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66569 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66570 with_gnu_ld=no
66571 else
66572 with_gnu_ld=$ac_cv_prog_gnu_ld
66576 # Start by getting the version number. I think the libtool test already
66577 # does some of this, but throws away the result.
66578 glibcxx_ld_is_gold=no
66579 if test x"$with_gnu_ld" = x"yes"; then
66580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66581 $as_echo_n "checking for ld version... " >&6; }
66583 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66584 glibcxx_ld_is_gold=yes
66586 ldver=`$LD --version 2>/dev/null |
66587 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'`
66589 glibcxx_gnu_ld_version=`echo $ldver | \
66590 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66592 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66595 # Set --gc-sections.
66596 glibcxx_have_gc_sections=no
66597 if test "$glibcxx_ld_is_gold" = "yes"; then
66598 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66599 glibcxx_have_gc_sections=yes
66601 else
66602 glibcxx_gcsections_min_ld=21602
66603 if test x"$with_gnu_ld" = x"yes" &&
66604 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66605 glibcxx_have_gc_sections=yes
66608 if test "$glibcxx_have_gc_sections" = "yes"; then
66609 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66610 # NB: This flag only works reliably after 2.16.1. Configure tests
66611 # for this are difficult, so hard wire a value that should work.
66613 ac_test_CFLAGS="${CFLAGS+set}"
66614 ac_save_CFLAGS="$CFLAGS"
66615 CFLAGS='-Wl,--gc-sections'
66617 # Check for -Wl,--gc-sections
66618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66619 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66620 if test x$gcc_no_link = xyes; then
66621 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66624 /* end confdefs.h. */
66625 int one(void) { return 1; }
66626 int two(void) { return 2; }
66629 main ()
66631 two();
66633 return 0;
66635 _ACEOF
66636 if ac_fn_c_try_link "$LINENO"; then :
66637 ac_gcsections=yes
66638 else
66639 ac_gcsections=no
66641 rm -f core conftest.err conftest.$ac_objext \
66642 conftest$ac_exeext conftest.$ac_ext
66643 if test "$ac_gcsections" = "yes"; then
66644 rm -f conftest.c
66645 touch conftest.c
66646 if $CC -c conftest.c; then
66647 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66648 grep "Warning: gc-sections option ignored" > /dev/null; then
66649 ac_gcsections=no
66652 rm -f conftest.c conftest.o conftest
66654 if test "$ac_gcsections" = "yes"; then
66655 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66658 $as_echo "$ac_gcsections" >&6; }
66660 if test "$ac_test_CFLAGS" = set; then
66661 CFLAGS="$ac_save_CFLAGS"
66662 else
66663 # this is the suspicious part
66664 CFLAGS=''
66668 # Set -z,relro.
66669 # Note this is only for shared objects.
66670 ac_ld_relro=no
66671 if test x"$with_gnu_ld" = x"yes"; then
66672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66673 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66674 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66675 if test -n "$cxx_z_relo"; then
66676 OPT_LDFLAGS="-Wl,-z,relro"
66677 ac_ld_relro=yes
66679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66680 $as_echo "$ac_ld_relro" >&6; }
66683 # Set linker optimization flags.
66684 if test x"$with_gnu_ld" = x"yes"; then
66685 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66691 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66693 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66695 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66697 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66699 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66701 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66703 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66705 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66707 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66709 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66711 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66713 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66716 *-rtems*)
66718 # All these tests are for C++; save the language and the compiler flags.
66719 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66720 # found in GLIBCXX_CONFIGURE.
66722 ac_ext=cpp
66723 ac_cpp='$CXXCPP $CPPFLAGS'
66724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66728 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66729 ac_save_CXXFLAGS="$CXXFLAGS"
66731 # Check for -ffunction-sections -fdata-sections
66732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66733 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66734 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66736 /* end confdefs.h. */
66737 int foo; void bar() { };
66739 main ()
66743 return 0;
66745 _ACEOF
66746 if ac_fn_cxx_try_compile "$LINENO"; then :
66747 ac_fdsections=yes
66748 else
66749 ac_fdsections=no
66751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66752 if test "$ac_test_CXXFLAGS" = set; then
66753 CXXFLAGS="$ac_save_CXXFLAGS"
66754 else
66755 # this is the suspicious part
66756 CXXFLAGS=''
66758 if test x"$ac_fdsections" = x"yes"; then
66759 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66762 $as_echo "$ac_fdsections" >&6; }
66764 ac_ext=c
66765 ac_cpp='$CPP $CPPFLAGS'
66766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66773 # If we're not using GNU ld, then there's no point in even trying these
66774 # tests. Check for that first. We should have already tested for gld
66775 # by now (in libtool), but require it now just to be safe...
66776 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66777 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66781 # The name set by libtool depends on the version of libtool. Shame on us
66782 # for depending on an impl detail, but c'est la vie. Older versions used
66783 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66784 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66785 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66786 # set (hence we're using an older libtool), then set it.
66787 if test x${with_gnu_ld+set} != xset; then
66788 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66789 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66790 with_gnu_ld=no
66791 else
66792 with_gnu_ld=$ac_cv_prog_gnu_ld
66796 # Start by getting the version number. I think the libtool test already
66797 # does some of this, but throws away the result.
66798 glibcxx_ld_is_gold=no
66799 if test x"$with_gnu_ld" = x"yes"; then
66800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66801 $as_echo_n "checking for ld version... " >&6; }
66803 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66804 glibcxx_ld_is_gold=yes
66806 ldver=`$LD --version 2>/dev/null |
66807 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'`
66809 glibcxx_gnu_ld_version=`echo $ldver | \
66810 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66812 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66815 # Set --gc-sections.
66816 glibcxx_have_gc_sections=no
66817 if test "$glibcxx_ld_is_gold" = "yes"; then
66818 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66819 glibcxx_have_gc_sections=yes
66821 else
66822 glibcxx_gcsections_min_ld=21602
66823 if test x"$with_gnu_ld" = x"yes" &&
66824 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66825 glibcxx_have_gc_sections=yes
66828 if test "$glibcxx_have_gc_sections" = "yes"; then
66829 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66830 # NB: This flag only works reliably after 2.16.1. Configure tests
66831 # for this are difficult, so hard wire a value that should work.
66833 ac_test_CFLAGS="${CFLAGS+set}"
66834 ac_save_CFLAGS="$CFLAGS"
66835 CFLAGS='-Wl,--gc-sections'
66837 # Check for -Wl,--gc-sections
66838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66839 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66840 if test x$gcc_no_link = xyes; then
66841 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66844 /* end confdefs.h. */
66845 int one(void) { return 1; }
66846 int two(void) { return 2; }
66849 main ()
66851 two();
66853 return 0;
66855 _ACEOF
66856 if ac_fn_c_try_link "$LINENO"; then :
66857 ac_gcsections=yes
66858 else
66859 ac_gcsections=no
66861 rm -f core conftest.err conftest.$ac_objext \
66862 conftest$ac_exeext conftest.$ac_ext
66863 if test "$ac_gcsections" = "yes"; then
66864 rm -f conftest.c
66865 touch conftest.c
66866 if $CC -c conftest.c; then
66867 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66868 grep "Warning: gc-sections option ignored" > /dev/null; then
66869 ac_gcsections=no
66872 rm -f conftest.c conftest.o conftest
66874 if test "$ac_gcsections" = "yes"; then
66875 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66878 $as_echo "$ac_gcsections" >&6; }
66880 if test "$ac_test_CFLAGS" = set; then
66881 CFLAGS="$ac_save_CFLAGS"
66882 else
66883 # this is the suspicious part
66884 CFLAGS=''
66888 # Set -z,relro.
66889 # Note this is only for shared objects.
66890 ac_ld_relro=no
66891 if test x"$with_gnu_ld" = x"yes"; then
66892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66893 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66894 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66895 if test -n "$cxx_z_relo"; then
66896 OPT_LDFLAGS="-Wl,-z,relro"
66897 ac_ld_relro=yes
66899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66900 $as_echo "$ac_ld_relro" >&6; }
66903 # Set linker optimization flags.
66904 if test x"$with_gnu_ld" = x"yes"; then
66905 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66912 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66913 ac_save_CXXFLAGS="$CXXFLAGS"
66914 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66917 $as_echo_n "checking for sin in -lm... " >&6; }
66918 if ${ac_cv_lib_m_sin+:} false; then :
66919 $as_echo_n "(cached) " >&6
66920 else
66921 ac_check_lib_save_LIBS=$LIBS
66922 LIBS="-lm $LIBS"
66923 if test x$gcc_no_link = xyes; then
66924 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66927 /* end confdefs.h. */
66929 /* Override any GCC internal prototype to avoid an error.
66930 Use char because int might match the return type of a GCC
66931 builtin and then its argument prototype would still apply. */
66932 #ifdef __cplusplus
66933 extern "C"
66934 #endif
66935 char sin ();
66937 main ()
66939 return sin ();
66941 return 0;
66943 _ACEOF
66944 if ac_fn_c_try_link "$LINENO"; then :
66945 ac_cv_lib_m_sin=yes
66946 else
66947 ac_cv_lib_m_sin=no
66949 rm -f core conftest.err conftest.$ac_objext \
66950 conftest$ac_exeext conftest.$ac_ext
66951 LIBS=$ac_check_lib_save_LIBS
66953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66954 $as_echo "$ac_cv_lib_m_sin" >&6; }
66955 if test "x$ac_cv_lib_m_sin" = xyes; then :
66956 libm="-lm"
66959 ac_save_LIBS="$LIBS"
66960 LIBS="$LIBS $libm"
66964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66965 $as_echo_n "checking for isinf declaration... " >&6; }
66966 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66967 if ${glibcxx_cv_func_isinf_use+:} false; then :
66968 $as_echo_n "(cached) " >&6
66969 else
66972 ac_ext=cpp
66973 ac_cpp='$CXXCPP $CPPFLAGS'
66974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66979 /* end confdefs.h. */
66980 #include <math.h>
66981 #ifdef HAVE_IEEEFP_H
66982 #include <ieeefp.h>
66983 #endif
66986 main ()
66988 isinf(0);
66990 return 0;
66992 _ACEOF
66993 if ac_fn_cxx_try_compile "$LINENO"; then :
66994 glibcxx_cv_func_isinf_use=yes
66995 else
66996 glibcxx_cv_func_isinf_use=no
66998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66999 ac_ext=c
67000 ac_cpp='$CPP $CPPFLAGS'
67001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
67010 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
67012 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
67013 for ac_func in isinf
67014 do :
67015 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
67016 if test "x$ac_cv_func_isinf" = xyes; then :
67017 cat >>confdefs.h <<_ACEOF
67018 #define HAVE_ISINF 1
67019 _ACEOF
67022 done
67024 else
67026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
67027 $as_echo_n "checking for _isinf declaration... " >&6; }
67028 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
67029 if ${glibcxx_cv_func__isinf_use+:} false; then :
67030 $as_echo_n "(cached) " >&6
67031 else
67034 ac_ext=cpp
67035 ac_cpp='$CXXCPP $CPPFLAGS'
67036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67041 /* end confdefs.h. */
67042 #include <math.h>
67043 #ifdef HAVE_IEEEFP_H
67044 #include <ieeefp.h>
67045 #endif
67048 main ()
67050 _isinf(0);
67052 return 0;
67054 _ACEOF
67055 if ac_fn_cxx_try_compile "$LINENO"; then :
67056 glibcxx_cv_func__isinf_use=yes
67057 else
67058 glibcxx_cv_func__isinf_use=no
67060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67061 ac_ext=c
67062 ac_cpp='$CPP $CPPFLAGS'
67063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
67072 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
67074 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
67075 for ac_func in _isinf
67076 do :
67077 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
67078 if test "x$ac_cv_func__isinf" = xyes; then :
67079 cat >>confdefs.h <<_ACEOF
67080 #define HAVE__ISINF 1
67081 _ACEOF
67084 done
67093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
67094 $as_echo_n "checking for isnan declaration... " >&6; }
67095 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
67096 if ${glibcxx_cv_func_isnan_use+:} false; then :
67097 $as_echo_n "(cached) " >&6
67098 else
67101 ac_ext=cpp
67102 ac_cpp='$CXXCPP $CPPFLAGS'
67103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67108 /* end confdefs.h. */
67109 #include <math.h>
67110 #ifdef HAVE_IEEEFP_H
67111 #include <ieeefp.h>
67112 #endif
67115 main ()
67117 isnan(0);
67119 return 0;
67121 _ACEOF
67122 if ac_fn_cxx_try_compile "$LINENO"; then :
67123 glibcxx_cv_func_isnan_use=yes
67124 else
67125 glibcxx_cv_func_isnan_use=no
67127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67128 ac_ext=c
67129 ac_cpp='$CPP $CPPFLAGS'
67130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
67139 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
67141 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
67142 for ac_func in isnan
67143 do :
67144 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
67145 if test "x$ac_cv_func_isnan" = xyes; then :
67146 cat >>confdefs.h <<_ACEOF
67147 #define HAVE_ISNAN 1
67148 _ACEOF
67151 done
67153 else
67155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
67156 $as_echo_n "checking for _isnan declaration... " >&6; }
67157 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
67158 if ${glibcxx_cv_func__isnan_use+:} false; then :
67159 $as_echo_n "(cached) " >&6
67160 else
67163 ac_ext=cpp
67164 ac_cpp='$CXXCPP $CPPFLAGS'
67165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67170 /* end confdefs.h. */
67171 #include <math.h>
67172 #ifdef HAVE_IEEEFP_H
67173 #include <ieeefp.h>
67174 #endif
67177 main ()
67179 _isnan(0);
67181 return 0;
67183 _ACEOF
67184 if ac_fn_cxx_try_compile "$LINENO"; then :
67185 glibcxx_cv_func__isnan_use=yes
67186 else
67187 glibcxx_cv_func__isnan_use=no
67189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67190 ac_ext=c
67191 ac_cpp='$CPP $CPPFLAGS'
67192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
67201 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
67203 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
67204 for ac_func in _isnan
67205 do :
67206 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
67207 if test "x$ac_cv_func__isnan" = xyes; then :
67208 cat >>confdefs.h <<_ACEOF
67209 #define HAVE__ISNAN 1
67210 _ACEOF
67213 done
67222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
67223 $as_echo_n "checking for finite declaration... " >&6; }
67224 if test x${glibcxx_cv_func_finite_use+set} != xset; then
67225 if ${glibcxx_cv_func_finite_use+:} false; then :
67226 $as_echo_n "(cached) " >&6
67227 else
67230 ac_ext=cpp
67231 ac_cpp='$CXXCPP $CPPFLAGS'
67232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67237 /* end confdefs.h. */
67238 #include <math.h>
67239 #ifdef HAVE_IEEEFP_H
67240 #include <ieeefp.h>
67241 #endif
67244 main ()
67246 finite(0);
67248 return 0;
67250 _ACEOF
67251 if ac_fn_cxx_try_compile "$LINENO"; then :
67252 glibcxx_cv_func_finite_use=yes
67253 else
67254 glibcxx_cv_func_finite_use=no
67256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67257 ac_ext=c
67258 ac_cpp='$CPP $CPPFLAGS'
67259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67268 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67270 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67271 for ac_func in finite
67272 do :
67273 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67274 if test "x$ac_cv_func_finite" = xyes; then :
67275 cat >>confdefs.h <<_ACEOF
67276 #define HAVE_FINITE 1
67277 _ACEOF
67280 done
67282 else
67284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67285 $as_echo_n "checking for _finite declaration... " >&6; }
67286 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67287 if ${glibcxx_cv_func__finite_use+:} false; then :
67288 $as_echo_n "(cached) " >&6
67289 else
67292 ac_ext=cpp
67293 ac_cpp='$CXXCPP $CPPFLAGS'
67294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67299 /* end confdefs.h. */
67300 #include <math.h>
67301 #ifdef HAVE_IEEEFP_H
67302 #include <ieeefp.h>
67303 #endif
67306 main ()
67308 _finite(0);
67310 return 0;
67312 _ACEOF
67313 if ac_fn_cxx_try_compile "$LINENO"; then :
67314 glibcxx_cv_func__finite_use=yes
67315 else
67316 glibcxx_cv_func__finite_use=no
67318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67319 ac_ext=c
67320 ac_cpp='$CPP $CPPFLAGS'
67321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67330 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67332 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67333 for ac_func in _finite
67334 do :
67335 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67336 if test "x$ac_cv_func__finite" = xyes; then :
67337 cat >>confdefs.h <<_ACEOF
67338 #define HAVE__FINITE 1
67339 _ACEOF
67342 done
67351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67352 $as_echo_n "checking for sincos declaration... " >&6; }
67353 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67354 if ${glibcxx_cv_func_sincos_use+:} false; then :
67355 $as_echo_n "(cached) " >&6
67356 else
67359 ac_ext=cpp
67360 ac_cpp='$CXXCPP $CPPFLAGS'
67361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67366 /* end confdefs.h. */
67367 #include <math.h>
67369 main ()
67371 sincos(0, 0, 0);
67373 return 0;
67375 _ACEOF
67376 if ac_fn_cxx_try_compile "$LINENO"; then :
67377 glibcxx_cv_func_sincos_use=yes
67378 else
67379 glibcxx_cv_func_sincos_use=no
67381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67382 ac_ext=c
67383 ac_cpp='$CPP $CPPFLAGS'
67384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67393 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67395 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67396 for ac_func in sincos
67397 do :
67398 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67399 if test "x$ac_cv_func_sincos" = xyes; then :
67400 cat >>confdefs.h <<_ACEOF
67401 #define HAVE_SINCOS 1
67402 _ACEOF
67405 done
67407 else
67409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67410 $as_echo_n "checking for _sincos declaration... " >&6; }
67411 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67412 if ${glibcxx_cv_func__sincos_use+:} false; then :
67413 $as_echo_n "(cached) " >&6
67414 else
67417 ac_ext=cpp
67418 ac_cpp='$CXXCPP $CPPFLAGS'
67419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67424 /* end confdefs.h. */
67425 #include <math.h>
67427 main ()
67429 _sincos(0, 0, 0);
67431 return 0;
67433 _ACEOF
67434 if ac_fn_cxx_try_compile "$LINENO"; then :
67435 glibcxx_cv_func__sincos_use=yes
67436 else
67437 glibcxx_cv_func__sincos_use=no
67439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67440 ac_ext=c
67441 ac_cpp='$CPP $CPPFLAGS'
67442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67451 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67453 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67454 for ac_func in _sincos
67455 do :
67456 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67457 if test "x$ac_cv_func__sincos" = xyes; then :
67458 cat >>confdefs.h <<_ACEOF
67459 #define HAVE__SINCOS 1
67460 _ACEOF
67463 done
67472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67473 $as_echo_n "checking for fpclass declaration... " >&6; }
67474 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67475 if ${glibcxx_cv_func_fpclass_use+:} false; then :
67476 $as_echo_n "(cached) " >&6
67477 else
67480 ac_ext=cpp
67481 ac_cpp='$CXXCPP $CPPFLAGS'
67482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67487 /* end confdefs.h. */
67488 #include <math.h>
67489 #ifdef HAVE_IEEEFP_H
67490 #include <ieeefp.h>
67491 #endif
67494 main ()
67496 fpclass(0);
67498 return 0;
67500 _ACEOF
67501 if ac_fn_cxx_try_compile "$LINENO"; then :
67502 glibcxx_cv_func_fpclass_use=yes
67503 else
67504 glibcxx_cv_func_fpclass_use=no
67506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67507 ac_ext=c
67508 ac_cpp='$CPP $CPPFLAGS'
67509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67518 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67520 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67521 for ac_func in fpclass
67522 do :
67523 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67524 if test "x$ac_cv_func_fpclass" = xyes; then :
67525 cat >>confdefs.h <<_ACEOF
67526 #define HAVE_FPCLASS 1
67527 _ACEOF
67530 done
67532 else
67534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67535 $as_echo_n "checking for _fpclass declaration... " >&6; }
67536 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67537 if ${glibcxx_cv_func__fpclass_use+:} false; then :
67538 $as_echo_n "(cached) " >&6
67539 else
67542 ac_ext=cpp
67543 ac_cpp='$CXXCPP $CPPFLAGS'
67544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67549 /* end confdefs.h. */
67550 #include <math.h>
67551 #ifdef HAVE_IEEEFP_H
67552 #include <ieeefp.h>
67553 #endif
67556 main ()
67558 _fpclass(0);
67560 return 0;
67562 _ACEOF
67563 if ac_fn_cxx_try_compile "$LINENO"; then :
67564 glibcxx_cv_func__fpclass_use=yes
67565 else
67566 glibcxx_cv_func__fpclass_use=no
67568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67569 ac_ext=c
67570 ac_cpp='$CPP $CPPFLAGS'
67571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67580 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67582 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67583 for ac_func in _fpclass
67584 do :
67585 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67586 if test "x$ac_cv_func__fpclass" = xyes; then :
67587 cat >>confdefs.h <<_ACEOF
67588 #define HAVE__FPCLASS 1
67589 _ACEOF
67592 done
67601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67602 $as_echo_n "checking for qfpclass declaration... " >&6; }
67603 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67604 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
67605 $as_echo_n "(cached) " >&6
67606 else
67609 ac_ext=cpp
67610 ac_cpp='$CXXCPP $CPPFLAGS'
67611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67616 /* end confdefs.h. */
67617 #include <math.h>
67618 #ifdef HAVE_IEEEFP_H
67619 #include <ieeefp.h>
67620 #endif
67623 main ()
67625 qfpclass(0);
67627 return 0;
67629 _ACEOF
67630 if ac_fn_cxx_try_compile "$LINENO"; then :
67631 glibcxx_cv_func_qfpclass_use=yes
67632 else
67633 glibcxx_cv_func_qfpclass_use=no
67635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67636 ac_ext=c
67637 ac_cpp='$CPP $CPPFLAGS'
67638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67647 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67649 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67650 for ac_func in qfpclass
67651 do :
67652 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67653 if test "x$ac_cv_func_qfpclass" = xyes; then :
67654 cat >>confdefs.h <<_ACEOF
67655 #define HAVE_QFPCLASS 1
67656 _ACEOF
67659 done
67661 else
67663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67664 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67665 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67666 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
67667 $as_echo_n "(cached) " >&6
67668 else
67671 ac_ext=cpp
67672 ac_cpp='$CXXCPP $CPPFLAGS'
67673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67678 /* end confdefs.h. */
67679 #include <math.h>
67680 #ifdef HAVE_IEEEFP_H
67681 #include <ieeefp.h>
67682 #endif
67685 main ()
67687 _qfpclass(0);
67689 return 0;
67691 _ACEOF
67692 if ac_fn_cxx_try_compile "$LINENO"; then :
67693 glibcxx_cv_func__qfpclass_use=yes
67694 else
67695 glibcxx_cv_func__qfpclass_use=no
67697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67698 ac_ext=c
67699 ac_cpp='$CPP $CPPFLAGS'
67700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67709 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67711 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67712 for ac_func in _qfpclass
67713 do :
67714 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67715 if test "x$ac_cv_func__qfpclass" = xyes; then :
67716 cat >>confdefs.h <<_ACEOF
67717 #define HAVE__QFPCLASS 1
67718 _ACEOF
67721 done
67730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67731 $as_echo_n "checking for hypot declaration... " >&6; }
67732 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67733 if ${glibcxx_cv_func_hypot_use+:} false; then :
67734 $as_echo_n "(cached) " >&6
67735 else
67738 ac_ext=cpp
67739 ac_cpp='$CXXCPP $CPPFLAGS'
67740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67745 /* end confdefs.h. */
67746 #include <math.h>
67748 main ()
67750 hypot(0, 0);
67752 return 0;
67754 _ACEOF
67755 if ac_fn_cxx_try_compile "$LINENO"; then :
67756 glibcxx_cv_func_hypot_use=yes
67757 else
67758 glibcxx_cv_func_hypot_use=no
67760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67761 ac_ext=c
67762 ac_cpp='$CPP $CPPFLAGS'
67763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67772 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67774 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67775 for ac_func in hypot
67776 do :
67777 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67778 if test "x$ac_cv_func_hypot" = xyes; then :
67779 cat >>confdefs.h <<_ACEOF
67780 #define HAVE_HYPOT 1
67781 _ACEOF
67784 done
67786 else
67788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67789 $as_echo_n "checking for _hypot declaration... " >&6; }
67790 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67791 if ${glibcxx_cv_func__hypot_use+:} false; then :
67792 $as_echo_n "(cached) " >&6
67793 else
67796 ac_ext=cpp
67797 ac_cpp='$CXXCPP $CPPFLAGS'
67798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67803 /* end confdefs.h. */
67804 #include <math.h>
67806 main ()
67808 _hypot(0, 0);
67810 return 0;
67812 _ACEOF
67813 if ac_fn_cxx_try_compile "$LINENO"; then :
67814 glibcxx_cv_func__hypot_use=yes
67815 else
67816 glibcxx_cv_func__hypot_use=no
67818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67819 ac_ext=c
67820 ac_cpp='$CPP $CPPFLAGS'
67821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67830 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67832 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67833 for ac_func in _hypot
67834 do :
67835 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67836 if test "x$ac_cv_func__hypot" = xyes; then :
67837 cat >>confdefs.h <<_ACEOF
67838 #define HAVE__HYPOT 1
67839 _ACEOF
67842 done
67851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67852 $as_echo_n "checking for float trig functions... " >&6; }
67853 if ${glibcxx_cv_func_float_trig_use+:} false; then :
67854 $as_echo_n "(cached) " >&6
67855 else
67858 ac_ext=cpp
67859 ac_cpp='$CXXCPP $CPPFLAGS'
67860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67865 /* end confdefs.h. */
67866 #include <math.h>
67868 main ()
67870 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67872 return 0;
67874 _ACEOF
67875 if ac_fn_cxx_try_compile "$LINENO"; then :
67876 glibcxx_cv_func_float_trig_use=yes
67877 else
67878 glibcxx_cv_func_float_trig_use=no
67880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67881 ac_ext=c
67882 ac_cpp='$CPP $CPPFLAGS'
67883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67890 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67891 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67892 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67893 do :
67894 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67895 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67896 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67897 cat >>confdefs.h <<_ACEOF
67898 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67899 _ACEOF
67902 done
67904 else
67905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67906 $as_echo_n "checking for _float trig functions... " >&6; }
67907 if ${glibcxx_cv_func__float_trig_use+:} false; then :
67908 $as_echo_n "(cached) " >&6
67909 else
67912 ac_ext=cpp
67913 ac_cpp='$CXXCPP $CPPFLAGS'
67914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67919 /* end confdefs.h. */
67920 #include <math.h>
67922 main ()
67924 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67926 return 0;
67928 _ACEOF
67929 if ac_fn_cxx_try_compile "$LINENO"; then :
67930 glibcxx_cv_func__float_trig_use=yes
67931 else
67932 glibcxx_cv_func__float_trig_use=no
67934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67935 ac_ext=c
67936 ac_cpp='$CPP $CPPFLAGS'
67937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67944 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67945 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67946 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67947 do :
67948 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67949 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67950 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67951 cat >>confdefs.h <<_ACEOF
67952 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67953 _ACEOF
67956 done
67965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67966 $as_echo_n "checking for float round functions... " >&6; }
67967 if ${glibcxx_cv_func_float_round_use+:} false; then :
67968 $as_echo_n "(cached) " >&6
67969 else
67972 ac_ext=cpp
67973 ac_cpp='$CXXCPP $CPPFLAGS'
67974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67979 /* end confdefs.h. */
67980 #include <math.h>
67982 main ()
67984 ceilf (0); floorf (0);
67986 return 0;
67988 _ACEOF
67989 if ac_fn_cxx_try_compile "$LINENO"; then :
67990 glibcxx_cv_func_float_round_use=yes
67991 else
67992 glibcxx_cv_func_float_round_use=no
67994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67995 ac_ext=c
67996 ac_cpp='$CPP $CPPFLAGS'
67997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
68004 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
68005 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
68006 for ac_func in ceilf floorf
68007 do :
68008 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68009 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68010 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68011 cat >>confdefs.h <<_ACEOF
68012 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68013 _ACEOF
68016 done
68018 else
68019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
68020 $as_echo_n "checking for _float round functions... " >&6; }
68021 if ${glibcxx_cv_func__float_round_use+:} false; then :
68022 $as_echo_n "(cached) " >&6
68023 else
68026 ac_ext=cpp
68027 ac_cpp='$CXXCPP $CPPFLAGS'
68028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68033 /* end confdefs.h. */
68034 #include <math.h>
68036 main ()
68038 _ceilf (0); _floorf (0);
68040 return 0;
68042 _ACEOF
68043 if ac_fn_cxx_try_compile "$LINENO"; then :
68044 glibcxx_cv_func__float_round_use=yes
68045 else
68046 glibcxx_cv_func__float_round_use=no
68048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68049 ac_ext=c
68050 ac_cpp='$CPP $CPPFLAGS'
68051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
68058 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
68059 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
68060 for ac_func in _ceilf _floorf
68061 do :
68062 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68063 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68064 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68065 cat >>confdefs.h <<_ACEOF
68066 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68067 _ACEOF
68070 done
68080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
68081 $as_echo_n "checking for expf declaration... " >&6; }
68082 if test x${glibcxx_cv_func_expf_use+set} != xset; then
68083 if ${glibcxx_cv_func_expf_use+:} false; then :
68084 $as_echo_n "(cached) " >&6
68085 else
68088 ac_ext=cpp
68089 ac_cpp='$CXXCPP $CPPFLAGS'
68090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68095 /* end confdefs.h. */
68096 #include <math.h>
68097 #ifdef HAVE_IEEEFP_H
68098 #include <ieeefp.h>
68099 #endif
68102 main ()
68104 expf(0);
68106 return 0;
68108 _ACEOF
68109 if ac_fn_cxx_try_compile "$LINENO"; then :
68110 glibcxx_cv_func_expf_use=yes
68111 else
68112 glibcxx_cv_func_expf_use=no
68114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68115 ac_ext=c
68116 ac_cpp='$CPP $CPPFLAGS'
68117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
68126 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
68128 if test x$glibcxx_cv_func_expf_use = x"yes"; then
68129 for ac_func in expf
68130 do :
68131 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
68132 if test "x$ac_cv_func_expf" = xyes; then :
68133 cat >>confdefs.h <<_ACEOF
68134 #define HAVE_EXPF 1
68135 _ACEOF
68138 done
68140 else
68142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
68143 $as_echo_n "checking for _expf declaration... " >&6; }
68144 if test x${glibcxx_cv_func__expf_use+set} != xset; then
68145 if ${glibcxx_cv_func__expf_use+:} false; then :
68146 $as_echo_n "(cached) " >&6
68147 else
68150 ac_ext=cpp
68151 ac_cpp='$CXXCPP $CPPFLAGS'
68152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68157 /* end confdefs.h. */
68158 #include <math.h>
68159 #ifdef HAVE_IEEEFP_H
68160 #include <ieeefp.h>
68161 #endif
68164 main ()
68166 _expf(0);
68168 return 0;
68170 _ACEOF
68171 if ac_fn_cxx_try_compile "$LINENO"; then :
68172 glibcxx_cv_func__expf_use=yes
68173 else
68174 glibcxx_cv_func__expf_use=no
68176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68177 ac_ext=c
68178 ac_cpp='$CPP $CPPFLAGS'
68179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
68188 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
68190 if test x$glibcxx_cv_func__expf_use = x"yes"; then
68191 for ac_func in _expf
68192 do :
68193 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
68194 if test "x$ac_cv_func__expf" = xyes; then :
68195 cat >>confdefs.h <<_ACEOF
68196 #define HAVE__EXPF 1
68197 _ACEOF
68200 done
68209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
68210 $as_echo_n "checking for isnanf declaration... " >&6; }
68211 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68212 if ${glibcxx_cv_func_isnanf_use+:} false; then :
68213 $as_echo_n "(cached) " >&6
68214 else
68217 ac_ext=cpp
68218 ac_cpp='$CXXCPP $CPPFLAGS'
68219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68224 /* end confdefs.h. */
68225 #include <math.h>
68226 #ifdef HAVE_IEEEFP_H
68227 #include <ieeefp.h>
68228 #endif
68231 main ()
68233 isnanf(0);
68235 return 0;
68237 _ACEOF
68238 if ac_fn_cxx_try_compile "$LINENO"; then :
68239 glibcxx_cv_func_isnanf_use=yes
68240 else
68241 glibcxx_cv_func_isnanf_use=no
68243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68244 ac_ext=c
68245 ac_cpp='$CPP $CPPFLAGS'
68246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68255 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68257 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68258 for ac_func in isnanf
68259 do :
68260 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68261 if test "x$ac_cv_func_isnanf" = xyes; then :
68262 cat >>confdefs.h <<_ACEOF
68263 #define HAVE_ISNANF 1
68264 _ACEOF
68267 done
68269 else
68271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68272 $as_echo_n "checking for _isnanf declaration... " >&6; }
68273 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68274 if ${glibcxx_cv_func__isnanf_use+:} false; then :
68275 $as_echo_n "(cached) " >&6
68276 else
68279 ac_ext=cpp
68280 ac_cpp='$CXXCPP $CPPFLAGS'
68281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68286 /* end confdefs.h. */
68287 #include <math.h>
68288 #ifdef HAVE_IEEEFP_H
68289 #include <ieeefp.h>
68290 #endif
68293 main ()
68295 _isnanf(0);
68297 return 0;
68299 _ACEOF
68300 if ac_fn_cxx_try_compile "$LINENO"; then :
68301 glibcxx_cv_func__isnanf_use=yes
68302 else
68303 glibcxx_cv_func__isnanf_use=no
68305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68306 ac_ext=c
68307 ac_cpp='$CPP $CPPFLAGS'
68308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68317 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68319 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68320 for ac_func in _isnanf
68321 do :
68322 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68323 if test "x$ac_cv_func__isnanf" = xyes; then :
68324 cat >>confdefs.h <<_ACEOF
68325 #define HAVE__ISNANF 1
68326 _ACEOF
68329 done
68338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68339 $as_echo_n "checking for isinff declaration... " >&6; }
68340 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68341 if ${glibcxx_cv_func_isinff_use+:} false; then :
68342 $as_echo_n "(cached) " >&6
68343 else
68346 ac_ext=cpp
68347 ac_cpp='$CXXCPP $CPPFLAGS'
68348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68353 /* end confdefs.h. */
68354 #include <math.h>
68355 #ifdef HAVE_IEEEFP_H
68356 #include <ieeefp.h>
68357 #endif
68360 main ()
68362 isinff(0);
68364 return 0;
68366 _ACEOF
68367 if ac_fn_cxx_try_compile "$LINENO"; then :
68368 glibcxx_cv_func_isinff_use=yes
68369 else
68370 glibcxx_cv_func_isinff_use=no
68372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68373 ac_ext=c
68374 ac_cpp='$CPP $CPPFLAGS'
68375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68384 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68386 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68387 for ac_func in isinff
68388 do :
68389 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68390 if test "x$ac_cv_func_isinff" = xyes; then :
68391 cat >>confdefs.h <<_ACEOF
68392 #define HAVE_ISINFF 1
68393 _ACEOF
68396 done
68398 else
68400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68401 $as_echo_n "checking for _isinff declaration... " >&6; }
68402 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68403 if ${glibcxx_cv_func__isinff_use+:} false; then :
68404 $as_echo_n "(cached) " >&6
68405 else
68408 ac_ext=cpp
68409 ac_cpp='$CXXCPP $CPPFLAGS'
68410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68415 /* end confdefs.h. */
68416 #include <math.h>
68417 #ifdef HAVE_IEEEFP_H
68418 #include <ieeefp.h>
68419 #endif
68422 main ()
68424 _isinff(0);
68426 return 0;
68428 _ACEOF
68429 if ac_fn_cxx_try_compile "$LINENO"; then :
68430 glibcxx_cv_func__isinff_use=yes
68431 else
68432 glibcxx_cv_func__isinff_use=no
68434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68435 ac_ext=c
68436 ac_cpp='$CPP $CPPFLAGS'
68437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68446 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68448 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68449 for ac_func in _isinff
68450 do :
68451 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68452 if test "x$ac_cv_func__isinff" = xyes; then :
68453 cat >>confdefs.h <<_ACEOF
68454 #define HAVE__ISINFF 1
68455 _ACEOF
68458 done
68467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68468 $as_echo_n "checking for atan2f declaration... " >&6; }
68469 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68470 if ${glibcxx_cv_func_atan2f_use+:} false; then :
68471 $as_echo_n "(cached) " >&6
68472 else
68475 ac_ext=cpp
68476 ac_cpp='$CXXCPP $CPPFLAGS'
68477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68482 /* end confdefs.h. */
68483 #include <math.h>
68485 main ()
68487 atan2f(0, 0);
68489 return 0;
68491 _ACEOF
68492 if ac_fn_cxx_try_compile "$LINENO"; then :
68493 glibcxx_cv_func_atan2f_use=yes
68494 else
68495 glibcxx_cv_func_atan2f_use=no
68497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68498 ac_ext=c
68499 ac_cpp='$CPP $CPPFLAGS'
68500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68509 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68511 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68512 for ac_func in atan2f
68513 do :
68514 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68515 if test "x$ac_cv_func_atan2f" = xyes; then :
68516 cat >>confdefs.h <<_ACEOF
68517 #define HAVE_ATAN2F 1
68518 _ACEOF
68521 done
68523 else
68525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68526 $as_echo_n "checking for _atan2f declaration... " >&6; }
68527 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68528 if ${glibcxx_cv_func__atan2f_use+:} false; then :
68529 $as_echo_n "(cached) " >&6
68530 else
68533 ac_ext=cpp
68534 ac_cpp='$CXXCPP $CPPFLAGS'
68535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68540 /* end confdefs.h. */
68541 #include <math.h>
68543 main ()
68545 _atan2f(0, 0);
68547 return 0;
68549 _ACEOF
68550 if ac_fn_cxx_try_compile "$LINENO"; then :
68551 glibcxx_cv_func__atan2f_use=yes
68552 else
68553 glibcxx_cv_func__atan2f_use=no
68555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68556 ac_ext=c
68557 ac_cpp='$CPP $CPPFLAGS'
68558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68567 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68569 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68570 for ac_func in _atan2f
68571 do :
68572 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68573 if test "x$ac_cv_func__atan2f" = xyes; then :
68574 cat >>confdefs.h <<_ACEOF
68575 #define HAVE__ATAN2F 1
68576 _ACEOF
68579 done
68588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68589 $as_echo_n "checking for fabsf declaration... " >&6; }
68590 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68591 if ${glibcxx_cv_func_fabsf_use+:} false; then :
68592 $as_echo_n "(cached) " >&6
68593 else
68596 ac_ext=cpp
68597 ac_cpp='$CXXCPP $CPPFLAGS'
68598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68603 /* end confdefs.h. */
68604 #include <math.h>
68605 #ifdef HAVE_IEEEFP_H
68606 #include <ieeefp.h>
68607 #endif
68610 main ()
68612 fabsf(0);
68614 return 0;
68616 _ACEOF
68617 if ac_fn_cxx_try_compile "$LINENO"; then :
68618 glibcxx_cv_func_fabsf_use=yes
68619 else
68620 glibcxx_cv_func_fabsf_use=no
68622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68623 ac_ext=c
68624 ac_cpp='$CPP $CPPFLAGS'
68625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68634 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68636 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68637 for ac_func in fabsf
68638 do :
68639 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68640 if test "x$ac_cv_func_fabsf" = xyes; then :
68641 cat >>confdefs.h <<_ACEOF
68642 #define HAVE_FABSF 1
68643 _ACEOF
68646 done
68648 else
68650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68651 $as_echo_n "checking for _fabsf declaration... " >&6; }
68652 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68653 if ${glibcxx_cv_func__fabsf_use+:} false; then :
68654 $as_echo_n "(cached) " >&6
68655 else
68658 ac_ext=cpp
68659 ac_cpp='$CXXCPP $CPPFLAGS'
68660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68665 /* end confdefs.h. */
68666 #include <math.h>
68667 #ifdef HAVE_IEEEFP_H
68668 #include <ieeefp.h>
68669 #endif
68672 main ()
68674 _fabsf(0);
68676 return 0;
68678 _ACEOF
68679 if ac_fn_cxx_try_compile "$LINENO"; then :
68680 glibcxx_cv_func__fabsf_use=yes
68681 else
68682 glibcxx_cv_func__fabsf_use=no
68684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68685 ac_ext=c
68686 ac_cpp='$CPP $CPPFLAGS'
68687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68696 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68698 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68699 for ac_func in _fabsf
68700 do :
68701 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68702 if test "x$ac_cv_func__fabsf" = xyes; then :
68703 cat >>confdefs.h <<_ACEOF
68704 #define HAVE__FABSF 1
68705 _ACEOF
68708 done
68717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68718 $as_echo_n "checking for fmodf declaration... " >&6; }
68719 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68720 if ${glibcxx_cv_func_fmodf_use+:} false; then :
68721 $as_echo_n "(cached) " >&6
68722 else
68725 ac_ext=cpp
68726 ac_cpp='$CXXCPP $CPPFLAGS'
68727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68732 /* end confdefs.h. */
68733 #include <math.h>
68735 main ()
68737 fmodf(0, 0);
68739 return 0;
68741 _ACEOF
68742 if ac_fn_cxx_try_compile "$LINENO"; then :
68743 glibcxx_cv_func_fmodf_use=yes
68744 else
68745 glibcxx_cv_func_fmodf_use=no
68747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68748 ac_ext=c
68749 ac_cpp='$CPP $CPPFLAGS'
68750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68759 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68761 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68762 for ac_func in fmodf
68763 do :
68764 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68765 if test "x$ac_cv_func_fmodf" = xyes; then :
68766 cat >>confdefs.h <<_ACEOF
68767 #define HAVE_FMODF 1
68768 _ACEOF
68771 done
68773 else
68775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68776 $as_echo_n "checking for _fmodf declaration... " >&6; }
68777 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68778 if ${glibcxx_cv_func__fmodf_use+:} false; then :
68779 $as_echo_n "(cached) " >&6
68780 else
68783 ac_ext=cpp
68784 ac_cpp='$CXXCPP $CPPFLAGS'
68785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68790 /* end confdefs.h. */
68791 #include <math.h>
68793 main ()
68795 _fmodf(0, 0);
68797 return 0;
68799 _ACEOF
68800 if ac_fn_cxx_try_compile "$LINENO"; then :
68801 glibcxx_cv_func__fmodf_use=yes
68802 else
68803 glibcxx_cv_func__fmodf_use=no
68805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68806 ac_ext=c
68807 ac_cpp='$CPP $CPPFLAGS'
68808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68817 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68819 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68820 for ac_func in _fmodf
68821 do :
68822 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68823 if test "x$ac_cv_func__fmodf" = xyes; then :
68824 cat >>confdefs.h <<_ACEOF
68825 #define HAVE__FMODF 1
68826 _ACEOF
68829 done
68838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68839 $as_echo_n "checking for frexpf declaration... " >&6; }
68840 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68841 if ${glibcxx_cv_func_frexpf_use+:} false; then :
68842 $as_echo_n "(cached) " >&6
68843 else
68846 ac_ext=cpp
68847 ac_cpp='$CXXCPP $CPPFLAGS'
68848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68853 /* end confdefs.h. */
68854 #include <math.h>
68856 main ()
68858 frexpf(0, 0);
68860 return 0;
68862 _ACEOF
68863 if ac_fn_cxx_try_compile "$LINENO"; then :
68864 glibcxx_cv_func_frexpf_use=yes
68865 else
68866 glibcxx_cv_func_frexpf_use=no
68868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68869 ac_ext=c
68870 ac_cpp='$CPP $CPPFLAGS'
68871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68880 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68882 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68883 for ac_func in frexpf
68884 do :
68885 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68886 if test "x$ac_cv_func_frexpf" = xyes; then :
68887 cat >>confdefs.h <<_ACEOF
68888 #define HAVE_FREXPF 1
68889 _ACEOF
68892 done
68894 else
68896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68897 $as_echo_n "checking for _frexpf declaration... " >&6; }
68898 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68899 if ${glibcxx_cv_func__frexpf_use+:} false; then :
68900 $as_echo_n "(cached) " >&6
68901 else
68904 ac_ext=cpp
68905 ac_cpp='$CXXCPP $CPPFLAGS'
68906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68911 /* end confdefs.h. */
68912 #include <math.h>
68914 main ()
68916 _frexpf(0, 0);
68918 return 0;
68920 _ACEOF
68921 if ac_fn_cxx_try_compile "$LINENO"; then :
68922 glibcxx_cv_func__frexpf_use=yes
68923 else
68924 glibcxx_cv_func__frexpf_use=no
68926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68927 ac_ext=c
68928 ac_cpp='$CPP $CPPFLAGS'
68929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68938 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68940 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68941 for ac_func in _frexpf
68942 do :
68943 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68944 if test "x$ac_cv_func__frexpf" = xyes; then :
68945 cat >>confdefs.h <<_ACEOF
68946 #define HAVE__FREXPF 1
68947 _ACEOF
68950 done
68959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68960 $as_echo_n "checking for hypotf declaration... " >&6; }
68961 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68962 if ${glibcxx_cv_func_hypotf_use+:} false; then :
68963 $as_echo_n "(cached) " >&6
68964 else
68967 ac_ext=cpp
68968 ac_cpp='$CXXCPP $CPPFLAGS'
68969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68974 /* end confdefs.h. */
68975 #include <math.h>
68977 main ()
68979 hypotf(0, 0);
68981 return 0;
68983 _ACEOF
68984 if ac_fn_cxx_try_compile "$LINENO"; then :
68985 glibcxx_cv_func_hypotf_use=yes
68986 else
68987 glibcxx_cv_func_hypotf_use=no
68989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68990 ac_ext=c
68991 ac_cpp='$CPP $CPPFLAGS'
68992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
69001 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
69003 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
69004 for ac_func in hypotf
69005 do :
69006 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
69007 if test "x$ac_cv_func_hypotf" = xyes; then :
69008 cat >>confdefs.h <<_ACEOF
69009 #define HAVE_HYPOTF 1
69010 _ACEOF
69013 done
69015 else
69017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
69018 $as_echo_n "checking for _hypotf declaration... " >&6; }
69019 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
69020 if ${glibcxx_cv_func__hypotf_use+:} false; then :
69021 $as_echo_n "(cached) " >&6
69022 else
69025 ac_ext=cpp
69026 ac_cpp='$CXXCPP $CPPFLAGS'
69027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69032 /* end confdefs.h. */
69033 #include <math.h>
69035 main ()
69037 _hypotf(0, 0);
69039 return 0;
69041 _ACEOF
69042 if ac_fn_cxx_try_compile "$LINENO"; then :
69043 glibcxx_cv_func__hypotf_use=yes
69044 else
69045 glibcxx_cv_func__hypotf_use=no
69047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69048 ac_ext=c
69049 ac_cpp='$CPP $CPPFLAGS'
69050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
69059 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
69061 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
69062 for ac_func in _hypotf
69063 do :
69064 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
69065 if test "x$ac_cv_func__hypotf" = xyes; then :
69066 cat >>confdefs.h <<_ACEOF
69067 #define HAVE__HYPOTF 1
69068 _ACEOF
69071 done
69080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
69081 $as_echo_n "checking for ldexpf declaration... " >&6; }
69082 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
69083 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
69084 $as_echo_n "(cached) " >&6
69085 else
69088 ac_ext=cpp
69089 ac_cpp='$CXXCPP $CPPFLAGS'
69090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69095 /* end confdefs.h. */
69096 #include <math.h>
69098 main ()
69100 ldexpf(0, 0);
69102 return 0;
69104 _ACEOF
69105 if ac_fn_cxx_try_compile "$LINENO"; then :
69106 glibcxx_cv_func_ldexpf_use=yes
69107 else
69108 glibcxx_cv_func_ldexpf_use=no
69110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69111 ac_ext=c
69112 ac_cpp='$CPP $CPPFLAGS'
69113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
69122 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
69124 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
69125 for ac_func in ldexpf
69126 do :
69127 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
69128 if test "x$ac_cv_func_ldexpf" = xyes; then :
69129 cat >>confdefs.h <<_ACEOF
69130 #define HAVE_LDEXPF 1
69131 _ACEOF
69134 done
69136 else
69138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
69139 $as_echo_n "checking for _ldexpf declaration... " >&6; }
69140 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
69141 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
69142 $as_echo_n "(cached) " >&6
69143 else
69146 ac_ext=cpp
69147 ac_cpp='$CXXCPP $CPPFLAGS'
69148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69153 /* end confdefs.h. */
69154 #include <math.h>
69156 main ()
69158 _ldexpf(0, 0);
69160 return 0;
69162 _ACEOF
69163 if ac_fn_cxx_try_compile "$LINENO"; then :
69164 glibcxx_cv_func__ldexpf_use=yes
69165 else
69166 glibcxx_cv_func__ldexpf_use=no
69168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69169 ac_ext=c
69170 ac_cpp='$CPP $CPPFLAGS'
69171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
69180 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
69182 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
69183 for ac_func in _ldexpf
69184 do :
69185 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
69186 if test "x$ac_cv_func__ldexpf" = xyes; then :
69187 cat >>confdefs.h <<_ACEOF
69188 #define HAVE__LDEXPF 1
69189 _ACEOF
69192 done
69201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
69202 $as_echo_n "checking for logf declaration... " >&6; }
69203 if test x${glibcxx_cv_func_logf_use+set} != xset; then
69204 if ${glibcxx_cv_func_logf_use+:} false; then :
69205 $as_echo_n "(cached) " >&6
69206 else
69209 ac_ext=cpp
69210 ac_cpp='$CXXCPP $CPPFLAGS'
69211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69216 /* end confdefs.h. */
69217 #include <math.h>
69218 #ifdef HAVE_IEEEFP_H
69219 #include <ieeefp.h>
69220 #endif
69223 main ()
69225 logf(0);
69227 return 0;
69229 _ACEOF
69230 if ac_fn_cxx_try_compile "$LINENO"; then :
69231 glibcxx_cv_func_logf_use=yes
69232 else
69233 glibcxx_cv_func_logf_use=no
69235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69236 ac_ext=c
69237 ac_cpp='$CPP $CPPFLAGS'
69238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69247 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
69249 if test x$glibcxx_cv_func_logf_use = x"yes"; then
69250 for ac_func in logf
69251 do :
69252 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69253 if test "x$ac_cv_func_logf" = xyes; then :
69254 cat >>confdefs.h <<_ACEOF
69255 #define HAVE_LOGF 1
69256 _ACEOF
69259 done
69261 else
69263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69264 $as_echo_n "checking for _logf declaration... " >&6; }
69265 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69266 if ${glibcxx_cv_func__logf_use+:} false; then :
69267 $as_echo_n "(cached) " >&6
69268 else
69271 ac_ext=cpp
69272 ac_cpp='$CXXCPP $CPPFLAGS'
69273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69278 /* end confdefs.h. */
69279 #include <math.h>
69280 #ifdef HAVE_IEEEFP_H
69281 #include <ieeefp.h>
69282 #endif
69285 main ()
69287 _logf(0);
69289 return 0;
69291 _ACEOF
69292 if ac_fn_cxx_try_compile "$LINENO"; then :
69293 glibcxx_cv_func__logf_use=yes
69294 else
69295 glibcxx_cv_func__logf_use=no
69297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69298 ac_ext=c
69299 ac_cpp='$CPP $CPPFLAGS'
69300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69309 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69311 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69312 for ac_func in _logf
69313 do :
69314 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69315 if test "x$ac_cv_func__logf" = xyes; then :
69316 cat >>confdefs.h <<_ACEOF
69317 #define HAVE__LOGF 1
69318 _ACEOF
69321 done
69330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69331 $as_echo_n "checking for log10f declaration... " >&6; }
69332 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69333 if ${glibcxx_cv_func_log10f_use+:} false; then :
69334 $as_echo_n "(cached) " >&6
69335 else
69338 ac_ext=cpp
69339 ac_cpp='$CXXCPP $CPPFLAGS'
69340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69345 /* end confdefs.h. */
69346 #include <math.h>
69347 #ifdef HAVE_IEEEFP_H
69348 #include <ieeefp.h>
69349 #endif
69352 main ()
69354 log10f(0);
69356 return 0;
69358 _ACEOF
69359 if ac_fn_cxx_try_compile "$LINENO"; then :
69360 glibcxx_cv_func_log10f_use=yes
69361 else
69362 glibcxx_cv_func_log10f_use=no
69364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69365 ac_ext=c
69366 ac_cpp='$CPP $CPPFLAGS'
69367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69376 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69378 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69379 for ac_func in log10f
69380 do :
69381 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69382 if test "x$ac_cv_func_log10f" = xyes; then :
69383 cat >>confdefs.h <<_ACEOF
69384 #define HAVE_LOG10F 1
69385 _ACEOF
69388 done
69390 else
69392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69393 $as_echo_n "checking for _log10f declaration... " >&6; }
69394 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69395 if ${glibcxx_cv_func__log10f_use+:} false; then :
69396 $as_echo_n "(cached) " >&6
69397 else
69400 ac_ext=cpp
69401 ac_cpp='$CXXCPP $CPPFLAGS'
69402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69407 /* end confdefs.h. */
69408 #include <math.h>
69409 #ifdef HAVE_IEEEFP_H
69410 #include <ieeefp.h>
69411 #endif
69414 main ()
69416 _log10f(0);
69418 return 0;
69420 _ACEOF
69421 if ac_fn_cxx_try_compile "$LINENO"; then :
69422 glibcxx_cv_func__log10f_use=yes
69423 else
69424 glibcxx_cv_func__log10f_use=no
69426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69427 ac_ext=c
69428 ac_cpp='$CPP $CPPFLAGS'
69429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69438 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69440 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69441 for ac_func in _log10f
69442 do :
69443 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69444 if test "x$ac_cv_func__log10f" = xyes; then :
69445 cat >>confdefs.h <<_ACEOF
69446 #define HAVE__LOG10F 1
69447 _ACEOF
69450 done
69459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69460 $as_echo_n "checking for modff declaration... " >&6; }
69461 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69462 if ${glibcxx_cv_func_modff_use+:} false; then :
69463 $as_echo_n "(cached) " >&6
69464 else
69467 ac_ext=cpp
69468 ac_cpp='$CXXCPP $CPPFLAGS'
69469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69474 /* end confdefs.h. */
69475 #include <math.h>
69477 main ()
69479 modff(0, 0);
69481 return 0;
69483 _ACEOF
69484 if ac_fn_cxx_try_compile "$LINENO"; then :
69485 glibcxx_cv_func_modff_use=yes
69486 else
69487 glibcxx_cv_func_modff_use=no
69489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69490 ac_ext=c
69491 ac_cpp='$CPP $CPPFLAGS'
69492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69501 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69503 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69504 for ac_func in modff
69505 do :
69506 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69507 if test "x$ac_cv_func_modff" = xyes; then :
69508 cat >>confdefs.h <<_ACEOF
69509 #define HAVE_MODFF 1
69510 _ACEOF
69513 done
69515 else
69517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69518 $as_echo_n "checking for _modff declaration... " >&6; }
69519 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69520 if ${glibcxx_cv_func__modff_use+:} false; then :
69521 $as_echo_n "(cached) " >&6
69522 else
69525 ac_ext=cpp
69526 ac_cpp='$CXXCPP $CPPFLAGS'
69527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69532 /* end confdefs.h. */
69533 #include <math.h>
69535 main ()
69537 _modff(0, 0);
69539 return 0;
69541 _ACEOF
69542 if ac_fn_cxx_try_compile "$LINENO"; then :
69543 glibcxx_cv_func__modff_use=yes
69544 else
69545 glibcxx_cv_func__modff_use=no
69547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69548 ac_ext=c
69549 ac_cpp='$CPP $CPPFLAGS'
69550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69559 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69561 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69562 for ac_func in _modff
69563 do :
69564 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69565 if test "x$ac_cv_func__modff" = xyes; then :
69566 cat >>confdefs.h <<_ACEOF
69567 #define HAVE__MODFF 1
69568 _ACEOF
69571 done
69580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69581 $as_echo_n "checking for modf declaration... " >&6; }
69582 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69583 if ${glibcxx_cv_func_modf_use+:} false; then :
69584 $as_echo_n "(cached) " >&6
69585 else
69588 ac_ext=cpp
69589 ac_cpp='$CXXCPP $CPPFLAGS'
69590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69595 /* end confdefs.h. */
69596 #include <math.h>
69598 main ()
69600 modf(0, 0);
69602 return 0;
69604 _ACEOF
69605 if ac_fn_cxx_try_compile "$LINENO"; then :
69606 glibcxx_cv_func_modf_use=yes
69607 else
69608 glibcxx_cv_func_modf_use=no
69610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69611 ac_ext=c
69612 ac_cpp='$CPP $CPPFLAGS'
69613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69622 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69624 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69625 for ac_func in modf
69626 do :
69627 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69628 if test "x$ac_cv_func_modf" = xyes; then :
69629 cat >>confdefs.h <<_ACEOF
69630 #define HAVE_MODF 1
69631 _ACEOF
69634 done
69636 else
69638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69639 $as_echo_n "checking for _modf declaration... " >&6; }
69640 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69641 if ${glibcxx_cv_func__modf_use+:} false; then :
69642 $as_echo_n "(cached) " >&6
69643 else
69646 ac_ext=cpp
69647 ac_cpp='$CXXCPP $CPPFLAGS'
69648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69653 /* end confdefs.h. */
69654 #include <math.h>
69656 main ()
69658 _modf(0, 0);
69660 return 0;
69662 _ACEOF
69663 if ac_fn_cxx_try_compile "$LINENO"; then :
69664 glibcxx_cv_func__modf_use=yes
69665 else
69666 glibcxx_cv_func__modf_use=no
69668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69669 ac_ext=c
69670 ac_cpp='$CPP $CPPFLAGS'
69671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69680 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69682 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69683 for ac_func in _modf
69684 do :
69685 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69686 if test "x$ac_cv_func__modf" = xyes; then :
69687 cat >>confdefs.h <<_ACEOF
69688 #define HAVE__MODF 1
69689 _ACEOF
69692 done
69701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69702 $as_echo_n "checking for powf declaration... " >&6; }
69703 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69704 if ${glibcxx_cv_func_powf_use+:} false; then :
69705 $as_echo_n "(cached) " >&6
69706 else
69709 ac_ext=cpp
69710 ac_cpp='$CXXCPP $CPPFLAGS'
69711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69716 /* end confdefs.h. */
69717 #include <math.h>
69719 main ()
69721 powf(0, 0);
69723 return 0;
69725 _ACEOF
69726 if ac_fn_cxx_try_compile "$LINENO"; then :
69727 glibcxx_cv_func_powf_use=yes
69728 else
69729 glibcxx_cv_func_powf_use=no
69731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69732 ac_ext=c
69733 ac_cpp='$CPP $CPPFLAGS'
69734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69743 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69745 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69746 for ac_func in powf
69747 do :
69748 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69749 if test "x$ac_cv_func_powf" = xyes; then :
69750 cat >>confdefs.h <<_ACEOF
69751 #define HAVE_POWF 1
69752 _ACEOF
69755 done
69757 else
69759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69760 $as_echo_n "checking for _powf declaration... " >&6; }
69761 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69762 if ${glibcxx_cv_func__powf_use+:} false; then :
69763 $as_echo_n "(cached) " >&6
69764 else
69767 ac_ext=cpp
69768 ac_cpp='$CXXCPP $CPPFLAGS'
69769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69774 /* end confdefs.h. */
69775 #include <math.h>
69777 main ()
69779 _powf(0, 0);
69781 return 0;
69783 _ACEOF
69784 if ac_fn_cxx_try_compile "$LINENO"; then :
69785 glibcxx_cv_func__powf_use=yes
69786 else
69787 glibcxx_cv_func__powf_use=no
69789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69790 ac_ext=c
69791 ac_cpp='$CPP $CPPFLAGS'
69792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69801 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69803 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69804 for ac_func in _powf
69805 do :
69806 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69807 if test "x$ac_cv_func__powf" = xyes; then :
69808 cat >>confdefs.h <<_ACEOF
69809 #define HAVE__POWF 1
69810 _ACEOF
69813 done
69822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69823 $as_echo_n "checking for sqrtf declaration... " >&6; }
69824 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69825 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
69826 $as_echo_n "(cached) " >&6
69827 else
69830 ac_ext=cpp
69831 ac_cpp='$CXXCPP $CPPFLAGS'
69832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69837 /* end confdefs.h. */
69838 #include <math.h>
69839 #ifdef HAVE_IEEEFP_H
69840 #include <ieeefp.h>
69841 #endif
69844 main ()
69846 sqrtf(0);
69848 return 0;
69850 _ACEOF
69851 if ac_fn_cxx_try_compile "$LINENO"; then :
69852 glibcxx_cv_func_sqrtf_use=yes
69853 else
69854 glibcxx_cv_func_sqrtf_use=no
69856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69857 ac_ext=c
69858 ac_cpp='$CPP $CPPFLAGS'
69859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69868 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69870 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69871 for ac_func in sqrtf
69872 do :
69873 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69874 if test "x$ac_cv_func_sqrtf" = xyes; then :
69875 cat >>confdefs.h <<_ACEOF
69876 #define HAVE_SQRTF 1
69877 _ACEOF
69880 done
69882 else
69884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69885 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69886 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69887 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
69888 $as_echo_n "(cached) " >&6
69889 else
69892 ac_ext=cpp
69893 ac_cpp='$CXXCPP $CPPFLAGS'
69894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69899 /* end confdefs.h. */
69900 #include <math.h>
69901 #ifdef HAVE_IEEEFP_H
69902 #include <ieeefp.h>
69903 #endif
69906 main ()
69908 _sqrtf(0);
69910 return 0;
69912 _ACEOF
69913 if ac_fn_cxx_try_compile "$LINENO"; then :
69914 glibcxx_cv_func__sqrtf_use=yes
69915 else
69916 glibcxx_cv_func__sqrtf_use=no
69918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69919 ac_ext=c
69920 ac_cpp='$CPP $CPPFLAGS'
69921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69930 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69932 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69933 for ac_func in _sqrtf
69934 do :
69935 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69936 if test "x$ac_cv_func__sqrtf" = xyes; then :
69937 cat >>confdefs.h <<_ACEOF
69938 #define HAVE__SQRTF 1
69939 _ACEOF
69942 done
69951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69952 $as_echo_n "checking for sincosf declaration... " >&6; }
69953 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69954 if ${glibcxx_cv_func_sincosf_use+:} false; then :
69955 $as_echo_n "(cached) " >&6
69956 else
69959 ac_ext=cpp
69960 ac_cpp='$CXXCPP $CPPFLAGS'
69961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69966 /* end confdefs.h. */
69967 #include <math.h>
69969 main ()
69971 sincosf(0, 0, 0);
69973 return 0;
69975 _ACEOF
69976 if ac_fn_cxx_try_compile "$LINENO"; then :
69977 glibcxx_cv_func_sincosf_use=yes
69978 else
69979 glibcxx_cv_func_sincosf_use=no
69981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69982 ac_ext=c
69983 ac_cpp='$CPP $CPPFLAGS'
69984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69993 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69995 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69996 for ac_func in sincosf
69997 do :
69998 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69999 if test "x$ac_cv_func_sincosf" = xyes; then :
70000 cat >>confdefs.h <<_ACEOF
70001 #define HAVE_SINCOSF 1
70002 _ACEOF
70005 done
70007 else
70009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
70010 $as_echo_n "checking for _sincosf declaration... " >&6; }
70011 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
70012 if ${glibcxx_cv_func__sincosf_use+:} false; then :
70013 $as_echo_n "(cached) " >&6
70014 else
70017 ac_ext=cpp
70018 ac_cpp='$CXXCPP $CPPFLAGS'
70019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70024 /* end confdefs.h. */
70025 #include <math.h>
70027 main ()
70029 _sincosf(0, 0, 0);
70031 return 0;
70033 _ACEOF
70034 if ac_fn_cxx_try_compile "$LINENO"; then :
70035 glibcxx_cv_func__sincosf_use=yes
70036 else
70037 glibcxx_cv_func__sincosf_use=no
70039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70040 ac_ext=c
70041 ac_cpp='$CPP $CPPFLAGS'
70042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
70051 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
70053 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
70054 for ac_func in _sincosf
70055 do :
70056 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
70057 if test "x$ac_cv_func__sincosf" = xyes; then :
70058 cat >>confdefs.h <<_ACEOF
70059 #define HAVE__SINCOSF 1
70060 _ACEOF
70063 done
70072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
70073 $as_echo_n "checking for finitef declaration... " >&6; }
70074 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
70075 if ${glibcxx_cv_func_finitef_use+:} false; then :
70076 $as_echo_n "(cached) " >&6
70077 else
70080 ac_ext=cpp
70081 ac_cpp='$CXXCPP $CPPFLAGS'
70082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70087 /* end confdefs.h. */
70088 #include <math.h>
70089 #ifdef HAVE_IEEEFP_H
70090 #include <ieeefp.h>
70091 #endif
70094 main ()
70096 finitef(0);
70098 return 0;
70100 _ACEOF
70101 if ac_fn_cxx_try_compile "$LINENO"; then :
70102 glibcxx_cv_func_finitef_use=yes
70103 else
70104 glibcxx_cv_func_finitef_use=no
70106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70107 ac_ext=c
70108 ac_cpp='$CPP $CPPFLAGS'
70109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
70118 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
70120 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
70121 for ac_func in finitef
70122 do :
70123 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
70124 if test "x$ac_cv_func_finitef" = xyes; then :
70125 cat >>confdefs.h <<_ACEOF
70126 #define HAVE_FINITEF 1
70127 _ACEOF
70130 done
70132 else
70134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
70135 $as_echo_n "checking for _finitef declaration... " >&6; }
70136 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
70137 if ${glibcxx_cv_func__finitef_use+:} false; then :
70138 $as_echo_n "(cached) " >&6
70139 else
70142 ac_ext=cpp
70143 ac_cpp='$CXXCPP $CPPFLAGS'
70144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70149 /* end confdefs.h. */
70150 #include <math.h>
70151 #ifdef HAVE_IEEEFP_H
70152 #include <ieeefp.h>
70153 #endif
70156 main ()
70158 _finitef(0);
70160 return 0;
70162 _ACEOF
70163 if ac_fn_cxx_try_compile "$LINENO"; then :
70164 glibcxx_cv_func__finitef_use=yes
70165 else
70166 glibcxx_cv_func__finitef_use=no
70168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70169 ac_ext=c
70170 ac_cpp='$CPP $CPPFLAGS'
70171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
70180 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
70182 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
70183 for ac_func in _finitef
70184 do :
70185 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
70186 if test "x$ac_cv_func__finitef" = xyes; then :
70187 cat >>confdefs.h <<_ACEOF
70188 #define HAVE__FINITEF 1
70189 _ACEOF
70192 done
70201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
70202 $as_echo_n "checking for long double trig functions... " >&6; }
70203 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
70204 $as_echo_n "(cached) " >&6
70205 else
70208 ac_ext=cpp
70209 ac_cpp='$CXXCPP $CPPFLAGS'
70210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70215 /* end confdefs.h. */
70216 #include <math.h>
70218 main ()
70220 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
70222 return 0;
70224 _ACEOF
70225 if ac_fn_cxx_try_compile "$LINENO"; then :
70226 glibcxx_cv_func_long_double_trig_use=yes
70227 else
70228 glibcxx_cv_func_long_double_trig_use=no
70230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70231 ac_ext=c
70232 ac_cpp='$CPP $CPPFLAGS'
70233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70240 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70241 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70242 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70243 do :
70244 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70245 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70246 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70247 cat >>confdefs.h <<_ACEOF
70248 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70249 _ACEOF
70252 done
70254 else
70255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70256 $as_echo_n "checking for _long double trig functions... " >&6; }
70257 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
70258 $as_echo_n "(cached) " >&6
70259 else
70262 ac_ext=cpp
70263 ac_cpp='$CXXCPP $CPPFLAGS'
70264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70269 /* end confdefs.h. */
70270 #include <math.h>
70272 main ()
70274 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70276 return 0;
70278 _ACEOF
70279 if ac_fn_cxx_try_compile "$LINENO"; then :
70280 glibcxx_cv_func__long_double_trig_use=yes
70281 else
70282 glibcxx_cv_func__long_double_trig_use=no
70284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70285 ac_ext=c
70286 ac_cpp='$CPP $CPPFLAGS'
70287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70294 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70295 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70296 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70297 do :
70298 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70299 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70300 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70301 cat >>confdefs.h <<_ACEOF
70302 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70303 _ACEOF
70306 done
70315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70316 $as_echo_n "checking for long double round functions... " >&6; }
70317 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
70318 $as_echo_n "(cached) " >&6
70319 else
70322 ac_ext=cpp
70323 ac_cpp='$CXXCPP $CPPFLAGS'
70324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70329 /* end confdefs.h. */
70330 #include <math.h>
70332 main ()
70334 ceill (0); floorl (0);
70336 return 0;
70338 _ACEOF
70339 if ac_fn_cxx_try_compile "$LINENO"; then :
70340 glibcxx_cv_func_long_double_round_use=yes
70341 else
70342 glibcxx_cv_func_long_double_round_use=no
70344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70345 ac_ext=c
70346 ac_cpp='$CPP $CPPFLAGS'
70347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70354 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70355 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70356 for ac_func in ceill floorl
70357 do :
70358 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70359 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70360 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70361 cat >>confdefs.h <<_ACEOF
70362 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70363 _ACEOF
70366 done
70368 else
70369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70370 $as_echo_n "checking for _long double round functions... " >&6; }
70371 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
70372 $as_echo_n "(cached) " >&6
70373 else
70376 ac_ext=cpp
70377 ac_cpp='$CXXCPP $CPPFLAGS'
70378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70383 /* end confdefs.h. */
70384 #include <math.h>
70386 main ()
70388 _ceill (0); _floorl (0);
70390 return 0;
70392 _ACEOF
70393 if ac_fn_cxx_try_compile "$LINENO"; then :
70394 glibcxx_cv_func__long_double_round_use=yes
70395 else
70396 glibcxx_cv_func__long_double_round_use=no
70398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70399 ac_ext=c
70400 ac_cpp='$CPP $CPPFLAGS'
70401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70408 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70409 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70410 for ac_func in _ceill _floorl
70411 do :
70412 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70413 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70414 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70415 cat >>confdefs.h <<_ACEOF
70416 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70417 _ACEOF
70420 done
70430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70431 $as_echo_n "checking for isnanl declaration... " >&6; }
70432 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70433 if ${glibcxx_cv_func_isnanl_use+:} false; then :
70434 $as_echo_n "(cached) " >&6
70435 else
70438 ac_ext=cpp
70439 ac_cpp='$CXXCPP $CPPFLAGS'
70440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70445 /* end confdefs.h. */
70446 #include <math.h>
70447 #ifdef HAVE_IEEEFP_H
70448 #include <ieeefp.h>
70449 #endif
70452 main ()
70454 isnanl(0);
70456 return 0;
70458 _ACEOF
70459 if ac_fn_cxx_try_compile "$LINENO"; then :
70460 glibcxx_cv_func_isnanl_use=yes
70461 else
70462 glibcxx_cv_func_isnanl_use=no
70464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70465 ac_ext=c
70466 ac_cpp='$CPP $CPPFLAGS'
70467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70476 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70478 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70479 for ac_func in isnanl
70480 do :
70481 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70482 if test "x$ac_cv_func_isnanl" = xyes; then :
70483 cat >>confdefs.h <<_ACEOF
70484 #define HAVE_ISNANL 1
70485 _ACEOF
70488 done
70490 else
70492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70493 $as_echo_n "checking for _isnanl declaration... " >&6; }
70494 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70495 if ${glibcxx_cv_func__isnanl_use+:} false; then :
70496 $as_echo_n "(cached) " >&6
70497 else
70500 ac_ext=cpp
70501 ac_cpp='$CXXCPP $CPPFLAGS'
70502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70507 /* end confdefs.h. */
70508 #include <math.h>
70509 #ifdef HAVE_IEEEFP_H
70510 #include <ieeefp.h>
70511 #endif
70514 main ()
70516 _isnanl(0);
70518 return 0;
70520 _ACEOF
70521 if ac_fn_cxx_try_compile "$LINENO"; then :
70522 glibcxx_cv_func__isnanl_use=yes
70523 else
70524 glibcxx_cv_func__isnanl_use=no
70526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70527 ac_ext=c
70528 ac_cpp='$CPP $CPPFLAGS'
70529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70538 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70540 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70541 for ac_func in _isnanl
70542 do :
70543 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70544 if test "x$ac_cv_func__isnanl" = xyes; then :
70545 cat >>confdefs.h <<_ACEOF
70546 #define HAVE__ISNANL 1
70547 _ACEOF
70550 done
70559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70560 $as_echo_n "checking for isinfl declaration... " >&6; }
70561 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70562 if ${glibcxx_cv_func_isinfl_use+:} false; then :
70563 $as_echo_n "(cached) " >&6
70564 else
70567 ac_ext=cpp
70568 ac_cpp='$CXXCPP $CPPFLAGS'
70569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70574 /* end confdefs.h. */
70575 #include <math.h>
70576 #ifdef HAVE_IEEEFP_H
70577 #include <ieeefp.h>
70578 #endif
70581 main ()
70583 isinfl(0);
70585 return 0;
70587 _ACEOF
70588 if ac_fn_cxx_try_compile "$LINENO"; then :
70589 glibcxx_cv_func_isinfl_use=yes
70590 else
70591 glibcxx_cv_func_isinfl_use=no
70593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70594 ac_ext=c
70595 ac_cpp='$CPP $CPPFLAGS'
70596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70605 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70607 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70608 for ac_func in isinfl
70609 do :
70610 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70611 if test "x$ac_cv_func_isinfl" = xyes; then :
70612 cat >>confdefs.h <<_ACEOF
70613 #define HAVE_ISINFL 1
70614 _ACEOF
70617 done
70619 else
70621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70622 $as_echo_n "checking for _isinfl declaration... " >&6; }
70623 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70624 if ${glibcxx_cv_func__isinfl_use+:} false; then :
70625 $as_echo_n "(cached) " >&6
70626 else
70629 ac_ext=cpp
70630 ac_cpp='$CXXCPP $CPPFLAGS'
70631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70636 /* end confdefs.h. */
70637 #include <math.h>
70638 #ifdef HAVE_IEEEFP_H
70639 #include <ieeefp.h>
70640 #endif
70643 main ()
70645 _isinfl(0);
70647 return 0;
70649 _ACEOF
70650 if ac_fn_cxx_try_compile "$LINENO"; then :
70651 glibcxx_cv_func__isinfl_use=yes
70652 else
70653 glibcxx_cv_func__isinfl_use=no
70655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70656 ac_ext=c
70657 ac_cpp='$CPP $CPPFLAGS'
70658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70667 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70669 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70670 for ac_func in _isinfl
70671 do :
70672 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70673 if test "x$ac_cv_func__isinfl" = xyes; then :
70674 cat >>confdefs.h <<_ACEOF
70675 #define HAVE__ISINFL 1
70676 _ACEOF
70679 done
70688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70689 $as_echo_n "checking for atan2l declaration... " >&6; }
70690 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70691 if ${glibcxx_cv_func_atan2l_use+:} false; then :
70692 $as_echo_n "(cached) " >&6
70693 else
70696 ac_ext=cpp
70697 ac_cpp='$CXXCPP $CPPFLAGS'
70698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70703 /* end confdefs.h. */
70704 #include <math.h>
70706 main ()
70708 atan2l(0, 0);
70710 return 0;
70712 _ACEOF
70713 if ac_fn_cxx_try_compile "$LINENO"; then :
70714 glibcxx_cv_func_atan2l_use=yes
70715 else
70716 glibcxx_cv_func_atan2l_use=no
70718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70719 ac_ext=c
70720 ac_cpp='$CPP $CPPFLAGS'
70721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70730 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70732 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70733 for ac_func in atan2l
70734 do :
70735 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70736 if test "x$ac_cv_func_atan2l" = xyes; then :
70737 cat >>confdefs.h <<_ACEOF
70738 #define HAVE_ATAN2L 1
70739 _ACEOF
70742 done
70744 else
70746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70747 $as_echo_n "checking for _atan2l declaration... " >&6; }
70748 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70749 if ${glibcxx_cv_func__atan2l_use+:} false; then :
70750 $as_echo_n "(cached) " >&6
70751 else
70754 ac_ext=cpp
70755 ac_cpp='$CXXCPP $CPPFLAGS'
70756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70761 /* end confdefs.h. */
70762 #include <math.h>
70764 main ()
70766 _atan2l(0, 0);
70768 return 0;
70770 _ACEOF
70771 if ac_fn_cxx_try_compile "$LINENO"; then :
70772 glibcxx_cv_func__atan2l_use=yes
70773 else
70774 glibcxx_cv_func__atan2l_use=no
70776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70777 ac_ext=c
70778 ac_cpp='$CPP $CPPFLAGS'
70779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70788 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70790 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70791 for ac_func in _atan2l
70792 do :
70793 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70794 if test "x$ac_cv_func__atan2l" = xyes; then :
70795 cat >>confdefs.h <<_ACEOF
70796 #define HAVE__ATAN2L 1
70797 _ACEOF
70800 done
70809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70810 $as_echo_n "checking for expl declaration... " >&6; }
70811 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70812 if ${glibcxx_cv_func_expl_use+:} false; then :
70813 $as_echo_n "(cached) " >&6
70814 else
70817 ac_ext=cpp
70818 ac_cpp='$CXXCPP $CPPFLAGS'
70819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70824 /* end confdefs.h. */
70825 #include <math.h>
70826 #ifdef HAVE_IEEEFP_H
70827 #include <ieeefp.h>
70828 #endif
70831 main ()
70833 expl(0);
70835 return 0;
70837 _ACEOF
70838 if ac_fn_cxx_try_compile "$LINENO"; then :
70839 glibcxx_cv_func_expl_use=yes
70840 else
70841 glibcxx_cv_func_expl_use=no
70843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70844 ac_ext=c
70845 ac_cpp='$CPP $CPPFLAGS'
70846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70855 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70857 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70858 for ac_func in expl
70859 do :
70860 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70861 if test "x$ac_cv_func_expl" = xyes; then :
70862 cat >>confdefs.h <<_ACEOF
70863 #define HAVE_EXPL 1
70864 _ACEOF
70867 done
70869 else
70871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70872 $as_echo_n "checking for _expl declaration... " >&6; }
70873 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70874 if ${glibcxx_cv_func__expl_use+:} false; then :
70875 $as_echo_n "(cached) " >&6
70876 else
70879 ac_ext=cpp
70880 ac_cpp='$CXXCPP $CPPFLAGS'
70881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70886 /* end confdefs.h. */
70887 #include <math.h>
70888 #ifdef HAVE_IEEEFP_H
70889 #include <ieeefp.h>
70890 #endif
70893 main ()
70895 _expl(0);
70897 return 0;
70899 _ACEOF
70900 if ac_fn_cxx_try_compile "$LINENO"; then :
70901 glibcxx_cv_func__expl_use=yes
70902 else
70903 glibcxx_cv_func__expl_use=no
70905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70906 ac_ext=c
70907 ac_cpp='$CPP $CPPFLAGS'
70908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70917 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70919 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70920 for ac_func in _expl
70921 do :
70922 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70923 if test "x$ac_cv_func__expl" = xyes; then :
70924 cat >>confdefs.h <<_ACEOF
70925 #define HAVE__EXPL 1
70926 _ACEOF
70929 done
70938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70939 $as_echo_n "checking for fabsl declaration... " >&6; }
70940 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70941 if ${glibcxx_cv_func_fabsl_use+:} false; then :
70942 $as_echo_n "(cached) " >&6
70943 else
70946 ac_ext=cpp
70947 ac_cpp='$CXXCPP $CPPFLAGS'
70948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70953 /* end confdefs.h. */
70954 #include <math.h>
70955 #ifdef HAVE_IEEEFP_H
70956 #include <ieeefp.h>
70957 #endif
70960 main ()
70962 fabsl(0);
70964 return 0;
70966 _ACEOF
70967 if ac_fn_cxx_try_compile "$LINENO"; then :
70968 glibcxx_cv_func_fabsl_use=yes
70969 else
70970 glibcxx_cv_func_fabsl_use=no
70972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70973 ac_ext=c
70974 ac_cpp='$CPP $CPPFLAGS'
70975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70984 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70986 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70987 for ac_func in fabsl
70988 do :
70989 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70990 if test "x$ac_cv_func_fabsl" = xyes; then :
70991 cat >>confdefs.h <<_ACEOF
70992 #define HAVE_FABSL 1
70993 _ACEOF
70996 done
70998 else
71000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
71001 $as_echo_n "checking for _fabsl declaration... " >&6; }
71002 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
71003 if ${glibcxx_cv_func__fabsl_use+:} false; then :
71004 $as_echo_n "(cached) " >&6
71005 else
71008 ac_ext=cpp
71009 ac_cpp='$CXXCPP $CPPFLAGS'
71010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71015 /* end confdefs.h. */
71016 #include <math.h>
71017 #ifdef HAVE_IEEEFP_H
71018 #include <ieeefp.h>
71019 #endif
71022 main ()
71024 _fabsl(0);
71026 return 0;
71028 _ACEOF
71029 if ac_fn_cxx_try_compile "$LINENO"; then :
71030 glibcxx_cv_func__fabsl_use=yes
71031 else
71032 glibcxx_cv_func__fabsl_use=no
71034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71035 ac_ext=c
71036 ac_cpp='$CPP $CPPFLAGS'
71037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
71046 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
71048 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
71049 for ac_func in _fabsl
71050 do :
71051 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
71052 if test "x$ac_cv_func__fabsl" = xyes; then :
71053 cat >>confdefs.h <<_ACEOF
71054 #define HAVE__FABSL 1
71055 _ACEOF
71058 done
71067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
71068 $as_echo_n "checking for fmodl declaration... " >&6; }
71069 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
71070 if ${glibcxx_cv_func_fmodl_use+:} false; then :
71071 $as_echo_n "(cached) " >&6
71072 else
71075 ac_ext=cpp
71076 ac_cpp='$CXXCPP $CPPFLAGS'
71077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71082 /* end confdefs.h. */
71083 #include <math.h>
71085 main ()
71087 fmodl(0, 0);
71089 return 0;
71091 _ACEOF
71092 if ac_fn_cxx_try_compile "$LINENO"; then :
71093 glibcxx_cv_func_fmodl_use=yes
71094 else
71095 glibcxx_cv_func_fmodl_use=no
71097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71098 ac_ext=c
71099 ac_cpp='$CPP $CPPFLAGS'
71100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
71109 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
71111 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
71112 for ac_func in fmodl
71113 do :
71114 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
71115 if test "x$ac_cv_func_fmodl" = xyes; then :
71116 cat >>confdefs.h <<_ACEOF
71117 #define HAVE_FMODL 1
71118 _ACEOF
71121 done
71123 else
71125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
71126 $as_echo_n "checking for _fmodl declaration... " >&6; }
71127 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
71128 if ${glibcxx_cv_func__fmodl_use+:} false; then :
71129 $as_echo_n "(cached) " >&6
71130 else
71133 ac_ext=cpp
71134 ac_cpp='$CXXCPP $CPPFLAGS'
71135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71140 /* end confdefs.h. */
71141 #include <math.h>
71143 main ()
71145 _fmodl(0, 0);
71147 return 0;
71149 _ACEOF
71150 if ac_fn_cxx_try_compile "$LINENO"; then :
71151 glibcxx_cv_func__fmodl_use=yes
71152 else
71153 glibcxx_cv_func__fmodl_use=no
71155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71156 ac_ext=c
71157 ac_cpp='$CPP $CPPFLAGS'
71158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
71167 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
71169 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
71170 for ac_func in _fmodl
71171 do :
71172 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
71173 if test "x$ac_cv_func__fmodl" = xyes; then :
71174 cat >>confdefs.h <<_ACEOF
71175 #define HAVE__FMODL 1
71176 _ACEOF
71179 done
71188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
71189 $as_echo_n "checking for frexpl declaration... " >&6; }
71190 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
71191 if ${glibcxx_cv_func_frexpl_use+:} false; then :
71192 $as_echo_n "(cached) " >&6
71193 else
71196 ac_ext=cpp
71197 ac_cpp='$CXXCPP $CPPFLAGS'
71198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71203 /* end confdefs.h. */
71204 #include <math.h>
71206 main ()
71208 frexpl(0, 0);
71210 return 0;
71212 _ACEOF
71213 if ac_fn_cxx_try_compile "$LINENO"; then :
71214 glibcxx_cv_func_frexpl_use=yes
71215 else
71216 glibcxx_cv_func_frexpl_use=no
71218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71219 ac_ext=c
71220 ac_cpp='$CPP $CPPFLAGS'
71221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
71230 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
71232 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
71233 for ac_func in frexpl
71234 do :
71235 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71236 if test "x$ac_cv_func_frexpl" = xyes; then :
71237 cat >>confdefs.h <<_ACEOF
71238 #define HAVE_FREXPL 1
71239 _ACEOF
71242 done
71244 else
71246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71247 $as_echo_n "checking for _frexpl declaration... " >&6; }
71248 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71249 if ${glibcxx_cv_func__frexpl_use+:} false; then :
71250 $as_echo_n "(cached) " >&6
71251 else
71254 ac_ext=cpp
71255 ac_cpp='$CXXCPP $CPPFLAGS'
71256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71261 /* end confdefs.h. */
71262 #include <math.h>
71264 main ()
71266 _frexpl(0, 0);
71268 return 0;
71270 _ACEOF
71271 if ac_fn_cxx_try_compile "$LINENO"; then :
71272 glibcxx_cv_func__frexpl_use=yes
71273 else
71274 glibcxx_cv_func__frexpl_use=no
71276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71277 ac_ext=c
71278 ac_cpp='$CPP $CPPFLAGS'
71279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71288 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71290 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71291 for ac_func in _frexpl
71292 do :
71293 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71294 if test "x$ac_cv_func__frexpl" = xyes; then :
71295 cat >>confdefs.h <<_ACEOF
71296 #define HAVE__FREXPL 1
71297 _ACEOF
71300 done
71309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71310 $as_echo_n "checking for hypotl declaration... " >&6; }
71311 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71312 if ${glibcxx_cv_func_hypotl_use+:} false; then :
71313 $as_echo_n "(cached) " >&6
71314 else
71317 ac_ext=cpp
71318 ac_cpp='$CXXCPP $CPPFLAGS'
71319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71324 /* end confdefs.h. */
71325 #include <math.h>
71327 main ()
71329 hypotl(0, 0);
71331 return 0;
71333 _ACEOF
71334 if ac_fn_cxx_try_compile "$LINENO"; then :
71335 glibcxx_cv_func_hypotl_use=yes
71336 else
71337 glibcxx_cv_func_hypotl_use=no
71339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71340 ac_ext=c
71341 ac_cpp='$CPP $CPPFLAGS'
71342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71351 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71353 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71354 for ac_func in hypotl
71355 do :
71356 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71357 if test "x$ac_cv_func_hypotl" = xyes; then :
71358 cat >>confdefs.h <<_ACEOF
71359 #define HAVE_HYPOTL 1
71360 _ACEOF
71363 done
71365 else
71367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71368 $as_echo_n "checking for _hypotl declaration... " >&6; }
71369 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71370 if ${glibcxx_cv_func__hypotl_use+:} false; then :
71371 $as_echo_n "(cached) " >&6
71372 else
71375 ac_ext=cpp
71376 ac_cpp='$CXXCPP $CPPFLAGS'
71377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71382 /* end confdefs.h. */
71383 #include <math.h>
71385 main ()
71387 _hypotl(0, 0);
71389 return 0;
71391 _ACEOF
71392 if ac_fn_cxx_try_compile "$LINENO"; then :
71393 glibcxx_cv_func__hypotl_use=yes
71394 else
71395 glibcxx_cv_func__hypotl_use=no
71397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71398 ac_ext=c
71399 ac_cpp='$CPP $CPPFLAGS'
71400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71409 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71411 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71412 for ac_func in _hypotl
71413 do :
71414 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71415 if test "x$ac_cv_func__hypotl" = xyes; then :
71416 cat >>confdefs.h <<_ACEOF
71417 #define HAVE__HYPOTL 1
71418 _ACEOF
71421 done
71430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71431 $as_echo_n "checking for ldexpl declaration... " >&6; }
71432 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71433 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
71434 $as_echo_n "(cached) " >&6
71435 else
71438 ac_ext=cpp
71439 ac_cpp='$CXXCPP $CPPFLAGS'
71440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71445 /* end confdefs.h. */
71446 #include <math.h>
71448 main ()
71450 ldexpl(0, 0);
71452 return 0;
71454 _ACEOF
71455 if ac_fn_cxx_try_compile "$LINENO"; then :
71456 glibcxx_cv_func_ldexpl_use=yes
71457 else
71458 glibcxx_cv_func_ldexpl_use=no
71460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71461 ac_ext=c
71462 ac_cpp='$CPP $CPPFLAGS'
71463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71472 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71474 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71475 for ac_func in ldexpl
71476 do :
71477 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71478 if test "x$ac_cv_func_ldexpl" = xyes; then :
71479 cat >>confdefs.h <<_ACEOF
71480 #define HAVE_LDEXPL 1
71481 _ACEOF
71484 done
71486 else
71488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71489 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71490 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71491 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
71492 $as_echo_n "(cached) " >&6
71493 else
71496 ac_ext=cpp
71497 ac_cpp='$CXXCPP $CPPFLAGS'
71498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71503 /* end confdefs.h. */
71504 #include <math.h>
71506 main ()
71508 _ldexpl(0, 0);
71510 return 0;
71512 _ACEOF
71513 if ac_fn_cxx_try_compile "$LINENO"; then :
71514 glibcxx_cv_func__ldexpl_use=yes
71515 else
71516 glibcxx_cv_func__ldexpl_use=no
71518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71519 ac_ext=c
71520 ac_cpp='$CPP $CPPFLAGS'
71521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71530 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71532 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71533 for ac_func in _ldexpl
71534 do :
71535 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71536 if test "x$ac_cv_func__ldexpl" = xyes; then :
71537 cat >>confdefs.h <<_ACEOF
71538 #define HAVE__LDEXPL 1
71539 _ACEOF
71542 done
71551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71552 $as_echo_n "checking for logl declaration... " >&6; }
71553 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71554 if ${glibcxx_cv_func_logl_use+:} false; then :
71555 $as_echo_n "(cached) " >&6
71556 else
71559 ac_ext=cpp
71560 ac_cpp='$CXXCPP $CPPFLAGS'
71561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71566 /* end confdefs.h. */
71567 #include <math.h>
71568 #ifdef HAVE_IEEEFP_H
71569 #include <ieeefp.h>
71570 #endif
71573 main ()
71575 logl(0);
71577 return 0;
71579 _ACEOF
71580 if ac_fn_cxx_try_compile "$LINENO"; then :
71581 glibcxx_cv_func_logl_use=yes
71582 else
71583 glibcxx_cv_func_logl_use=no
71585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71586 ac_ext=c
71587 ac_cpp='$CPP $CPPFLAGS'
71588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71597 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71599 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71600 for ac_func in logl
71601 do :
71602 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71603 if test "x$ac_cv_func_logl" = xyes; then :
71604 cat >>confdefs.h <<_ACEOF
71605 #define HAVE_LOGL 1
71606 _ACEOF
71609 done
71611 else
71613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71614 $as_echo_n "checking for _logl declaration... " >&6; }
71615 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71616 if ${glibcxx_cv_func__logl_use+:} false; then :
71617 $as_echo_n "(cached) " >&6
71618 else
71621 ac_ext=cpp
71622 ac_cpp='$CXXCPP $CPPFLAGS'
71623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71628 /* end confdefs.h. */
71629 #include <math.h>
71630 #ifdef HAVE_IEEEFP_H
71631 #include <ieeefp.h>
71632 #endif
71635 main ()
71637 _logl(0);
71639 return 0;
71641 _ACEOF
71642 if ac_fn_cxx_try_compile "$LINENO"; then :
71643 glibcxx_cv_func__logl_use=yes
71644 else
71645 glibcxx_cv_func__logl_use=no
71647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71648 ac_ext=c
71649 ac_cpp='$CPP $CPPFLAGS'
71650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71659 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71661 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71662 for ac_func in _logl
71663 do :
71664 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71665 if test "x$ac_cv_func__logl" = xyes; then :
71666 cat >>confdefs.h <<_ACEOF
71667 #define HAVE__LOGL 1
71668 _ACEOF
71671 done
71680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71681 $as_echo_n "checking for log10l declaration... " >&6; }
71682 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71683 if ${glibcxx_cv_func_log10l_use+:} false; then :
71684 $as_echo_n "(cached) " >&6
71685 else
71688 ac_ext=cpp
71689 ac_cpp='$CXXCPP $CPPFLAGS'
71690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71695 /* end confdefs.h. */
71696 #include <math.h>
71697 #ifdef HAVE_IEEEFP_H
71698 #include <ieeefp.h>
71699 #endif
71702 main ()
71704 log10l(0);
71706 return 0;
71708 _ACEOF
71709 if ac_fn_cxx_try_compile "$LINENO"; then :
71710 glibcxx_cv_func_log10l_use=yes
71711 else
71712 glibcxx_cv_func_log10l_use=no
71714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71715 ac_ext=c
71716 ac_cpp='$CPP $CPPFLAGS'
71717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71726 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71728 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71729 for ac_func in log10l
71730 do :
71731 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71732 if test "x$ac_cv_func_log10l" = xyes; then :
71733 cat >>confdefs.h <<_ACEOF
71734 #define HAVE_LOG10L 1
71735 _ACEOF
71738 done
71740 else
71742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71743 $as_echo_n "checking for _log10l declaration... " >&6; }
71744 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71745 if ${glibcxx_cv_func__log10l_use+:} false; then :
71746 $as_echo_n "(cached) " >&6
71747 else
71750 ac_ext=cpp
71751 ac_cpp='$CXXCPP $CPPFLAGS'
71752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71757 /* end confdefs.h. */
71758 #include <math.h>
71759 #ifdef HAVE_IEEEFP_H
71760 #include <ieeefp.h>
71761 #endif
71764 main ()
71766 _log10l(0);
71768 return 0;
71770 _ACEOF
71771 if ac_fn_cxx_try_compile "$LINENO"; then :
71772 glibcxx_cv_func__log10l_use=yes
71773 else
71774 glibcxx_cv_func__log10l_use=no
71776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71777 ac_ext=c
71778 ac_cpp='$CPP $CPPFLAGS'
71779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71788 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71790 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71791 for ac_func in _log10l
71792 do :
71793 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71794 if test "x$ac_cv_func__log10l" = xyes; then :
71795 cat >>confdefs.h <<_ACEOF
71796 #define HAVE__LOG10L 1
71797 _ACEOF
71800 done
71809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71810 $as_echo_n "checking for modfl declaration... " >&6; }
71811 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71812 if ${glibcxx_cv_func_modfl_use+:} false; then :
71813 $as_echo_n "(cached) " >&6
71814 else
71817 ac_ext=cpp
71818 ac_cpp='$CXXCPP $CPPFLAGS'
71819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71824 /* end confdefs.h. */
71825 #include <math.h>
71827 main ()
71829 modfl(0, 0);
71831 return 0;
71833 _ACEOF
71834 if ac_fn_cxx_try_compile "$LINENO"; then :
71835 glibcxx_cv_func_modfl_use=yes
71836 else
71837 glibcxx_cv_func_modfl_use=no
71839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71840 ac_ext=c
71841 ac_cpp='$CPP $CPPFLAGS'
71842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71851 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71853 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71854 for ac_func in modfl
71855 do :
71856 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71857 if test "x$ac_cv_func_modfl" = xyes; then :
71858 cat >>confdefs.h <<_ACEOF
71859 #define HAVE_MODFL 1
71860 _ACEOF
71863 done
71865 else
71867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71868 $as_echo_n "checking for _modfl declaration... " >&6; }
71869 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71870 if ${glibcxx_cv_func__modfl_use+:} false; then :
71871 $as_echo_n "(cached) " >&6
71872 else
71875 ac_ext=cpp
71876 ac_cpp='$CXXCPP $CPPFLAGS'
71877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71882 /* end confdefs.h. */
71883 #include <math.h>
71885 main ()
71887 _modfl(0, 0);
71889 return 0;
71891 _ACEOF
71892 if ac_fn_cxx_try_compile "$LINENO"; then :
71893 glibcxx_cv_func__modfl_use=yes
71894 else
71895 glibcxx_cv_func__modfl_use=no
71897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71898 ac_ext=c
71899 ac_cpp='$CPP $CPPFLAGS'
71900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71909 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71911 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71912 for ac_func in _modfl
71913 do :
71914 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71915 if test "x$ac_cv_func__modfl" = xyes; then :
71916 cat >>confdefs.h <<_ACEOF
71917 #define HAVE__MODFL 1
71918 _ACEOF
71921 done
71930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71931 $as_echo_n "checking for powl declaration... " >&6; }
71932 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71933 if ${glibcxx_cv_func_powl_use+:} false; then :
71934 $as_echo_n "(cached) " >&6
71935 else
71938 ac_ext=cpp
71939 ac_cpp='$CXXCPP $CPPFLAGS'
71940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71945 /* end confdefs.h. */
71946 #include <math.h>
71948 main ()
71950 powl(0, 0);
71952 return 0;
71954 _ACEOF
71955 if ac_fn_cxx_try_compile "$LINENO"; then :
71956 glibcxx_cv_func_powl_use=yes
71957 else
71958 glibcxx_cv_func_powl_use=no
71960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71961 ac_ext=c
71962 ac_cpp='$CPP $CPPFLAGS'
71963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71972 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71974 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71975 for ac_func in powl
71976 do :
71977 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71978 if test "x$ac_cv_func_powl" = xyes; then :
71979 cat >>confdefs.h <<_ACEOF
71980 #define HAVE_POWL 1
71981 _ACEOF
71984 done
71986 else
71988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71989 $as_echo_n "checking for _powl declaration... " >&6; }
71990 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71991 if ${glibcxx_cv_func__powl_use+:} false; then :
71992 $as_echo_n "(cached) " >&6
71993 else
71996 ac_ext=cpp
71997 ac_cpp='$CXXCPP $CPPFLAGS'
71998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72003 /* end confdefs.h. */
72004 #include <math.h>
72006 main ()
72008 _powl(0, 0);
72010 return 0;
72012 _ACEOF
72013 if ac_fn_cxx_try_compile "$LINENO"; then :
72014 glibcxx_cv_func__powl_use=yes
72015 else
72016 glibcxx_cv_func__powl_use=no
72018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72019 ac_ext=c
72020 ac_cpp='$CPP $CPPFLAGS'
72021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
72030 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
72032 if test x$glibcxx_cv_func__powl_use = x"yes"; then
72033 for ac_func in _powl
72034 do :
72035 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
72036 if test "x$ac_cv_func__powl" = xyes; then :
72037 cat >>confdefs.h <<_ACEOF
72038 #define HAVE__POWL 1
72039 _ACEOF
72042 done
72051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
72052 $as_echo_n "checking for sqrtl declaration... " >&6; }
72053 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
72054 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
72055 $as_echo_n "(cached) " >&6
72056 else
72059 ac_ext=cpp
72060 ac_cpp='$CXXCPP $CPPFLAGS'
72061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72066 /* end confdefs.h. */
72067 #include <math.h>
72068 #ifdef HAVE_IEEEFP_H
72069 #include <ieeefp.h>
72070 #endif
72073 main ()
72075 sqrtl(0);
72077 return 0;
72079 _ACEOF
72080 if ac_fn_cxx_try_compile "$LINENO"; then :
72081 glibcxx_cv_func_sqrtl_use=yes
72082 else
72083 glibcxx_cv_func_sqrtl_use=no
72085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72086 ac_ext=c
72087 ac_cpp='$CPP $CPPFLAGS'
72088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
72097 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
72099 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
72100 for ac_func in sqrtl
72101 do :
72102 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
72103 if test "x$ac_cv_func_sqrtl" = xyes; then :
72104 cat >>confdefs.h <<_ACEOF
72105 #define HAVE_SQRTL 1
72106 _ACEOF
72109 done
72111 else
72113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
72114 $as_echo_n "checking for _sqrtl declaration... " >&6; }
72115 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
72116 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
72117 $as_echo_n "(cached) " >&6
72118 else
72121 ac_ext=cpp
72122 ac_cpp='$CXXCPP $CPPFLAGS'
72123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72128 /* end confdefs.h. */
72129 #include <math.h>
72130 #ifdef HAVE_IEEEFP_H
72131 #include <ieeefp.h>
72132 #endif
72135 main ()
72137 _sqrtl(0);
72139 return 0;
72141 _ACEOF
72142 if ac_fn_cxx_try_compile "$LINENO"; then :
72143 glibcxx_cv_func__sqrtl_use=yes
72144 else
72145 glibcxx_cv_func__sqrtl_use=no
72147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72148 ac_ext=c
72149 ac_cpp='$CPP $CPPFLAGS'
72150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
72159 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
72161 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
72162 for ac_func in _sqrtl
72163 do :
72164 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
72165 if test "x$ac_cv_func__sqrtl" = xyes; then :
72166 cat >>confdefs.h <<_ACEOF
72167 #define HAVE__SQRTL 1
72168 _ACEOF
72171 done
72180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
72181 $as_echo_n "checking for sincosl declaration... " >&6; }
72182 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
72183 if ${glibcxx_cv_func_sincosl_use+:} false; then :
72184 $as_echo_n "(cached) " >&6
72185 else
72188 ac_ext=cpp
72189 ac_cpp='$CXXCPP $CPPFLAGS'
72190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72195 /* end confdefs.h. */
72196 #include <math.h>
72198 main ()
72200 sincosl(0, 0, 0);
72202 return 0;
72204 _ACEOF
72205 if ac_fn_cxx_try_compile "$LINENO"; then :
72206 glibcxx_cv_func_sincosl_use=yes
72207 else
72208 glibcxx_cv_func_sincosl_use=no
72210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72211 ac_ext=c
72212 ac_cpp='$CPP $CPPFLAGS'
72213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
72222 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
72224 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
72225 for ac_func in sincosl
72226 do :
72227 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
72228 if test "x$ac_cv_func_sincosl" = xyes; then :
72229 cat >>confdefs.h <<_ACEOF
72230 #define HAVE_SINCOSL 1
72231 _ACEOF
72234 done
72236 else
72238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72239 $as_echo_n "checking for _sincosl declaration... " >&6; }
72240 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72241 if ${glibcxx_cv_func__sincosl_use+:} false; then :
72242 $as_echo_n "(cached) " >&6
72243 else
72246 ac_ext=cpp
72247 ac_cpp='$CXXCPP $CPPFLAGS'
72248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72253 /* end confdefs.h. */
72254 #include <math.h>
72256 main ()
72258 _sincosl(0, 0, 0);
72260 return 0;
72262 _ACEOF
72263 if ac_fn_cxx_try_compile "$LINENO"; then :
72264 glibcxx_cv_func__sincosl_use=yes
72265 else
72266 glibcxx_cv_func__sincosl_use=no
72268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72269 ac_ext=c
72270 ac_cpp='$CPP $CPPFLAGS'
72271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72280 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72282 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72283 for ac_func in _sincosl
72284 do :
72285 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72286 if test "x$ac_cv_func__sincosl" = xyes; then :
72287 cat >>confdefs.h <<_ACEOF
72288 #define HAVE__SINCOSL 1
72289 _ACEOF
72292 done
72301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72302 $as_echo_n "checking for finitel declaration... " >&6; }
72303 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72304 if ${glibcxx_cv_func_finitel_use+:} false; then :
72305 $as_echo_n "(cached) " >&6
72306 else
72309 ac_ext=cpp
72310 ac_cpp='$CXXCPP $CPPFLAGS'
72311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72316 /* end confdefs.h. */
72317 #include <math.h>
72318 #ifdef HAVE_IEEEFP_H
72319 #include <ieeefp.h>
72320 #endif
72323 main ()
72325 finitel(0);
72327 return 0;
72329 _ACEOF
72330 if ac_fn_cxx_try_compile "$LINENO"; then :
72331 glibcxx_cv_func_finitel_use=yes
72332 else
72333 glibcxx_cv_func_finitel_use=no
72335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72336 ac_ext=c
72337 ac_cpp='$CPP $CPPFLAGS'
72338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72347 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72349 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72350 for ac_func in finitel
72351 do :
72352 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72353 if test "x$ac_cv_func_finitel" = xyes; then :
72354 cat >>confdefs.h <<_ACEOF
72355 #define HAVE_FINITEL 1
72356 _ACEOF
72359 done
72361 else
72363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72364 $as_echo_n "checking for _finitel declaration... " >&6; }
72365 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72366 if ${glibcxx_cv_func__finitel_use+:} false; then :
72367 $as_echo_n "(cached) " >&6
72368 else
72371 ac_ext=cpp
72372 ac_cpp='$CXXCPP $CPPFLAGS'
72373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72378 /* end confdefs.h. */
72379 #include <math.h>
72380 #ifdef HAVE_IEEEFP_H
72381 #include <ieeefp.h>
72382 #endif
72385 main ()
72387 _finitel(0);
72389 return 0;
72391 _ACEOF
72392 if ac_fn_cxx_try_compile "$LINENO"; then :
72393 glibcxx_cv_func__finitel_use=yes
72394 else
72395 glibcxx_cv_func__finitel_use=no
72397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72398 ac_ext=c
72399 ac_cpp='$CPP $CPPFLAGS'
72400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72409 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72411 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72412 for ac_func in _finitel
72413 do :
72414 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72415 if test "x$ac_cv_func__finitel" = xyes; then :
72416 cat >>confdefs.h <<_ACEOF
72417 #define HAVE__FINITEL 1
72418 _ACEOF
72421 done
72429 LIBS="$ac_save_LIBS"
72430 CXXFLAGS="$ac_save_CXXFLAGS"
72433 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72434 ac_save_CXXFLAGS="$CXXFLAGS"
72435 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72439 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72440 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72441 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
72442 $as_echo_n "(cached) " >&6
72443 else
72446 ac_ext=cpp
72447 ac_cpp='$CXXCPP $CPPFLAGS'
72448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72453 /* end confdefs.h. */
72454 #include <stdlib.h>
72456 main ()
72458 at_quick_exit(0);
72460 return 0;
72462 _ACEOF
72463 if ac_fn_cxx_try_compile "$LINENO"; then :
72464 glibcxx_cv_func_at_quick_exit_use=yes
72465 else
72466 glibcxx_cv_func_at_quick_exit_use=no
72468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72469 ac_ext=c
72470 ac_cpp='$CPP $CPPFLAGS'
72471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72480 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72481 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72482 for ac_func in at_quick_exit
72483 do :
72484 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72485 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
72486 cat >>confdefs.h <<_ACEOF
72487 #define HAVE_AT_QUICK_EXIT 1
72488 _ACEOF
72491 done
72496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72497 $as_echo_n "checking for quick_exit declaration... " >&6; }
72498 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72499 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
72500 $as_echo_n "(cached) " >&6
72501 else
72504 ac_ext=cpp
72505 ac_cpp='$CXXCPP $CPPFLAGS'
72506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72511 /* end confdefs.h. */
72512 #include <stdlib.h>
72514 main ()
72516 quick_exit(0);
72518 return 0;
72520 _ACEOF
72521 if ac_fn_cxx_try_compile "$LINENO"; then :
72522 glibcxx_cv_func_quick_exit_use=yes
72523 else
72524 glibcxx_cv_func_quick_exit_use=no
72526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72527 ac_ext=c
72528 ac_cpp='$CPP $CPPFLAGS'
72529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72538 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72539 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72540 for ac_func in quick_exit
72541 do :
72542 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72543 if test "x$ac_cv_func_quick_exit" = xyes; then :
72544 cat >>confdefs.h <<_ACEOF
72545 #define HAVE_QUICK_EXIT 1
72546 _ACEOF
72549 done
72554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72555 $as_echo_n "checking for strtold declaration... " >&6; }
72556 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72557 if ${glibcxx_cv_func_strtold_use+:} false; then :
72558 $as_echo_n "(cached) " >&6
72559 else
72562 ac_ext=cpp
72563 ac_cpp='$CXXCPP $CPPFLAGS'
72564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72569 /* end confdefs.h. */
72570 #include <stdlib.h>
72572 main ()
72574 strtold(0, 0);
72576 return 0;
72578 _ACEOF
72579 if ac_fn_cxx_try_compile "$LINENO"; then :
72580 glibcxx_cv_func_strtold_use=yes
72581 else
72582 glibcxx_cv_func_strtold_use=no
72584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72585 ac_ext=c
72586 ac_cpp='$CPP $CPPFLAGS'
72587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72596 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72597 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72598 for ac_func in strtold
72599 do :
72600 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72601 if test "x$ac_cv_func_strtold" = xyes; then :
72602 cat >>confdefs.h <<_ACEOF
72603 #define HAVE_STRTOLD 1
72604 _ACEOF
72607 done
72614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72615 $as_echo_n "checking for strtof declaration... " >&6; }
72616 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72617 if ${glibcxx_cv_func_strtof_use+:} false; then :
72618 $as_echo_n "(cached) " >&6
72619 else
72622 ac_ext=cpp
72623 ac_cpp='$CXXCPP $CPPFLAGS'
72624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72629 /* end confdefs.h. */
72630 #include <stdlib.h>
72632 main ()
72634 strtof(0, 0);
72636 return 0;
72638 _ACEOF
72639 if ac_fn_cxx_try_compile "$LINENO"; then :
72640 glibcxx_cv_func_strtof_use=yes
72641 else
72642 glibcxx_cv_func_strtof_use=no
72644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72645 ac_ext=c
72646 ac_cpp='$CPP $CPPFLAGS'
72647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72656 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72657 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72658 for ac_func in strtof
72659 do :
72660 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72661 if test "x$ac_cv_func_strtof" = xyes; then :
72662 cat >>confdefs.h <<_ACEOF
72663 #define HAVE_STRTOF 1
72664 _ACEOF
72667 done
72674 CXXFLAGS="$ac_save_CXXFLAGS"
72677 *-tpf)
72678 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72679 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72681 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72683 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72685 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72687 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72689 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72691 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72693 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72695 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72697 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72699 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72701 if test x"long_double_math_on_this_cpu" = x"yes"; then
72702 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72704 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72706 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72708 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72712 *-*vms*)
72713 # Check for available headers.
72714 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72716 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72717 ac_save_CXXFLAGS="$CXXFLAGS"
72718 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72721 $as_echo_n "checking for sin in -lm... " >&6; }
72722 if ${ac_cv_lib_m_sin+:} false; then :
72723 $as_echo_n "(cached) " >&6
72724 else
72725 ac_check_lib_save_LIBS=$LIBS
72726 LIBS="-lm $LIBS"
72727 if test x$gcc_no_link = xyes; then
72728 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72731 /* end confdefs.h. */
72733 /* Override any GCC internal prototype to avoid an error.
72734 Use char because int might match the return type of a GCC
72735 builtin and then its argument prototype would still apply. */
72736 #ifdef __cplusplus
72737 extern "C"
72738 #endif
72739 char sin ();
72741 main ()
72743 return sin ();
72745 return 0;
72747 _ACEOF
72748 if ac_fn_c_try_link "$LINENO"; then :
72749 ac_cv_lib_m_sin=yes
72750 else
72751 ac_cv_lib_m_sin=no
72753 rm -f core conftest.err conftest.$ac_objext \
72754 conftest$ac_exeext conftest.$ac_ext
72755 LIBS=$ac_check_lib_save_LIBS
72757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72758 $as_echo "$ac_cv_lib_m_sin" >&6; }
72759 if test "x$ac_cv_lib_m_sin" = xyes; then :
72760 libm="-lm"
72763 ac_save_LIBS="$LIBS"
72764 LIBS="$LIBS $libm"
72768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72769 $as_echo_n "checking for isinf declaration... " >&6; }
72770 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72771 if ${glibcxx_cv_func_isinf_use+:} false; then :
72772 $as_echo_n "(cached) " >&6
72773 else
72776 ac_ext=cpp
72777 ac_cpp='$CXXCPP $CPPFLAGS'
72778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72783 /* end confdefs.h. */
72784 #include <math.h>
72785 #ifdef HAVE_IEEEFP_H
72786 #include <ieeefp.h>
72787 #endif
72790 main ()
72792 isinf(0);
72794 return 0;
72796 _ACEOF
72797 if ac_fn_cxx_try_compile "$LINENO"; then :
72798 glibcxx_cv_func_isinf_use=yes
72799 else
72800 glibcxx_cv_func_isinf_use=no
72802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72803 ac_ext=c
72804 ac_cpp='$CPP $CPPFLAGS'
72805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72814 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72816 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72817 for ac_func in isinf
72818 do :
72819 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72820 if test "x$ac_cv_func_isinf" = xyes; then :
72821 cat >>confdefs.h <<_ACEOF
72822 #define HAVE_ISINF 1
72823 _ACEOF
72826 done
72828 else
72830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72831 $as_echo_n "checking for _isinf declaration... " >&6; }
72832 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72833 if ${glibcxx_cv_func__isinf_use+:} false; then :
72834 $as_echo_n "(cached) " >&6
72835 else
72838 ac_ext=cpp
72839 ac_cpp='$CXXCPP $CPPFLAGS'
72840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72845 /* end confdefs.h. */
72846 #include <math.h>
72847 #ifdef HAVE_IEEEFP_H
72848 #include <ieeefp.h>
72849 #endif
72852 main ()
72854 _isinf(0);
72856 return 0;
72858 _ACEOF
72859 if ac_fn_cxx_try_compile "$LINENO"; then :
72860 glibcxx_cv_func__isinf_use=yes
72861 else
72862 glibcxx_cv_func__isinf_use=no
72864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72865 ac_ext=c
72866 ac_cpp='$CPP $CPPFLAGS'
72867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72876 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72878 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72879 for ac_func in _isinf
72880 do :
72881 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72882 if test "x$ac_cv_func__isinf" = xyes; then :
72883 cat >>confdefs.h <<_ACEOF
72884 #define HAVE__ISINF 1
72885 _ACEOF
72888 done
72897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72898 $as_echo_n "checking for isnan declaration... " >&6; }
72899 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72900 if ${glibcxx_cv_func_isnan_use+:} false; then :
72901 $as_echo_n "(cached) " >&6
72902 else
72905 ac_ext=cpp
72906 ac_cpp='$CXXCPP $CPPFLAGS'
72907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72912 /* end confdefs.h. */
72913 #include <math.h>
72914 #ifdef HAVE_IEEEFP_H
72915 #include <ieeefp.h>
72916 #endif
72919 main ()
72921 isnan(0);
72923 return 0;
72925 _ACEOF
72926 if ac_fn_cxx_try_compile "$LINENO"; then :
72927 glibcxx_cv_func_isnan_use=yes
72928 else
72929 glibcxx_cv_func_isnan_use=no
72931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72932 ac_ext=c
72933 ac_cpp='$CPP $CPPFLAGS'
72934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72943 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72945 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72946 for ac_func in isnan
72947 do :
72948 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72949 if test "x$ac_cv_func_isnan" = xyes; then :
72950 cat >>confdefs.h <<_ACEOF
72951 #define HAVE_ISNAN 1
72952 _ACEOF
72955 done
72957 else
72959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72960 $as_echo_n "checking for _isnan declaration... " >&6; }
72961 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72962 if ${glibcxx_cv_func__isnan_use+:} false; then :
72963 $as_echo_n "(cached) " >&6
72964 else
72967 ac_ext=cpp
72968 ac_cpp='$CXXCPP $CPPFLAGS'
72969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72974 /* end confdefs.h. */
72975 #include <math.h>
72976 #ifdef HAVE_IEEEFP_H
72977 #include <ieeefp.h>
72978 #endif
72981 main ()
72983 _isnan(0);
72985 return 0;
72987 _ACEOF
72988 if ac_fn_cxx_try_compile "$LINENO"; then :
72989 glibcxx_cv_func__isnan_use=yes
72990 else
72991 glibcxx_cv_func__isnan_use=no
72993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72994 ac_ext=c
72995 ac_cpp='$CPP $CPPFLAGS'
72996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
73005 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
73007 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
73008 for ac_func in _isnan
73009 do :
73010 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
73011 if test "x$ac_cv_func__isnan" = xyes; then :
73012 cat >>confdefs.h <<_ACEOF
73013 #define HAVE__ISNAN 1
73014 _ACEOF
73017 done
73026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
73027 $as_echo_n "checking for finite declaration... " >&6; }
73028 if test x${glibcxx_cv_func_finite_use+set} != xset; then
73029 if ${glibcxx_cv_func_finite_use+:} false; then :
73030 $as_echo_n "(cached) " >&6
73031 else
73034 ac_ext=cpp
73035 ac_cpp='$CXXCPP $CPPFLAGS'
73036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73041 /* end confdefs.h. */
73042 #include <math.h>
73043 #ifdef HAVE_IEEEFP_H
73044 #include <ieeefp.h>
73045 #endif
73048 main ()
73050 finite(0);
73052 return 0;
73054 _ACEOF
73055 if ac_fn_cxx_try_compile "$LINENO"; then :
73056 glibcxx_cv_func_finite_use=yes
73057 else
73058 glibcxx_cv_func_finite_use=no
73060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73061 ac_ext=c
73062 ac_cpp='$CPP $CPPFLAGS'
73063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
73072 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
73074 if test x$glibcxx_cv_func_finite_use = x"yes"; then
73075 for ac_func in finite
73076 do :
73077 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
73078 if test "x$ac_cv_func_finite" = xyes; then :
73079 cat >>confdefs.h <<_ACEOF
73080 #define HAVE_FINITE 1
73081 _ACEOF
73084 done
73086 else
73088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
73089 $as_echo_n "checking for _finite declaration... " >&6; }
73090 if test x${glibcxx_cv_func__finite_use+set} != xset; then
73091 if ${glibcxx_cv_func__finite_use+:} false; then :
73092 $as_echo_n "(cached) " >&6
73093 else
73096 ac_ext=cpp
73097 ac_cpp='$CXXCPP $CPPFLAGS'
73098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73103 /* end confdefs.h. */
73104 #include <math.h>
73105 #ifdef HAVE_IEEEFP_H
73106 #include <ieeefp.h>
73107 #endif
73110 main ()
73112 _finite(0);
73114 return 0;
73116 _ACEOF
73117 if ac_fn_cxx_try_compile "$LINENO"; then :
73118 glibcxx_cv_func__finite_use=yes
73119 else
73120 glibcxx_cv_func__finite_use=no
73122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73123 ac_ext=c
73124 ac_cpp='$CPP $CPPFLAGS'
73125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
73134 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
73136 if test x$glibcxx_cv_func__finite_use = x"yes"; then
73137 for ac_func in _finite
73138 do :
73139 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
73140 if test "x$ac_cv_func__finite" = xyes; then :
73141 cat >>confdefs.h <<_ACEOF
73142 #define HAVE__FINITE 1
73143 _ACEOF
73146 done
73155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
73156 $as_echo_n "checking for sincos declaration... " >&6; }
73157 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
73158 if ${glibcxx_cv_func_sincos_use+:} false; then :
73159 $as_echo_n "(cached) " >&6
73160 else
73163 ac_ext=cpp
73164 ac_cpp='$CXXCPP $CPPFLAGS'
73165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73170 /* end confdefs.h. */
73171 #include <math.h>
73173 main ()
73175 sincos(0, 0, 0);
73177 return 0;
73179 _ACEOF
73180 if ac_fn_cxx_try_compile "$LINENO"; then :
73181 glibcxx_cv_func_sincos_use=yes
73182 else
73183 glibcxx_cv_func_sincos_use=no
73185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73186 ac_ext=c
73187 ac_cpp='$CPP $CPPFLAGS'
73188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
73197 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
73199 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
73200 for ac_func in sincos
73201 do :
73202 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
73203 if test "x$ac_cv_func_sincos" = xyes; then :
73204 cat >>confdefs.h <<_ACEOF
73205 #define HAVE_SINCOS 1
73206 _ACEOF
73209 done
73211 else
73213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
73214 $as_echo_n "checking for _sincos declaration... " >&6; }
73215 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
73216 if ${glibcxx_cv_func__sincos_use+:} false; then :
73217 $as_echo_n "(cached) " >&6
73218 else
73221 ac_ext=cpp
73222 ac_cpp='$CXXCPP $CPPFLAGS'
73223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73228 /* end confdefs.h. */
73229 #include <math.h>
73231 main ()
73233 _sincos(0, 0, 0);
73235 return 0;
73237 _ACEOF
73238 if ac_fn_cxx_try_compile "$LINENO"; then :
73239 glibcxx_cv_func__sincos_use=yes
73240 else
73241 glibcxx_cv_func__sincos_use=no
73243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73244 ac_ext=c
73245 ac_cpp='$CPP $CPPFLAGS'
73246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
73255 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
73257 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
73258 for ac_func in _sincos
73259 do :
73260 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
73261 if test "x$ac_cv_func__sincos" = xyes; then :
73262 cat >>confdefs.h <<_ACEOF
73263 #define HAVE__SINCOS 1
73264 _ACEOF
73267 done
73276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
73277 $as_echo_n "checking for fpclass declaration... " >&6; }
73278 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
73279 if ${glibcxx_cv_func_fpclass_use+:} false; then :
73280 $as_echo_n "(cached) " >&6
73281 else
73284 ac_ext=cpp
73285 ac_cpp='$CXXCPP $CPPFLAGS'
73286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73291 /* end confdefs.h. */
73292 #include <math.h>
73293 #ifdef HAVE_IEEEFP_H
73294 #include <ieeefp.h>
73295 #endif
73298 main ()
73300 fpclass(0);
73302 return 0;
73304 _ACEOF
73305 if ac_fn_cxx_try_compile "$LINENO"; then :
73306 glibcxx_cv_func_fpclass_use=yes
73307 else
73308 glibcxx_cv_func_fpclass_use=no
73310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73311 ac_ext=c
73312 ac_cpp='$CPP $CPPFLAGS'
73313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
73322 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73324 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73325 for ac_func in fpclass
73326 do :
73327 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73328 if test "x$ac_cv_func_fpclass" = xyes; then :
73329 cat >>confdefs.h <<_ACEOF
73330 #define HAVE_FPCLASS 1
73331 _ACEOF
73334 done
73336 else
73338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73339 $as_echo_n "checking for _fpclass declaration... " >&6; }
73340 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73341 if ${glibcxx_cv_func__fpclass_use+:} false; then :
73342 $as_echo_n "(cached) " >&6
73343 else
73346 ac_ext=cpp
73347 ac_cpp='$CXXCPP $CPPFLAGS'
73348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73353 /* end confdefs.h. */
73354 #include <math.h>
73355 #ifdef HAVE_IEEEFP_H
73356 #include <ieeefp.h>
73357 #endif
73360 main ()
73362 _fpclass(0);
73364 return 0;
73366 _ACEOF
73367 if ac_fn_cxx_try_compile "$LINENO"; then :
73368 glibcxx_cv_func__fpclass_use=yes
73369 else
73370 glibcxx_cv_func__fpclass_use=no
73372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73373 ac_ext=c
73374 ac_cpp='$CPP $CPPFLAGS'
73375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73384 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73386 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73387 for ac_func in _fpclass
73388 do :
73389 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73390 if test "x$ac_cv_func__fpclass" = xyes; then :
73391 cat >>confdefs.h <<_ACEOF
73392 #define HAVE__FPCLASS 1
73393 _ACEOF
73396 done
73405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73406 $as_echo_n "checking for qfpclass declaration... " >&6; }
73407 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73408 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
73409 $as_echo_n "(cached) " >&6
73410 else
73413 ac_ext=cpp
73414 ac_cpp='$CXXCPP $CPPFLAGS'
73415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73420 /* end confdefs.h. */
73421 #include <math.h>
73422 #ifdef HAVE_IEEEFP_H
73423 #include <ieeefp.h>
73424 #endif
73427 main ()
73429 qfpclass(0);
73431 return 0;
73433 _ACEOF
73434 if ac_fn_cxx_try_compile "$LINENO"; then :
73435 glibcxx_cv_func_qfpclass_use=yes
73436 else
73437 glibcxx_cv_func_qfpclass_use=no
73439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73440 ac_ext=c
73441 ac_cpp='$CPP $CPPFLAGS'
73442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73451 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73453 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73454 for ac_func in qfpclass
73455 do :
73456 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73457 if test "x$ac_cv_func_qfpclass" = xyes; then :
73458 cat >>confdefs.h <<_ACEOF
73459 #define HAVE_QFPCLASS 1
73460 _ACEOF
73463 done
73465 else
73467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73468 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73469 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73470 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
73471 $as_echo_n "(cached) " >&6
73472 else
73475 ac_ext=cpp
73476 ac_cpp='$CXXCPP $CPPFLAGS'
73477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73482 /* end confdefs.h. */
73483 #include <math.h>
73484 #ifdef HAVE_IEEEFP_H
73485 #include <ieeefp.h>
73486 #endif
73489 main ()
73491 _qfpclass(0);
73493 return 0;
73495 _ACEOF
73496 if ac_fn_cxx_try_compile "$LINENO"; then :
73497 glibcxx_cv_func__qfpclass_use=yes
73498 else
73499 glibcxx_cv_func__qfpclass_use=no
73501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73502 ac_ext=c
73503 ac_cpp='$CPP $CPPFLAGS'
73504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73513 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73515 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73516 for ac_func in _qfpclass
73517 do :
73518 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73519 if test "x$ac_cv_func__qfpclass" = xyes; then :
73520 cat >>confdefs.h <<_ACEOF
73521 #define HAVE__QFPCLASS 1
73522 _ACEOF
73525 done
73534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73535 $as_echo_n "checking for hypot declaration... " >&6; }
73536 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73537 if ${glibcxx_cv_func_hypot_use+:} false; then :
73538 $as_echo_n "(cached) " >&6
73539 else
73542 ac_ext=cpp
73543 ac_cpp='$CXXCPP $CPPFLAGS'
73544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73549 /* end confdefs.h. */
73550 #include <math.h>
73552 main ()
73554 hypot(0, 0);
73556 return 0;
73558 _ACEOF
73559 if ac_fn_cxx_try_compile "$LINENO"; then :
73560 glibcxx_cv_func_hypot_use=yes
73561 else
73562 glibcxx_cv_func_hypot_use=no
73564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73565 ac_ext=c
73566 ac_cpp='$CPP $CPPFLAGS'
73567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73576 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73578 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73579 for ac_func in hypot
73580 do :
73581 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73582 if test "x$ac_cv_func_hypot" = xyes; then :
73583 cat >>confdefs.h <<_ACEOF
73584 #define HAVE_HYPOT 1
73585 _ACEOF
73588 done
73590 else
73592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73593 $as_echo_n "checking for _hypot declaration... " >&6; }
73594 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73595 if ${glibcxx_cv_func__hypot_use+:} false; then :
73596 $as_echo_n "(cached) " >&6
73597 else
73600 ac_ext=cpp
73601 ac_cpp='$CXXCPP $CPPFLAGS'
73602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73607 /* end confdefs.h. */
73608 #include <math.h>
73610 main ()
73612 _hypot(0, 0);
73614 return 0;
73616 _ACEOF
73617 if ac_fn_cxx_try_compile "$LINENO"; then :
73618 glibcxx_cv_func__hypot_use=yes
73619 else
73620 glibcxx_cv_func__hypot_use=no
73622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73623 ac_ext=c
73624 ac_cpp='$CPP $CPPFLAGS'
73625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73634 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73636 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73637 for ac_func in _hypot
73638 do :
73639 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73640 if test "x$ac_cv_func__hypot" = xyes; then :
73641 cat >>confdefs.h <<_ACEOF
73642 #define HAVE__HYPOT 1
73643 _ACEOF
73646 done
73655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73656 $as_echo_n "checking for float trig functions... " >&6; }
73657 if ${glibcxx_cv_func_float_trig_use+:} false; then :
73658 $as_echo_n "(cached) " >&6
73659 else
73662 ac_ext=cpp
73663 ac_cpp='$CXXCPP $CPPFLAGS'
73664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73669 /* end confdefs.h. */
73670 #include <math.h>
73672 main ()
73674 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73676 return 0;
73678 _ACEOF
73679 if ac_fn_cxx_try_compile "$LINENO"; then :
73680 glibcxx_cv_func_float_trig_use=yes
73681 else
73682 glibcxx_cv_func_float_trig_use=no
73684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73685 ac_ext=c
73686 ac_cpp='$CPP $CPPFLAGS'
73687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73694 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73695 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73696 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73697 do :
73698 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73699 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73700 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
73701 cat >>confdefs.h <<_ACEOF
73702 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73703 _ACEOF
73706 done
73708 else
73709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73710 $as_echo_n "checking for _float trig functions... " >&6; }
73711 if ${glibcxx_cv_func__float_trig_use+:} false; then :
73712 $as_echo_n "(cached) " >&6
73713 else
73716 ac_ext=cpp
73717 ac_cpp='$CXXCPP $CPPFLAGS'
73718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73723 /* end confdefs.h. */
73724 #include <math.h>
73726 main ()
73728 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73730 return 0;
73732 _ACEOF
73733 if ac_fn_cxx_try_compile "$LINENO"; then :
73734 glibcxx_cv_func__float_trig_use=yes
73735 else
73736 glibcxx_cv_func__float_trig_use=no
73738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73739 ac_ext=c
73740 ac_cpp='$CPP $CPPFLAGS'
73741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73748 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73749 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73750 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73751 do :
73752 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73753 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73754 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
73755 cat >>confdefs.h <<_ACEOF
73756 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73757 _ACEOF
73760 done
73769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73770 $as_echo_n "checking for float round functions... " >&6; }
73771 if ${glibcxx_cv_func_float_round_use+:} false; then :
73772 $as_echo_n "(cached) " >&6
73773 else
73776 ac_ext=cpp
73777 ac_cpp='$CXXCPP $CPPFLAGS'
73778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73783 /* end confdefs.h. */
73784 #include <math.h>
73786 main ()
73788 ceilf (0); floorf (0);
73790 return 0;
73792 _ACEOF
73793 if ac_fn_cxx_try_compile "$LINENO"; then :
73794 glibcxx_cv_func_float_round_use=yes
73795 else
73796 glibcxx_cv_func_float_round_use=no
73798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73799 ac_ext=c
73800 ac_cpp='$CPP $CPPFLAGS'
73801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73808 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73809 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73810 for ac_func in ceilf floorf
73811 do :
73812 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73813 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73814 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
73815 cat >>confdefs.h <<_ACEOF
73816 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73817 _ACEOF
73820 done
73822 else
73823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73824 $as_echo_n "checking for _float round functions... " >&6; }
73825 if ${glibcxx_cv_func__float_round_use+:} false; then :
73826 $as_echo_n "(cached) " >&6
73827 else
73830 ac_ext=cpp
73831 ac_cpp='$CXXCPP $CPPFLAGS'
73832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73837 /* end confdefs.h. */
73838 #include <math.h>
73840 main ()
73842 _ceilf (0); _floorf (0);
73844 return 0;
73846 _ACEOF
73847 if ac_fn_cxx_try_compile "$LINENO"; then :
73848 glibcxx_cv_func__float_round_use=yes
73849 else
73850 glibcxx_cv_func__float_round_use=no
73852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73853 ac_ext=c
73854 ac_cpp='$CPP $CPPFLAGS'
73855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73862 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73863 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73864 for ac_func in _ceilf _floorf
73865 do :
73866 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73867 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73868 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
73869 cat >>confdefs.h <<_ACEOF
73870 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73871 _ACEOF
73874 done
73884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73885 $as_echo_n "checking for expf declaration... " >&6; }
73886 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73887 if ${glibcxx_cv_func_expf_use+:} false; then :
73888 $as_echo_n "(cached) " >&6
73889 else
73892 ac_ext=cpp
73893 ac_cpp='$CXXCPP $CPPFLAGS'
73894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73899 /* end confdefs.h. */
73900 #include <math.h>
73901 #ifdef HAVE_IEEEFP_H
73902 #include <ieeefp.h>
73903 #endif
73906 main ()
73908 expf(0);
73910 return 0;
73912 _ACEOF
73913 if ac_fn_cxx_try_compile "$LINENO"; then :
73914 glibcxx_cv_func_expf_use=yes
73915 else
73916 glibcxx_cv_func_expf_use=no
73918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73919 ac_ext=c
73920 ac_cpp='$CPP $CPPFLAGS'
73921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73930 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73932 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73933 for ac_func in expf
73934 do :
73935 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73936 if test "x$ac_cv_func_expf" = xyes; then :
73937 cat >>confdefs.h <<_ACEOF
73938 #define HAVE_EXPF 1
73939 _ACEOF
73942 done
73944 else
73946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73947 $as_echo_n "checking for _expf declaration... " >&6; }
73948 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73949 if ${glibcxx_cv_func__expf_use+:} false; then :
73950 $as_echo_n "(cached) " >&6
73951 else
73954 ac_ext=cpp
73955 ac_cpp='$CXXCPP $CPPFLAGS'
73956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73961 /* end confdefs.h. */
73962 #include <math.h>
73963 #ifdef HAVE_IEEEFP_H
73964 #include <ieeefp.h>
73965 #endif
73968 main ()
73970 _expf(0);
73972 return 0;
73974 _ACEOF
73975 if ac_fn_cxx_try_compile "$LINENO"; then :
73976 glibcxx_cv_func__expf_use=yes
73977 else
73978 glibcxx_cv_func__expf_use=no
73980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73981 ac_ext=c
73982 ac_cpp='$CPP $CPPFLAGS'
73983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73992 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73994 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73995 for ac_func in _expf
73996 do :
73997 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73998 if test "x$ac_cv_func__expf" = xyes; then :
73999 cat >>confdefs.h <<_ACEOF
74000 #define HAVE__EXPF 1
74001 _ACEOF
74004 done
74013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
74014 $as_echo_n "checking for isnanf declaration... " >&6; }
74015 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
74016 if ${glibcxx_cv_func_isnanf_use+:} false; then :
74017 $as_echo_n "(cached) " >&6
74018 else
74021 ac_ext=cpp
74022 ac_cpp='$CXXCPP $CPPFLAGS'
74023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74028 /* end confdefs.h. */
74029 #include <math.h>
74030 #ifdef HAVE_IEEEFP_H
74031 #include <ieeefp.h>
74032 #endif
74035 main ()
74037 isnanf(0);
74039 return 0;
74041 _ACEOF
74042 if ac_fn_cxx_try_compile "$LINENO"; then :
74043 glibcxx_cv_func_isnanf_use=yes
74044 else
74045 glibcxx_cv_func_isnanf_use=no
74047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74048 ac_ext=c
74049 ac_cpp='$CPP $CPPFLAGS'
74050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
74059 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
74061 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
74062 for ac_func in isnanf
74063 do :
74064 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
74065 if test "x$ac_cv_func_isnanf" = xyes; then :
74066 cat >>confdefs.h <<_ACEOF
74067 #define HAVE_ISNANF 1
74068 _ACEOF
74071 done
74073 else
74075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
74076 $as_echo_n "checking for _isnanf declaration... " >&6; }
74077 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
74078 if ${glibcxx_cv_func__isnanf_use+:} false; then :
74079 $as_echo_n "(cached) " >&6
74080 else
74083 ac_ext=cpp
74084 ac_cpp='$CXXCPP $CPPFLAGS'
74085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74090 /* end confdefs.h. */
74091 #include <math.h>
74092 #ifdef HAVE_IEEEFP_H
74093 #include <ieeefp.h>
74094 #endif
74097 main ()
74099 _isnanf(0);
74101 return 0;
74103 _ACEOF
74104 if ac_fn_cxx_try_compile "$LINENO"; then :
74105 glibcxx_cv_func__isnanf_use=yes
74106 else
74107 glibcxx_cv_func__isnanf_use=no
74109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74110 ac_ext=c
74111 ac_cpp='$CPP $CPPFLAGS'
74112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
74121 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
74123 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
74124 for ac_func in _isnanf
74125 do :
74126 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
74127 if test "x$ac_cv_func__isnanf" = xyes; then :
74128 cat >>confdefs.h <<_ACEOF
74129 #define HAVE__ISNANF 1
74130 _ACEOF
74133 done
74142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
74143 $as_echo_n "checking for isinff declaration... " >&6; }
74144 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
74145 if ${glibcxx_cv_func_isinff_use+:} false; then :
74146 $as_echo_n "(cached) " >&6
74147 else
74150 ac_ext=cpp
74151 ac_cpp='$CXXCPP $CPPFLAGS'
74152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74157 /* end confdefs.h. */
74158 #include <math.h>
74159 #ifdef HAVE_IEEEFP_H
74160 #include <ieeefp.h>
74161 #endif
74164 main ()
74166 isinff(0);
74168 return 0;
74170 _ACEOF
74171 if ac_fn_cxx_try_compile "$LINENO"; then :
74172 glibcxx_cv_func_isinff_use=yes
74173 else
74174 glibcxx_cv_func_isinff_use=no
74176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74177 ac_ext=c
74178 ac_cpp='$CPP $CPPFLAGS'
74179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
74188 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
74190 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
74191 for ac_func in isinff
74192 do :
74193 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
74194 if test "x$ac_cv_func_isinff" = xyes; then :
74195 cat >>confdefs.h <<_ACEOF
74196 #define HAVE_ISINFF 1
74197 _ACEOF
74200 done
74202 else
74204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
74205 $as_echo_n "checking for _isinff declaration... " >&6; }
74206 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
74207 if ${glibcxx_cv_func__isinff_use+:} false; then :
74208 $as_echo_n "(cached) " >&6
74209 else
74212 ac_ext=cpp
74213 ac_cpp='$CXXCPP $CPPFLAGS'
74214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74219 /* end confdefs.h. */
74220 #include <math.h>
74221 #ifdef HAVE_IEEEFP_H
74222 #include <ieeefp.h>
74223 #endif
74226 main ()
74228 _isinff(0);
74230 return 0;
74232 _ACEOF
74233 if ac_fn_cxx_try_compile "$LINENO"; then :
74234 glibcxx_cv_func__isinff_use=yes
74235 else
74236 glibcxx_cv_func__isinff_use=no
74238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74239 ac_ext=c
74240 ac_cpp='$CPP $CPPFLAGS'
74241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
74250 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
74252 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
74253 for ac_func in _isinff
74254 do :
74255 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
74256 if test "x$ac_cv_func__isinff" = xyes; then :
74257 cat >>confdefs.h <<_ACEOF
74258 #define HAVE__ISINFF 1
74259 _ACEOF
74262 done
74271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
74272 $as_echo_n "checking for atan2f declaration... " >&6; }
74273 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
74274 if ${glibcxx_cv_func_atan2f_use+:} false; then :
74275 $as_echo_n "(cached) " >&6
74276 else
74279 ac_ext=cpp
74280 ac_cpp='$CXXCPP $CPPFLAGS'
74281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74286 /* end confdefs.h. */
74287 #include <math.h>
74289 main ()
74291 atan2f(0, 0);
74293 return 0;
74295 _ACEOF
74296 if ac_fn_cxx_try_compile "$LINENO"; then :
74297 glibcxx_cv_func_atan2f_use=yes
74298 else
74299 glibcxx_cv_func_atan2f_use=no
74301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74302 ac_ext=c
74303 ac_cpp='$CPP $CPPFLAGS'
74304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
74313 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
74315 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74316 for ac_func in atan2f
74317 do :
74318 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74319 if test "x$ac_cv_func_atan2f" = xyes; then :
74320 cat >>confdefs.h <<_ACEOF
74321 #define HAVE_ATAN2F 1
74322 _ACEOF
74325 done
74327 else
74329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74330 $as_echo_n "checking for _atan2f declaration... " >&6; }
74331 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74332 if ${glibcxx_cv_func__atan2f_use+:} false; then :
74333 $as_echo_n "(cached) " >&6
74334 else
74337 ac_ext=cpp
74338 ac_cpp='$CXXCPP $CPPFLAGS'
74339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74344 /* end confdefs.h. */
74345 #include <math.h>
74347 main ()
74349 _atan2f(0, 0);
74351 return 0;
74353 _ACEOF
74354 if ac_fn_cxx_try_compile "$LINENO"; then :
74355 glibcxx_cv_func__atan2f_use=yes
74356 else
74357 glibcxx_cv_func__atan2f_use=no
74359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74360 ac_ext=c
74361 ac_cpp='$CPP $CPPFLAGS'
74362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74371 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74373 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74374 for ac_func in _atan2f
74375 do :
74376 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74377 if test "x$ac_cv_func__atan2f" = xyes; then :
74378 cat >>confdefs.h <<_ACEOF
74379 #define HAVE__ATAN2F 1
74380 _ACEOF
74383 done
74392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74393 $as_echo_n "checking for fabsf declaration... " >&6; }
74394 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74395 if ${glibcxx_cv_func_fabsf_use+:} false; then :
74396 $as_echo_n "(cached) " >&6
74397 else
74400 ac_ext=cpp
74401 ac_cpp='$CXXCPP $CPPFLAGS'
74402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74407 /* end confdefs.h. */
74408 #include <math.h>
74409 #ifdef HAVE_IEEEFP_H
74410 #include <ieeefp.h>
74411 #endif
74414 main ()
74416 fabsf(0);
74418 return 0;
74420 _ACEOF
74421 if ac_fn_cxx_try_compile "$LINENO"; then :
74422 glibcxx_cv_func_fabsf_use=yes
74423 else
74424 glibcxx_cv_func_fabsf_use=no
74426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74427 ac_ext=c
74428 ac_cpp='$CPP $CPPFLAGS'
74429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74438 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74440 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74441 for ac_func in fabsf
74442 do :
74443 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74444 if test "x$ac_cv_func_fabsf" = xyes; then :
74445 cat >>confdefs.h <<_ACEOF
74446 #define HAVE_FABSF 1
74447 _ACEOF
74450 done
74452 else
74454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74455 $as_echo_n "checking for _fabsf declaration... " >&6; }
74456 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74457 if ${glibcxx_cv_func__fabsf_use+:} false; then :
74458 $as_echo_n "(cached) " >&6
74459 else
74462 ac_ext=cpp
74463 ac_cpp='$CXXCPP $CPPFLAGS'
74464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74469 /* end confdefs.h. */
74470 #include <math.h>
74471 #ifdef HAVE_IEEEFP_H
74472 #include <ieeefp.h>
74473 #endif
74476 main ()
74478 _fabsf(0);
74480 return 0;
74482 _ACEOF
74483 if ac_fn_cxx_try_compile "$LINENO"; then :
74484 glibcxx_cv_func__fabsf_use=yes
74485 else
74486 glibcxx_cv_func__fabsf_use=no
74488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74489 ac_ext=c
74490 ac_cpp='$CPP $CPPFLAGS'
74491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74500 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74502 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74503 for ac_func in _fabsf
74504 do :
74505 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74506 if test "x$ac_cv_func__fabsf" = xyes; then :
74507 cat >>confdefs.h <<_ACEOF
74508 #define HAVE__FABSF 1
74509 _ACEOF
74512 done
74521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74522 $as_echo_n "checking for fmodf declaration... " >&6; }
74523 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74524 if ${glibcxx_cv_func_fmodf_use+:} false; then :
74525 $as_echo_n "(cached) " >&6
74526 else
74529 ac_ext=cpp
74530 ac_cpp='$CXXCPP $CPPFLAGS'
74531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74536 /* end confdefs.h. */
74537 #include <math.h>
74539 main ()
74541 fmodf(0, 0);
74543 return 0;
74545 _ACEOF
74546 if ac_fn_cxx_try_compile "$LINENO"; then :
74547 glibcxx_cv_func_fmodf_use=yes
74548 else
74549 glibcxx_cv_func_fmodf_use=no
74551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74552 ac_ext=c
74553 ac_cpp='$CPP $CPPFLAGS'
74554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74563 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74565 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74566 for ac_func in fmodf
74567 do :
74568 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74569 if test "x$ac_cv_func_fmodf" = xyes; then :
74570 cat >>confdefs.h <<_ACEOF
74571 #define HAVE_FMODF 1
74572 _ACEOF
74575 done
74577 else
74579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74580 $as_echo_n "checking for _fmodf declaration... " >&6; }
74581 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74582 if ${glibcxx_cv_func__fmodf_use+:} false; then :
74583 $as_echo_n "(cached) " >&6
74584 else
74587 ac_ext=cpp
74588 ac_cpp='$CXXCPP $CPPFLAGS'
74589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74594 /* end confdefs.h. */
74595 #include <math.h>
74597 main ()
74599 _fmodf(0, 0);
74601 return 0;
74603 _ACEOF
74604 if ac_fn_cxx_try_compile "$LINENO"; then :
74605 glibcxx_cv_func__fmodf_use=yes
74606 else
74607 glibcxx_cv_func__fmodf_use=no
74609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74610 ac_ext=c
74611 ac_cpp='$CPP $CPPFLAGS'
74612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74621 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74623 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74624 for ac_func in _fmodf
74625 do :
74626 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74627 if test "x$ac_cv_func__fmodf" = xyes; then :
74628 cat >>confdefs.h <<_ACEOF
74629 #define HAVE__FMODF 1
74630 _ACEOF
74633 done
74642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74643 $as_echo_n "checking for frexpf declaration... " >&6; }
74644 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74645 if ${glibcxx_cv_func_frexpf_use+:} false; then :
74646 $as_echo_n "(cached) " >&6
74647 else
74650 ac_ext=cpp
74651 ac_cpp='$CXXCPP $CPPFLAGS'
74652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74657 /* end confdefs.h. */
74658 #include <math.h>
74660 main ()
74662 frexpf(0, 0);
74664 return 0;
74666 _ACEOF
74667 if ac_fn_cxx_try_compile "$LINENO"; then :
74668 glibcxx_cv_func_frexpf_use=yes
74669 else
74670 glibcxx_cv_func_frexpf_use=no
74672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74673 ac_ext=c
74674 ac_cpp='$CPP $CPPFLAGS'
74675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74684 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74686 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74687 for ac_func in frexpf
74688 do :
74689 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74690 if test "x$ac_cv_func_frexpf" = xyes; then :
74691 cat >>confdefs.h <<_ACEOF
74692 #define HAVE_FREXPF 1
74693 _ACEOF
74696 done
74698 else
74700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74701 $as_echo_n "checking for _frexpf declaration... " >&6; }
74702 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74703 if ${glibcxx_cv_func__frexpf_use+:} false; then :
74704 $as_echo_n "(cached) " >&6
74705 else
74708 ac_ext=cpp
74709 ac_cpp='$CXXCPP $CPPFLAGS'
74710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74715 /* end confdefs.h. */
74716 #include <math.h>
74718 main ()
74720 _frexpf(0, 0);
74722 return 0;
74724 _ACEOF
74725 if ac_fn_cxx_try_compile "$LINENO"; then :
74726 glibcxx_cv_func__frexpf_use=yes
74727 else
74728 glibcxx_cv_func__frexpf_use=no
74730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74731 ac_ext=c
74732 ac_cpp='$CPP $CPPFLAGS'
74733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74742 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74744 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74745 for ac_func in _frexpf
74746 do :
74747 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74748 if test "x$ac_cv_func__frexpf" = xyes; then :
74749 cat >>confdefs.h <<_ACEOF
74750 #define HAVE__FREXPF 1
74751 _ACEOF
74754 done
74763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74764 $as_echo_n "checking for hypotf declaration... " >&6; }
74765 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74766 if ${glibcxx_cv_func_hypotf_use+:} false; then :
74767 $as_echo_n "(cached) " >&6
74768 else
74771 ac_ext=cpp
74772 ac_cpp='$CXXCPP $CPPFLAGS'
74773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74778 /* end confdefs.h. */
74779 #include <math.h>
74781 main ()
74783 hypotf(0, 0);
74785 return 0;
74787 _ACEOF
74788 if ac_fn_cxx_try_compile "$LINENO"; then :
74789 glibcxx_cv_func_hypotf_use=yes
74790 else
74791 glibcxx_cv_func_hypotf_use=no
74793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74794 ac_ext=c
74795 ac_cpp='$CPP $CPPFLAGS'
74796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74805 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74807 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74808 for ac_func in hypotf
74809 do :
74810 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74811 if test "x$ac_cv_func_hypotf" = xyes; then :
74812 cat >>confdefs.h <<_ACEOF
74813 #define HAVE_HYPOTF 1
74814 _ACEOF
74817 done
74819 else
74821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74822 $as_echo_n "checking for _hypotf declaration... " >&6; }
74823 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74824 if ${glibcxx_cv_func__hypotf_use+:} false; then :
74825 $as_echo_n "(cached) " >&6
74826 else
74829 ac_ext=cpp
74830 ac_cpp='$CXXCPP $CPPFLAGS'
74831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74836 /* end confdefs.h. */
74837 #include <math.h>
74839 main ()
74841 _hypotf(0, 0);
74843 return 0;
74845 _ACEOF
74846 if ac_fn_cxx_try_compile "$LINENO"; then :
74847 glibcxx_cv_func__hypotf_use=yes
74848 else
74849 glibcxx_cv_func__hypotf_use=no
74851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74852 ac_ext=c
74853 ac_cpp='$CPP $CPPFLAGS'
74854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74863 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74865 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74866 for ac_func in _hypotf
74867 do :
74868 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74869 if test "x$ac_cv_func__hypotf" = xyes; then :
74870 cat >>confdefs.h <<_ACEOF
74871 #define HAVE__HYPOTF 1
74872 _ACEOF
74875 done
74884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74885 $as_echo_n "checking for ldexpf declaration... " >&6; }
74886 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74887 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
74888 $as_echo_n "(cached) " >&6
74889 else
74892 ac_ext=cpp
74893 ac_cpp='$CXXCPP $CPPFLAGS'
74894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74899 /* end confdefs.h. */
74900 #include <math.h>
74902 main ()
74904 ldexpf(0, 0);
74906 return 0;
74908 _ACEOF
74909 if ac_fn_cxx_try_compile "$LINENO"; then :
74910 glibcxx_cv_func_ldexpf_use=yes
74911 else
74912 glibcxx_cv_func_ldexpf_use=no
74914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74915 ac_ext=c
74916 ac_cpp='$CPP $CPPFLAGS'
74917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74926 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74928 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74929 for ac_func in ldexpf
74930 do :
74931 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74932 if test "x$ac_cv_func_ldexpf" = xyes; then :
74933 cat >>confdefs.h <<_ACEOF
74934 #define HAVE_LDEXPF 1
74935 _ACEOF
74938 done
74940 else
74942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74943 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74944 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74945 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
74946 $as_echo_n "(cached) " >&6
74947 else
74950 ac_ext=cpp
74951 ac_cpp='$CXXCPP $CPPFLAGS'
74952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74957 /* end confdefs.h. */
74958 #include <math.h>
74960 main ()
74962 _ldexpf(0, 0);
74964 return 0;
74966 _ACEOF
74967 if ac_fn_cxx_try_compile "$LINENO"; then :
74968 glibcxx_cv_func__ldexpf_use=yes
74969 else
74970 glibcxx_cv_func__ldexpf_use=no
74972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74973 ac_ext=c
74974 ac_cpp='$CPP $CPPFLAGS'
74975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74984 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74986 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74987 for ac_func in _ldexpf
74988 do :
74989 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74990 if test "x$ac_cv_func__ldexpf" = xyes; then :
74991 cat >>confdefs.h <<_ACEOF
74992 #define HAVE__LDEXPF 1
74993 _ACEOF
74996 done
75005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
75006 $as_echo_n "checking for logf declaration... " >&6; }
75007 if test x${glibcxx_cv_func_logf_use+set} != xset; then
75008 if ${glibcxx_cv_func_logf_use+:} false; then :
75009 $as_echo_n "(cached) " >&6
75010 else
75013 ac_ext=cpp
75014 ac_cpp='$CXXCPP $CPPFLAGS'
75015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75020 /* end confdefs.h. */
75021 #include <math.h>
75022 #ifdef HAVE_IEEEFP_H
75023 #include <ieeefp.h>
75024 #endif
75027 main ()
75029 logf(0);
75031 return 0;
75033 _ACEOF
75034 if ac_fn_cxx_try_compile "$LINENO"; then :
75035 glibcxx_cv_func_logf_use=yes
75036 else
75037 glibcxx_cv_func_logf_use=no
75039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75040 ac_ext=c
75041 ac_cpp='$CPP $CPPFLAGS'
75042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
75051 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
75053 if test x$glibcxx_cv_func_logf_use = x"yes"; then
75054 for ac_func in logf
75055 do :
75056 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
75057 if test "x$ac_cv_func_logf" = xyes; then :
75058 cat >>confdefs.h <<_ACEOF
75059 #define HAVE_LOGF 1
75060 _ACEOF
75063 done
75065 else
75067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
75068 $as_echo_n "checking for _logf declaration... " >&6; }
75069 if test x${glibcxx_cv_func__logf_use+set} != xset; then
75070 if ${glibcxx_cv_func__logf_use+:} false; then :
75071 $as_echo_n "(cached) " >&6
75072 else
75075 ac_ext=cpp
75076 ac_cpp='$CXXCPP $CPPFLAGS'
75077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75082 /* end confdefs.h. */
75083 #include <math.h>
75084 #ifdef HAVE_IEEEFP_H
75085 #include <ieeefp.h>
75086 #endif
75089 main ()
75091 _logf(0);
75093 return 0;
75095 _ACEOF
75096 if ac_fn_cxx_try_compile "$LINENO"; then :
75097 glibcxx_cv_func__logf_use=yes
75098 else
75099 glibcxx_cv_func__logf_use=no
75101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75102 ac_ext=c
75103 ac_cpp='$CPP $CPPFLAGS'
75104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
75113 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
75115 if test x$glibcxx_cv_func__logf_use = x"yes"; then
75116 for ac_func in _logf
75117 do :
75118 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
75119 if test "x$ac_cv_func__logf" = xyes; then :
75120 cat >>confdefs.h <<_ACEOF
75121 #define HAVE__LOGF 1
75122 _ACEOF
75125 done
75134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
75135 $as_echo_n "checking for log10f declaration... " >&6; }
75136 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
75137 if ${glibcxx_cv_func_log10f_use+:} false; then :
75138 $as_echo_n "(cached) " >&6
75139 else
75142 ac_ext=cpp
75143 ac_cpp='$CXXCPP $CPPFLAGS'
75144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75149 /* end confdefs.h. */
75150 #include <math.h>
75151 #ifdef HAVE_IEEEFP_H
75152 #include <ieeefp.h>
75153 #endif
75156 main ()
75158 log10f(0);
75160 return 0;
75162 _ACEOF
75163 if ac_fn_cxx_try_compile "$LINENO"; then :
75164 glibcxx_cv_func_log10f_use=yes
75165 else
75166 glibcxx_cv_func_log10f_use=no
75168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75169 ac_ext=c
75170 ac_cpp='$CPP $CPPFLAGS'
75171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
75180 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
75182 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
75183 for ac_func in log10f
75184 do :
75185 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
75186 if test "x$ac_cv_func_log10f" = xyes; then :
75187 cat >>confdefs.h <<_ACEOF
75188 #define HAVE_LOG10F 1
75189 _ACEOF
75192 done
75194 else
75196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
75197 $as_echo_n "checking for _log10f declaration... " >&6; }
75198 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
75199 if ${glibcxx_cv_func__log10f_use+:} false; then :
75200 $as_echo_n "(cached) " >&6
75201 else
75204 ac_ext=cpp
75205 ac_cpp='$CXXCPP $CPPFLAGS'
75206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75211 /* end confdefs.h. */
75212 #include <math.h>
75213 #ifdef HAVE_IEEEFP_H
75214 #include <ieeefp.h>
75215 #endif
75218 main ()
75220 _log10f(0);
75222 return 0;
75224 _ACEOF
75225 if ac_fn_cxx_try_compile "$LINENO"; then :
75226 glibcxx_cv_func__log10f_use=yes
75227 else
75228 glibcxx_cv_func__log10f_use=no
75230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75231 ac_ext=c
75232 ac_cpp='$CPP $CPPFLAGS'
75233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
75242 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
75244 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
75245 for ac_func in _log10f
75246 do :
75247 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
75248 if test "x$ac_cv_func__log10f" = xyes; then :
75249 cat >>confdefs.h <<_ACEOF
75250 #define HAVE__LOG10F 1
75251 _ACEOF
75254 done
75263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
75264 $as_echo_n "checking for modff declaration... " >&6; }
75265 if test x${glibcxx_cv_func_modff_use+set} != xset; then
75266 if ${glibcxx_cv_func_modff_use+:} false; then :
75267 $as_echo_n "(cached) " >&6
75268 else
75271 ac_ext=cpp
75272 ac_cpp='$CXXCPP $CPPFLAGS'
75273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75278 /* end confdefs.h. */
75279 #include <math.h>
75281 main ()
75283 modff(0, 0);
75285 return 0;
75287 _ACEOF
75288 if ac_fn_cxx_try_compile "$LINENO"; then :
75289 glibcxx_cv_func_modff_use=yes
75290 else
75291 glibcxx_cv_func_modff_use=no
75293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75294 ac_ext=c
75295 ac_cpp='$CPP $CPPFLAGS'
75296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
75305 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
75307 if test x$glibcxx_cv_func_modff_use = x"yes"; then
75308 for ac_func in modff
75309 do :
75310 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
75311 if test "x$ac_cv_func_modff" = xyes; then :
75312 cat >>confdefs.h <<_ACEOF
75313 #define HAVE_MODFF 1
75314 _ACEOF
75317 done
75319 else
75321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75322 $as_echo_n "checking for _modff declaration... " >&6; }
75323 if test x${glibcxx_cv_func__modff_use+set} != xset; then
75324 if ${glibcxx_cv_func__modff_use+:} false; then :
75325 $as_echo_n "(cached) " >&6
75326 else
75329 ac_ext=cpp
75330 ac_cpp='$CXXCPP $CPPFLAGS'
75331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75336 /* end confdefs.h. */
75337 #include <math.h>
75339 main ()
75341 _modff(0, 0);
75343 return 0;
75345 _ACEOF
75346 if ac_fn_cxx_try_compile "$LINENO"; then :
75347 glibcxx_cv_func__modff_use=yes
75348 else
75349 glibcxx_cv_func__modff_use=no
75351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75352 ac_ext=c
75353 ac_cpp='$CPP $CPPFLAGS'
75354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75363 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75365 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75366 for ac_func in _modff
75367 do :
75368 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75369 if test "x$ac_cv_func__modff" = xyes; then :
75370 cat >>confdefs.h <<_ACEOF
75371 #define HAVE__MODFF 1
75372 _ACEOF
75375 done
75384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75385 $as_echo_n "checking for modf declaration... " >&6; }
75386 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75387 if ${glibcxx_cv_func_modf_use+:} false; then :
75388 $as_echo_n "(cached) " >&6
75389 else
75392 ac_ext=cpp
75393 ac_cpp='$CXXCPP $CPPFLAGS'
75394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75399 /* end confdefs.h. */
75400 #include <math.h>
75402 main ()
75404 modf(0, 0);
75406 return 0;
75408 _ACEOF
75409 if ac_fn_cxx_try_compile "$LINENO"; then :
75410 glibcxx_cv_func_modf_use=yes
75411 else
75412 glibcxx_cv_func_modf_use=no
75414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75415 ac_ext=c
75416 ac_cpp='$CPP $CPPFLAGS'
75417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75426 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75428 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75429 for ac_func in modf
75430 do :
75431 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75432 if test "x$ac_cv_func_modf" = xyes; then :
75433 cat >>confdefs.h <<_ACEOF
75434 #define HAVE_MODF 1
75435 _ACEOF
75438 done
75440 else
75442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75443 $as_echo_n "checking for _modf declaration... " >&6; }
75444 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75445 if ${glibcxx_cv_func__modf_use+:} false; then :
75446 $as_echo_n "(cached) " >&6
75447 else
75450 ac_ext=cpp
75451 ac_cpp='$CXXCPP $CPPFLAGS'
75452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75457 /* end confdefs.h. */
75458 #include <math.h>
75460 main ()
75462 _modf(0, 0);
75464 return 0;
75466 _ACEOF
75467 if ac_fn_cxx_try_compile "$LINENO"; then :
75468 glibcxx_cv_func__modf_use=yes
75469 else
75470 glibcxx_cv_func__modf_use=no
75472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75473 ac_ext=c
75474 ac_cpp='$CPP $CPPFLAGS'
75475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75484 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75486 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75487 for ac_func in _modf
75488 do :
75489 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75490 if test "x$ac_cv_func__modf" = xyes; then :
75491 cat >>confdefs.h <<_ACEOF
75492 #define HAVE__MODF 1
75493 _ACEOF
75496 done
75505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75506 $as_echo_n "checking for powf declaration... " >&6; }
75507 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75508 if ${glibcxx_cv_func_powf_use+:} false; then :
75509 $as_echo_n "(cached) " >&6
75510 else
75513 ac_ext=cpp
75514 ac_cpp='$CXXCPP $CPPFLAGS'
75515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75520 /* end confdefs.h. */
75521 #include <math.h>
75523 main ()
75525 powf(0, 0);
75527 return 0;
75529 _ACEOF
75530 if ac_fn_cxx_try_compile "$LINENO"; then :
75531 glibcxx_cv_func_powf_use=yes
75532 else
75533 glibcxx_cv_func_powf_use=no
75535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75536 ac_ext=c
75537 ac_cpp='$CPP $CPPFLAGS'
75538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75547 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75549 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75550 for ac_func in powf
75551 do :
75552 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75553 if test "x$ac_cv_func_powf" = xyes; then :
75554 cat >>confdefs.h <<_ACEOF
75555 #define HAVE_POWF 1
75556 _ACEOF
75559 done
75561 else
75563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75564 $as_echo_n "checking for _powf declaration... " >&6; }
75565 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75566 if ${glibcxx_cv_func__powf_use+:} false; then :
75567 $as_echo_n "(cached) " >&6
75568 else
75571 ac_ext=cpp
75572 ac_cpp='$CXXCPP $CPPFLAGS'
75573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75578 /* end confdefs.h. */
75579 #include <math.h>
75581 main ()
75583 _powf(0, 0);
75585 return 0;
75587 _ACEOF
75588 if ac_fn_cxx_try_compile "$LINENO"; then :
75589 glibcxx_cv_func__powf_use=yes
75590 else
75591 glibcxx_cv_func__powf_use=no
75593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75594 ac_ext=c
75595 ac_cpp='$CPP $CPPFLAGS'
75596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75605 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75607 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75608 for ac_func in _powf
75609 do :
75610 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75611 if test "x$ac_cv_func__powf" = xyes; then :
75612 cat >>confdefs.h <<_ACEOF
75613 #define HAVE__POWF 1
75614 _ACEOF
75617 done
75626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75627 $as_echo_n "checking for sqrtf declaration... " >&6; }
75628 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75629 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
75630 $as_echo_n "(cached) " >&6
75631 else
75634 ac_ext=cpp
75635 ac_cpp='$CXXCPP $CPPFLAGS'
75636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75641 /* end confdefs.h. */
75642 #include <math.h>
75643 #ifdef HAVE_IEEEFP_H
75644 #include <ieeefp.h>
75645 #endif
75648 main ()
75650 sqrtf(0);
75652 return 0;
75654 _ACEOF
75655 if ac_fn_cxx_try_compile "$LINENO"; then :
75656 glibcxx_cv_func_sqrtf_use=yes
75657 else
75658 glibcxx_cv_func_sqrtf_use=no
75660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75661 ac_ext=c
75662 ac_cpp='$CPP $CPPFLAGS'
75663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75672 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75674 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75675 for ac_func in sqrtf
75676 do :
75677 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75678 if test "x$ac_cv_func_sqrtf" = xyes; then :
75679 cat >>confdefs.h <<_ACEOF
75680 #define HAVE_SQRTF 1
75681 _ACEOF
75684 done
75686 else
75688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75689 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75690 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75691 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
75692 $as_echo_n "(cached) " >&6
75693 else
75696 ac_ext=cpp
75697 ac_cpp='$CXXCPP $CPPFLAGS'
75698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75703 /* end confdefs.h. */
75704 #include <math.h>
75705 #ifdef HAVE_IEEEFP_H
75706 #include <ieeefp.h>
75707 #endif
75710 main ()
75712 _sqrtf(0);
75714 return 0;
75716 _ACEOF
75717 if ac_fn_cxx_try_compile "$LINENO"; then :
75718 glibcxx_cv_func__sqrtf_use=yes
75719 else
75720 glibcxx_cv_func__sqrtf_use=no
75722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75723 ac_ext=c
75724 ac_cpp='$CPP $CPPFLAGS'
75725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75734 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75736 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75737 for ac_func in _sqrtf
75738 do :
75739 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75740 if test "x$ac_cv_func__sqrtf" = xyes; then :
75741 cat >>confdefs.h <<_ACEOF
75742 #define HAVE__SQRTF 1
75743 _ACEOF
75746 done
75755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75756 $as_echo_n "checking for sincosf declaration... " >&6; }
75757 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75758 if ${glibcxx_cv_func_sincosf_use+:} false; then :
75759 $as_echo_n "(cached) " >&6
75760 else
75763 ac_ext=cpp
75764 ac_cpp='$CXXCPP $CPPFLAGS'
75765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75770 /* end confdefs.h. */
75771 #include <math.h>
75773 main ()
75775 sincosf(0, 0, 0);
75777 return 0;
75779 _ACEOF
75780 if ac_fn_cxx_try_compile "$LINENO"; then :
75781 glibcxx_cv_func_sincosf_use=yes
75782 else
75783 glibcxx_cv_func_sincosf_use=no
75785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75786 ac_ext=c
75787 ac_cpp='$CPP $CPPFLAGS'
75788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75797 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75799 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75800 for ac_func in sincosf
75801 do :
75802 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75803 if test "x$ac_cv_func_sincosf" = xyes; then :
75804 cat >>confdefs.h <<_ACEOF
75805 #define HAVE_SINCOSF 1
75806 _ACEOF
75809 done
75811 else
75813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75814 $as_echo_n "checking for _sincosf declaration... " >&6; }
75815 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75816 if ${glibcxx_cv_func__sincosf_use+:} false; then :
75817 $as_echo_n "(cached) " >&6
75818 else
75821 ac_ext=cpp
75822 ac_cpp='$CXXCPP $CPPFLAGS'
75823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75828 /* end confdefs.h. */
75829 #include <math.h>
75831 main ()
75833 _sincosf(0, 0, 0);
75835 return 0;
75837 _ACEOF
75838 if ac_fn_cxx_try_compile "$LINENO"; then :
75839 glibcxx_cv_func__sincosf_use=yes
75840 else
75841 glibcxx_cv_func__sincosf_use=no
75843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75844 ac_ext=c
75845 ac_cpp='$CPP $CPPFLAGS'
75846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75855 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75857 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75858 for ac_func in _sincosf
75859 do :
75860 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75861 if test "x$ac_cv_func__sincosf" = xyes; then :
75862 cat >>confdefs.h <<_ACEOF
75863 #define HAVE__SINCOSF 1
75864 _ACEOF
75867 done
75876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75877 $as_echo_n "checking for finitef declaration... " >&6; }
75878 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75879 if ${glibcxx_cv_func_finitef_use+:} false; then :
75880 $as_echo_n "(cached) " >&6
75881 else
75884 ac_ext=cpp
75885 ac_cpp='$CXXCPP $CPPFLAGS'
75886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75891 /* end confdefs.h. */
75892 #include <math.h>
75893 #ifdef HAVE_IEEEFP_H
75894 #include <ieeefp.h>
75895 #endif
75898 main ()
75900 finitef(0);
75902 return 0;
75904 _ACEOF
75905 if ac_fn_cxx_try_compile "$LINENO"; then :
75906 glibcxx_cv_func_finitef_use=yes
75907 else
75908 glibcxx_cv_func_finitef_use=no
75910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75911 ac_ext=c
75912 ac_cpp='$CPP $CPPFLAGS'
75913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75922 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75924 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75925 for ac_func in finitef
75926 do :
75927 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75928 if test "x$ac_cv_func_finitef" = xyes; then :
75929 cat >>confdefs.h <<_ACEOF
75930 #define HAVE_FINITEF 1
75931 _ACEOF
75934 done
75936 else
75938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75939 $as_echo_n "checking for _finitef declaration... " >&6; }
75940 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75941 if ${glibcxx_cv_func__finitef_use+:} false; then :
75942 $as_echo_n "(cached) " >&6
75943 else
75946 ac_ext=cpp
75947 ac_cpp='$CXXCPP $CPPFLAGS'
75948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75953 /* end confdefs.h. */
75954 #include <math.h>
75955 #ifdef HAVE_IEEEFP_H
75956 #include <ieeefp.h>
75957 #endif
75960 main ()
75962 _finitef(0);
75964 return 0;
75966 _ACEOF
75967 if ac_fn_cxx_try_compile "$LINENO"; then :
75968 glibcxx_cv_func__finitef_use=yes
75969 else
75970 glibcxx_cv_func__finitef_use=no
75972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75973 ac_ext=c
75974 ac_cpp='$CPP $CPPFLAGS'
75975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75984 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75986 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75987 for ac_func in _finitef
75988 do :
75989 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75990 if test "x$ac_cv_func__finitef" = xyes; then :
75991 cat >>confdefs.h <<_ACEOF
75992 #define HAVE__FINITEF 1
75993 _ACEOF
75996 done
76005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
76006 $as_echo_n "checking for long double trig functions... " >&6; }
76007 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
76008 $as_echo_n "(cached) " >&6
76009 else
76012 ac_ext=cpp
76013 ac_cpp='$CXXCPP $CPPFLAGS'
76014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76019 /* end confdefs.h. */
76020 #include <math.h>
76022 main ()
76024 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
76026 return 0;
76028 _ACEOF
76029 if ac_fn_cxx_try_compile "$LINENO"; then :
76030 glibcxx_cv_func_long_double_trig_use=yes
76031 else
76032 glibcxx_cv_func_long_double_trig_use=no
76034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76035 ac_ext=c
76036 ac_cpp='$CPP $CPPFLAGS'
76037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
76044 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
76045 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
76046 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
76047 do :
76048 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76049 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76050 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76051 cat >>confdefs.h <<_ACEOF
76052 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76053 _ACEOF
76056 done
76058 else
76059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
76060 $as_echo_n "checking for _long double trig functions... " >&6; }
76061 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
76062 $as_echo_n "(cached) " >&6
76063 else
76066 ac_ext=cpp
76067 ac_cpp='$CXXCPP $CPPFLAGS'
76068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76073 /* end confdefs.h. */
76074 #include <math.h>
76076 main ()
76078 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
76080 return 0;
76082 _ACEOF
76083 if ac_fn_cxx_try_compile "$LINENO"; then :
76084 glibcxx_cv_func__long_double_trig_use=yes
76085 else
76086 glibcxx_cv_func__long_double_trig_use=no
76088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76089 ac_ext=c
76090 ac_cpp='$CPP $CPPFLAGS'
76091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
76098 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
76099 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
76100 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
76101 do :
76102 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76103 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76104 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76105 cat >>confdefs.h <<_ACEOF
76106 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76107 _ACEOF
76110 done
76119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
76120 $as_echo_n "checking for long double round functions... " >&6; }
76121 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
76122 $as_echo_n "(cached) " >&6
76123 else
76126 ac_ext=cpp
76127 ac_cpp='$CXXCPP $CPPFLAGS'
76128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76133 /* end confdefs.h. */
76134 #include <math.h>
76136 main ()
76138 ceill (0); floorl (0);
76140 return 0;
76142 _ACEOF
76143 if ac_fn_cxx_try_compile "$LINENO"; then :
76144 glibcxx_cv_func_long_double_round_use=yes
76145 else
76146 glibcxx_cv_func_long_double_round_use=no
76148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76149 ac_ext=c
76150 ac_cpp='$CPP $CPPFLAGS'
76151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
76158 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
76159 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
76160 for ac_func in ceill floorl
76161 do :
76162 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76163 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76164 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76165 cat >>confdefs.h <<_ACEOF
76166 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76167 _ACEOF
76170 done
76172 else
76173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
76174 $as_echo_n "checking for _long double round functions... " >&6; }
76175 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
76176 $as_echo_n "(cached) " >&6
76177 else
76180 ac_ext=cpp
76181 ac_cpp='$CXXCPP $CPPFLAGS'
76182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76187 /* end confdefs.h. */
76188 #include <math.h>
76190 main ()
76192 _ceill (0); _floorl (0);
76194 return 0;
76196 _ACEOF
76197 if ac_fn_cxx_try_compile "$LINENO"; then :
76198 glibcxx_cv_func__long_double_round_use=yes
76199 else
76200 glibcxx_cv_func__long_double_round_use=no
76202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76203 ac_ext=c
76204 ac_cpp='$CPP $CPPFLAGS'
76205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
76212 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
76213 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
76214 for ac_func in _ceill _floorl
76215 do :
76216 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76217 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76218 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76219 cat >>confdefs.h <<_ACEOF
76220 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76221 _ACEOF
76224 done
76234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
76235 $as_echo_n "checking for isnanl declaration... " >&6; }
76236 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
76237 if ${glibcxx_cv_func_isnanl_use+:} false; then :
76238 $as_echo_n "(cached) " >&6
76239 else
76242 ac_ext=cpp
76243 ac_cpp='$CXXCPP $CPPFLAGS'
76244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76249 /* end confdefs.h. */
76250 #include <math.h>
76251 #ifdef HAVE_IEEEFP_H
76252 #include <ieeefp.h>
76253 #endif
76256 main ()
76258 isnanl(0);
76260 return 0;
76262 _ACEOF
76263 if ac_fn_cxx_try_compile "$LINENO"; then :
76264 glibcxx_cv_func_isnanl_use=yes
76265 else
76266 glibcxx_cv_func_isnanl_use=no
76268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76269 ac_ext=c
76270 ac_cpp='$CPP $CPPFLAGS'
76271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
76280 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
76282 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76283 for ac_func in isnanl
76284 do :
76285 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
76286 if test "x$ac_cv_func_isnanl" = xyes; then :
76287 cat >>confdefs.h <<_ACEOF
76288 #define HAVE_ISNANL 1
76289 _ACEOF
76292 done
76294 else
76296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
76297 $as_echo_n "checking for _isnanl declaration... " >&6; }
76298 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76299 if ${glibcxx_cv_func__isnanl_use+:} false; then :
76300 $as_echo_n "(cached) " >&6
76301 else
76304 ac_ext=cpp
76305 ac_cpp='$CXXCPP $CPPFLAGS'
76306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76311 /* end confdefs.h. */
76312 #include <math.h>
76313 #ifdef HAVE_IEEEFP_H
76314 #include <ieeefp.h>
76315 #endif
76318 main ()
76320 _isnanl(0);
76322 return 0;
76324 _ACEOF
76325 if ac_fn_cxx_try_compile "$LINENO"; then :
76326 glibcxx_cv_func__isnanl_use=yes
76327 else
76328 glibcxx_cv_func__isnanl_use=no
76330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76331 ac_ext=c
76332 ac_cpp='$CPP $CPPFLAGS'
76333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76342 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76344 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76345 for ac_func in _isnanl
76346 do :
76347 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76348 if test "x$ac_cv_func__isnanl" = xyes; then :
76349 cat >>confdefs.h <<_ACEOF
76350 #define HAVE__ISNANL 1
76351 _ACEOF
76354 done
76363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76364 $as_echo_n "checking for isinfl declaration... " >&6; }
76365 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76366 if ${glibcxx_cv_func_isinfl_use+:} false; then :
76367 $as_echo_n "(cached) " >&6
76368 else
76371 ac_ext=cpp
76372 ac_cpp='$CXXCPP $CPPFLAGS'
76373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76378 /* end confdefs.h. */
76379 #include <math.h>
76380 #ifdef HAVE_IEEEFP_H
76381 #include <ieeefp.h>
76382 #endif
76385 main ()
76387 isinfl(0);
76389 return 0;
76391 _ACEOF
76392 if ac_fn_cxx_try_compile "$LINENO"; then :
76393 glibcxx_cv_func_isinfl_use=yes
76394 else
76395 glibcxx_cv_func_isinfl_use=no
76397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76398 ac_ext=c
76399 ac_cpp='$CPP $CPPFLAGS'
76400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76409 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76411 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76412 for ac_func in isinfl
76413 do :
76414 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76415 if test "x$ac_cv_func_isinfl" = xyes; then :
76416 cat >>confdefs.h <<_ACEOF
76417 #define HAVE_ISINFL 1
76418 _ACEOF
76421 done
76423 else
76425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76426 $as_echo_n "checking for _isinfl declaration... " >&6; }
76427 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76428 if ${glibcxx_cv_func__isinfl_use+:} false; then :
76429 $as_echo_n "(cached) " >&6
76430 else
76433 ac_ext=cpp
76434 ac_cpp='$CXXCPP $CPPFLAGS'
76435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76440 /* end confdefs.h. */
76441 #include <math.h>
76442 #ifdef HAVE_IEEEFP_H
76443 #include <ieeefp.h>
76444 #endif
76447 main ()
76449 _isinfl(0);
76451 return 0;
76453 _ACEOF
76454 if ac_fn_cxx_try_compile "$LINENO"; then :
76455 glibcxx_cv_func__isinfl_use=yes
76456 else
76457 glibcxx_cv_func__isinfl_use=no
76459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76460 ac_ext=c
76461 ac_cpp='$CPP $CPPFLAGS'
76462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76471 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76473 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76474 for ac_func in _isinfl
76475 do :
76476 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76477 if test "x$ac_cv_func__isinfl" = xyes; then :
76478 cat >>confdefs.h <<_ACEOF
76479 #define HAVE__ISINFL 1
76480 _ACEOF
76483 done
76492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76493 $as_echo_n "checking for atan2l declaration... " >&6; }
76494 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76495 if ${glibcxx_cv_func_atan2l_use+:} false; then :
76496 $as_echo_n "(cached) " >&6
76497 else
76500 ac_ext=cpp
76501 ac_cpp='$CXXCPP $CPPFLAGS'
76502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76507 /* end confdefs.h. */
76508 #include <math.h>
76510 main ()
76512 atan2l(0, 0);
76514 return 0;
76516 _ACEOF
76517 if ac_fn_cxx_try_compile "$LINENO"; then :
76518 glibcxx_cv_func_atan2l_use=yes
76519 else
76520 glibcxx_cv_func_atan2l_use=no
76522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76523 ac_ext=c
76524 ac_cpp='$CPP $CPPFLAGS'
76525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76534 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76536 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76537 for ac_func in atan2l
76538 do :
76539 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76540 if test "x$ac_cv_func_atan2l" = xyes; then :
76541 cat >>confdefs.h <<_ACEOF
76542 #define HAVE_ATAN2L 1
76543 _ACEOF
76546 done
76548 else
76550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76551 $as_echo_n "checking for _atan2l declaration... " >&6; }
76552 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76553 if ${glibcxx_cv_func__atan2l_use+:} false; then :
76554 $as_echo_n "(cached) " >&6
76555 else
76558 ac_ext=cpp
76559 ac_cpp='$CXXCPP $CPPFLAGS'
76560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76565 /* end confdefs.h. */
76566 #include <math.h>
76568 main ()
76570 _atan2l(0, 0);
76572 return 0;
76574 _ACEOF
76575 if ac_fn_cxx_try_compile "$LINENO"; then :
76576 glibcxx_cv_func__atan2l_use=yes
76577 else
76578 glibcxx_cv_func__atan2l_use=no
76580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76581 ac_ext=c
76582 ac_cpp='$CPP $CPPFLAGS'
76583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76592 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76594 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76595 for ac_func in _atan2l
76596 do :
76597 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76598 if test "x$ac_cv_func__atan2l" = xyes; then :
76599 cat >>confdefs.h <<_ACEOF
76600 #define HAVE__ATAN2L 1
76601 _ACEOF
76604 done
76613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76614 $as_echo_n "checking for expl declaration... " >&6; }
76615 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76616 if ${glibcxx_cv_func_expl_use+:} false; then :
76617 $as_echo_n "(cached) " >&6
76618 else
76621 ac_ext=cpp
76622 ac_cpp='$CXXCPP $CPPFLAGS'
76623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76628 /* end confdefs.h. */
76629 #include <math.h>
76630 #ifdef HAVE_IEEEFP_H
76631 #include <ieeefp.h>
76632 #endif
76635 main ()
76637 expl(0);
76639 return 0;
76641 _ACEOF
76642 if ac_fn_cxx_try_compile "$LINENO"; then :
76643 glibcxx_cv_func_expl_use=yes
76644 else
76645 glibcxx_cv_func_expl_use=no
76647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76648 ac_ext=c
76649 ac_cpp='$CPP $CPPFLAGS'
76650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76659 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76661 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76662 for ac_func in expl
76663 do :
76664 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76665 if test "x$ac_cv_func_expl" = xyes; then :
76666 cat >>confdefs.h <<_ACEOF
76667 #define HAVE_EXPL 1
76668 _ACEOF
76671 done
76673 else
76675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76676 $as_echo_n "checking for _expl declaration... " >&6; }
76677 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76678 if ${glibcxx_cv_func__expl_use+:} false; then :
76679 $as_echo_n "(cached) " >&6
76680 else
76683 ac_ext=cpp
76684 ac_cpp='$CXXCPP $CPPFLAGS'
76685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76690 /* end confdefs.h. */
76691 #include <math.h>
76692 #ifdef HAVE_IEEEFP_H
76693 #include <ieeefp.h>
76694 #endif
76697 main ()
76699 _expl(0);
76701 return 0;
76703 _ACEOF
76704 if ac_fn_cxx_try_compile "$LINENO"; then :
76705 glibcxx_cv_func__expl_use=yes
76706 else
76707 glibcxx_cv_func__expl_use=no
76709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76710 ac_ext=c
76711 ac_cpp='$CPP $CPPFLAGS'
76712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76721 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76723 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76724 for ac_func in _expl
76725 do :
76726 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76727 if test "x$ac_cv_func__expl" = xyes; then :
76728 cat >>confdefs.h <<_ACEOF
76729 #define HAVE__EXPL 1
76730 _ACEOF
76733 done
76742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76743 $as_echo_n "checking for fabsl declaration... " >&6; }
76744 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76745 if ${glibcxx_cv_func_fabsl_use+:} false; then :
76746 $as_echo_n "(cached) " >&6
76747 else
76750 ac_ext=cpp
76751 ac_cpp='$CXXCPP $CPPFLAGS'
76752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76757 /* end confdefs.h. */
76758 #include <math.h>
76759 #ifdef HAVE_IEEEFP_H
76760 #include <ieeefp.h>
76761 #endif
76764 main ()
76766 fabsl(0);
76768 return 0;
76770 _ACEOF
76771 if ac_fn_cxx_try_compile "$LINENO"; then :
76772 glibcxx_cv_func_fabsl_use=yes
76773 else
76774 glibcxx_cv_func_fabsl_use=no
76776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76777 ac_ext=c
76778 ac_cpp='$CPP $CPPFLAGS'
76779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76788 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76790 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76791 for ac_func in fabsl
76792 do :
76793 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76794 if test "x$ac_cv_func_fabsl" = xyes; then :
76795 cat >>confdefs.h <<_ACEOF
76796 #define HAVE_FABSL 1
76797 _ACEOF
76800 done
76802 else
76804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76805 $as_echo_n "checking for _fabsl declaration... " >&6; }
76806 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76807 if ${glibcxx_cv_func__fabsl_use+:} false; then :
76808 $as_echo_n "(cached) " >&6
76809 else
76812 ac_ext=cpp
76813 ac_cpp='$CXXCPP $CPPFLAGS'
76814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76819 /* end confdefs.h. */
76820 #include <math.h>
76821 #ifdef HAVE_IEEEFP_H
76822 #include <ieeefp.h>
76823 #endif
76826 main ()
76828 _fabsl(0);
76830 return 0;
76832 _ACEOF
76833 if ac_fn_cxx_try_compile "$LINENO"; then :
76834 glibcxx_cv_func__fabsl_use=yes
76835 else
76836 glibcxx_cv_func__fabsl_use=no
76838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76839 ac_ext=c
76840 ac_cpp='$CPP $CPPFLAGS'
76841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76850 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76852 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76853 for ac_func in _fabsl
76854 do :
76855 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76856 if test "x$ac_cv_func__fabsl" = xyes; then :
76857 cat >>confdefs.h <<_ACEOF
76858 #define HAVE__FABSL 1
76859 _ACEOF
76862 done
76871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76872 $as_echo_n "checking for fmodl declaration... " >&6; }
76873 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76874 if ${glibcxx_cv_func_fmodl_use+:} false; then :
76875 $as_echo_n "(cached) " >&6
76876 else
76879 ac_ext=cpp
76880 ac_cpp='$CXXCPP $CPPFLAGS'
76881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76886 /* end confdefs.h. */
76887 #include <math.h>
76889 main ()
76891 fmodl(0, 0);
76893 return 0;
76895 _ACEOF
76896 if ac_fn_cxx_try_compile "$LINENO"; then :
76897 glibcxx_cv_func_fmodl_use=yes
76898 else
76899 glibcxx_cv_func_fmodl_use=no
76901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76902 ac_ext=c
76903 ac_cpp='$CPP $CPPFLAGS'
76904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76913 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76915 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76916 for ac_func in fmodl
76917 do :
76918 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76919 if test "x$ac_cv_func_fmodl" = xyes; then :
76920 cat >>confdefs.h <<_ACEOF
76921 #define HAVE_FMODL 1
76922 _ACEOF
76925 done
76927 else
76929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76930 $as_echo_n "checking for _fmodl declaration... " >&6; }
76931 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76932 if ${glibcxx_cv_func__fmodl_use+:} false; then :
76933 $as_echo_n "(cached) " >&6
76934 else
76937 ac_ext=cpp
76938 ac_cpp='$CXXCPP $CPPFLAGS'
76939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76944 /* end confdefs.h. */
76945 #include <math.h>
76947 main ()
76949 _fmodl(0, 0);
76951 return 0;
76953 _ACEOF
76954 if ac_fn_cxx_try_compile "$LINENO"; then :
76955 glibcxx_cv_func__fmodl_use=yes
76956 else
76957 glibcxx_cv_func__fmodl_use=no
76959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76960 ac_ext=c
76961 ac_cpp='$CPP $CPPFLAGS'
76962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76971 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76973 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76974 for ac_func in _fmodl
76975 do :
76976 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76977 if test "x$ac_cv_func__fmodl" = xyes; then :
76978 cat >>confdefs.h <<_ACEOF
76979 #define HAVE__FMODL 1
76980 _ACEOF
76983 done
76992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76993 $as_echo_n "checking for frexpl declaration... " >&6; }
76994 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76995 if ${glibcxx_cv_func_frexpl_use+:} false; then :
76996 $as_echo_n "(cached) " >&6
76997 else
77000 ac_ext=cpp
77001 ac_cpp='$CXXCPP $CPPFLAGS'
77002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77007 /* end confdefs.h. */
77008 #include <math.h>
77010 main ()
77012 frexpl(0, 0);
77014 return 0;
77016 _ACEOF
77017 if ac_fn_cxx_try_compile "$LINENO"; then :
77018 glibcxx_cv_func_frexpl_use=yes
77019 else
77020 glibcxx_cv_func_frexpl_use=no
77022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77023 ac_ext=c
77024 ac_cpp='$CPP $CPPFLAGS'
77025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
77034 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
77036 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
77037 for ac_func in frexpl
77038 do :
77039 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
77040 if test "x$ac_cv_func_frexpl" = xyes; then :
77041 cat >>confdefs.h <<_ACEOF
77042 #define HAVE_FREXPL 1
77043 _ACEOF
77046 done
77048 else
77050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
77051 $as_echo_n "checking for _frexpl declaration... " >&6; }
77052 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
77053 if ${glibcxx_cv_func__frexpl_use+:} false; then :
77054 $as_echo_n "(cached) " >&6
77055 else
77058 ac_ext=cpp
77059 ac_cpp='$CXXCPP $CPPFLAGS'
77060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77065 /* end confdefs.h. */
77066 #include <math.h>
77068 main ()
77070 _frexpl(0, 0);
77072 return 0;
77074 _ACEOF
77075 if ac_fn_cxx_try_compile "$LINENO"; then :
77076 glibcxx_cv_func__frexpl_use=yes
77077 else
77078 glibcxx_cv_func__frexpl_use=no
77080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77081 ac_ext=c
77082 ac_cpp='$CPP $CPPFLAGS'
77083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
77092 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
77094 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
77095 for ac_func in _frexpl
77096 do :
77097 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
77098 if test "x$ac_cv_func__frexpl" = xyes; then :
77099 cat >>confdefs.h <<_ACEOF
77100 #define HAVE__FREXPL 1
77101 _ACEOF
77104 done
77113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
77114 $as_echo_n "checking for hypotl declaration... " >&6; }
77115 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
77116 if ${glibcxx_cv_func_hypotl_use+:} false; then :
77117 $as_echo_n "(cached) " >&6
77118 else
77121 ac_ext=cpp
77122 ac_cpp='$CXXCPP $CPPFLAGS'
77123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77128 /* end confdefs.h. */
77129 #include <math.h>
77131 main ()
77133 hypotl(0, 0);
77135 return 0;
77137 _ACEOF
77138 if ac_fn_cxx_try_compile "$LINENO"; then :
77139 glibcxx_cv_func_hypotl_use=yes
77140 else
77141 glibcxx_cv_func_hypotl_use=no
77143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77144 ac_ext=c
77145 ac_cpp='$CPP $CPPFLAGS'
77146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
77155 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
77157 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
77158 for ac_func in hypotl
77159 do :
77160 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
77161 if test "x$ac_cv_func_hypotl" = xyes; then :
77162 cat >>confdefs.h <<_ACEOF
77163 #define HAVE_HYPOTL 1
77164 _ACEOF
77167 done
77169 else
77171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
77172 $as_echo_n "checking for _hypotl declaration... " >&6; }
77173 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
77174 if ${glibcxx_cv_func__hypotl_use+:} false; then :
77175 $as_echo_n "(cached) " >&6
77176 else
77179 ac_ext=cpp
77180 ac_cpp='$CXXCPP $CPPFLAGS'
77181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77186 /* end confdefs.h. */
77187 #include <math.h>
77189 main ()
77191 _hypotl(0, 0);
77193 return 0;
77195 _ACEOF
77196 if ac_fn_cxx_try_compile "$LINENO"; then :
77197 glibcxx_cv_func__hypotl_use=yes
77198 else
77199 glibcxx_cv_func__hypotl_use=no
77201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77202 ac_ext=c
77203 ac_cpp='$CPP $CPPFLAGS'
77204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
77213 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
77215 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
77216 for ac_func in _hypotl
77217 do :
77218 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
77219 if test "x$ac_cv_func__hypotl" = xyes; then :
77220 cat >>confdefs.h <<_ACEOF
77221 #define HAVE__HYPOTL 1
77222 _ACEOF
77225 done
77234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
77235 $as_echo_n "checking for ldexpl declaration... " >&6; }
77236 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
77237 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
77238 $as_echo_n "(cached) " >&6
77239 else
77242 ac_ext=cpp
77243 ac_cpp='$CXXCPP $CPPFLAGS'
77244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77249 /* end confdefs.h. */
77250 #include <math.h>
77252 main ()
77254 ldexpl(0, 0);
77256 return 0;
77258 _ACEOF
77259 if ac_fn_cxx_try_compile "$LINENO"; then :
77260 glibcxx_cv_func_ldexpl_use=yes
77261 else
77262 glibcxx_cv_func_ldexpl_use=no
77264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77265 ac_ext=c
77266 ac_cpp='$CPP $CPPFLAGS'
77267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
77276 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
77278 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77279 for ac_func in ldexpl
77280 do :
77281 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
77282 if test "x$ac_cv_func_ldexpl" = xyes; then :
77283 cat >>confdefs.h <<_ACEOF
77284 #define HAVE_LDEXPL 1
77285 _ACEOF
77288 done
77290 else
77292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
77293 $as_echo_n "checking for _ldexpl declaration... " >&6; }
77294 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77295 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
77296 $as_echo_n "(cached) " >&6
77297 else
77300 ac_ext=cpp
77301 ac_cpp='$CXXCPP $CPPFLAGS'
77302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77307 /* end confdefs.h. */
77308 #include <math.h>
77310 main ()
77312 _ldexpl(0, 0);
77314 return 0;
77316 _ACEOF
77317 if ac_fn_cxx_try_compile "$LINENO"; then :
77318 glibcxx_cv_func__ldexpl_use=yes
77319 else
77320 glibcxx_cv_func__ldexpl_use=no
77322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77323 ac_ext=c
77324 ac_cpp='$CPP $CPPFLAGS'
77325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77334 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77336 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77337 for ac_func in _ldexpl
77338 do :
77339 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77340 if test "x$ac_cv_func__ldexpl" = xyes; then :
77341 cat >>confdefs.h <<_ACEOF
77342 #define HAVE__LDEXPL 1
77343 _ACEOF
77346 done
77355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77356 $as_echo_n "checking for logl declaration... " >&6; }
77357 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77358 if ${glibcxx_cv_func_logl_use+:} false; then :
77359 $as_echo_n "(cached) " >&6
77360 else
77363 ac_ext=cpp
77364 ac_cpp='$CXXCPP $CPPFLAGS'
77365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77370 /* end confdefs.h. */
77371 #include <math.h>
77372 #ifdef HAVE_IEEEFP_H
77373 #include <ieeefp.h>
77374 #endif
77377 main ()
77379 logl(0);
77381 return 0;
77383 _ACEOF
77384 if ac_fn_cxx_try_compile "$LINENO"; then :
77385 glibcxx_cv_func_logl_use=yes
77386 else
77387 glibcxx_cv_func_logl_use=no
77389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77390 ac_ext=c
77391 ac_cpp='$CPP $CPPFLAGS'
77392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77401 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77403 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77404 for ac_func in logl
77405 do :
77406 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77407 if test "x$ac_cv_func_logl" = xyes; then :
77408 cat >>confdefs.h <<_ACEOF
77409 #define HAVE_LOGL 1
77410 _ACEOF
77413 done
77415 else
77417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77418 $as_echo_n "checking for _logl declaration... " >&6; }
77419 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77420 if ${glibcxx_cv_func__logl_use+:} false; then :
77421 $as_echo_n "(cached) " >&6
77422 else
77425 ac_ext=cpp
77426 ac_cpp='$CXXCPP $CPPFLAGS'
77427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77432 /* end confdefs.h. */
77433 #include <math.h>
77434 #ifdef HAVE_IEEEFP_H
77435 #include <ieeefp.h>
77436 #endif
77439 main ()
77441 _logl(0);
77443 return 0;
77445 _ACEOF
77446 if ac_fn_cxx_try_compile "$LINENO"; then :
77447 glibcxx_cv_func__logl_use=yes
77448 else
77449 glibcxx_cv_func__logl_use=no
77451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77452 ac_ext=c
77453 ac_cpp='$CPP $CPPFLAGS'
77454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77463 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77465 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77466 for ac_func in _logl
77467 do :
77468 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77469 if test "x$ac_cv_func__logl" = xyes; then :
77470 cat >>confdefs.h <<_ACEOF
77471 #define HAVE__LOGL 1
77472 _ACEOF
77475 done
77484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77485 $as_echo_n "checking for log10l declaration... " >&6; }
77486 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77487 if ${glibcxx_cv_func_log10l_use+:} false; then :
77488 $as_echo_n "(cached) " >&6
77489 else
77492 ac_ext=cpp
77493 ac_cpp='$CXXCPP $CPPFLAGS'
77494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77499 /* end confdefs.h. */
77500 #include <math.h>
77501 #ifdef HAVE_IEEEFP_H
77502 #include <ieeefp.h>
77503 #endif
77506 main ()
77508 log10l(0);
77510 return 0;
77512 _ACEOF
77513 if ac_fn_cxx_try_compile "$LINENO"; then :
77514 glibcxx_cv_func_log10l_use=yes
77515 else
77516 glibcxx_cv_func_log10l_use=no
77518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77519 ac_ext=c
77520 ac_cpp='$CPP $CPPFLAGS'
77521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77530 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77532 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77533 for ac_func in log10l
77534 do :
77535 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77536 if test "x$ac_cv_func_log10l" = xyes; then :
77537 cat >>confdefs.h <<_ACEOF
77538 #define HAVE_LOG10L 1
77539 _ACEOF
77542 done
77544 else
77546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77547 $as_echo_n "checking for _log10l declaration... " >&6; }
77548 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77549 if ${glibcxx_cv_func__log10l_use+:} false; then :
77550 $as_echo_n "(cached) " >&6
77551 else
77554 ac_ext=cpp
77555 ac_cpp='$CXXCPP $CPPFLAGS'
77556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77561 /* end confdefs.h. */
77562 #include <math.h>
77563 #ifdef HAVE_IEEEFP_H
77564 #include <ieeefp.h>
77565 #endif
77568 main ()
77570 _log10l(0);
77572 return 0;
77574 _ACEOF
77575 if ac_fn_cxx_try_compile "$LINENO"; then :
77576 glibcxx_cv_func__log10l_use=yes
77577 else
77578 glibcxx_cv_func__log10l_use=no
77580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77581 ac_ext=c
77582 ac_cpp='$CPP $CPPFLAGS'
77583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77592 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77594 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77595 for ac_func in _log10l
77596 do :
77597 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77598 if test "x$ac_cv_func__log10l" = xyes; then :
77599 cat >>confdefs.h <<_ACEOF
77600 #define HAVE__LOG10L 1
77601 _ACEOF
77604 done
77613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77614 $as_echo_n "checking for modfl declaration... " >&6; }
77615 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77616 if ${glibcxx_cv_func_modfl_use+:} false; then :
77617 $as_echo_n "(cached) " >&6
77618 else
77621 ac_ext=cpp
77622 ac_cpp='$CXXCPP $CPPFLAGS'
77623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77628 /* end confdefs.h. */
77629 #include <math.h>
77631 main ()
77633 modfl(0, 0);
77635 return 0;
77637 _ACEOF
77638 if ac_fn_cxx_try_compile "$LINENO"; then :
77639 glibcxx_cv_func_modfl_use=yes
77640 else
77641 glibcxx_cv_func_modfl_use=no
77643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77644 ac_ext=c
77645 ac_cpp='$CPP $CPPFLAGS'
77646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77655 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77657 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77658 for ac_func in modfl
77659 do :
77660 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77661 if test "x$ac_cv_func_modfl" = xyes; then :
77662 cat >>confdefs.h <<_ACEOF
77663 #define HAVE_MODFL 1
77664 _ACEOF
77667 done
77669 else
77671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77672 $as_echo_n "checking for _modfl declaration... " >&6; }
77673 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77674 if ${glibcxx_cv_func__modfl_use+:} false; then :
77675 $as_echo_n "(cached) " >&6
77676 else
77679 ac_ext=cpp
77680 ac_cpp='$CXXCPP $CPPFLAGS'
77681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77686 /* end confdefs.h. */
77687 #include <math.h>
77689 main ()
77691 _modfl(0, 0);
77693 return 0;
77695 _ACEOF
77696 if ac_fn_cxx_try_compile "$LINENO"; then :
77697 glibcxx_cv_func__modfl_use=yes
77698 else
77699 glibcxx_cv_func__modfl_use=no
77701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77702 ac_ext=c
77703 ac_cpp='$CPP $CPPFLAGS'
77704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77713 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77715 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77716 for ac_func in _modfl
77717 do :
77718 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77719 if test "x$ac_cv_func__modfl" = xyes; then :
77720 cat >>confdefs.h <<_ACEOF
77721 #define HAVE__MODFL 1
77722 _ACEOF
77725 done
77734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77735 $as_echo_n "checking for powl declaration... " >&6; }
77736 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77737 if ${glibcxx_cv_func_powl_use+:} false; then :
77738 $as_echo_n "(cached) " >&6
77739 else
77742 ac_ext=cpp
77743 ac_cpp='$CXXCPP $CPPFLAGS'
77744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77749 /* end confdefs.h. */
77750 #include <math.h>
77752 main ()
77754 powl(0, 0);
77756 return 0;
77758 _ACEOF
77759 if ac_fn_cxx_try_compile "$LINENO"; then :
77760 glibcxx_cv_func_powl_use=yes
77761 else
77762 glibcxx_cv_func_powl_use=no
77764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77765 ac_ext=c
77766 ac_cpp='$CPP $CPPFLAGS'
77767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77776 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77778 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77779 for ac_func in powl
77780 do :
77781 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77782 if test "x$ac_cv_func_powl" = xyes; then :
77783 cat >>confdefs.h <<_ACEOF
77784 #define HAVE_POWL 1
77785 _ACEOF
77788 done
77790 else
77792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77793 $as_echo_n "checking for _powl declaration... " >&6; }
77794 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77795 if ${glibcxx_cv_func__powl_use+:} false; then :
77796 $as_echo_n "(cached) " >&6
77797 else
77800 ac_ext=cpp
77801 ac_cpp='$CXXCPP $CPPFLAGS'
77802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77807 /* end confdefs.h. */
77808 #include <math.h>
77810 main ()
77812 _powl(0, 0);
77814 return 0;
77816 _ACEOF
77817 if ac_fn_cxx_try_compile "$LINENO"; then :
77818 glibcxx_cv_func__powl_use=yes
77819 else
77820 glibcxx_cv_func__powl_use=no
77822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77823 ac_ext=c
77824 ac_cpp='$CPP $CPPFLAGS'
77825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77834 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77836 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77837 for ac_func in _powl
77838 do :
77839 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77840 if test "x$ac_cv_func__powl" = xyes; then :
77841 cat >>confdefs.h <<_ACEOF
77842 #define HAVE__POWL 1
77843 _ACEOF
77846 done
77855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77856 $as_echo_n "checking for sqrtl declaration... " >&6; }
77857 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77858 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
77859 $as_echo_n "(cached) " >&6
77860 else
77863 ac_ext=cpp
77864 ac_cpp='$CXXCPP $CPPFLAGS'
77865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77870 /* end confdefs.h. */
77871 #include <math.h>
77872 #ifdef HAVE_IEEEFP_H
77873 #include <ieeefp.h>
77874 #endif
77877 main ()
77879 sqrtl(0);
77881 return 0;
77883 _ACEOF
77884 if ac_fn_cxx_try_compile "$LINENO"; then :
77885 glibcxx_cv_func_sqrtl_use=yes
77886 else
77887 glibcxx_cv_func_sqrtl_use=no
77889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77890 ac_ext=c
77891 ac_cpp='$CPP $CPPFLAGS'
77892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77901 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77903 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77904 for ac_func in sqrtl
77905 do :
77906 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77907 if test "x$ac_cv_func_sqrtl" = xyes; then :
77908 cat >>confdefs.h <<_ACEOF
77909 #define HAVE_SQRTL 1
77910 _ACEOF
77913 done
77915 else
77917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77918 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77919 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77920 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
77921 $as_echo_n "(cached) " >&6
77922 else
77925 ac_ext=cpp
77926 ac_cpp='$CXXCPP $CPPFLAGS'
77927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77932 /* end confdefs.h. */
77933 #include <math.h>
77934 #ifdef HAVE_IEEEFP_H
77935 #include <ieeefp.h>
77936 #endif
77939 main ()
77941 _sqrtl(0);
77943 return 0;
77945 _ACEOF
77946 if ac_fn_cxx_try_compile "$LINENO"; then :
77947 glibcxx_cv_func__sqrtl_use=yes
77948 else
77949 glibcxx_cv_func__sqrtl_use=no
77951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77952 ac_ext=c
77953 ac_cpp='$CPP $CPPFLAGS'
77954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77963 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77965 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77966 for ac_func in _sqrtl
77967 do :
77968 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77969 if test "x$ac_cv_func__sqrtl" = xyes; then :
77970 cat >>confdefs.h <<_ACEOF
77971 #define HAVE__SQRTL 1
77972 _ACEOF
77975 done
77984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77985 $as_echo_n "checking for sincosl declaration... " >&6; }
77986 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77987 if ${glibcxx_cv_func_sincosl_use+:} false; then :
77988 $as_echo_n "(cached) " >&6
77989 else
77992 ac_ext=cpp
77993 ac_cpp='$CXXCPP $CPPFLAGS'
77994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77999 /* end confdefs.h. */
78000 #include <math.h>
78002 main ()
78004 sincosl(0, 0, 0);
78006 return 0;
78008 _ACEOF
78009 if ac_fn_cxx_try_compile "$LINENO"; then :
78010 glibcxx_cv_func_sincosl_use=yes
78011 else
78012 glibcxx_cv_func_sincosl_use=no
78014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78015 ac_ext=c
78016 ac_cpp='$CPP $CPPFLAGS'
78017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
78026 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
78028 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
78029 for ac_func in sincosl
78030 do :
78031 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
78032 if test "x$ac_cv_func_sincosl" = xyes; then :
78033 cat >>confdefs.h <<_ACEOF
78034 #define HAVE_SINCOSL 1
78035 _ACEOF
78038 done
78040 else
78042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
78043 $as_echo_n "checking for _sincosl declaration... " >&6; }
78044 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
78045 if ${glibcxx_cv_func__sincosl_use+:} false; then :
78046 $as_echo_n "(cached) " >&6
78047 else
78050 ac_ext=cpp
78051 ac_cpp='$CXXCPP $CPPFLAGS'
78052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78057 /* end confdefs.h. */
78058 #include <math.h>
78060 main ()
78062 _sincosl(0, 0, 0);
78064 return 0;
78066 _ACEOF
78067 if ac_fn_cxx_try_compile "$LINENO"; then :
78068 glibcxx_cv_func__sincosl_use=yes
78069 else
78070 glibcxx_cv_func__sincosl_use=no
78072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78073 ac_ext=c
78074 ac_cpp='$CPP $CPPFLAGS'
78075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
78084 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
78086 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
78087 for ac_func in _sincosl
78088 do :
78089 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
78090 if test "x$ac_cv_func__sincosl" = xyes; then :
78091 cat >>confdefs.h <<_ACEOF
78092 #define HAVE__SINCOSL 1
78093 _ACEOF
78096 done
78105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
78106 $as_echo_n "checking for finitel declaration... " >&6; }
78107 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
78108 if ${glibcxx_cv_func_finitel_use+:} false; then :
78109 $as_echo_n "(cached) " >&6
78110 else
78113 ac_ext=cpp
78114 ac_cpp='$CXXCPP $CPPFLAGS'
78115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78120 /* end confdefs.h. */
78121 #include <math.h>
78122 #ifdef HAVE_IEEEFP_H
78123 #include <ieeefp.h>
78124 #endif
78127 main ()
78129 finitel(0);
78131 return 0;
78133 _ACEOF
78134 if ac_fn_cxx_try_compile "$LINENO"; then :
78135 glibcxx_cv_func_finitel_use=yes
78136 else
78137 glibcxx_cv_func_finitel_use=no
78139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78140 ac_ext=c
78141 ac_cpp='$CPP $CPPFLAGS'
78142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
78151 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
78153 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
78154 for ac_func in finitel
78155 do :
78156 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
78157 if test "x$ac_cv_func_finitel" = xyes; then :
78158 cat >>confdefs.h <<_ACEOF
78159 #define HAVE_FINITEL 1
78160 _ACEOF
78163 done
78165 else
78167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
78168 $as_echo_n "checking for _finitel declaration... " >&6; }
78169 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
78170 if ${glibcxx_cv_func__finitel_use+:} false; then :
78171 $as_echo_n "(cached) " >&6
78172 else
78175 ac_ext=cpp
78176 ac_cpp='$CXXCPP $CPPFLAGS'
78177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78182 /* end confdefs.h. */
78183 #include <math.h>
78184 #ifdef HAVE_IEEEFP_H
78185 #include <ieeefp.h>
78186 #endif
78189 main ()
78191 _finitel(0);
78193 return 0;
78195 _ACEOF
78196 if ac_fn_cxx_try_compile "$LINENO"; then :
78197 glibcxx_cv_func__finitel_use=yes
78198 else
78199 glibcxx_cv_func__finitel_use=no
78201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78202 ac_ext=c
78203 ac_cpp='$CPP $CPPFLAGS'
78204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
78213 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
78215 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
78216 for ac_func in _finitel
78217 do :
78218 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
78219 if test "x$ac_cv_func__finitel" = xyes; then :
78220 cat >>confdefs.h <<_ACEOF
78221 #define HAVE__FINITEL 1
78222 _ACEOF
78225 done
78233 LIBS="$ac_save_LIBS"
78234 CXXFLAGS="$ac_save_CXXFLAGS"
78237 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78238 ac_save_CXXFLAGS="$CXXFLAGS"
78239 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
78243 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
78244 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
78245 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
78246 $as_echo_n "(cached) " >&6
78247 else
78250 ac_ext=cpp
78251 ac_cpp='$CXXCPP $CPPFLAGS'
78252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78257 /* end confdefs.h. */
78258 #include <stdlib.h>
78260 main ()
78262 at_quick_exit(0);
78264 return 0;
78266 _ACEOF
78267 if ac_fn_cxx_try_compile "$LINENO"; then :
78268 glibcxx_cv_func_at_quick_exit_use=yes
78269 else
78270 glibcxx_cv_func_at_quick_exit_use=no
78272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78273 ac_ext=c
78274 ac_cpp='$CPP $CPPFLAGS'
78275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
78284 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
78285 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
78286 for ac_func in at_quick_exit
78287 do :
78288 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
78289 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
78290 cat >>confdefs.h <<_ACEOF
78291 #define HAVE_AT_QUICK_EXIT 1
78292 _ACEOF
78295 done
78300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
78301 $as_echo_n "checking for quick_exit declaration... " >&6; }
78302 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
78303 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
78304 $as_echo_n "(cached) " >&6
78305 else
78308 ac_ext=cpp
78309 ac_cpp='$CXXCPP $CPPFLAGS'
78310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78315 /* end confdefs.h. */
78316 #include <stdlib.h>
78318 main ()
78320 quick_exit(0);
78322 return 0;
78324 _ACEOF
78325 if ac_fn_cxx_try_compile "$LINENO"; then :
78326 glibcxx_cv_func_quick_exit_use=yes
78327 else
78328 glibcxx_cv_func_quick_exit_use=no
78330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78331 ac_ext=c
78332 ac_cpp='$CPP $CPPFLAGS'
78333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78342 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78343 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78344 for ac_func in quick_exit
78345 do :
78346 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78347 if test "x$ac_cv_func_quick_exit" = xyes; then :
78348 cat >>confdefs.h <<_ACEOF
78349 #define HAVE_QUICK_EXIT 1
78350 _ACEOF
78353 done
78358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78359 $as_echo_n "checking for strtold declaration... " >&6; }
78360 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78361 if ${glibcxx_cv_func_strtold_use+:} false; then :
78362 $as_echo_n "(cached) " >&6
78363 else
78366 ac_ext=cpp
78367 ac_cpp='$CXXCPP $CPPFLAGS'
78368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78373 /* end confdefs.h. */
78374 #include <stdlib.h>
78376 main ()
78378 strtold(0, 0);
78380 return 0;
78382 _ACEOF
78383 if ac_fn_cxx_try_compile "$LINENO"; then :
78384 glibcxx_cv_func_strtold_use=yes
78385 else
78386 glibcxx_cv_func_strtold_use=no
78388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78389 ac_ext=c
78390 ac_cpp='$CPP $CPPFLAGS'
78391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78400 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78401 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78402 for ac_func in strtold
78403 do :
78404 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78405 if test "x$ac_cv_func_strtold" = xyes; then :
78406 cat >>confdefs.h <<_ACEOF
78407 #define HAVE_STRTOLD 1
78408 _ACEOF
78411 done
78418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78419 $as_echo_n "checking for strtof declaration... " >&6; }
78420 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78421 if ${glibcxx_cv_func_strtof_use+:} false; then :
78422 $as_echo_n "(cached) " >&6
78423 else
78426 ac_ext=cpp
78427 ac_cpp='$CXXCPP $CPPFLAGS'
78428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78433 /* end confdefs.h. */
78434 #include <stdlib.h>
78436 main ()
78438 strtof(0, 0);
78440 return 0;
78442 _ACEOF
78443 if ac_fn_cxx_try_compile "$LINENO"; then :
78444 glibcxx_cv_func_strtof_use=yes
78445 else
78446 glibcxx_cv_func_strtof_use=no
78448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78449 ac_ext=c
78450 ac_cpp='$CPP $CPPFLAGS'
78451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78460 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78461 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78462 for ac_func in strtof
78463 do :
78464 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78465 if test "x$ac_cv_func_strtof" = xyes; then :
78466 cat >>confdefs.h <<_ACEOF
78467 #define HAVE_STRTOF 1
78468 _ACEOF
78471 done
78478 CXXFLAGS="$ac_save_CXXFLAGS"
78481 *-vxworks)
78482 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78484 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78486 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78488 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78490 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78492 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78494 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78496 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78498 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78500 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78502 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78504 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78506 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78508 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78510 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78512 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78514 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78516 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78518 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78520 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78524 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
78526 esac
78530 # At some point, we should differentiate between architectures
78531 # like x86, which have long double versions, and alpha/powerpc/etc.,
78532 # which don't. For the time being, punt.
78533 if test x"long_double_math_on_this_cpu" = x"yes"; then
78534 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78536 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78538 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78540 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78542 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78544 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78546 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78548 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78550 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78552 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78554 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78556 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78558 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78560 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78562 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78564 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78566 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78568 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78570 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78572 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78574 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78576 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78578 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78583 # Check for _Unwind_GetIPInfo.
78586 # Check whether --with-system-libunwind was given.
78587 if test "${with_system_libunwind+set}" = set; then :
78588 withval=$with_system_libunwind;
78591 # If system-libunwind was not specifically set, pick a default setting.
78592 if test x$with_system_libunwind = x; then
78593 case ${target} in
78594 ia64-*-hpux*) with_system_libunwind=yes ;;
78595 *) with_system_libunwind=no ;;
78596 esac
78598 # Based on system-libunwind and target, do we have ipinfo?
78599 if test x$with_system_libunwind = xyes; then
78600 case ${target} in
78601 ia64-*-*) have_unwind_getipinfo=no ;;
78602 *) have_unwind_getipinfo=yes ;;
78603 esac
78604 else
78605 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78607 case ${target} in
78608 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78609 *) have_unwind_getipinfo=yes ;;
78610 esac
78614 if test x$have_unwind_getipinfo = xyes; then
78616 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78621 # Check whether --enable-linux-futex was given.
78622 if test "${enable_linux_futex+set}" = set; then :
78623 enableval=$enable_linux_futex;
78624 case "$enableval" in
78625 yes|no|default) ;;
78626 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78627 esac
78629 else
78630 enable_linux_futex=default
78634 case "$target" in
78635 *-linux*)
78636 case "$enable_linux_futex" in
78637 default)
78638 # If headers don't have gettid/futex syscalls definition, then
78639 # default to no, otherwise there will be compile time failures.
78640 # Otherwise, default to yes. If we don't detect we are
78641 # compiled/linked against NPTL and not cross-compiling, check
78642 # if programs are run by default against NPTL and if not, issue
78643 # a warning.
78644 enable_linux_futex=no
78645 if test x$gcc_no_link = xyes; then
78646 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78649 /* end confdefs.h. */
78650 #include <sys/syscall.h>
78651 int lk;
78653 main ()
78655 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78657 return 0;
78659 _ACEOF
78660 if ac_fn_c_try_link "$LINENO"; then :
78661 save_LIBS="$LIBS"
78662 LIBS="-lpthread $LIBS"
78663 if test x$gcc_no_link = xyes; then
78664 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78667 /* end confdefs.h. */
78668 #ifndef _GNU_SOURCE
78669 #define _GNU_SOURCE 1
78670 #endif
78671 #include <pthread.h>
78672 pthread_t th; void *status;
78674 main ()
78676 pthread_tryjoin_np (th, &status);
78678 return 0;
78680 _ACEOF
78681 if ac_fn_c_try_link "$LINENO"; then :
78682 enable_linux_futex=yes
78683 else
78684 if test x$cross_compiling = xno; then
78685 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78686 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78688 If so, please configure with --disable-linux-futex" >&5
78689 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78690 If so, please configure with --disable-linux-futex" >&2;}
78693 enable_linux_futex=yes
78695 rm -f core conftest.err conftest.$ac_objext \
78696 conftest$ac_exeext conftest.$ac_ext
78697 LIBS="$save_LIBS"
78699 rm -f core conftest.err conftest.$ac_objext \
78700 conftest$ac_exeext conftest.$ac_ext
78702 yes)
78703 if test x$gcc_no_link = xyes; then
78704 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78707 /* end confdefs.h. */
78708 #include <sys/syscall.h>
78709 int lk;
78711 main ()
78713 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78715 return 0;
78717 _ACEOF
78718 if ac_fn_c_try_link "$LINENO"; then :
78720 else
78721 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78723 rm -f core conftest.err conftest.$ac_objext \
78724 conftest$ac_exeext conftest.$ac_ext
78726 esac
78729 enable_linux_futex=no
78731 esac
78732 if test x$enable_linux_futex = xyes; then
78734 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78741 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78743 acx_cv_header_stdint=stddef.h
78744 acx_cv_header_stdint_kind="(already complete)"
78745 for i in stdint.h $inttype_headers; do
78746 unset ac_cv_type_uintptr_t
78747 unset ac_cv_type_uintmax_t
78748 unset ac_cv_type_int_least32_t
78749 unset ac_cv_type_int_fast32_t
78750 unset ac_cv_type_uint64_t
78751 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78752 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78753 #include <$i>
78755 if test "x$ac_cv_type_uintmax_t" = xyes; then :
78756 acx_cv_header_stdint=$i
78757 else
78758 continue
78761 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78762 #include <$i>
78764 if test "x$ac_cv_type_uintptr_t" = xyes; then :
78766 else
78767 acx_cv_header_stdint_kind="(mostly complete)"
78770 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78771 #include <$i>
78773 if test "x$ac_cv_type_int_least32_t" = xyes; then :
78775 else
78776 acx_cv_header_stdint_kind="(mostly complete)"
78779 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78780 #include <$i>
78782 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
78784 else
78785 acx_cv_header_stdint_kind="(mostly complete)"
78788 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78789 #include <$i>
78791 if test "x$ac_cv_type_uint64_t" = xyes; then :
78793 else
78794 acx_cv_header_stdint_kind="(lacks uint64_t)"
78797 break
78798 done
78799 if test "$acx_cv_header_stdint" = stddef.h; then
78800 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78801 for i in stdint.h $inttype_headers; do
78802 unset ac_cv_type_uintptr_t
78803 unset ac_cv_type_uint32_t
78804 unset ac_cv_type_uint64_t
78805 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78806 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78807 #include <$i>
78809 if test "x$ac_cv_type_uint32_t" = xyes; then :
78810 acx_cv_header_stdint=$i
78811 else
78812 continue
78815 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78816 #include <$i>
78818 if test "x$ac_cv_type_uint64_t" = xyes; then :
78822 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78823 #include <$i>
78825 if test "x$ac_cv_type_uintptr_t" = xyes; then :
78829 break
78830 done
78832 if test "$acx_cv_header_stdint" = stddef.h; then
78833 acx_cv_header_stdint_kind="(u_intXX_t style)"
78834 for i in sys/types.h $inttype_headers; do
78835 unset ac_cv_type_u_int32_t
78836 unset ac_cv_type_u_int64_t
78837 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78838 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78839 #include <$i>
78841 if test "x$ac_cv_type_u_int32_t" = xyes; then :
78842 acx_cv_header_stdint=$i
78843 else
78844 continue
78847 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78848 #include <$i>
78850 if test "x$ac_cv_type_u_int64_t" = xyes; then :
78854 break
78855 done
78857 if test "$acx_cv_header_stdint" = stddef.h; then
78858 acx_cv_header_stdint_kind="(using manual detection)"
78861 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78862 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78863 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78864 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78865 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78867 # ----------------- Summarize what we found so far
78869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78870 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78872 case `$as_basename -- include/gstdint.h ||
78873 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78874 Xinclude/gstdint.h : 'X\(//\)$' \| \
78875 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78876 $as_echo X/include/gstdint.h |
78877 sed '/^.*\/\([^/][^/]*\)\/*$/{
78878 s//\1/
78881 /^X\/\(\/\/\)$/{
78882 s//\1/
78885 /^X\/\(\/\).*/{
78886 s//\1/
78889 s/.*/./; q'` in
78890 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78891 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78892 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78893 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78894 *) ;;
78895 esac
78897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78898 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78900 # ----------------- done included file, check C basic types --------
78902 # Lacking an uintptr_t? Test size of void *
78903 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78904 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78905 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78906 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78907 # This bug is HP SR number 8606223364.
78908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78909 $as_echo_n "checking size of void *... " >&6; }
78910 if ${ac_cv_sizeof_void_p+:} false; then :
78911 $as_echo_n "(cached) " >&6
78912 else
78913 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78915 else
78916 if test "$ac_cv_type_void_p" = yes; then
78917 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78918 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78919 as_fn_error 77 "cannot compute sizeof (void *)
78920 See \`config.log' for more details" "$LINENO" 5; }
78921 else
78922 ac_cv_sizeof_void_p=0
78927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78928 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78932 cat >>confdefs.h <<_ACEOF
78933 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78934 _ACEOF
78937 esac
78939 # Lacking an uint64_t? Test size of long
78940 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78941 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78942 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78943 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78944 # This bug is HP SR number 8606223364.
78945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78946 $as_echo_n "checking size of long... " >&6; }
78947 if ${ac_cv_sizeof_long+:} false; then :
78948 $as_echo_n "(cached) " >&6
78949 else
78950 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78952 else
78953 if test "$ac_cv_type_long" = yes; then
78954 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78955 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78956 as_fn_error 77 "cannot compute sizeof (long)
78957 See \`config.log' for more details" "$LINENO" 5; }
78958 else
78959 ac_cv_sizeof_long=0
78964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78965 $as_echo "$ac_cv_sizeof_long" >&6; }
78969 cat >>confdefs.h <<_ACEOF
78970 #define SIZEOF_LONG $ac_cv_sizeof_long
78971 _ACEOF
78974 esac
78976 if test $acx_cv_header_stdint = stddef.h; then
78977 # Lacking a good header? Test size of everything and deduce all types.
78978 # The cast to long int works around a bug in the HP C Compiler
78979 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78980 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78981 # This bug is HP SR number 8606223364.
78982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78983 $as_echo_n "checking size of int... " >&6; }
78984 if ${ac_cv_sizeof_int+:} false; then :
78985 $as_echo_n "(cached) " >&6
78986 else
78987 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78989 else
78990 if test "$ac_cv_type_int" = yes; then
78991 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78992 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78993 as_fn_error 77 "cannot compute sizeof (int)
78994 See \`config.log' for more details" "$LINENO" 5; }
78995 else
78996 ac_cv_sizeof_int=0
79001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
79002 $as_echo "$ac_cv_sizeof_int" >&6; }
79006 cat >>confdefs.h <<_ACEOF
79007 #define SIZEOF_INT $ac_cv_sizeof_int
79008 _ACEOF
79011 # The cast to long int works around a bug in the HP C Compiler
79012 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
79013 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
79014 # This bug is HP SR number 8606223364.
79015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
79016 $as_echo_n "checking size of short... " >&6; }
79017 if ${ac_cv_sizeof_short+:} false; then :
79018 $as_echo_n "(cached) " >&6
79019 else
79020 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
79022 else
79023 if test "$ac_cv_type_short" = yes; then
79024 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
79025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
79026 as_fn_error 77 "cannot compute sizeof (short)
79027 See \`config.log' for more details" "$LINENO" 5; }
79028 else
79029 ac_cv_sizeof_short=0
79034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
79035 $as_echo "$ac_cv_sizeof_short" >&6; }
79039 cat >>confdefs.h <<_ACEOF
79040 #define SIZEOF_SHORT $ac_cv_sizeof_short
79041 _ACEOF
79044 # The cast to long int works around a bug in the HP C Compiler
79045 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
79046 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
79047 # This bug is HP SR number 8606223364.
79048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
79049 $as_echo_n "checking size of char... " >&6; }
79050 if ${ac_cv_sizeof_char+:} false; then :
79051 $as_echo_n "(cached) " >&6
79052 else
79053 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
79055 else
79056 if test "$ac_cv_type_char" = yes; then
79057 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
79058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
79059 as_fn_error 77 "cannot compute sizeof (char)
79060 See \`config.log' for more details" "$LINENO" 5; }
79061 else
79062 ac_cv_sizeof_char=0
79067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
79068 $as_echo "$ac_cv_sizeof_char" >&6; }
79072 cat >>confdefs.h <<_ACEOF
79073 #define SIZEOF_CHAR $ac_cv_sizeof_char
79074 _ACEOF
79078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
79079 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
79080 case "$ac_cv_sizeof_char" in
79081 1) acx_cv_type_int8_t=char ;;
79082 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
79083 esac
79084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
79085 $as_echo "$acx_cv_type_int8_t" >&6; }
79087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
79088 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
79089 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
79090 2:*) acx_cv_type_int16_t=int ;;
79091 *:2) acx_cv_type_int16_t=short ;;
79092 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
79093 esac
79094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
79095 $as_echo "$acx_cv_type_int16_t" >&6; }
79097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
79098 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
79099 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
79100 4:*) acx_cv_type_int32_t=int ;;
79101 *:4) acx_cv_type_int32_t=long ;;
79102 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
79103 esac
79104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
79105 $as_echo "$acx_cv_type_int32_t" >&6; }
79108 # These tests are here to make the output prettier
79110 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
79111 case "$ac_cv_sizeof_long" in
79112 8) acx_cv_type_int64_t=long ;;
79113 esac
79114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
79115 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
79116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
79117 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
79120 # Now we can use the above types
79122 if test "$ac_cv_type_uintptr_t" != yes; then
79123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
79124 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
79125 case $ac_cv_sizeof_void_p in
79126 2) acx_cv_type_intptr_t=int16_t ;;
79127 4) acx_cv_type_intptr_t=int32_t ;;
79128 8) acx_cv_type_intptr_t=int64_t ;;
79129 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
79130 esac
79131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
79132 $as_echo "$acx_cv_type_intptr_t" >&6; }
79135 # ----------------- done all checks, emit header -------------
79136 ac_config_commands="$ac_config_commands include/gstdint.h"
79142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
79143 $as_echo_n "checking for GNU c++filt... " >&6; }
79144 if ${ac_cv_path_CXXFILT+:} false; then :
79145 $as_echo_n "(cached) " >&6
79146 else
79147 if test -z "$CXXFILT"; then
79148 ac_path_CXXFILT_found=false
79149 # Loop through the user's path and test for each of PROGNAME-LIST
79150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79151 for as_dir in $PATH
79153 IFS=$as_save_IFS
79154 test -z "$as_dir" && as_dir=.
79155 for ac_prog in c++filt gc++filt; do
79156 for ac_exec_ext in '' $ac_executable_extensions; do
79157 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
79158 as_fn_executable_p "$ac_path_CXXFILT" || continue
79159 # Check for GNU $ac_path_CXXFILT
79160 case `"$ac_path_CXXFILT" --version 2>&1` in
79161 *GNU*)
79162 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
79163 esac
79165 $ac_path_CXXFILT_found && break 3
79166 done
79167 done
79168 done
79169 IFS=$as_save_IFS
79170 if test -z "$ac_cv_path_CXXFILT"; then
79173 else
79174 ac_cv_path_CXXFILT=$CXXFILT
79178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
79179 $as_echo "$ac_cv_path_CXXFILT" >&6; }
79180 CXXFILT=$ac_cv_path_CXXFILT
79184 # Check whether --enable-symvers was given.
79185 if test "${enable_symvers+set}" = set; then :
79186 enableval=$enable_symvers;
79187 case "$enableval" in
79188 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
79189 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
79190 esac
79192 else
79193 enable_symvers=yes
79198 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
79199 # don't know enough about $LD to do tricks...
79201 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
79202 # with extern "C++" in version scripts.
79205 # Turn a 'yes' into a suitable default.
79206 if test x$enable_symvers = xyes ; then
79207 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
79208 enable_symvers=no
79209 else
79210 if test $with_gnu_ld = yes ; then
79211 case ${target_os} in
79212 hpux*)
79213 enable_symvers=no ;;
79215 enable_symvers=gnu ;;
79216 esac
79217 else
79218 case ${target_os} in
79219 darwin*)
79220 enable_symvers=darwin ;;
79221 # Sun symbol versioning exists since Solaris 2.5.
79222 solaris2.[5-9]* | solaris2.1[0-9]*)
79223 # make_sunver.pl needs GNU c++filt to support extern "C++" in
79224 # version scripts, so disable symbol versioning if none can be
79225 # found.
79226 if test -z "$ac_cv_path_CXXFILT"; then
79227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79228 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
79230 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
79231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79232 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79233 enable_symvers=no
79234 else
79235 enable_symvers=sun
79239 enable_symvers=no ;;
79240 esac
79245 # Check to see if 'darwin' or 'darwin-export' can win.
79246 if test x$enable_symvers = xdarwin-export ; then
79247 enable_symvers=darwin
79250 # Check if 'sun' was requested on non-Solaris 2 platforms.
79251 if test x$enable_symvers = xsun ; then
79252 case ${target_os} in
79253 solaris2*)
79254 # All fine.
79257 # Unlikely to work.
79258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79259 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
79261 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
79262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79263 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79264 enable_symvers=no
79266 esac
79269 # Check to see if 'gnu' can win.
79270 if test $enable_symvers = gnu ||
79271 test $enable_symvers = gnu-versioned-namespace ||
79272 test $enable_symvers = sun; then
79273 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
79274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
79275 $as_echo_n "checking for shared libgcc... " >&6; }
79276 ac_save_CFLAGS="$CFLAGS"
79277 CFLAGS=' -lgcc_s'
79278 if test x$gcc_no_link = xyes; then
79279 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79282 /* end confdefs.h. */
79285 main ()
79287 return 0;
79289 return 0;
79291 _ACEOF
79292 if ac_fn_c_try_link "$LINENO"; then :
79293 glibcxx_shared_libgcc=yes
79294 else
79295 glibcxx_shared_libgcc=no
79297 rm -f core conftest.err conftest.$ac_objext \
79298 conftest$ac_exeext conftest.$ac_ext
79299 CFLAGS="$ac_save_CFLAGS"
79300 if test $glibcxx_shared_libgcc = no; then
79301 cat > conftest.c <<EOF
79302 int main (void) { return 0; }
79304 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
79305 -shared -shared-libgcc -o conftest.so \
79306 conftest.c -v 2>&1 >/dev/null \
79307 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79308 rm -f conftest.c conftest.so
79309 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79310 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79311 if test x$gcc_no_link = xyes; then
79312 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79315 /* end confdefs.h. */
79318 main ()
79320 return 0;
79322 return 0;
79324 _ACEOF
79325 if ac_fn_c_try_link "$LINENO"; then :
79326 glibcxx_shared_libgcc=yes
79328 rm -f core conftest.err conftest.$ac_objext \
79329 conftest$ac_exeext conftest.$ac_ext
79330 CFLAGS="$ac_save_CFLAGS"
79333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79334 $as_echo "$glibcxx_shared_libgcc" >&6; }
79336 # For GNU ld, we need at least this version. The format is described in
79337 # GLIBCXX_CHECK_LINKER_FEATURES above.
79338 glibcxx_min_gnu_ld_version=21400
79340 # If no shared libgcc, can't win.
79341 if test $glibcxx_shared_libgcc != yes; then
79342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79343 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79345 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79347 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79348 enable_symvers=no
79349 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79350 : All interesting versions of Sun ld support sun style symbol versioning.
79351 elif test $with_gnu_ld != yes ; then
79352 # just fail for now
79353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79354 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79356 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79358 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79359 enable_symvers=no
79360 elif test $glibcxx_ld_is_gold = yes ; then
79361 : All versions of gold support symbol versioning.
79362 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79363 # The right tools, the right setup, but too old. Fallbacks?
79364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79365 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79367 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79369 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79371 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79373 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79374 enable_symvers=no
79378 # For libtool versioning info, format is CURRENT:REVISION:AGE
79379 libtool_VERSION=6:26:0
79381 # Everything parsed; figure out what files and settings to use.
79382 case $enable_symvers in
79384 SYMVER_FILE=config/abi/pre/none.ver
79386 gnu)
79387 SYMVER_FILE=config/abi/pre/gnu.ver
79389 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79392 gnu-versioned-namespace)
79393 libtool_VERSION=8:0:0
79394 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79396 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79399 darwin)
79400 SYMVER_FILE=config/abi/pre/gnu.ver
79402 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79405 sun)
79406 SYMVER_FILE=config/abi/pre/gnu.ver
79408 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79411 esac
79413 if test x$enable_symvers != xno ; then
79415 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79420 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79421 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
79422 $as_echo_n "(cached) " >&6
79423 else
79425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79426 /* end confdefs.h. */
79427 void foo (void); __asm (".symver foo, bar@SYMVER");
79429 main ()
79433 return 0;
79435 _ACEOF
79436 if ac_fn_c_try_compile "$LINENO"; then :
79437 glibcxx_cv_have_as_symver_directive=yes
79438 else
79439 glibcxx_cv_have_as_symver_directive=no
79441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79444 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79445 if test $glibcxx_cv_have_as_symver_directive = yes; then
79447 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79458 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79459 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79461 if test $enable_symvers != no ; then
79462 case ${target_os} in
79463 # The Solaris 2 runtime linker doesn't support the GNU extension of
79464 # binding the same symbol to different versions
79465 solaris2*)
79467 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79470 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79473 esac
79476 # Now, set up compatibility support, if any.
79477 # In addition, need this to deal with std::size_t mangling in
79478 # src/compatibility.cc. In a perfect world, could use
79479 # typeid(std::size_t).name()[0] to do direct substitution.
79480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79481 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79482 ac_save_CFLAGS="$CFLAGS"
79483 CFLAGS="-Werror"
79484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79485 /* end confdefs.h. */
79488 main ()
79490 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79492 return 0;
79494 _ACEOF
79495 if ac_fn_c_try_compile "$LINENO"; then :
79496 glibcxx_size_t_is_i=yes
79497 else
79498 glibcxx_size_t_is_i=no
79500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79501 CFLAGS=$ac_save_CFLAGS
79502 if test "$glibcxx_size_t_is_i" = yes; then
79504 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79508 $as_echo "$glibcxx_size_t_is_i" >&6; }
79510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79511 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79512 ac_save_CFLAGS="$CFLAGS"
79513 CFLAGS="-Werror"
79514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79515 /* end confdefs.h. */
79518 main ()
79520 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79522 return 0;
79524 _ACEOF
79525 if ac_fn_c_try_compile "$LINENO"; then :
79526 glibcxx_ptrdiff_t_is_i=yes
79527 else
79528 glibcxx_ptrdiff_t_is_i=no
79530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79531 CFLAGS=$ac_save_CFLAGS
79532 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79534 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79538 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79543 # Check whether --enable-libstdcxx-visibility was given.
79544 if test "${enable_libstdcxx_visibility+set}" = set; then :
79545 enableval=$enable_libstdcxx_visibility;
79546 case "$enableval" in
79547 yes|no) ;;
79548 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79549 esac
79551 else
79552 enable_libstdcxx_visibility=yes
79557 if test x$enable_libstdcxx_visibility = xyes ; then
79558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79559 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79560 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
79561 $as_echo_n "(cached) " >&6
79562 else
79564 save_CFLAGS="$CFLAGS"
79565 CFLAGS="$CFLAGS -Werror"
79566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79567 /* end confdefs.h. */
79568 void __attribute__((visibility("hidden"))) foo(void) { }
79570 main ()
79574 return 0;
79576 _ACEOF
79577 if ac_fn_c_try_compile "$LINENO"; then :
79578 glibcxx_cv_have_attribute_visibility=yes
79579 else
79580 glibcxx_cv_have_attribute_visibility=no
79582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79583 CFLAGS="$save_CFLAGS"
79585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79586 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79587 if test $glibcxx_cv_have_attribute_visibility = no; then
79588 enable_libstdcxx_visibility=no
79593 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79594 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79598 # Check whether --enable-libstdcxx-dual-abi was given.
79599 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79600 enableval=$enable_libstdcxx_dual_abi;
79601 case "$enableval" in
79602 yes|no) ;;
79603 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79604 esac
79606 else
79607 enable_libstdcxx_dual_abi=yes
79611 if test x$enable_symvers = xgnu-versioned-namespace; then
79612 # gnu-versioned-namespace is incompatible with the dual ABI.
79613 enable_libstdcxx_dual_abi="no"
79615 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79616 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79617 $as_echo "$as_me: dual ABI is disabled" >&6;}
79618 default_libstdcxx_abi="gcc4-compatible"
79623 if test x$enable_libstdcxx_dual_abi = xyes; then
79624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79625 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79627 # Check whether --with-default-libstdcxx-abi was given.
79628 if test "${with_default_libstdcxx_abi+set}" = set; then :
79629 withval=$with_default_libstdcxx_abi; case "$withval" in
79630 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79631 new|cxx11) default_libstdcxx_abi="new" ;;
79632 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79633 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79634 esac
79636 else
79637 default_libstdcxx_abi="new"
79640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79641 $as_echo "${default_libstdcxx_abi}" >&6; }
79643 if test $default_libstdcxx_abi = "new"; then
79644 glibcxx_cxx11_abi=1
79645 glibcxx_cxx98_abi=0
79646 else
79647 glibcxx_cxx11_abi=0
79648 glibcxx_cxx98_abi=1
79654 ac_ldbl_compat=no
79655 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79656 case "$target" in
79657 powerpc*-*-linux* | \
79658 sparc*-*-linux* | \
79659 s390*-*-linux* | \
79660 alpha*-*-linux*)
79661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79662 /* end confdefs.h. */
79665 main ()
79668 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79669 #error no need for long double compatibility
79670 #endif
79673 return 0;
79675 _ACEOF
79676 if ac_fn_c_try_compile "$LINENO"; then :
79677 ac_ldbl_compat=yes
79678 else
79679 ac_ldbl_compat=no
79681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79682 if test "$ac_ldbl_compat" = yes; then
79684 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79686 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79687 case "$target" in
79688 powerpc*-*-linux*)
79689 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
79690 esac
79692 esac
79696 # Check if assembler supports disabling hardware capability support.
79698 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
79700 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79701 # with a different meaning.
79702 case ${target_os} in
79703 solaris2*)
79704 ac_save_CFLAGS="$CFLAGS"
79705 CFLAGS="$CFLAGS -Wa,-nH"
79707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79708 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79710 /* end confdefs.h. */
79713 main ()
79715 return 0;
79717 return 0;
79719 _ACEOF
79720 if ac_fn_c_try_compile "$LINENO"; then :
79721 ac_hwcap_flags=yes
79722 else
79723 ac_hwcap_flags=no
79725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79726 if test "$ac_hwcap_flags" = "yes"; then
79727 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
79729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79730 $as_echo "$ac_hwcap_flags" >&6; }
79732 CFLAGS="$ac_save_CFLAGS"
79734 esac
79739 # Check if assembler supports rdrand opcode.
79741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79742 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79743 if ${ac_cv_x86_rdrand+:} false; then :
79744 $as_echo_n "(cached) " >&6
79745 else
79747 ac_cv_x86_rdrand=no
79748 case "$target" in
79749 i?86-*-* | \
79750 x86_64-*-*)
79751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79752 /* end confdefs.h. */
79755 main ()
79757 asm("rdrand %eax");
79759 return 0;
79761 _ACEOF
79762 if ac_fn_c_try_compile "$LINENO"; then :
79763 ac_cv_x86_rdrand=yes
79764 else
79765 ac_cv_x86_rdrand=no
79767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79768 esac
79772 if test $ac_cv_x86_rdrand = yes; then
79774 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79778 $as_echo "$ac_cv_x86_rdrand" >&6; }
79781 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79783 # Do checks for resource limit functions.
79785 setrlimit_have_headers=yes
79786 for ac_header in unistd.h sys/time.h sys/resource.h
79787 do :
79788 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79789 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79790 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
79791 cat >>confdefs.h <<_ACEOF
79792 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79793 _ACEOF
79795 else
79796 setrlimit_have_headers=no
79799 done
79801 # If don't have the headers, then we can't run the tests now, and we
79802 # won't be seeing any of these during testsuite compilation.
79803 if test $setrlimit_have_headers = yes; then
79804 # Can't do these in a loop, else the resulting syntax is wrong.
79806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79807 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79809 /* end confdefs.h. */
79810 #include <unistd.h>
79811 #include <sys/time.h>
79812 #include <sys/resource.h>
79815 main ()
79817 int f = RLIMIT_DATA ;
79819 return 0;
79821 _ACEOF
79822 if ac_fn_c_try_compile "$LINENO"; then :
79823 glibcxx_mresult=1
79824 else
79825 glibcxx_mresult=0
79827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79829 cat >>confdefs.h <<_ACEOF
79830 #define HAVE_LIMIT_DATA $glibcxx_mresult
79831 _ACEOF
79833 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79835 $as_echo "$res" >&6; }
79838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79839 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79841 /* end confdefs.h. */
79842 #include <unistd.h>
79843 #include <sys/time.h>
79844 #include <sys/resource.h>
79847 main ()
79849 int f = RLIMIT_RSS ;
79851 return 0;
79853 _ACEOF
79854 if ac_fn_c_try_compile "$LINENO"; then :
79855 glibcxx_mresult=1
79856 else
79857 glibcxx_mresult=0
79859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79861 cat >>confdefs.h <<_ACEOF
79862 #define HAVE_LIMIT_RSS $glibcxx_mresult
79863 _ACEOF
79865 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79867 $as_echo "$res" >&6; }
79870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79871 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79873 /* end confdefs.h. */
79874 #include <unistd.h>
79875 #include <sys/time.h>
79876 #include <sys/resource.h>
79879 main ()
79881 int f = RLIMIT_VMEM ;
79883 return 0;
79885 _ACEOF
79886 if ac_fn_c_try_compile "$LINENO"; then :
79887 glibcxx_mresult=1
79888 else
79889 glibcxx_mresult=0
79891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79893 cat >>confdefs.h <<_ACEOF
79894 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79895 _ACEOF
79897 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79899 $as_echo "$res" >&6; }
79902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79903 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79905 /* end confdefs.h. */
79906 #include <unistd.h>
79907 #include <sys/time.h>
79908 #include <sys/resource.h>
79911 main ()
79913 int f = RLIMIT_AS ;
79915 return 0;
79917 _ACEOF
79918 if ac_fn_c_try_compile "$LINENO"; then :
79919 glibcxx_mresult=1
79920 else
79921 glibcxx_mresult=0
79923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79925 cat >>confdefs.h <<_ACEOF
79926 #define HAVE_LIMIT_AS $glibcxx_mresult
79927 _ACEOF
79929 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79931 $as_echo "$res" >&6; }
79934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79935 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79937 /* end confdefs.h. */
79938 #include <unistd.h>
79939 #include <sys/time.h>
79940 #include <sys/resource.h>
79943 main ()
79945 int f = RLIMIT_FSIZE ;
79947 return 0;
79949 _ACEOF
79950 if ac_fn_c_try_compile "$LINENO"; then :
79951 glibcxx_mresult=1
79952 else
79953 glibcxx_mresult=0
79955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79957 cat >>confdefs.h <<_ACEOF
79958 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79959 _ACEOF
79961 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79963 $as_echo "$res" >&6; }
79966 # Check for rlimit, setrlimit.
79967 if ${glibcxx_cv_setrlimit+:} false; then :
79968 $as_echo_n "(cached) " >&6
79969 else
79971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79972 /* end confdefs.h. */
79973 #include <unistd.h>
79974 #include <sys/time.h>
79975 #include <sys/resource.h>
79978 main ()
79980 struct rlimit r;
79981 setrlimit(0, &r);
79983 return 0;
79985 _ACEOF
79986 if ac_fn_c_try_compile "$LINENO"; then :
79987 glibcxx_cv_setrlimit=yes
79988 else
79989 glibcxx_cv_setrlimit=no
79991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79998 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79999 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
80000 ac_res_limits=yes
80002 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
80004 else
80005 ac_res_limits=no
80007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
80008 $as_echo "$ac_res_limits" >&6; }
80011 if $GLIBCXX_IS_NATIVE ; then
80012 # Look for setenv, so that extended locale tests can be performed.
80014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
80015 $as_echo_n "checking for setenv declaration... " >&6; }
80016 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
80017 if ${glibcxx_cv_func_setenv_use+:} false; then :
80018 $as_echo_n "(cached) " >&6
80019 else
80022 ac_ext=cpp
80023 ac_cpp='$CXXCPP $CPPFLAGS'
80024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80029 /* end confdefs.h. */
80030 #include <stdlib.h>
80032 main ()
80034 setenv(0, 0, 0);
80036 return 0;
80038 _ACEOF
80039 if ac_fn_cxx_try_compile "$LINENO"; then :
80040 glibcxx_cv_func_setenv_use=yes
80041 else
80042 glibcxx_cv_func_setenv_use=no
80044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80045 ac_ext=c
80046 ac_cpp='$CPP $CPPFLAGS'
80047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
80056 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
80057 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
80058 for ac_func in setenv
80059 do :
80060 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
80061 if test "x$ac_cv_func_setenv" = xyes; then :
80062 cat >>confdefs.h <<_ACEOF
80063 #define HAVE_SETENV 1
80064 _ACEOF
80067 done
80073 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
80074 test $enable_symvers != no; then
80075 case "$host" in
80076 *-*-cygwin*)
80077 enable_abi_check=no ;;
80079 enable_abi_check=yes ;;
80080 esac
80081 else
80082 # Only build this as native, since automake does not understand
80083 # CXX_FOR_BUILD.
80084 enable_abi_check=no
80087 # Export file names for ABI checking.
80088 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
80090 baseline_subdir_switch="$abi_baseline_subdir_switch"
80094 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
80096 # Check whether --enable-libstdcxx-threads was given.
80097 if test "${enable_libstdcxx_threads+set}" = set; then :
80098 enableval=$enable_libstdcxx_threads;
80099 case "$enableval" in
80100 yes|no) ;;
80101 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
80102 esac
80104 else
80105 enable_libstdcxx_threads=auto
80110 if test x$enable_libstdcxx_threads = xauto ||
80111 test x$enable_libstdcxx_threads = xyes; then
80114 ac_ext=cpp
80115 ac_cpp='$CXXCPP $CPPFLAGS'
80116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80121 ac_save_CXXFLAGS="$CXXFLAGS"
80122 CXXFLAGS="$CXXFLAGS -fno-exceptions \
80123 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
80125 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
80126 case $target_thread_file in
80127 posix)
80128 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
80129 esac
80131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
80132 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
80134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80135 /* end confdefs.h. */
80136 #include <unistd.h>
80138 main ()
80141 // In case of POSIX threads check _POSIX_TIMEOUTS.
80142 #if (defined(_PTHREADS) \
80143 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
80144 #error
80145 #endif
80148 return 0;
80150 _ACEOF
80151 if ac_fn_cxx_try_compile "$LINENO"; then :
80152 ac_gthread_use_mutex_timedlock=1
80153 else
80154 ac_gthread_use_mutex_timedlock=0
80156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80159 cat >>confdefs.h <<_ACEOF
80160 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
80161 _ACEOF
80164 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
80165 else res_mutex_timedlock=no ; fi
80166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
80167 $as_echo "$res_mutex_timedlock" >&6; }
80169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
80170 $as_echo_n "checking for gthreads library... " >&6; }
80172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80173 /* end confdefs.h. */
80174 #include "gthr.h"
80176 main ()
80179 #ifndef __GTHREADS_CXX0X
80180 #error
80181 #endif
80184 return 0;
80186 _ACEOF
80187 if ac_fn_cxx_try_compile "$LINENO"; then :
80188 ac_has_gthreads=yes
80189 else
80190 ac_has_gthreads=no
80192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80193 else
80194 ac_has_gthreads=no
80197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
80198 $as_echo "$ac_has_gthreads" >&6; }
80200 if test x"$ac_has_gthreads" = x"yes"; then
80202 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
80205 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
80206 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
80208 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
80210 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
80216 CXXFLAGS="$ac_save_CXXFLAGS"
80217 ac_ext=c
80218 ac_cpp='$CPP $CPPFLAGS'
80219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80225 # For Filesystem TS.
80226 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
80227 do :
80228 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
80229 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
80230 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
80231 cat >>confdefs.h <<_ACEOF
80232 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
80233 _ACEOF
80237 done
80240 # Check whether --enable-libstdcxx-filesystem-ts was given.
80241 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
80242 enableval=$enable_libstdcxx_filesystem_ts;
80243 case "$enableval" in
80244 yes|no|auto) ;;
80245 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
80246 esac
80248 else
80249 enable_libstdcxx_filesystem_ts=auto
80254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
80255 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
80256 if test x"$ac_cv_header_dirent_h" != x"yes"; then
80257 enable_libstdcxx_filesystem_ts=no
80259 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
80260 case "${target_os}" in
80261 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
80262 enable_libstdcxx_filesystem_ts=yes
80264 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
80265 enable_libstdcxx_filesystem_ts=yes
80267 rtems*)
80268 enable_libstdcxx_filesystem_ts=yes
80270 solaris*)
80271 enable_libstdcxx_filesystem_ts=yes
80274 enable_libstdcxx_filesystem_ts=no
80276 esac
80278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
80279 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
80282 if test $enable_libstdcxx_filesystem_ts = yes; then
80284 ac_ext=cpp
80285 ac_cpp='$CXXCPP $CPPFLAGS'
80286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80290 ac_save_CXXFLAGS="$CXXFLAGS"
80291 CXXFLAGS="$CXXFLAGS -fno-exceptions"
80292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
80293 $as_echo_n "checking for struct dirent.d_type... " >&6; }
80294 if ${glibcxx_cv_dirent_d_type+:} false; then :
80295 $as_echo_n "(cached) " >&6
80296 else
80297 if test x$gcc_no_link = xyes; then
80298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80299 /* end confdefs.h. */
80300 #include <dirent.h>
80302 main ()
80305 struct dirent d;
80306 if (sizeof d.d_type) return 0;
80309 return 0;
80311 _ACEOF
80312 if ac_fn_cxx_try_compile "$LINENO"; then :
80313 glibcxx_cv_dirent_d_type=yes
80314 else
80315 glibcxx_cv_dirent_d_type=no
80317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80318 else
80319 if test x$gcc_no_link = xyes; then
80320 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80323 /* end confdefs.h. */
80324 #include <dirent.h>
80326 main ()
80329 struct dirent d;
80330 if (sizeof d.d_type) return 0;
80333 return 0;
80335 _ACEOF
80336 if ac_fn_cxx_try_link "$LINENO"; then :
80337 glibcxx_cv_dirent_d_type=yes
80338 else
80339 glibcxx_cv_dirent_d_type=no
80341 rm -f core conftest.err conftest.$ac_objext \
80342 conftest$ac_exeext conftest.$ac_ext
80347 if test $glibcxx_cv_dirent_d_type = yes; then
80349 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80353 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80355 $as_echo_n "checking for realpath... " >&6; }
80356 if ${glibcxx_cv_realpath+:} false; then :
80357 $as_echo_n "(cached) " >&6
80358 else
80359 if test x$gcc_no_link = xyes; then
80360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80361 /* end confdefs.h. */
80363 #include <limits.h>
80364 #include <stdlib.h>
80365 #include <unistd.h>
80368 main ()
80371 #if _XOPEN_VERSION < 500
80372 #error
80373 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80374 char *tmp = realpath((const char*)NULL, (char*)NULL);
80375 #else
80376 #error
80377 #endif
80380 return 0;
80382 _ACEOF
80383 if ac_fn_cxx_try_compile "$LINENO"; then :
80384 glibcxx_cv_realpath=yes
80385 else
80386 glibcxx_cv_realpath=no
80388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80389 else
80390 if test x$gcc_no_link = xyes; then
80391 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80394 /* end confdefs.h. */
80396 #include <limits.h>
80397 #include <stdlib.h>
80398 #include <unistd.h>
80401 main ()
80404 #if _XOPEN_VERSION < 500
80405 #error
80406 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80407 char *tmp = realpath((const char*)NULL, (char*)NULL);
80408 #else
80409 #error
80410 #endif
80413 return 0;
80415 _ACEOF
80416 if ac_fn_cxx_try_link "$LINENO"; then :
80417 glibcxx_cv_realpath=yes
80418 else
80419 glibcxx_cv_realpath=no
80421 rm -f core conftest.err conftest.$ac_objext \
80422 conftest$ac_exeext conftest.$ac_ext
80427 if test $glibcxx_cv_realpath = yes; then
80429 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80433 $as_echo "$glibcxx_cv_realpath" >&6; }
80434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80435 $as_echo_n "checking for utimensat... " >&6; }
80436 if ${glibcxx_cv_utimensat+:} false; then :
80437 $as_echo_n "(cached) " >&6
80438 else
80439 if test x$gcc_no_link = xyes; then
80440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80441 /* end confdefs.h. */
80443 #include <fcntl.h>
80444 #include <sys/stat.h>
80447 main ()
80450 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80451 int i = utimensat(AT_FDCWD, "path", ts, 0);
80454 return 0;
80456 _ACEOF
80457 if ac_fn_cxx_try_compile "$LINENO"; then :
80458 glibcxx_cv_utimensat=yes
80459 else
80460 glibcxx_cv_utimensat=no
80462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80463 else
80464 if test x$gcc_no_link = xyes; then
80465 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80468 /* end confdefs.h. */
80470 #include <fcntl.h>
80471 #include <sys/stat.h>
80474 main ()
80477 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80478 int i = utimensat(AT_FDCWD, "path", ts, 0);
80481 return 0;
80483 _ACEOF
80484 if ac_fn_cxx_try_link "$LINENO"; then :
80485 glibcxx_cv_utimensat=yes
80486 else
80487 glibcxx_cv_utimensat=no
80489 rm -f core conftest.err conftest.$ac_objext \
80490 conftest$ac_exeext conftest.$ac_ext
80495 if test $glibcxx_cv_utimensat = yes; then
80497 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80501 $as_echo "$glibcxx_cv_utimensat" >&6; }
80502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80503 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80504 if ${glibcxx_cv_st_mtim+:} false; then :
80505 $as_echo_n "(cached) " >&6
80506 else
80507 if test x$gcc_no_link = xyes; then
80508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80509 /* end confdefs.h. */
80510 #include <sys/stat.h>
80512 main ()
80515 struct stat st;
80516 return st.st_mtim.tv_nsec;
80519 return 0;
80521 _ACEOF
80522 if ac_fn_cxx_try_compile "$LINENO"; then :
80523 glibcxx_cv_st_mtim=yes
80524 else
80525 glibcxx_cv_st_mtim=no
80527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80528 else
80529 if test x$gcc_no_link = xyes; then
80530 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80533 /* end confdefs.h. */
80534 #include <sys/stat.h>
80536 main ()
80539 struct stat st;
80540 return st.st_mtim.tv_nsec;
80543 return 0;
80545 _ACEOF
80546 if ac_fn_cxx_try_link "$LINENO"; then :
80547 glibcxx_cv_st_mtim=yes
80548 else
80549 glibcxx_cv_st_mtim=no
80551 rm -f core conftest.err conftest.$ac_objext \
80552 conftest$ac_exeext conftest.$ac_ext
80557 if test $glibcxx_cv_st_mtim = yes; then
80559 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80563 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80565 $as_echo_n "checking for fchmod... " >&6; }
80566 if ${glibcxx_cv_fchmod+:} false; then :
80567 $as_echo_n "(cached) " >&6
80568 else
80569 if test x$gcc_no_link = xyes; then
80570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80571 /* end confdefs.h. */
80572 #include <sys/stat.h>
80574 main ()
80576 fchmod(1, S_IWUSR);
80578 return 0;
80580 _ACEOF
80581 if ac_fn_cxx_try_compile "$LINENO"; then :
80582 glibcxx_cv_fchmod=yes
80583 else
80584 glibcxx_cv_fchmod=no
80586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80587 else
80588 if test x$gcc_no_link = xyes; then
80589 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80592 /* end confdefs.h. */
80593 #include <sys/stat.h>
80595 main ()
80597 fchmod(1, S_IWUSR);
80599 return 0;
80601 _ACEOF
80602 if ac_fn_cxx_try_link "$LINENO"; then :
80603 glibcxx_cv_fchmod=yes
80604 else
80605 glibcxx_cv_fchmod=no
80607 rm -f core conftest.err conftest.$ac_objext \
80608 conftest$ac_exeext conftest.$ac_ext
80613 if test $glibcxx_cv_fchmod = yes; then
80615 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80619 $as_echo "$glibcxx_cv_fchmod" >&6; }
80620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80621 $as_echo_n "checking for fchmodat... " >&6; }
80622 if ${glibcxx_cv_fchmodat+:} false; then :
80623 $as_echo_n "(cached) " >&6
80624 else
80625 if test x$gcc_no_link = xyes; then
80626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80627 /* end confdefs.h. */
80629 #include <fcntl.h>
80630 #include <sys/stat.h>
80633 main ()
80635 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80637 return 0;
80639 _ACEOF
80640 if ac_fn_cxx_try_compile "$LINENO"; then :
80641 glibcxx_cv_fchmodat=yes
80642 else
80643 glibcxx_cv_fchmodat=no
80645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80646 else
80647 if test x$gcc_no_link = xyes; then
80648 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80651 /* end confdefs.h. */
80653 #include <fcntl.h>
80654 #include <sys/stat.h>
80657 main ()
80659 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80661 return 0;
80663 _ACEOF
80664 if ac_fn_cxx_try_link "$LINENO"; then :
80665 glibcxx_cv_fchmodat=yes
80666 else
80667 glibcxx_cv_fchmodat=no
80669 rm -f core conftest.err conftest.$ac_objext \
80670 conftest$ac_exeext conftest.$ac_ext
80675 if test $glibcxx_cv_fchmodat = yes; then
80677 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80681 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80683 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80684 if ${glibcxx_cv_sendfile+:} false; then :
80685 $as_echo_n "(cached) " >&6
80686 else
80687 case "${target_os}" in
80688 gnu* | linux* | solaris*)
80689 if test x$gcc_no_link = xyes; then
80690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80691 /* end confdefs.h. */
80692 #include <sys/sendfile.h>
80694 main ()
80696 sendfile(1, 2, (off_t*)0, sizeof 1);
80698 return 0;
80700 _ACEOF
80701 if ac_fn_cxx_try_compile "$LINENO"; then :
80702 glibcxx_cv_sendfile=yes
80703 else
80704 glibcxx_cv_sendfile=no
80706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80707 else
80708 if test x$gcc_no_link = xyes; then
80709 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80712 /* end confdefs.h. */
80713 #include <sys/sendfile.h>
80715 main ()
80717 sendfile(1, 2, (off_t*)0, sizeof 1);
80719 return 0;
80721 _ACEOF
80722 if ac_fn_cxx_try_link "$LINENO"; then :
80723 glibcxx_cv_sendfile=yes
80724 else
80725 glibcxx_cv_sendfile=no
80727 rm -f core conftest.err conftest.$ac_objext \
80728 conftest$ac_exeext conftest.$ac_ext
80732 glibcxx_cv_sendfile=no
80734 esac
80738 if test $glibcxx_cv_sendfile = yes; then
80740 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80744 $as_echo "$glibcxx_cv_sendfile" >&6; }
80745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
80746 $as_echo_n "checking for link... " >&6; }
80747 if ${glibcxx_cv_link+:} false; then :
80748 $as_echo_n "(cached) " >&6
80749 else
80750 if test x$gcc_no_link = xyes; then
80751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80752 /* end confdefs.h. */
80753 #include <unistd.h>
80755 main ()
80757 link("", "");
80759 return 0;
80761 _ACEOF
80762 if ac_fn_cxx_try_compile "$LINENO"; then :
80763 glibcxx_cv_link=yes
80764 else
80765 glibcxx_cv_link=no
80767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80768 else
80769 if test x$gcc_no_link = xyes; then
80770 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80773 /* end confdefs.h. */
80774 #include <unistd.h>
80776 main ()
80778 link("", "");
80780 return 0;
80782 _ACEOF
80783 if ac_fn_cxx_try_link "$LINENO"; then :
80784 glibcxx_cv_link=yes
80785 else
80786 glibcxx_cv_link=no
80788 rm -f core conftest.err conftest.$ac_objext \
80789 conftest$ac_exeext conftest.$ac_ext
80794 if test $glibcxx_cv_link = yes; then
80796 $as_echo "#define HAVE_LINK 1" >>confdefs.h
80799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
80800 $as_echo "$glibcxx_cv_link" >&6; }
80801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
80802 $as_echo_n "checking for readlink... " >&6; }
80803 if ${glibcxx_cv_readlink+:} false; then :
80804 $as_echo_n "(cached) " >&6
80805 else
80806 if test x$gcc_no_link = xyes; then
80807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80808 /* end confdefs.h. */
80809 #include <unistd.h>
80811 main ()
80813 char buf[32]; readlink("", buf, sizeof(buf));
80815 return 0;
80817 _ACEOF
80818 if ac_fn_cxx_try_compile "$LINENO"; then :
80819 glibcxx_cv_readlink=yes
80820 else
80821 glibcxx_cv_readlink=no
80823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80824 else
80825 if test x$gcc_no_link = xyes; then
80826 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80829 /* end confdefs.h. */
80830 #include <unistd.h>
80832 main ()
80834 char buf[32]; readlink("", buf, sizeof(buf));
80836 return 0;
80838 _ACEOF
80839 if ac_fn_cxx_try_link "$LINENO"; then :
80840 glibcxx_cv_readlink=yes
80841 else
80842 glibcxx_cv_readlink=no
80844 rm -f core conftest.err conftest.$ac_objext \
80845 conftest$ac_exeext conftest.$ac_ext
80850 if test $glibcxx_cv_readlink = yes; then
80852 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
80855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
80856 $as_echo "$glibcxx_cv_readlink" >&6; }
80857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
80858 $as_echo_n "checking for symlink... " >&6; }
80859 if ${glibcxx_cv_symlink+:} false; then :
80860 $as_echo_n "(cached) " >&6
80861 else
80862 if test x$gcc_no_link = xyes; then
80863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80864 /* end confdefs.h. */
80865 #include <unistd.h>
80867 main ()
80869 symlink("", "");
80871 return 0;
80873 _ACEOF
80874 if ac_fn_cxx_try_compile "$LINENO"; then :
80875 glibcxx_cv_symlink=yes
80876 else
80877 glibcxx_cv_symlink=no
80879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80880 else
80881 if test x$gcc_no_link = xyes; then
80882 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80885 /* end confdefs.h. */
80886 #include <unistd.h>
80888 main ()
80890 symlink("", "");
80892 return 0;
80894 _ACEOF
80895 if ac_fn_cxx_try_link "$LINENO"; then :
80896 glibcxx_cv_symlink=yes
80897 else
80898 glibcxx_cv_symlink=no
80900 rm -f core conftest.err conftest.$ac_objext \
80901 conftest$ac_exeext conftest.$ac_ext
80906 if test $glibcxx_cv_symlink = yes; then
80908 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
80911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
80912 $as_echo "$glibcxx_cv_symlink" >&6; }
80913 CXXFLAGS="$ac_save_CXXFLAGS"
80914 ac_ext=c
80915 ac_cpp='$CPP $CPPFLAGS'
80916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80923 # For Networking TS.
80924 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
80925 do :
80926 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
80927 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
80928 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
80929 cat >>confdefs.h <<_ACEOF
80930 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
80931 _ACEOF
80935 done
80938 # For Transactional Memory TS
80940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80941 $as_echo_n "checking how size_t is mangled... " >&6; }
80942 if ${glibcxx_cv_size_t_mangling+:} false; then :
80943 $as_echo_n "(cached) " >&6
80944 else
80946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80947 /* end confdefs.h. */
80950 main ()
80952 extern __SIZE_TYPE__ x; extern unsigned long x;
80954 return 0;
80956 _ACEOF
80957 if ac_fn_c_try_compile "$LINENO"; then :
80958 glibcxx_cv_size_t_mangling=m
80959 else
80961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80962 /* end confdefs.h. */
80965 main ()
80967 extern __SIZE_TYPE__ x; extern unsigned int x;
80969 return 0;
80971 _ACEOF
80972 if ac_fn_c_try_compile "$LINENO"; then :
80973 glibcxx_cv_size_t_mangling=j
80974 else
80976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80977 /* end confdefs.h. */
80980 main ()
80982 extern __SIZE_TYPE__ x; extern unsigned long long x;
80984 return 0;
80986 _ACEOF
80987 if ac_fn_c_try_compile "$LINENO"; then :
80988 glibcxx_cv_size_t_mangling=y
80989 else
80991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80992 /* end confdefs.h. */
80995 main ()
80997 extern __SIZE_TYPE__ x; extern unsigned short x;
80999 return 0;
81001 _ACEOF
81002 if ac_fn_c_try_compile "$LINENO"; then :
81003 glibcxx_cv_size_t_mangling=t
81004 else
81006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81007 /* end confdefs.h. */
81010 main ()
81012 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
81014 return 0;
81016 _ACEOF
81017 if ac_fn_c_try_compile "$LINENO"; then :
81018 glibcxx_cv_size_t_mangling=u6uint20
81019 else
81020 glibcxx_cv_size_t_mangling=x
81022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
81038 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
81039 if test $glibcxx_cv_size_t_mangling = x; then
81040 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
81043 cat >>confdefs.h <<_ACEOF
81044 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
81045 _ACEOF
81049 # Check which release added std::exception_ptr for the target
81051 if test $enable_symvers != no; then
81052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
81053 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
81054 case ${target} in
81055 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
81056 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
81057 ac_exception_ptr_since_gcc46=yes
81060 # If the value of this macro changes then we will need to hardcode
81061 # yes/no here for additional targets based on the original value.
81062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81063 /* end confdefs.h. */
81066 main ()
81069 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
81070 # error atomic int not always lock free
81071 #endif
81074 return 0;
81076 _ACEOF
81077 if ac_fn_c_try_compile "$LINENO"; then :
81078 ac_exception_ptr_since_gcc46=yes
81079 else
81080 ac_exception_ptr_since_gcc46=no
81082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81084 esac
81085 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
81087 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
81089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
81090 $as_echo "4.6.0" >&6; }
81091 else
81092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
81093 $as_echo "7.1.0" >&6; }
81098 # Define documentation rules conditionally.
81100 # See if makeinfo has been installed and is modern enough
81101 # that we can use it.
81103 # Extract the first word of "makeinfo", so it can be a program name with args.
81104 set dummy makeinfo; ac_word=$2
81105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81106 $as_echo_n "checking for $ac_word... " >&6; }
81107 if ${ac_cv_prog_MAKEINFO+:} false; then :
81108 $as_echo_n "(cached) " >&6
81109 else
81110 if test -n "$MAKEINFO"; then
81111 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
81112 else
81113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81114 for as_dir in $PATH
81116 IFS=$as_save_IFS
81117 test -z "$as_dir" && as_dir=.
81118 for ac_exec_ext in '' $ac_executable_extensions; do
81119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81120 ac_cv_prog_MAKEINFO="makeinfo"
81121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81122 break 2
81124 done
81125 done
81126 IFS=$as_save_IFS
81130 MAKEINFO=$ac_cv_prog_MAKEINFO
81131 if test -n "$MAKEINFO"; then
81132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
81133 $as_echo "$MAKEINFO" >&6; }
81134 else
81135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81136 $as_echo "no" >&6; }
81140 if test -n "$MAKEINFO"; then
81141 # Found it, now check the version.
81142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
81143 $as_echo_n "checking for modern makeinfo... " >&6; }
81144 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
81145 $as_echo_n "(cached) " >&6
81146 else
81147 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
81148 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
81150 case $ac_prog_version in
81151 '') gcc_cv_prog_makeinfo_modern=no;;
81152 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
81153 *) gcc_cv_prog_makeinfo_modern=no;;
81154 esac
81157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
81158 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
81159 else
81160 gcc_cv_prog_makeinfo_modern=no
81162 if test $gcc_cv_prog_makeinfo_modern = no; then
81163 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
81166 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
81167 BUILD_INFO_TRUE=
81168 BUILD_INFO_FALSE='#'
81169 else
81170 BUILD_INFO_TRUE='#'
81171 BUILD_INFO_FALSE=
81175 # Check for doxygen
81176 # Extract the first word of "doxygen", so it can be a program name with args.
81177 set dummy doxygen; ac_word=$2
81178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81179 $as_echo_n "checking for $ac_word... " >&6; }
81180 if ${ac_cv_prog_DOXYGEN+:} false; then :
81181 $as_echo_n "(cached) " >&6
81182 else
81183 if test -n "$DOXYGEN"; then
81184 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
81185 else
81186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81187 for as_dir in $PATH
81189 IFS=$as_save_IFS
81190 test -z "$as_dir" && as_dir=.
81191 for ac_exec_ext in '' $ac_executable_extensions; do
81192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81193 ac_cv_prog_DOXYGEN="yes"
81194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81195 break 2
81197 done
81198 done
81199 IFS=$as_save_IFS
81201 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
81204 DOXYGEN=$ac_cv_prog_DOXYGEN
81205 if test -n "$DOXYGEN"; then
81206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
81207 $as_echo "$DOXYGEN" >&6; }
81208 else
81209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81210 $as_echo "no" >&6; }
81214 # Extract the first word of "dot", so it can be a program name with args.
81215 set dummy dot; ac_word=$2
81216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81217 $as_echo_n "checking for $ac_word... " >&6; }
81218 if ${ac_cv_prog_DOT+:} false; then :
81219 $as_echo_n "(cached) " >&6
81220 else
81221 if test -n "$DOT"; then
81222 ac_cv_prog_DOT="$DOT" # Let the user override the test.
81223 else
81224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81225 for as_dir in $PATH
81227 IFS=$as_save_IFS
81228 test -z "$as_dir" && as_dir=.
81229 for ac_exec_ext in '' $ac_executable_extensions; do
81230 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81231 ac_cv_prog_DOT="yes"
81232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81233 break 2
81235 done
81236 done
81237 IFS=$as_save_IFS
81239 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
81242 DOT=$ac_cv_prog_DOT
81243 if test -n "$DOT"; then
81244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
81245 $as_echo "$DOT" >&6; }
81246 else
81247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81248 $as_echo "no" >&6; }
81253 # Check for docbook
81254 # Extract the first word of "xsltproc", so it can be a program name with args.
81255 set dummy xsltproc; ac_word=$2
81256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81257 $as_echo_n "checking for $ac_word... " >&6; }
81258 if ${ac_cv_prog_XSLTPROC+:} false; then :
81259 $as_echo_n "(cached) " >&6
81260 else
81261 if test -n "$XSLTPROC"; then
81262 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
81263 else
81264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81265 for as_dir in $PATH
81267 IFS=$as_save_IFS
81268 test -z "$as_dir" && as_dir=.
81269 for ac_exec_ext in '' $ac_executable_extensions; do
81270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81271 ac_cv_prog_XSLTPROC="yes"
81272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81273 break 2
81275 done
81276 done
81277 IFS=$as_save_IFS
81279 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
81282 XSLTPROC=$ac_cv_prog_XSLTPROC
81283 if test -n "$XSLTPROC"; then
81284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
81285 $as_echo "$XSLTPROC" >&6; }
81286 else
81287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81288 $as_echo "no" >&6; }
81292 # Extract the first word of "xmllint", so it can be a program name with args.
81293 set dummy xmllint; ac_word=$2
81294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81295 $as_echo_n "checking for $ac_word... " >&6; }
81296 if ${ac_cv_prog_XMLLINT+:} false; then :
81297 $as_echo_n "(cached) " >&6
81298 else
81299 if test -n "$XMLLINT"; then
81300 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
81301 else
81302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81303 for as_dir in $PATH
81305 IFS=$as_save_IFS
81306 test -z "$as_dir" && as_dir=.
81307 for ac_exec_ext in '' $ac_executable_extensions; do
81308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81309 ac_cv_prog_XMLLINT="yes"
81310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81311 break 2
81313 done
81314 done
81315 IFS=$as_save_IFS
81317 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
81320 XMLLINT=$ac_cv_prog_XMLLINT
81321 if test -n "$XMLLINT"; then
81322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
81323 $as_echo "$XMLLINT" >&6; }
81324 else
81325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81326 $as_echo "no" >&6; }
81332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
81333 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
81334 glibcxx_stylesheets=no
81335 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
81336 glibcxx_stylesheets=yes
81338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
81339 $as_echo "$glibcxx_stylesheets" >&6; }
81341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
81342 $as_echo_n "checking for local stylesheet directory... " >&6; }
81343 glibcxx_local_stylesheets=no
81344 if test x"$glibcxx_stylesheets" = x"yes"; then
81345 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
81346 glibcxx_local_stylesheets=yes
81347 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
81349 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
81350 glibcxx_local_stylesheets=yes
81351 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
81353 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
81354 glibcxx_local_stylesheets=yes
81355 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
81358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
81359 $as_echo "$glibcxx_local_stylesheets" >&6; }
81361 if test x"$glibcxx_local_stylesheets" = x"yes"; then
81363 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
81364 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
81365 else
81366 glibcxx_stylesheets=no
81369 # Check for epub3 dependencies.
81370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
81371 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
81372 glibcxx_epub_stylesheets=no
81373 if test x"$glibcxx_local_stylesheets" = x"yes"; then
81374 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
81375 glibcxx_epub_stylesheets=yes
81378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
81379 $as_echo "$glibcxx_epub_stylesheets" >&6; }
81380 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
81381 BUILD_EPUB_TRUE=
81382 BUILD_EPUB_FALSE='#'
81383 else
81384 BUILD_EPUB_TRUE='#'
81385 BUILD_EPUB_FALSE=
81391 # Check for xml/html dependencies.
81392 if test $ac_cv_prog_DOXYGEN = "yes" &&
81393 test $ac_cv_prog_DOT = "yes" &&
81394 test $ac_cv_prog_XSLTPROC = "yes" &&
81395 test $ac_cv_prog_XMLLINT = "yes" &&
81396 test $glibcxx_stylesheets = "yes"; then
81397 BUILD_XML_TRUE=
81398 BUILD_XML_FALSE='#'
81399 else
81400 BUILD_XML_TRUE='#'
81401 BUILD_XML_FALSE=
81405 if test $ac_cv_prog_DOXYGEN = "yes" &&
81406 test $ac_cv_prog_DOT = "yes" &&
81407 test $ac_cv_prog_XSLTPROC = "yes" &&
81408 test $ac_cv_prog_XMLLINT = "yes" &&
81409 test $glibcxx_stylesheets = "yes"; then
81410 BUILD_HTML_TRUE=
81411 BUILD_HTML_FALSE='#'
81412 else
81413 BUILD_HTML_TRUE='#'
81414 BUILD_HTML_FALSE=
81418 # Check for man dependencies.
81419 if test $ac_cv_prog_DOXYGEN = "yes" &&
81420 test $ac_cv_prog_DOT = "yes"; then
81421 BUILD_MAN_TRUE=
81422 BUILD_MAN_FALSE='#'
81423 else
81424 BUILD_MAN_TRUE='#'
81425 BUILD_MAN_FALSE=
81429 # Check for pdf dependencies.
81430 # Extract the first word of "dblatex", so it can be a program name with args.
81431 set dummy dblatex; ac_word=$2
81432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81433 $as_echo_n "checking for $ac_word... " >&6; }
81434 if ${ac_cv_prog_DBLATEX+:} false; then :
81435 $as_echo_n "(cached) " >&6
81436 else
81437 if test -n "$DBLATEX"; then
81438 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
81439 else
81440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81441 for as_dir in $PATH
81443 IFS=$as_save_IFS
81444 test -z "$as_dir" && as_dir=.
81445 for ac_exec_ext in '' $ac_executable_extensions; do
81446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81447 ac_cv_prog_DBLATEX="yes"
81448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81449 break 2
81451 done
81452 done
81453 IFS=$as_save_IFS
81455 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
81458 DBLATEX=$ac_cv_prog_DBLATEX
81459 if test -n "$DBLATEX"; then
81460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
81461 $as_echo "$DBLATEX" >&6; }
81462 else
81463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81464 $as_echo "no" >&6; }
81468 # Extract the first word of "pdflatex", so it can be a program name with args.
81469 set dummy pdflatex; ac_word=$2
81470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81471 $as_echo_n "checking for $ac_word... " >&6; }
81472 if ${ac_cv_prog_PDFLATEX+:} false; then :
81473 $as_echo_n "(cached) " >&6
81474 else
81475 if test -n "$PDFLATEX"; then
81476 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
81477 else
81478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81479 for as_dir in $PATH
81481 IFS=$as_save_IFS
81482 test -z "$as_dir" && as_dir=.
81483 for ac_exec_ext in '' $ac_executable_extensions; do
81484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81485 ac_cv_prog_PDFLATEX="yes"
81486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81487 break 2
81489 done
81490 done
81491 IFS=$as_save_IFS
81493 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
81496 PDFLATEX=$ac_cv_prog_PDFLATEX
81497 if test -n "$PDFLATEX"; then
81498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
81499 $as_echo "$PDFLATEX" >&6; }
81500 else
81501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81502 $as_echo "no" >&6; }
81506 if test $ac_cv_prog_DBLATEX = "yes" &&
81507 test $ac_cv_prog_PDFLATEX = "yes"; then
81508 BUILD_PDF_TRUE=
81509 BUILD_PDF_FALSE='#'
81510 else
81511 BUILD_PDF_TRUE='#'
81512 BUILD_PDF_FALSE=
81516 case "$build" in
81517 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
81518 * ) glibcxx_include_dir_notparallel=no ;;
81519 esac
81520 if test $glibcxx_include_dir_notparallel = "yes"; then
81521 INCLUDE_DIR_NOTPARALLEL_TRUE=
81522 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
81523 else
81524 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
81525 INCLUDE_DIR_NOTPARALLEL_FALSE=
81529 # Propagate the target-specific source directories through the build chain.
81530 ATOMICITY_SRCDIR=config/${atomicity_dir}
81531 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
81532 ATOMIC_FLAGS=${atomic_flags}
81533 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
81534 OS_INC_SRCDIR=config/${os_include_dir}
81535 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
81536 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
81537 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
81538 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
81550 # Add CET specific flags if Intel CET is enabled.
81551 # Check whether --enable-cet was given.
81552 if test "${enable_cet+set}" = set; then :
81553 enableval=$enable_cet;
81554 case "$enableval" in
81555 yes|no|auto) ;;
81556 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
81557 esac
81559 else
81560 enable_cet=no
81564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
81565 $as_echo_n "checking for CET support... " >&6; }
81567 case "$host" in
81568 i[34567]86-*-linux* | x86_64-*-linux*)
81569 case "$enable_cet" in
81570 auto)
81571 # Check if target supports multi-byte NOPs
81572 # and if assembler supports CET insn.
81573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81574 /* end confdefs.h. */
81577 main ()
81580 #if !defined(__SSE2__)
81581 #error target does not support multi-byte NOPs
81582 #else
81583 asm ("setssbsy");
81584 #endif
81587 return 0;
81589 _ACEOF
81590 if ac_fn_c_try_compile "$LINENO"; then :
81591 enable_cet=yes
81592 else
81593 enable_cet=no
81595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81597 yes)
81598 # Check if assembler supports CET.
81599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81600 /* end confdefs.h. */
81603 main ()
81605 asm ("setssbsy");
81607 return 0;
81609 _ACEOF
81610 if ac_fn_c_try_compile "$LINENO"; then :
81612 else
81613 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
81615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81617 esac
81620 enable_cet=no
81622 esac
81623 if test x$enable_cet = xyes; then
81624 CET_FLAGS="-fcf-protection -mshstk"
81625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
81626 $as_echo "yes" >&6; }
81627 else
81628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81629 $as_echo "no" >&6; }
81632 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
81633 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
81637 # Determine cross-compile flags and AM_CONDITIONALs.
81638 #AC_SUBST(GLIBCXX_IS_NATIVE)
81639 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
81640 if test $is_hosted = yes; then
81641 GLIBCXX_HOSTED_TRUE=
81642 GLIBCXX_HOSTED_FALSE='#'
81643 else
81644 GLIBCXX_HOSTED_TRUE='#'
81645 GLIBCXX_HOSTED_FALSE=
81649 if test $enable_libstdcxx_pch = yes; then
81650 GLIBCXX_BUILD_PCH_TRUE=
81651 GLIBCXX_BUILD_PCH_FALSE='#'
81652 else
81653 GLIBCXX_BUILD_PCH_TRUE='#'
81654 GLIBCXX_BUILD_PCH_FALSE=
81658 if test $enable_float128 = yes; then
81659 ENABLE_FLOAT128_TRUE=
81660 ENABLE_FLOAT128_FALSE='#'
81661 else
81662 ENABLE_FLOAT128_TRUE='#'
81663 ENABLE_FLOAT128_FALSE=
81667 if test $enable_libstdcxx_allocator_flag = new; then
81668 ENABLE_ALLOCATOR_NEW_TRUE=
81669 ENABLE_ALLOCATOR_NEW_FALSE='#'
81670 else
81671 ENABLE_ALLOCATOR_NEW_TRUE='#'
81672 ENABLE_ALLOCATOR_NEW_FALSE=
81676 if test $enable_cheaders = c; then
81677 GLIBCXX_C_HEADERS_C_TRUE=
81678 GLIBCXX_C_HEADERS_C_FALSE='#'
81679 else
81680 GLIBCXX_C_HEADERS_C_TRUE='#'
81681 GLIBCXX_C_HEADERS_C_FALSE=
81685 if test $enable_cheaders = c_std; then
81686 GLIBCXX_C_HEADERS_C_STD_TRUE=
81687 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
81688 else
81689 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
81690 GLIBCXX_C_HEADERS_C_STD_FALSE=
81694 if test $enable_cheaders = c_global; then
81695 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81696 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81697 else
81698 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81699 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81703 if test $c_compatibility = yes; then
81704 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81705 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81706 else
81707 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81708 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81712 if test $enable_libstdcxx_debug = yes; then
81713 GLIBCXX_BUILD_DEBUG_TRUE=
81714 GLIBCXX_BUILD_DEBUG_FALSE='#'
81715 else
81716 GLIBCXX_BUILD_DEBUG_TRUE='#'
81717 GLIBCXX_BUILD_DEBUG_FALSE=
81721 if test $enable_extern_template = yes; then
81722 ENABLE_EXTERN_TEMPLATE_TRUE=
81723 ENABLE_EXTERN_TEMPLATE_FALSE='#'
81724 else
81725 ENABLE_EXTERN_TEMPLATE_TRUE='#'
81726 ENABLE_EXTERN_TEMPLATE_FALSE=
81730 if test $python_mod_dir != no; then
81731 ENABLE_PYTHONDIR_TRUE=
81732 ENABLE_PYTHONDIR_FALSE='#'
81733 else
81734 ENABLE_PYTHONDIR_TRUE='#'
81735 ENABLE_PYTHONDIR_FALSE=
81739 if test $enable_werror = yes; then
81740 ENABLE_WERROR_TRUE=
81741 ENABLE_WERROR_FALSE='#'
81742 else
81743 ENABLE_WERROR_TRUE='#'
81744 ENABLE_WERROR_FALSE=
81748 if test $enable_vtable_verify = yes; then
81749 ENABLE_VTABLE_VERIFY_TRUE=
81750 ENABLE_VTABLE_VERIFY_FALSE='#'
81751 else
81752 ENABLE_VTABLE_VERIFY_TRUE='#'
81753 ENABLE_VTABLE_VERIFY_FALSE=
81757 if test $enable_symvers != no; then
81758 ENABLE_SYMVERS_TRUE=
81759 ENABLE_SYMVERS_FALSE='#'
81760 else
81761 ENABLE_SYMVERS_TRUE='#'
81762 ENABLE_SYMVERS_FALSE=
81766 if test $enable_symvers = gnu; then
81767 ENABLE_SYMVERS_GNU_TRUE=
81768 ENABLE_SYMVERS_GNU_FALSE='#'
81769 else
81770 ENABLE_SYMVERS_GNU_TRUE='#'
81771 ENABLE_SYMVERS_GNU_FALSE=
81775 if test $enable_symvers = gnu-versioned-namespace; then
81776 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
81777 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
81778 else
81779 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
81780 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81784 if test $enable_symvers = darwin; then
81785 ENABLE_SYMVERS_DARWIN_TRUE=
81786 ENABLE_SYMVERS_DARWIN_FALSE='#'
81787 else
81788 ENABLE_SYMVERS_DARWIN_TRUE='#'
81789 ENABLE_SYMVERS_DARWIN_FALSE=
81793 if test $enable_symvers = sun; then
81794 ENABLE_SYMVERS_SUN_TRUE=
81795 ENABLE_SYMVERS_SUN_FALSE='#'
81796 else
81797 ENABLE_SYMVERS_SUN_TRUE='#'
81798 ENABLE_SYMVERS_SUN_FALSE=
81802 if test $enable_libstdcxx_visibility = yes; then
81803 ENABLE_VISIBILITY_TRUE=
81804 ENABLE_VISIBILITY_FALSE='#'
81805 else
81806 ENABLE_VISIBILITY_TRUE='#'
81807 ENABLE_VISIBILITY_FALSE=
81811 if test $enable_libstdcxx_dual_abi = yes; then
81812 ENABLE_DUAL_ABI_TRUE=
81813 ENABLE_DUAL_ABI_FALSE='#'
81814 else
81815 ENABLE_DUAL_ABI_TRUE='#'
81816 ENABLE_DUAL_ABI_FALSE=
81820 if test $glibcxx_cxx11_abi = 1; then
81821 ENABLE_CXX11_ABI_TRUE=
81822 ENABLE_CXX11_ABI_FALSE='#'
81823 else
81824 ENABLE_CXX11_ABI_TRUE='#'
81825 ENABLE_CXX11_ABI_FALSE=
81829 if test $ac_ldbl_compat = yes; then
81830 GLIBCXX_LDBL_COMPAT_TRUE=
81831 GLIBCXX_LDBL_COMPAT_FALSE='#'
81832 else
81833 GLIBCXX_LDBL_COMPAT_TRUE='#'
81834 GLIBCXX_LDBL_COMPAT_FALSE=
81838 if test $enable_libstdcxx_filesystem_ts = yes; then
81839 ENABLE_FILESYSTEM_TS_TRUE=
81840 ENABLE_FILESYSTEM_TS_FALSE='#'
81841 else
81842 ENABLE_FILESYSTEM_TS_TRUE='#'
81843 ENABLE_FILESYSTEM_TS_FALSE=
81849 cat >confcache <<\_ACEOF
81850 # This file is a shell script that caches the results of configure
81851 # tests run on this system so they can be shared between configure
81852 # scripts and configure runs, see configure's option --config-cache.
81853 # It is not useful on other systems. If it contains results you don't
81854 # want to keep, you may remove or edit it.
81856 # config.status only pays attention to the cache file if you give it
81857 # the --recheck option to rerun configure.
81859 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81860 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81861 # following values.
81863 _ACEOF
81865 # The following way of writing the cache mishandles newlines in values,
81866 # but we know of no workaround that is simple, portable, and efficient.
81867 # So, we kill variables containing newlines.
81868 # Ultrix sh set writes to stderr and can't be redirected directly,
81869 # and sets the high bit in the cache file unless we assign to the vars.
81871 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81872 eval ac_val=\$$ac_var
81873 case $ac_val in #(
81874 *${as_nl}*)
81875 case $ac_var in #(
81876 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81877 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81878 esac
81879 case $ac_var in #(
81880 _ | IFS | as_nl) ;; #(
81881 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81882 *) { eval $ac_var=; unset $ac_var;} ;;
81883 esac ;;
81884 esac
81885 done
81887 (set) 2>&1 |
81888 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81889 *${as_nl}ac_space=\ *)
81890 # `set' does not quote correctly, so add quotes: double-quote
81891 # substitution turns \\\\ into \\, and sed turns \\ into \.
81892 sed -n \
81893 "s/'/'\\\\''/g;
81894 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81895 ;; #(
81897 # `set' quotes correctly as required by POSIX, so do not add quotes.
81898 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81900 esac |
81901 sort
81903 sed '
81904 /^ac_cv_env_/b end
81905 t clear
81906 :clear
81907 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81908 t end
81909 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81910 :end' >>confcache
81911 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81912 if test -w "$cache_file"; then
81913 if test "x$cache_file" != "x/dev/null"; then
81914 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81915 $as_echo "$as_me: updating cache $cache_file" >&6;}
81916 if test ! -f "$cache_file" || test -h "$cache_file"; then
81917 cat confcache >"$cache_file"
81918 else
81919 case $cache_file in #(
81920 */* | ?:*)
81921 mv -f confcache "$cache_file"$$ &&
81922 mv -f "$cache_file"$$ "$cache_file" ;; #(
81924 mv -f confcache "$cache_file" ;;
81925 esac
81928 else
81929 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81930 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81933 rm -f confcache
81935 if test ${multilib} = yes; then
81936 multilib_arg="--enable-multilib"
81937 else
81938 multilib_arg=
81941 # Export all the install information.
81943 glibcxx_toolexecdir=no
81944 glibcxx_toolexeclibdir=no
81945 glibcxx_prefixdir=$prefix
81947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81948 $as_echo_n "checking for gxx-include-dir... " >&6; }
81950 # Check whether --with-gxx-include-dir was given.
81951 if test "${with_gxx_include_dir+set}" = set; then :
81952 withval=$with_gxx_include_dir; case "$withval" in
81953 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81954 no) gxx_include_dir=no ;;
81955 *) gxx_include_dir=$withval ;;
81956 esac
81957 else
81958 gxx_include_dir=no
81961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81962 $as_echo "$gxx_include_dir" >&6; }
81964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81965 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81966 # Check whether --enable-version-specific-runtime-libs was given.
81967 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81968 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81969 yes) version_specific_libs=yes ;;
81970 no) version_specific_libs=no ;;
81971 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81972 esac
81973 else
81974 version_specific_libs=no
81977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81978 $as_echo "$version_specific_libs" >&6; }
81980 # Default case for install directory for include files.
81981 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81982 gxx_include_dir='include/c++/${gcc_version}'
81983 if test -n "$with_cross_host" &&
81984 test x"$with_cross_host" != x"no"; then
81985 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81986 else
81987 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81991 # Version-specific runtime libs processing.
81992 if test $version_specific_libs = yes; then
81993 # Need the gcc compiler version to know where to install libraries
81994 # and header files if --enable-version-specific-runtime-libs option
81995 # is selected. FIXME: these variables are misnamed, there are
81996 # no executables installed in _toolexecdir or _toolexeclibdir.
81997 if test x"$gxx_include_dir" = x"no"; then
81998 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
82000 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
82001 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
82004 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
82005 # Install a library built with a cross compiler in tooldir, not libdir.
82006 if test x"$glibcxx_toolexecdir" = x"no"; then
82007 if test -n "$with_cross_host" &&
82008 test x"$with_cross_host" != x"no"; then
82009 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
82010 glibcxx_toolexeclibdir='${toolexecdir}/lib'
82011 else
82012 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
82013 glibcxx_toolexeclibdir='${libdir}'
82015 multi_os_directory=`$CXX -print-multi-os-directory`
82016 case $multi_os_directory in
82017 .) ;; # Avoid trailing /.
82018 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
82019 esac
82022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
82023 $as_echo_n "checking for install location... " >&6; }
82024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
82025 $as_echo "$gxx_include_dir" >&6; }
82033 # Export all the include and flag information to Makefiles.
82035 # Used for every C++ compile we perform.
82036 GLIBCXX_INCLUDES="\
82037 -I$glibcxx_builddir/include/$host_alias \
82038 -I$glibcxx_builddir/include \
82039 -I$glibcxx_srcdir/libsupc++"
82041 # For Canadian crosses, pick this up too.
82042 if test $CANADIAN = yes; then
82043 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
82046 # Stuff in the actual top level. Currently only used by libsupc++ to
82047 # get unwind* headers from the libgcc dir.
82048 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
82049 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
82051 # Now, export this to all the little Makefiles....
82056 # Optimization flags that are probably a good idea for thrill-seekers. Just
82057 # uncomment the lines below and make, everything else is ready to go...
82058 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
82059 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
82062 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
82066 # Determine what GCC version number to use in filesystem paths.
82068 get_gcc_base_ver="cat"
82070 # Check whether --with-gcc-major-version-only was given.
82071 if test "${with_gcc_major_version_only+set}" = set; then :
82072 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
82073 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
82081 ac_config_files="$ac_config_files Makefile"
82083 ac_config_files="$ac_config_files scripts/testsuite_flags"
82085 ac_config_files="$ac_config_files scripts/extract_symvers"
82087 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
82090 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
82091 # that multilib installs will end up installed in the correct place.
82092 # The testsuite needs it for multilib-aware ABI baseline files.
82093 # To work around this not being passed down from config-ml.in ->
82094 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
82095 # append it here. Only modify Makefiles that have just been created.
82097 # Also, get rid of this simulated-VPATH thing that automake does.
82098 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"
82101 ac_config_commands="$ac_config_commands generate-headers"
82104 cat >confcache <<\_ACEOF
82105 # This file is a shell script that caches the results of configure
82106 # tests run on this system so they can be shared between configure
82107 # scripts and configure runs, see configure's option --config-cache.
82108 # It is not useful on other systems. If it contains results you don't
82109 # want to keep, you may remove or edit it.
82111 # config.status only pays attention to the cache file if you give it
82112 # the --recheck option to rerun configure.
82114 # `ac_cv_env_foo' variables (set or unset) will be overridden when
82115 # loading this file, other *unset* `ac_cv_foo' will be assigned the
82116 # following values.
82118 _ACEOF
82120 # The following way of writing the cache mishandles newlines in values,
82121 # but we know of no workaround that is simple, portable, and efficient.
82122 # So, we kill variables containing newlines.
82123 # Ultrix sh set writes to stderr and can't be redirected directly,
82124 # and sets the high bit in the cache file unless we assign to the vars.
82126 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
82127 eval ac_val=\$$ac_var
82128 case $ac_val in #(
82129 *${as_nl}*)
82130 case $ac_var in #(
82131 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
82132 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
82133 esac
82134 case $ac_var in #(
82135 _ | IFS | as_nl) ;; #(
82136 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
82137 *) { eval $ac_var=; unset $ac_var;} ;;
82138 esac ;;
82139 esac
82140 done
82142 (set) 2>&1 |
82143 case $as_nl`(ac_space=' '; set) 2>&1` in #(
82144 *${as_nl}ac_space=\ *)
82145 # `set' does not quote correctly, so add quotes: double-quote
82146 # substitution turns \\\\ into \\, and sed turns \\ into \.
82147 sed -n \
82148 "s/'/'\\\\''/g;
82149 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
82150 ;; #(
82152 # `set' quotes correctly as required by POSIX, so do not add quotes.
82153 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
82155 esac |
82156 sort
82158 sed '
82159 /^ac_cv_env_/b end
82160 t clear
82161 :clear
82162 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
82163 t end
82164 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
82165 :end' >>confcache
82166 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
82167 if test -w "$cache_file"; then
82168 if test "x$cache_file" != "x/dev/null"; then
82169 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
82170 $as_echo "$as_me: updating cache $cache_file" >&6;}
82171 if test ! -f "$cache_file" || test -h "$cache_file"; then
82172 cat confcache >"$cache_file"
82173 else
82174 case $cache_file in #(
82175 */* | ?:*)
82176 mv -f confcache "$cache_file"$$ &&
82177 mv -f "$cache_file"$$ "$cache_file" ;; #(
82179 mv -f confcache "$cache_file" ;;
82180 esac
82183 else
82184 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
82185 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
82188 rm -f confcache
82190 test "x$prefix" = xNONE && prefix=$ac_default_prefix
82191 # Let make expand exec_prefix.
82192 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
82194 DEFS=-DHAVE_CONFIG_H
82196 ac_libobjs=
82197 ac_ltlibobjs=
82199 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
82200 # 1. Remove the extension, and $U if already installed.
82201 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
82202 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
82203 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
82204 # will be set to the directory where LIBOBJS objects are built.
82205 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
82206 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
82207 done
82208 LIBOBJS=$ac_libobjs
82210 LTLIBOBJS=$ac_ltlibobjs
82213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
82214 $as_echo_n "checking that generated files are newer than configure... " >&6; }
82215 if test -n "$am_sleep_pid"; then
82216 # Hide warnings about reused PIDs.
82217 wait $am_sleep_pid 2>/dev/null
82219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
82220 $as_echo "done" >&6; }
82221 if test -n "$EXEEXT"; then
82222 am__EXEEXT_TRUE=
82223 am__EXEEXT_FALSE='#'
82224 else
82225 am__EXEEXT_TRUE='#'
82226 am__EXEEXT_FALSE=
82229 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
82230 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
82231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82233 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
82234 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
82235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82237 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
82238 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
82239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82241 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
82242 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
82243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82245 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
82246 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
82247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82249 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
82250 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
82251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82253 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
82254 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
82255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82257 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
82258 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
82259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82261 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
82262 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
82263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82265 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
82266 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
82267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82269 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
82270 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
82271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82273 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
82274 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
82275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82277 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
82278 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
82279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82281 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
82282 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
82283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82285 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
82286 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
82287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82289 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
82290 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
82291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82293 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
82294 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
82295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82297 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
82298 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
82299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82301 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
82302 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
82303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82305 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
82306 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
82307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82309 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
82310 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
82311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82313 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
82314 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
82315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82317 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
82318 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
82319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82321 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
82322 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
82323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82325 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
82326 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
82327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82329 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
82330 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
82331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82333 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
82334 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
82335 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82337 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
82338 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
82339 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82341 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
82342 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
82343 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82345 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
82346 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
82347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82349 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
82350 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
82351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82353 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
82354 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
82355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82358 : "${CONFIG_STATUS=./config.status}"
82359 ac_write_fail=0
82360 ac_clean_files_save=$ac_clean_files
82361 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
82362 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
82363 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
82364 as_write_fail=0
82365 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
82366 #! $SHELL
82367 # Generated by $as_me.
82368 # Run this file to recreate the current configuration.
82369 # Compiler output produced by configure, useful for debugging
82370 # configure, is in config.log if it exists.
82372 debug=false
82373 ac_cs_recheck=false
82374 ac_cs_silent=false
82376 SHELL=\${CONFIG_SHELL-$SHELL}
82377 export SHELL
82378 _ASEOF
82379 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
82380 ## -------------------- ##
82381 ## M4sh Initialization. ##
82382 ## -------------------- ##
82384 # Be more Bourne compatible
82385 DUALCASE=1; export DUALCASE # for MKS sh
82386 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
82387 emulate sh
82388 NULLCMD=:
82389 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
82390 # is contrary to our usage. Disable this feature.
82391 alias -g '${1+"$@"}'='"$@"'
82392 setopt NO_GLOB_SUBST
82393 else
82394 case `(set -o) 2>/dev/null` in #(
82395 *posix*) :
82396 set -o posix ;; #(
82397 *) :
82399 esac
82403 as_nl='
82405 export as_nl
82406 # Printing a long string crashes Solaris 7 /usr/bin/printf.
82407 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
82408 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
82409 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
82410 # Prefer a ksh shell builtin over an external printf program on Solaris,
82411 # but without wasting forks for bash or zsh.
82412 if test -z "$BASH_VERSION$ZSH_VERSION" \
82413 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
82414 as_echo='print -r --'
82415 as_echo_n='print -rn --'
82416 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
82417 as_echo='printf %s\n'
82418 as_echo_n='printf %s'
82419 else
82420 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
82421 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
82422 as_echo_n='/usr/ucb/echo -n'
82423 else
82424 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
82425 as_echo_n_body='eval
82426 arg=$1;
82427 case $arg in #(
82428 *"$as_nl"*)
82429 expr "X$arg" : "X\\(.*\\)$as_nl";
82430 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
82431 esac;
82432 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
82434 export as_echo_n_body
82435 as_echo_n='sh -c $as_echo_n_body as_echo'
82437 export as_echo_body
82438 as_echo='sh -c $as_echo_body as_echo'
82441 # The user is always right.
82442 if test "${PATH_SEPARATOR+set}" != set; then
82443 PATH_SEPARATOR=:
82444 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82445 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82446 PATH_SEPARATOR=';'
82451 # IFS
82452 # We need space, tab and new line, in precisely that order. Quoting is
82453 # there to prevent editors from complaining about space-tab.
82454 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
82455 # splitting by setting IFS to empty value.)
82456 IFS=" "" $as_nl"
82458 # Find who we are. Look in the path if we contain no directory separator.
82459 as_myself=
82460 case $0 in #((
82461 *[\\/]* ) as_myself=$0 ;;
82462 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
82463 for as_dir in $PATH
82465 IFS=$as_save_IFS
82466 test -z "$as_dir" && as_dir=.
82467 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82468 done
82469 IFS=$as_save_IFS
82472 esac
82473 # We did not find ourselves, most probably we were run as `sh COMMAND'
82474 # in which case we are not to be found in the path.
82475 if test "x$as_myself" = x; then
82476 as_myself=$0
82478 if test ! -f "$as_myself"; then
82479 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
82480 exit 1
82483 # Unset variables that we do not need and which cause bugs (e.g. in
82484 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
82485 # suppresses any "Segmentation fault" message there. '((' could
82486 # trigger a bug in pdksh 5.2.14.
82487 for as_var in BASH_ENV ENV MAIL MAILPATH
82488 do eval test x\${$as_var+set} = xset \
82489 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
82490 done
82491 PS1='$ '
82492 PS2='> '
82493 PS4='+ '
82495 # NLS nuisances.
82496 LC_ALL=C
82497 export LC_ALL
82498 LANGUAGE=C
82499 export LANGUAGE
82501 # CDPATH.
82502 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82505 # as_fn_error STATUS ERROR [LINENO LOG_FD]
82506 # ----------------------------------------
82507 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
82508 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
82509 # script with STATUS, using 1 if that was 0.
82510 as_fn_error ()
82512 as_status=$1; test $as_status -eq 0 && as_status=1
82513 if test "$4"; then
82514 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
82515 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
82517 $as_echo "$as_me: error: $2" >&2
82518 as_fn_exit $as_status
82519 } # as_fn_error
82522 # as_fn_set_status STATUS
82523 # -----------------------
82524 # Set $? to STATUS, without forking.
82525 as_fn_set_status ()
82527 return $1
82528 } # as_fn_set_status
82530 # as_fn_exit STATUS
82531 # -----------------
82532 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
82533 as_fn_exit ()
82535 set +e
82536 as_fn_set_status $1
82537 exit $1
82538 } # as_fn_exit
82540 # as_fn_unset VAR
82541 # ---------------
82542 # Portably unset VAR.
82543 as_fn_unset ()
82545 { eval $1=; unset $1;}
82547 as_unset=as_fn_unset
82548 # as_fn_append VAR VALUE
82549 # ----------------------
82550 # Append the text in VALUE to the end of the definition contained in VAR. Take
82551 # advantage of any shell optimizations that allow amortized linear growth over
82552 # repeated appends, instead of the typical quadratic growth present in naive
82553 # implementations.
82554 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
82555 eval 'as_fn_append ()
82557 eval $1+=\$2
82559 else
82560 as_fn_append ()
82562 eval $1=\$$1\$2
82564 fi # as_fn_append
82566 # as_fn_arith ARG...
82567 # ------------------
82568 # Perform arithmetic evaluation on the ARGs, and store the result in the
82569 # global $as_val. Take advantage of shells that can avoid forks. The arguments
82570 # must be portable across $(()) and expr.
82571 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
82572 eval 'as_fn_arith ()
82574 as_val=$(( $* ))
82576 else
82577 as_fn_arith ()
82579 as_val=`expr "$@" || test $? -eq 1`
82581 fi # as_fn_arith
82584 if expr a : '\(a\)' >/dev/null 2>&1 &&
82585 test "X`expr 00001 : '.*\(...\)'`" = X001; then
82586 as_expr=expr
82587 else
82588 as_expr=false
82591 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
82592 as_basename=basename
82593 else
82594 as_basename=false
82597 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
82598 as_dirname=dirname
82599 else
82600 as_dirname=false
82603 as_me=`$as_basename -- "$0" ||
82604 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
82605 X"$0" : 'X\(//\)$' \| \
82606 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
82607 $as_echo X/"$0" |
82608 sed '/^.*\/\([^/][^/]*\)\/*$/{
82609 s//\1/
82612 /^X\/\(\/\/\)$/{
82613 s//\1/
82616 /^X\/\(\/\).*/{
82617 s//\1/
82620 s/.*/./; q'`
82622 # Avoid depending upon Character Ranges.
82623 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82624 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82625 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82626 as_cr_digits='0123456789'
82627 as_cr_alnum=$as_cr_Letters$as_cr_digits
82629 ECHO_C= ECHO_N= ECHO_T=
82630 case `echo -n x` in #(((((
82631 -n*)
82632 case `echo 'xy\c'` in
82633 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
82634 xy) ECHO_C='\c';;
82635 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
82636 ECHO_T=' ';;
82637 esac;;
82639 ECHO_N='-n';;
82640 esac
82642 rm -f conf$$ conf$$.exe conf$$.file
82643 if test -d conf$$.dir; then
82644 rm -f conf$$.dir/conf$$.file
82645 else
82646 rm -f conf$$.dir
82647 mkdir conf$$.dir 2>/dev/null
82649 if (echo >conf$$.file) 2>/dev/null; then
82650 if ln -s conf$$.file conf$$ 2>/dev/null; then
82651 as_ln_s='ln -s'
82652 # ... but there are two gotchas:
82653 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
82654 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
82655 # In both cases, we have to default to `cp -pR'.
82656 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
82657 as_ln_s='cp -pR'
82658 elif ln conf$$.file conf$$ 2>/dev/null; then
82659 as_ln_s=ln
82660 else
82661 as_ln_s='cp -pR'
82663 else
82664 as_ln_s='cp -pR'
82666 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
82667 rmdir conf$$.dir 2>/dev/null
82670 # as_fn_mkdir_p
82671 # -------------
82672 # Create "$as_dir" as a directory, including parents if necessary.
82673 as_fn_mkdir_p ()
82676 case $as_dir in #(
82677 -*) as_dir=./$as_dir;;
82678 esac
82679 test -d "$as_dir" || eval $as_mkdir_p || {
82680 as_dirs=
82681 while :; do
82682 case $as_dir in #(
82683 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
82684 *) as_qdir=$as_dir;;
82685 esac
82686 as_dirs="'$as_qdir' $as_dirs"
82687 as_dir=`$as_dirname -- "$as_dir" ||
82688 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82689 X"$as_dir" : 'X\(//\)[^/]' \| \
82690 X"$as_dir" : 'X\(//\)$' \| \
82691 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
82692 $as_echo X"$as_dir" |
82693 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82694 s//\1/
82697 /^X\(\/\/\)[^/].*/{
82698 s//\1/
82701 /^X\(\/\/\)$/{
82702 s//\1/
82705 /^X\(\/\).*/{
82706 s//\1/
82709 s/.*/./; q'`
82710 test -d "$as_dir" && break
82711 done
82712 test -z "$as_dirs" || eval "mkdir $as_dirs"
82713 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
82716 } # as_fn_mkdir_p
82717 if mkdir -p . 2>/dev/null; then
82718 as_mkdir_p='mkdir -p "$as_dir"'
82719 else
82720 test -d ./-p && rmdir ./-p
82721 as_mkdir_p=false
82725 # as_fn_executable_p FILE
82726 # -----------------------
82727 # Test if FILE is an executable regular file.
82728 as_fn_executable_p ()
82730 test -f "$1" && test -x "$1"
82731 } # as_fn_executable_p
82732 as_test_x='test -x'
82733 as_executable_p=as_fn_executable_p
82735 # Sed expression to map a string onto a valid CPP name.
82736 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82738 # Sed expression to map a string onto a valid variable name.
82739 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82742 exec 6>&1
82743 ## ----------------------------------- ##
82744 ## Main body of $CONFIG_STATUS script. ##
82745 ## ----------------------------------- ##
82746 _ASEOF
82747 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82750 # Save the log message, to keep $0 and so on meaningful, and to
82751 # report actual input values of CONFIG_FILES etc. instead of their
82752 # values after options handling.
82753 ac_log="
82754 This file was extended by package-unused $as_me version-unused, which was
82755 generated by GNU Autoconf 2.69. Invocation command line was
82757 CONFIG_FILES = $CONFIG_FILES
82758 CONFIG_HEADERS = $CONFIG_HEADERS
82759 CONFIG_LINKS = $CONFIG_LINKS
82760 CONFIG_COMMANDS = $CONFIG_COMMANDS
82761 $ $0 $@
82763 on `(hostname || uname -n) 2>/dev/null | sed 1q`
82766 _ACEOF
82768 case $ac_config_files in *"
82769 "*) set x $ac_config_files; shift; ac_config_files=$*;;
82770 esac
82772 case $ac_config_headers in *"
82773 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
82774 esac
82777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82778 # Files that config.status was made for.
82779 config_files="$ac_config_files"
82780 config_headers="$ac_config_headers"
82781 config_commands="$ac_config_commands"
82783 _ACEOF
82785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82786 ac_cs_usage="\
82787 \`$as_me' instantiates files and other configuration actions
82788 from templates according to the current configuration. Unless the files
82789 and actions are specified as TAGs, all are instantiated by default.
82791 Usage: $0 [OPTION]... [TAG]...
82793 -h, --help print this help, then exit
82794 -V, --version print version number and configuration settings, then exit
82795 --config print configuration, then exit
82796 -q, --quiet, --silent
82797 do not print progress messages
82798 -d, --debug don't remove temporary files
82799 --recheck update $as_me by reconfiguring in the same conditions
82800 --file=FILE[:TEMPLATE]
82801 instantiate the configuration file FILE
82802 --header=FILE[:TEMPLATE]
82803 instantiate the configuration header FILE
82805 Configuration files:
82806 $config_files
82808 Configuration headers:
82809 $config_headers
82811 Configuration commands:
82812 $config_commands
82814 Report bugs to the package provider."
82816 _ACEOF
82817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82818 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
82819 ac_cs_version="\\
82820 package-unused config.status version-unused
82821 configured by $0, generated by GNU Autoconf 2.69,
82822 with options \\"\$ac_cs_config\\"
82824 Copyright (C) 2012 Free Software Foundation, Inc.
82825 This config.status script is free software; the Free Software Foundation
82826 gives unlimited permission to copy, distribute and modify it."
82828 ac_pwd='$ac_pwd'
82829 srcdir='$srcdir'
82830 INSTALL='$INSTALL'
82831 MKDIR_P='$MKDIR_P'
82832 AWK='$AWK'
82833 test -n "\$AWK" || AWK=awk
82834 _ACEOF
82836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82837 # The default lists apply if the user does not specify any file.
82838 ac_need_defaults=:
82839 while test $# != 0
82841 case $1 in
82842 --*=?*)
82843 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82844 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82845 ac_shift=:
82847 --*=)
82848 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82849 ac_optarg=
82850 ac_shift=:
82853 ac_option=$1
82854 ac_optarg=$2
82855 ac_shift=shift
82857 esac
82859 case $ac_option in
82860 # Handling of the options.
82861 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82862 ac_cs_recheck=: ;;
82863 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82864 $as_echo "$ac_cs_version"; exit ;;
82865 --config | --confi | --conf | --con | --co | --c )
82866 $as_echo "$ac_cs_config"; exit ;;
82867 --debug | --debu | --deb | --de | --d | -d )
82868 debug=: ;;
82869 --file | --fil | --fi | --f )
82870 $ac_shift
82871 case $ac_optarg in
82872 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82873 '') as_fn_error $? "missing file argument" ;;
82874 esac
82875 as_fn_append CONFIG_FILES " '$ac_optarg'"
82876 ac_need_defaults=false;;
82877 --header | --heade | --head | --hea )
82878 $ac_shift
82879 case $ac_optarg in
82880 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82881 esac
82882 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82883 ac_need_defaults=false;;
82884 --he | --h)
82885 # Conflict between --help and --header
82886 as_fn_error $? "ambiguous option: \`$1'
82887 Try \`$0 --help' for more information.";;
82888 --help | --hel | -h )
82889 $as_echo "$ac_cs_usage"; exit ;;
82890 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82891 | -silent | --silent | --silen | --sile | --sil | --si | --s)
82892 ac_cs_silent=: ;;
82894 # This is an error.
82895 -*) as_fn_error $? "unrecognized option: \`$1'
82896 Try \`$0 --help' for more information." ;;
82898 *) as_fn_append ac_config_targets " $1"
82899 ac_need_defaults=false ;;
82901 esac
82902 shift
82903 done
82905 ac_configure_extra_args=
82907 if $ac_cs_silent; then
82908 exec 6>/dev/null
82909 ac_configure_extra_args="$ac_configure_extra_args --silent"
82912 _ACEOF
82913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82914 if \$ac_cs_recheck; then
82915 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82916 shift
82917 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82918 CONFIG_SHELL='$SHELL'
82919 export CONFIG_SHELL
82920 exec "\$@"
82923 _ACEOF
82924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82925 exec 5>>config.log
82927 echo
82928 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82929 ## Running $as_me. ##
82930 _ASBOX
82931 $as_echo "$ac_log"
82932 } >&5
82934 _ACEOF
82935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82937 # INIT-COMMANDS
82940 srcdir="$srcdir"
82941 host="$host"
82942 target="$target"
82943 with_multisubdir="$with_multisubdir"
82944 with_multisrctop="$with_multisrctop"
82945 with_target_subdir="$with_target_subdir"
82946 ac_configure_args="${multilib_arg} ${ac_configure_args}"
82947 multi_basedir="$multi_basedir"
82948 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82949 CC="$CC"
82950 CXX="$CXX"
82951 GFORTRAN="$GFORTRAN"
82952 GDC="$GDC"
82955 # The HP-UX ksh and POSIX shell print the target directory to stdout
82956 # if CDPATH is set.
82957 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82959 sed_quote_subst='$sed_quote_subst'
82960 double_quote_subst='$double_quote_subst'
82961 delay_variable_subst='$delay_variable_subst'
82962 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82963 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82964 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82965 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82966 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82967 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82968 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82969 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82970 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82971 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82972 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82973 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82974 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82975 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82976 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82977 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82978 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82979 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82980 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82981 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82982 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82983 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82984 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82985 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82986 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82987 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82988 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82989 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82990 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82991 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82992 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82993 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82994 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82995 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82996 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82997 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82998 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82999 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
83000 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
83001 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
83002 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
83003 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
83004 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
83005 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
83006 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
83007 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
83008 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
83009 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
83010 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"`'
83011 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
83012 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
83013 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
83014 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
83015 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
83016 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
83017 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
83018 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
83019 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
83020 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
83021 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
83022 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
83023 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
83024 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
83025 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
83026 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
83027 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
83028 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
83029 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
83030 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
83031 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
83032 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
83033 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
83034 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
83035 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
83036 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
83037 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
83038 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
83039 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
83040 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
83041 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
83042 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
83043 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
83044 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
83045 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
83046 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
83047 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
83048 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
83049 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
83050 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
83051 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
83052 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
83053 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
83054 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
83055 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
83056 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
83057 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
83058 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
83059 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
83060 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
83061 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
83062 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
83063 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
83064 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
83065 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
83066 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
83067 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
83068 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
83069 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
83070 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
83071 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
83072 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
83073 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
83074 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
83075 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
83076 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
83077 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
83078 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
83079 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
83080 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
83081 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
83082 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
83083 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
83084 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
83085 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
83086 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
83087 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
83088 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
83089 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
83090 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83091 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83092 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
83093 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
83094 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
83095 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
83096 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
83097 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
83098 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
83099 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
83100 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
83101 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
83102 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
83103 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
83104 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83105 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83106 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83107 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83108 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83109 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83110 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
83111 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
83112 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
83113 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
83114 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
83115 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
83116 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
83117 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
83118 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
83119 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
83120 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
83121 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
83122 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
83123 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
83124 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
83125 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83126 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
83127 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
83128 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83129 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
83130 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
83131 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
83132 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
83133 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
83134 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
83135 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
83136 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
83138 LTCC='$LTCC'
83139 LTCFLAGS='$LTCFLAGS'
83140 compiler='$compiler_DEFAULT'
83142 # A function that is used when there is no print builtin or printf.
83143 func_fallback_echo ()
83145 eval 'cat <<_LTECHO_EOF
83147 _LTECHO_EOF'
83150 # Quote evaled strings.
83151 for var in SHELL \
83152 ECHO \
83153 SED \
83154 GREP \
83155 EGREP \
83156 FGREP \
83157 LD \
83158 NM \
83159 LN_S \
83160 lt_SP2NL \
83161 lt_NL2SP \
83162 reload_flag \
83163 OBJDUMP \
83164 deplibs_check_method \
83165 file_magic_cmd \
83166 AR \
83167 AR_FLAGS \
83168 STRIP \
83169 RANLIB \
83170 CC \
83171 CFLAGS \
83172 compiler \
83173 lt_cv_sys_global_symbol_pipe \
83174 lt_cv_sys_global_symbol_to_cdecl \
83175 lt_cv_sys_global_symbol_to_c_name_address \
83176 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
83177 lt_prog_compiler_no_builtin_flag \
83178 lt_prog_compiler_wl \
83179 lt_prog_compiler_pic \
83180 lt_prog_compiler_static \
83181 lt_cv_prog_compiler_c_o \
83182 need_locks \
83183 DSYMUTIL \
83184 NMEDIT \
83185 LIPO \
83186 OTOOL \
83187 OTOOL64 \
83188 shrext_cmds \
83189 export_dynamic_flag_spec \
83190 whole_archive_flag_spec \
83191 compiler_needs_object \
83192 with_gnu_ld \
83193 allow_undefined_flag \
83194 no_undefined_flag \
83195 hardcode_libdir_flag_spec \
83196 hardcode_libdir_flag_spec_ld \
83197 hardcode_libdir_separator \
83198 fix_srcfile_path \
83199 exclude_expsyms \
83200 include_expsyms \
83201 file_list_spec \
83202 variables_saved_for_relink \
83203 libname_spec \
83204 library_names_spec \
83205 soname_spec \
83206 install_override_mode \
83207 finish_eval \
83208 old_striplib \
83209 striplib \
83210 compiler_lib_search_dirs \
83211 predep_objects \
83212 postdep_objects \
83213 predeps \
83214 postdeps \
83215 compiler_lib_search_path \
83216 LD_CXX \
83217 reload_flag_CXX \
83218 compiler_CXX \
83219 lt_prog_compiler_no_builtin_flag_CXX \
83220 lt_prog_compiler_wl_CXX \
83221 lt_prog_compiler_pic_CXX \
83222 lt_prog_compiler_static_CXX \
83223 lt_cv_prog_compiler_c_o_CXX \
83224 export_dynamic_flag_spec_CXX \
83225 whole_archive_flag_spec_CXX \
83226 compiler_needs_object_CXX \
83227 with_gnu_ld_CXX \
83228 allow_undefined_flag_CXX \
83229 no_undefined_flag_CXX \
83230 hardcode_libdir_flag_spec_CXX \
83231 hardcode_libdir_flag_spec_ld_CXX \
83232 hardcode_libdir_separator_CXX \
83233 fix_srcfile_path_CXX \
83234 exclude_expsyms_CXX \
83235 include_expsyms_CXX \
83236 file_list_spec_CXX \
83237 compiler_lib_search_dirs_CXX \
83238 predep_objects_CXX \
83239 postdep_objects_CXX \
83240 predeps_CXX \
83241 postdeps_CXX \
83242 compiler_lib_search_path_CXX; do
83243 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
83244 *[\\\\\\\`\\"\\\$]*)
83245 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
83248 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
83250 esac
83251 done
83253 # Double-quote double-evaled strings.
83254 for var in reload_cmds \
83255 old_postinstall_cmds \
83256 old_postuninstall_cmds \
83257 old_archive_cmds \
83258 extract_expsyms_cmds \
83259 old_archive_from_new_cmds \
83260 old_archive_from_expsyms_cmds \
83261 archive_cmds \
83262 archive_expsym_cmds \
83263 module_cmds \
83264 module_expsym_cmds \
83265 export_symbols_cmds \
83266 prelink_cmds \
83267 postinstall_cmds \
83268 postuninstall_cmds \
83269 finish_cmds \
83270 sys_lib_search_path_spec \
83271 sys_lib_dlsearch_path_spec \
83272 reload_cmds_CXX \
83273 old_archive_cmds_CXX \
83274 old_archive_from_new_cmds_CXX \
83275 old_archive_from_expsyms_cmds_CXX \
83276 archive_cmds_CXX \
83277 archive_expsym_cmds_CXX \
83278 module_cmds_CXX \
83279 module_expsym_cmds_CXX \
83280 export_symbols_cmds_CXX \
83281 prelink_cmds_CXX; do
83282 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
83283 *[\\\\\\\`\\"\\\$]*)
83284 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
83287 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
83289 esac
83290 done
83292 ac_aux_dir='$ac_aux_dir'
83293 xsi_shell='$xsi_shell'
83294 lt_shell_append='$lt_shell_append'
83296 # See if we are running on zsh, and set the options which allow our
83297 # commands through without removal of \ escapes INIT.
83298 if test -n "\${ZSH_VERSION+set}" ; then
83299 setopt NO_GLOB_SUBST
83303 PACKAGE='$PACKAGE'
83304 VERSION='$VERSION'
83305 TIMESTAMP='$TIMESTAMP'
83306 RM='$RM'
83307 ofile='$ofile'
83314 GCC="$GCC"
83315 CC="$CC"
83316 acx_cv_header_stdint="$acx_cv_header_stdint"
83317 acx_cv_type_int8_t="$acx_cv_type_int8_t"
83318 acx_cv_type_int16_t="$acx_cv_type_int16_t"
83319 acx_cv_type_int32_t="$acx_cv_type_int32_t"
83320 acx_cv_type_int64_t="$acx_cv_type_int64_t"
83321 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
83322 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
83323 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
83324 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
83325 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
83326 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
83327 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
83328 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
83329 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
83332 _ACEOF
83334 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83336 # Handling of arguments.
83337 for ac_config_target in $ac_config_targets
83339 case $ac_config_target in
83340 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
83341 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
83342 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
83343 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
83344 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
83345 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
83346 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
83347 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
83348 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
83349 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
83350 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
83351 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
83352 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
83353 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
83354 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
83355 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
83356 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
83357 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
83358 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
83359 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
83361 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
83362 esac
83363 done
83366 # If the user did not use the arguments to specify the items to instantiate,
83367 # then the envvar interface is used. Set only those that are not.
83368 # We use the long form for the default assignment because of an extremely
83369 # bizarre bug on SunOS 4.1.3.
83370 if $ac_need_defaults; then
83371 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
83372 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
83373 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
83376 # Have a temporary directory for convenience. Make it in the build tree
83377 # simply because there is no reason against having it here, and in addition,
83378 # creating and moving files from /tmp can sometimes cause problems.
83379 # Hook for its removal unless debugging.
83380 # Note that there is a small window in which the directory will not be cleaned:
83381 # after its creation but before its name has been assigned to `$tmp'.
83382 $debug ||
83384 tmp= ac_tmp=
83385 trap 'exit_status=$?
83386 : "${ac_tmp:=$tmp}"
83387 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
83389 trap 'as_fn_exit 1' 1 2 13 15
83391 # Create a (secure) tmp directory for tmp files.
83394 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
83395 test -d "$tmp"
83396 } ||
83398 tmp=./conf$$-$RANDOM
83399 (umask 077 && mkdir "$tmp")
83400 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
83401 ac_tmp=$tmp
83403 # Set up the scripts for CONFIG_FILES section.
83404 # No need to generate them if there are no CONFIG_FILES.
83405 # This happens for instance with `./config.status config.h'.
83406 if test -n "$CONFIG_FILES"; then
83409 ac_cr=`echo X | tr X '\015'`
83410 # On cygwin, bash can eat \r inside `` if the user requested igncr.
83411 # But we know of no other shell where ac_cr would be empty at this
83412 # point, so we can use a bashism as a fallback.
83413 if test "x$ac_cr" = x; then
83414 eval ac_cr=\$\'\\r\'
83416 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
83417 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
83418 ac_cs_awk_cr='\\r'
83419 else
83420 ac_cs_awk_cr=$ac_cr
83423 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
83424 _ACEOF
83428 echo "cat >conf$$subs.awk <<_ACEOF" &&
83429 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
83430 echo "_ACEOF"
83431 } >conf$$subs.sh ||
83432 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
83433 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
83434 ac_delim='%!_!# '
83435 for ac_last_try in false false false false false :; do
83436 . ./conf$$subs.sh ||
83437 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
83439 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
83440 if test $ac_delim_n = $ac_delim_num; then
83441 break
83442 elif $ac_last_try; then
83443 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
83444 else
83445 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83447 done
83448 rm -f conf$$subs.sh
83450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83451 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
83452 _ACEOF
83453 sed -n '
83455 s/^/S["/; s/!.*/"]=/
83458 s/^[^!]*!//
83459 :repl
83460 t repl
83461 s/'"$ac_delim"'$//
83462 t delim
83465 s/\(.\{148\}\)..*/\1/
83466 t more1
83467 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
83470 b repl
83471 :more1
83472 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83475 s/.\{148\}//
83476 t nl
83477 :delim
83479 s/\(.\{148\}\)..*/\1/
83480 t more2
83481 s/["\\]/\\&/g; s/^/"/; s/$/"/
83484 :more2
83485 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83488 s/.\{148\}//
83489 t delim
83490 ' <conf$$subs.awk | sed '
83491 /^[^""]/{
83493 s/\n//
83495 ' >>$CONFIG_STATUS || ac_write_fail=1
83496 rm -f conf$$subs.awk
83497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83498 _ACAWK
83499 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
83500 for (key in S) S_is_set[key] = 1
83501 FS = "\a"
83505 line = $ 0
83506 nfields = split(line, field, "@")
83507 substed = 0
83508 len = length(field[1])
83509 for (i = 2; i < nfields; i++) {
83510 key = field[i]
83511 keylen = length(key)
83512 if (S_is_set[key]) {
83513 value = S[key]
83514 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
83515 len += length(value) + length(field[++i])
83516 substed = 1
83517 } else
83518 len += 1 + keylen
83521 print line
83524 _ACAWK
83525 _ACEOF
83526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83527 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
83528 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
83529 else
83531 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
83532 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
83533 _ACEOF
83535 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
83536 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
83537 # trailing colons and then remove the whole line if VPATH becomes empty
83538 # (actually we leave an empty line to preserve line numbers).
83539 if test "x$srcdir" = x.; then
83540 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
83542 s///
83543 s/^/:/
83544 s/[ ]*$/:/
83545 s/:\$(srcdir):/:/g
83546 s/:\${srcdir}:/:/g
83547 s/:@srcdir@:/:/g
83548 s/^:*//
83549 s/:*$//
83551 s/\(=[ ]*\).*/\1/
83553 s/\n//
83554 s/^[^=]*=[ ]*$//
83558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83559 fi # test -n "$CONFIG_FILES"
83561 # Set up the scripts for CONFIG_HEADERS section.
83562 # No need to generate them if there are no CONFIG_HEADERS.
83563 # This happens for instance with `./config.status Makefile'.
83564 if test -n "$CONFIG_HEADERS"; then
83565 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
83566 BEGIN {
83567 _ACEOF
83569 # Transform confdefs.h into an awk script `defines.awk', embedded as
83570 # here-document in config.status, that substitutes the proper values into
83571 # config.h.in to produce config.h.
83573 # Create a delimiter string that does not exist in confdefs.h, to ease
83574 # handling of long lines.
83575 ac_delim='%!_!# '
83576 for ac_last_try in false false :; do
83577 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
83578 if test -z "$ac_tt"; then
83579 break
83580 elif $ac_last_try; then
83581 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
83582 else
83583 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83585 done
83587 # For the awk script, D is an array of macro values keyed by name,
83588 # likewise P contains macro parameters if any. Preserve backslash
83589 # newline sequences.
83591 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
83592 sed -n '
83593 s/.\{148\}/&'"$ac_delim"'/g
83594 t rset
83595 :rset
83596 s/^[ ]*#[ ]*define[ ][ ]*/ /
83597 t def
83599 :def
83600 s/\\$//
83601 t bsnl
83602 s/["\\]/\\&/g
83603 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83604 D["\1"]=" \3"/p
83605 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
83607 :bsnl
83608 s/["\\]/\\&/g
83609 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83610 D["\1"]=" \3\\\\\\n"\\/p
83611 t cont
83612 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
83613 t cont
83615 :cont
83617 s/.\{148\}/&'"$ac_delim"'/g
83618 t clear
83619 :clear
83620 s/\\$//
83621 t bsnlc
83622 s/["\\]/\\&/g; s/^/"/; s/$/"/p
83624 :bsnlc
83625 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
83626 b cont
83627 ' <confdefs.h | sed '
83628 s/'"$ac_delim"'/"\\\
83629 "/g' >>$CONFIG_STATUS || ac_write_fail=1
83631 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83632 for (key in D) D_is_set[key] = 1
83633 FS = "\a"
83635 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
83636 line = \$ 0
83637 split(line, arg, " ")
83638 if (arg[1] == "#") {
83639 defundef = arg[2]
83640 mac1 = arg[3]
83641 } else {
83642 defundef = substr(arg[1], 2)
83643 mac1 = arg[2]
83645 split(mac1, mac2, "(") #)
83646 macro = mac2[1]
83647 prefix = substr(line, 1, index(line, defundef) - 1)
83648 if (D_is_set[macro]) {
83649 # Preserve the white space surrounding the "#".
83650 print prefix "define", macro P[macro] D[macro]
83651 next
83652 } else {
83653 # Replace #undef with comments. This is necessary, for example,
83654 # in the case of _POSIX_SOURCE, which is predefined and required
83655 # on some systems where configure will not decide to define it.
83656 if (defundef == "undef") {
83657 print "/*", prefix defundef, macro, "*/"
83658 next
83662 { print }
83663 _ACAWK
83664 _ACEOF
83665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83666 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
83667 fi # test -n "$CONFIG_HEADERS"
83670 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
83671 shift
83672 for ac_tag
83674 case $ac_tag in
83675 :[FHLC]) ac_mode=$ac_tag; continue;;
83676 esac
83677 case $ac_mode$ac_tag in
83678 :[FHL]*:*);;
83679 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
83680 :[FH]-) ac_tag=-:-;;
83681 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
83682 esac
83683 ac_save_IFS=$IFS
83684 IFS=:
83685 set x $ac_tag
83686 IFS=$ac_save_IFS
83687 shift
83688 ac_file=$1
83689 shift
83691 case $ac_mode in
83692 :L) ac_source=$1;;
83693 :[FH])
83694 ac_file_inputs=
83695 for ac_f
83697 case $ac_f in
83698 -) ac_f="$ac_tmp/stdin";;
83699 *) # Look for the file first in the build tree, then in the source tree
83700 # (if the path is not absolute). The absolute path cannot be DOS-style,
83701 # because $ac_f cannot contain `:'.
83702 test -f "$ac_f" ||
83703 case $ac_f in
83704 [\\/$]*) false;;
83705 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
83706 esac ||
83707 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
83708 esac
83709 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
83710 as_fn_append ac_file_inputs " '$ac_f'"
83711 done
83713 # Let's still pretend it is `configure' which instantiates (i.e., don't
83714 # use $as_me), people would be surprised to read:
83715 # /* config.h. Generated by config.status. */
83716 configure_input='Generated from '`
83717 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
83718 `' by configure.'
83719 if test x"$ac_file" != x-; then
83720 configure_input="$ac_file. $configure_input"
83721 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
83722 $as_echo "$as_me: creating $ac_file" >&6;}
83724 # Neutralize special characters interpreted by sed in replacement strings.
83725 case $configure_input in #(
83726 *\&* | *\|* | *\\* )
83727 ac_sed_conf_input=`$as_echo "$configure_input" |
83728 sed 's/[\\\\&|]/\\\\&/g'`;; #(
83729 *) ac_sed_conf_input=$configure_input;;
83730 esac
83732 case $ac_tag in
83733 *:-:* | *:-) cat >"$ac_tmp/stdin" \
83734 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
83735 esac
83737 esac
83739 ac_dir=`$as_dirname -- "$ac_file" ||
83740 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83741 X"$ac_file" : 'X\(//\)[^/]' \| \
83742 X"$ac_file" : 'X\(//\)$' \| \
83743 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
83744 $as_echo X"$ac_file" |
83745 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83746 s//\1/
83749 /^X\(\/\/\)[^/].*/{
83750 s//\1/
83753 /^X\(\/\/\)$/{
83754 s//\1/
83757 /^X\(\/\).*/{
83758 s//\1/
83761 s/.*/./; q'`
83762 as_dir="$ac_dir"; as_fn_mkdir_p
83763 ac_builddir=.
83765 case "$ac_dir" in
83766 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83768 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83769 # A ".." for each directory in $ac_dir_suffix.
83770 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
83771 case $ac_top_builddir_sub in
83772 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
83773 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
83774 esac ;;
83775 esac
83776 ac_abs_top_builddir=$ac_pwd
83777 ac_abs_builddir=$ac_pwd$ac_dir_suffix
83778 # for backward compatibility:
83779 ac_top_builddir=$ac_top_build_prefix
83781 case $srcdir in
83782 .) # We are building in place.
83783 ac_srcdir=.
83784 ac_top_srcdir=$ac_top_builddir_sub
83785 ac_abs_top_srcdir=$ac_pwd ;;
83786 [\\/]* | ?:[\\/]* ) # Absolute name.
83787 ac_srcdir=$srcdir$ac_dir_suffix;
83788 ac_top_srcdir=$srcdir
83789 ac_abs_top_srcdir=$srcdir ;;
83790 *) # Relative name.
83791 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
83792 ac_top_srcdir=$ac_top_build_prefix$srcdir
83793 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
83794 esac
83795 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
83798 case $ac_mode in
83801 # CONFIG_FILE
83804 case $INSTALL in
83805 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
83806 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
83807 esac
83808 ac_MKDIR_P=$MKDIR_P
83809 case $MKDIR_P in
83810 [\\/$]* | ?:[\\/]* ) ;;
83811 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
83812 esac
83813 _ACEOF
83815 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83816 # If the template does not know about datarootdir, expand it.
83817 # FIXME: This hack should be removed a few years after 2.60.
83818 ac_datarootdir_hack=; ac_datarootdir_seen=
83819 ac_sed_dataroot='
83820 /datarootdir/ {
83824 /@datadir@/p
83825 /@docdir@/p
83826 /@infodir@/p
83827 /@localedir@/p
83828 /@mandir@/p'
83829 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
83830 *datarootdir*) ac_datarootdir_seen=yes;;
83831 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
83832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
83833 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
83834 _ACEOF
83835 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83836 ac_datarootdir_hack='
83837 s&@datadir@&$datadir&g
83838 s&@docdir@&$docdir&g
83839 s&@infodir@&$infodir&g
83840 s&@localedir@&$localedir&g
83841 s&@mandir@&$mandir&g
83842 s&\\\${datarootdir}&$datarootdir&g' ;;
83843 esac
83844 _ACEOF
83846 # Neutralize VPATH when `$srcdir' = `.'.
83847 # Shell code in configure.ac might set extrasub.
83848 # FIXME: do we really want to maintain this feature?
83849 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83850 ac_sed_extra="$ac_vpsub
83851 $extrasub
83852 _ACEOF
83853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83855 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83856 s|@configure_input@|$ac_sed_conf_input|;t t
83857 s&@top_builddir@&$ac_top_builddir_sub&;t t
83858 s&@top_build_prefix@&$ac_top_build_prefix&;t t
83859 s&@srcdir@&$ac_srcdir&;t t
83860 s&@abs_srcdir@&$ac_abs_srcdir&;t t
83861 s&@top_srcdir@&$ac_top_srcdir&;t t
83862 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83863 s&@builddir@&$ac_builddir&;t t
83864 s&@abs_builddir@&$ac_abs_builddir&;t t
83865 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83866 s&@INSTALL@&$ac_INSTALL&;t t
83867 s&@MKDIR_P@&$ac_MKDIR_P&;t t
83868 $ac_datarootdir_hack
83870 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
83871 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
83873 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83874 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
83875 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
83876 "$ac_tmp/out"`; test -z "$ac_out"; } &&
83877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83878 which seems to be undefined. Please make sure it is defined" >&5
83879 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83880 which seems to be undefined. Please make sure it is defined" >&2;}
83882 rm -f "$ac_tmp/stdin"
83883 case $ac_file in
83884 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
83885 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
83886 esac \
83887 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
83891 # CONFIG_HEADER
83893 if test x"$ac_file" != x-; then
83895 $as_echo "/* $configure_input */" \
83896 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
83897 } >"$ac_tmp/config.h" \
83898 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
83899 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
83900 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83901 $as_echo "$as_me: $ac_file is unchanged" >&6;}
83902 else
83903 rm -f "$ac_file"
83904 mv "$ac_tmp/config.h" "$ac_file" \
83905 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
83907 else
83908 $as_echo "/* $configure_input */" \
83909 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
83910 || as_fn_error $? "could not create -" "$LINENO" 5
83912 # Compute "$ac_file"'s index in $config_headers.
83913 _am_arg="$ac_file"
83914 _am_stamp_count=1
83915 for _am_header in $config_headers :; do
83916 case $_am_header in
83917 $_am_arg | $_am_arg:* )
83918 break ;;
83920 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83921 esac
83922 done
83923 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83924 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83925 X"$_am_arg" : 'X\(//\)[^/]' \| \
83926 X"$_am_arg" : 'X\(//\)$' \| \
83927 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83928 $as_echo X"$_am_arg" |
83929 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83930 s//\1/
83933 /^X\(\/\/\)[^/].*/{
83934 s//\1/
83937 /^X\(\/\/\)$/{
83938 s//\1/
83941 /^X\(\/\).*/{
83942 s//\1/
83945 s/.*/./; q'`/stamp-h$_am_stamp_count
83948 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83949 $as_echo "$as_me: executing $ac_file commands" >&6;}
83951 esac
83954 case $ac_file$ac_mode in
83955 "default-1":C)
83956 # Only add multilib support code if we just rebuilt the top-level
83957 # Makefile.
83958 case " $CONFIG_FILES " in
83959 *" Makefile "*)
83960 ac_file=Makefile . ${multi_basedir}/config-ml.in
83962 esac ;;
83963 "libtool":C)
83965 # See if we are running on zsh, and set the options which allow our
83966 # commands through without removal of \ escapes.
83967 if test -n "${ZSH_VERSION+set}" ; then
83968 setopt NO_GLOB_SUBST
83971 cfgfile="${ofile}T"
83972 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83973 $RM "$cfgfile"
83975 cat <<_LT_EOF >> "$cfgfile"
83976 #! $SHELL
83978 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83979 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83980 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83981 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
83983 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83984 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83985 # Written by Gordon Matzigkeit, 1996
83987 # This file is part of GNU Libtool.
83989 # GNU Libtool is free software; you can redistribute it and/or
83990 # modify it under the terms of the GNU General Public License as
83991 # published by the Free Software Foundation; either version 2 of
83992 # the License, or (at your option) any later version.
83994 # As a special exception to the GNU General Public License,
83995 # if you distribute this file as part of a program or library that
83996 # is built using GNU Libtool, you may include this file under the
83997 # same distribution terms that you use for the rest of that program.
83999 # GNU Libtool is distributed in the hope that it will be useful,
84000 # but WITHOUT ANY WARRANTY; without even the implied warranty of
84001 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
84002 # GNU General Public License for more details.
84004 # You should have received a copy of the GNU General Public License
84005 # along with GNU Libtool; see the file COPYING. If not, a copy
84006 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
84007 # obtained by writing to the Free Software Foundation, Inc.,
84008 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
84011 # The names of the tagged configurations supported by this script.
84012 available_tags="CXX "
84014 # ### BEGIN LIBTOOL CONFIG
84016 # Which release of libtool.m4 was used?
84017 macro_version=$macro_version
84018 macro_revision=$macro_revision
84020 # Whether or not to build shared libraries.
84021 build_libtool_libs=$enable_shared
84023 # Whether or not to build static libraries.
84024 build_old_libs=$enable_static
84026 # What type of objects to build.
84027 pic_mode=$pic_mode
84029 # Whether or not to optimize for fast installation.
84030 fast_install=$enable_fast_install
84032 # Shell to use when invoking shell scripts.
84033 SHELL=$lt_SHELL
84035 # An echo program that protects backslashes.
84036 ECHO=$lt_ECHO
84038 # The host system.
84039 host_alias=$host_alias
84040 host=$host
84041 host_os=$host_os
84043 # The build system.
84044 build_alias=$build_alias
84045 build=$build
84046 build_os=$build_os
84048 # A sed program that does not truncate output.
84049 SED=$lt_SED
84051 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
84052 Xsed="\$SED -e 1s/^X//"
84054 # A grep program that handles long lines.
84055 GREP=$lt_GREP
84057 # An ERE matcher.
84058 EGREP=$lt_EGREP
84060 # A literal string matcher.
84061 FGREP=$lt_FGREP
84063 # A BSD- or MS-compatible name lister.
84064 NM=$lt_NM
84066 # Whether we need soft or hard links.
84067 LN_S=$lt_LN_S
84069 # What is the maximum length of a command?
84070 max_cmd_len=$max_cmd_len
84072 # Object file suffix (normally "o").
84073 objext=$ac_objext
84075 # Executable file suffix (normally "").
84076 exeext=$exeext
84078 # whether the shell understands "unset".
84079 lt_unset=$lt_unset
84081 # turn spaces into newlines.
84082 SP2NL=$lt_lt_SP2NL
84084 # turn newlines into spaces.
84085 NL2SP=$lt_lt_NL2SP
84087 # An object symbol dumper.
84088 OBJDUMP=$lt_OBJDUMP
84090 # Method to check whether dependent libraries are shared objects.
84091 deplibs_check_method=$lt_deplibs_check_method
84093 # Command to use when deplibs_check_method == "file_magic".
84094 file_magic_cmd=$lt_file_magic_cmd
84096 # The archiver.
84097 AR=$lt_AR
84098 AR_FLAGS=$lt_AR_FLAGS
84100 # A symbol stripping program.
84101 STRIP=$lt_STRIP
84103 # Commands used to install an old-style archive.
84104 RANLIB=$lt_RANLIB
84105 old_postinstall_cmds=$lt_old_postinstall_cmds
84106 old_postuninstall_cmds=$lt_old_postuninstall_cmds
84108 # Whether to use a lock for old archive extraction.
84109 lock_old_archive_extraction=$lock_old_archive_extraction
84111 # A C compiler.
84112 LTCC=$lt_CC
84114 # LTCC compiler flags.
84115 LTCFLAGS=$lt_CFLAGS
84117 # Take the output of nm and produce a listing of raw symbols and C names.
84118 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
84120 # Transform the output of nm in a proper C declaration.
84121 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
84123 # Transform the output of nm in a C name address pair.
84124 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
84126 # Transform the output of nm in a C name address pair when lib prefix is needed.
84127 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
84129 # The name of the directory that contains temporary libtool files.
84130 objdir=$objdir
84132 # Used to examine libraries when file_magic_cmd begins with "file".
84133 MAGIC_CMD=$MAGIC_CMD
84135 # Must we lock files when doing compilation?
84136 need_locks=$lt_need_locks
84138 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
84139 DSYMUTIL=$lt_DSYMUTIL
84141 # Tool to change global to local symbols on Mac OS X.
84142 NMEDIT=$lt_NMEDIT
84144 # Tool to manipulate fat objects and archives on Mac OS X.
84145 LIPO=$lt_LIPO
84147 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
84148 OTOOL=$lt_OTOOL
84150 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
84151 OTOOL64=$lt_OTOOL64
84153 # Old archive suffix (normally "a").
84154 libext=$libext
84156 # Shared library suffix (normally ".so").
84157 shrext_cmds=$lt_shrext_cmds
84159 # The commands to extract the exported symbol list from a shared archive.
84160 extract_expsyms_cmds=$lt_extract_expsyms_cmds
84162 # Variables whose values should be saved in libtool wrapper scripts and
84163 # restored at link time.
84164 variables_saved_for_relink=$lt_variables_saved_for_relink
84166 # Do we need the "lib" prefix for modules?
84167 need_lib_prefix=$need_lib_prefix
84169 # Do we need a version for libraries?
84170 need_version=$need_version
84172 # Library versioning type.
84173 version_type=$version_type
84175 # Shared library runtime path variable.
84176 runpath_var=$runpath_var
84178 # Shared library path variable.
84179 shlibpath_var=$shlibpath_var
84181 # Is shlibpath searched before the hard-coded library search path?
84182 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
84184 # Format of library name prefix.
84185 libname_spec=$lt_libname_spec
84187 # List of archive names. First name is the real one, the rest are links.
84188 # The last name is the one that the linker finds with -lNAME
84189 library_names_spec=$lt_library_names_spec
84191 # The coded name of the library, if different from the real name.
84192 soname_spec=$lt_soname_spec
84194 # Permission mode override for installation of shared libraries.
84195 install_override_mode=$lt_install_override_mode
84197 # Command to use after installation of a shared archive.
84198 postinstall_cmds=$lt_postinstall_cmds
84200 # Command to use after uninstallation of a shared archive.
84201 postuninstall_cmds=$lt_postuninstall_cmds
84203 # Commands used to finish a libtool library installation in a directory.
84204 finish_cmds=$lt_finish_cmds
84206 # As "finish_cmds", except a single script fragment to be evaled but
84207 # not shown.
84208 finish_eval=$lt_finish_eval
84210 # Whether we should hardcode library paths into libraries.
84211 hardcode_into_libs=$hardcode_into_libs
84213 # Compile-time system search path for libraries.
84214 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
84216 # Run-time system search path for libraries.
84217 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
84219 # Whether dlopen is supported.
84220 dlopen_support=$enable_dlopen
84222 # Whether dlopen of programs is supported.
84223 dlopen_self=$enable_dlopen_self
84225 # Whether dlopen of statically linked programs is supported.
84226 dlopen_self_static=$enable_dlopen_self_static
84228 # Commands to strip libraries.
84229 old_striplib=$lt_old_striplib
84230 striplib=$lt_striplib
84233 # The linker used to build libraries.
84234 LD=$lt_LD
84236 # How to create reloadable object files.
84237 reload_flag=$lt_reload_flag
84238 reload_cmds=$lt_reload_cmds
84240 # Commands used to build an old-style archive.
84241 old_archive_cmds=$lt_old_archive_cmds
84243 # A language specific compiler.
84244 CC=$lt_compiler
84246 # Is the compiler the GNU compiler?
84247 with_gcc=$GCC
84249 # Compiler flag to turn off builtin functions.
84250 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
84252 # How to pass a linker flag through the compiler.
84253 wl=$lt_lt_prog_compiler_wl
84255 # Additional compiler flags for building library objects.
84256 pic_flag=$lt_lt_prog_compiler_pic
84258 # Compiler flag to prevent dynamic linking.
84259 link_static_flag=$lt_lt_prog_compiler_static
84261 # Does compiler simultaneously support -c and -o options?
84262 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
84264 # Whether or not to add -lc for building shared libraries.
84265 build_libtool_need_lc=$archive_cmds_need_lc
84267 # Whether or not to disallow shared libs when runtime libs are static.
84268 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
84270 # Compiler flag to allow reflexive dlopens.
84271 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
84273 # Compiler flag to generate shared objects directly from archives.
84274 whole_archive_flag_spec=$lt_whole_archive_flag_spec
84276 # Whether the compiler copes with passing no objects directly.
84277 compiler_needs_object=$lt_compiler_needs_object
84279 # Create an old-style archive from a shared archive.
84280 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
84282 # Create a temporary old-style archive to link instead of a shared archive.
84283 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
84285 # Commands used to build a shared archive.
84286 archive_cmds=$lt_archive_cmds
84287 archive_expsym_cmds=$lt_archive_expsym_cmds
84289 # Commands used to build a loadable module if different from building
84290 # a shared archive.
84291 module_cmds=$lt_module_cmds
84292 module_expsym_cmds=$lt_module_expsym_cmds
84294 # Whether we are building with GNU ld or not.
84295 with_gnu_ld=$lt_with_gnu_ld
84297 # Flag that allows shared libraries with undefined symbols to be built.
84298 allow_undefined_flag=$lt_allow_undefined_flag
84300 # Flag that enforces no undefined symbols.
84301 no_undefined_flag=$lt_no_undefined_flag
84303 # Flag to hardcode \$libdir into a binary during linking.
84304 # This must work even if \$libdir does not exist
84305 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
84307 # If ld is used when linking, flag to hardcode \$libdir into a binary
84308 # during linking. This must work even if \$libdir does not exist.
84309 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
84311 # Whether we need a single "-rpath" flag with a separated argument.
84312 hardcode_libdir_separator=$lt_hardcode_libdir_separator
84314 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84315 # DIR into the resulting binary.
84316 hardcode_direct=$hardcode_direct
84318 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84319 # DIR into the resulting binary and the resulting library dependency is
84320 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84321 # library is relocated.
84322 hardcode_direct_absolute=$hardcode_direct_absolute
84324 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84325 # into the resulting binary.
84326 hardcode_minus_L=$hardcode_minus_L
84328 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84329 # into the resulting binary.
84330 hardcode_shlibpath_var=$hardcode_shlibpath_var
84332 # Set to "yes" if building a shared library automatically hardcodes DIR
84333 # into the library and all subsequent libraries and executables linked
84334 # against it.
84335 hardcode_automatic=$hardcode_automatic
84337 # Set to yes if linker adds runtime paths of dependent libraries
84338 # to runtime path list.
84339 inherit_rpath=$inherit_rpath
84341 # Whether libtool must link a program against all its dependency libraries.
84342 link_all_deplibs=$link_all_deplibs
84344 # Fix the shell variable \$srcfile for the compiler.
84345 fix_srcfile_path=$lt_fix_srcfile_path
84347 # Set to "yes" if exported symbols are required.
84348 always_export_symbols=$always_export_symbols
84350 # The commands to list exported symbols.
84351 export_symbols_cmds=$lt_export_symbols_cmds
84353 # Symbols that should not be listed in the preloaded symbols.
84354 exclude_expsyms=$lt_exclude_expsyms
84356 # Symbols that must always be exported.
84357 include_expsyms=$lt_include_expsyms
84359 # Commands necessary for linking programs (against libraries) with templates.
84360 prelink_cmds=$lt_prelink_cmds
84362 # Specify filename containing input files.
84363 file_list_spec=$lt_file_list_spec
84365 # How to hardcode a shared library path into an executable.
84366 hardcode_action=$hardcode_action
84368 # The directories searched by this compiler when creating a shared library.
84369 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
84371 # Dependencies to place before and after the objects being linked to
84372 # create a shared library.
84373 predep_objects=$lt_predep_objects
84374 postdep_objects=$lt_postdep_objects
84375 predeps=$lt_predeps
84376 postdeps=$lt_postdeps
84378 # The library search path used internally by the compiler when linking
84379 # a shared library.
84380 compiler_lib_search_path=$lt_compiler_lib_search_path
84382 # ### END LIBTOOL CONFIG
84384 _LT_EOF
84386 case $host_os in
84387 aix3*)
84388 cat <<\_LT_EOF >> "$cfgfile"
84389 # AIX sometimes has problems with the GCC collect2 program. For some
84390 # reason, if we set the COLLECT_NAMES environment variable, the problems
84391 # vanish in a puff of smoke.
84392 if test "X${COLLECT_NAMES+set}" != Xset; then
84393 COLLECT_NAMES=
84394 export COLLECT_NAMES
84396 _LT_EOF
84398 esac
84401 ltmain="$ac_aux_dir/ltmain.sh"
84404 # We use sed instead of cat because bash on DJGPP gets confused if
84405 # if finds mixed CR/LF and LF-only lines. Since sed operates in
84406 # text mode, it properly converts lines to CR/LF. This bash problem
84407 # is reportedly fixed, but why not run on old versions too?
84408 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
84409 || (rm -f "$cfgfile"; exit 1)
84411 case $xsi_shell in
84412 yes)
84413 cat << \_LT_EOF >> "$cfgfile"
84415 # func_dirname file append nondir_replacement
84416 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84417 # otherwise set result to NONDIR_REPLACEMENT.
84418 func_dirname ()
84420 case ${1} in
84421 */*) func_dirname_result="${1%/*}${2}" ;;
84422 * ) func_dirname_result="${3}" ;;
84423 esac
84426 # func_basename file
84427 func_basename ()
84429 func_basename_result="${1##*/}"
84432 # func_dirname_and_basename file append nondir_replacement
84433 # perform func_basename and func_dirname in a single function
84434 # call:
84435 # dirname: Compute the dirname of FILE. If nonempty,
84436 # add APPEND to the result, otherwise set result
84437 # to NONDIR_REPLACEMENT.
84438 # value returned in "$func_dirname_result"
84439 # basename: Compute filename of FILE.
84440 # value retuned in "$func_basename_result"
84441 # Implementation must be kept synchronized with func_dirname
84442 # and func_basename. For efficiency, we do not delegate to
84443 # those functions but instead duplicate the functionality here.
84444 func_dirname_and_basename ()
84446 case ${1} in
84447 */*) func_dirname_result="${1%/*}${2}" ;;
84448 * ) func_dirname_result="${3}" ;;
84449 esac
84450 func_basename_result="${1##*/}"
84453 # func_stripname prefix suffix name
84454 # strip PREFIX and SUFFIX off of NAME.
84455 # PREFIX and SUFFIX must not contain globbing or regex special
84456 # characters, hashes, percent signs, but SUFFIX may contain a leading
84457 # dot (in which case that matches only a dot).
84458 func_stripname ()
84460 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
84461 # positional parameters, so assign one to ordinary parameter first.
84462 func_stripname_result=${3}
84463 func_stripname_result=${func_stripname_result#"${1}"}
84464 func_stripname_result=${func_stripname_result%"${2}"}
84467 # func_opt_split
84468 func_opt_split ()
84470 func_opt_split_opt=${1%%=*}
84471 func_opt_split_arg=${1#*=}
84474 # func_lo2o object
84475 func_lo2o ()
84477 case ${1} in
84478 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
84479 *) func_lo2o_result=${1} ;;
84480 esac
84483 # func_xform libobj-or-source
84484 func_xform ()
84486 func_xform_result=${1%.*}.lo
84489 # func_arith arithmetic-term...
84490 func_arith ()
84492 func_arith_result=$(( $* ))
84495 # func_len string
84496 # STRING may not start with a hyphen.
84497 func_len ()
84499 func_len_result=${#1}
84502 _LT_EOF
84504 *) # Bourne compatible functions.
84505 cat << \_LT_EOF >> "$cfgfile"
84507 # func_dirname file append nondir_replacement
84508 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84509 # otherwise set result to NONDIR_REPLACEMENT.
84510 func_dirname ()
84512 # Extract subdirectory from the argument.
84513 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
84514 if test "X$func_dirname_result" = "X${1}"; then
84515 func_dirname_result="${3}"
84516 else
84517 func_dirname_result="$func_dirname_result${2}"
84521 # func_basename file
84522 func_basename ()
84524 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
84528 # func_stripname prefix suffix name
84529 # strip PREFIX and SUFFIX off of NAME.
84530 # PREFIX and SUFFIX must not contain globbing or regex special
84531 # characters, hashes, percent signs, but SUFFIX may contain a leading
84532 # dot (in which case that matches only a dot).
84533 # func_strip_suffix prefix name
84534 func_stripname ()
84536 case ${2} in
84537 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
84538 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
84539 esac
84542 # sed scripts:
84543 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
84544 my_sed_long_arg='1s/^-[^=]*=//'
84546 # func_opt_split
84547 func_opt_split ()
84549 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
84550 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
84553 # func_lo2o object
84554 func_lo2o ()
84556 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
84559 # func_xform libobj-or-source
84560 func_xform ()
84562 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
84565 # func_arith arithmetic-term...
84566 func_arith ()
84568 func_arith_result=`expr "$@"`
84571 # func_len string
84572 # STRING may not start with a hyphen.
84573 func_len ()
84575 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
84578 _LT_EOF
84579 esac
84581 case $lt_shell_append in
84582 yes)
84583 cat << \_LT_EOF >> "$cfgfile"
84585 # func_append var value
84586 # Append VALUE to the end of shell variable VAR.
84587 func_append ()
84589 eval "$1+=\$2"
84591 _LT_EOF
84594 cat << \_LT_EOF >> "$cfgfile"
84596 # func_append var value
84597 # Append VALUE to the end of shell variable VAR.
84598 func_append ()
84600 eval "$1=\$$1\$2"
84603 _LT_EOF
84605 esac
84608 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
84609 || (rm -f "$cfgfile"; exit 1)
84611 mv -f "$cfgfile" "$ofile" ||
84612 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
84613 chmod +x "$ofile"
84616 cat <<_LT_EOF >> "$ofile"
84618 # ### BEGIN LIBTOOL TAG CONFIG: CXX
84620 # The linker used to build libraries.
84621 LD=$lt_LD_CXX
84623 # How to create reloadable object files.
84624 reload_flag=$lt_reload_flag_CXX
84625 reload_cmds=$lt_reload_cmds_CXX
84627 # Commands used to build an old-style archive.
84628 old_archive_cmds=$lt_old_archive_cmds_CXX
84630 # A language specific compiler.
84631 CC=$lt_compiler_CXX
84633 # Is the compiler the GNU compiler?
84634 with_gcc=$GCC_CXX
84636 # Compiler flag to turn off builtin functions.
84637 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
84639 # How to pass a linker flag through the compiler.
84640 wl=$lt_lt_prog_compiler_wl_CXX
84642 # Additional compiler flags for building library objects.
84643 pic_flag=$lt_lt_prog_compiler_pic_CXX
84645 # Compiler flag to prevent dynamic linking.
84646 link_static_flag=$lt_lt_prog_compiler_static_CXX
84648 # Does compiler simultaneously support -c and -o options?
84649 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
84651 # Whether or not to add -lc for building shared libraries.
84652 build_libtool_need_lc=$archive_cmds_need_lc_CXX
84654 # Whether or not to disallow shared libs when runtime libs are static.
84655 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
84657 # Compiler flag to allow reflexive dlopens.
84658 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
84660 # Compiler flag to generate shared objects directly from archives.
84661 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
84663 # Whether the compiler copes with passing no objects directly.
84664 compiler_needs_object=$lt_compiler_needs_object_CXX
84666 # Create an old-style archive from a shared archive.
84667 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
84669 # Create a temporary old-style archive to link instead of a shared archive.
84670 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
84672 # Commands used to build a shared archive.
84673 archive_cmds=$lt_archive_cmds_CXX
84674 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
84676 # Commands used to build a loadable module if different from building
84677 # a shared archive.
84678 module_cmds=$lt_module_cmds_CXX
84679 module_expsym_cmds=$lt_module_expsym_cmds_CXX
84681 # Whether we are building with GNU ld or not.
84682 with_gnu_ld=$lt_with_gnu_ld_CXX
84684 # Flag that allows shared libraries with undefined symbols to be built.
84685 allow_undefined_flag=$lt_allow_undefined_flag_CXX
84687 # Flag that enforces no undefined symbols.
84688 no_undefined_flag=$lt_no_undefined_flag_CXX
84690 # Flag to hardcode \$libdir into a binary during linking.
84691 # This must work even if \$libdir does not exist
84692 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
84694 # If ld is used when linking, flag to hardcode \$libdir into a binary
84695 # during linking. This must work even if \$libdir does not exist.
84696 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
84698 # Whether we need a single "-rpath" flag with a separated argument.
84699 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
84701 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84702 # DIR into the resulting binary.
84703 hardcode_direct=$hardcode_direct_CXX
84705 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84706 # DIR into the resulting binary and the resulting library dependency is
84707 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84708 # library is relocated.
84709 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
84711 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84712 # into the resulting binary.
84713 hardcode_minus_L=$hardcode_minus_L_CXX
84715 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84716 # into the resulting binary.
84717 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
84719 # Set to "yes" if building a shared library automatically hardcodes DIR
84720 # into the library and all subsequent libraries and executables linked
84721 # against it.
84722 hardcode_automatic=$hardcode_automatic_CXX
84724 # Set to yes if linker adds runtime paths of dependent libraries
84725 # to runtime path list.
84726 inherit_rpath=$inherit_rpath_CXX
84728 # Whether libtool must link a program against all its dependency libraries.
84729 link_all_deplibs=$link_all_deplibs_CXX
84731 # Fix the shell variable \$srcfile for the compiler.
84732 fix_srcfile_path=$lt_fix_srcfile_path_CXX
84734 # Set to "yes" if exported symbols are required.
84735 always_export_symbols=$always_export_symbols_CXX
84737 # The commands to list exported symbols.
84738 export_symbols_cmds=$lt_export_symbols_cmds_CXX
84740 # Symbols that should not be listed in the preloaded symbols.
84741 exclude_expsyms=$lt_exclude_expsyms_CXX
84743 # Symbols that must always be exported.
84744 include_expsyms=$lt_include_expsyms_CXX
84746 # Commands necessary for linking programs (against libraries) with templates.
84747 prelink_cmds=$lt_prelink_cmds_CXX
84749 # Specify filename containing input files.
84750 file_list_spec=$lt_file_list_spec_CXX
84752 # How to hardcode a shared library path into an executable.
84753 hardcode_action=$hardcode_action_CXX
84755 # The directories searched by this compiler when creating a shared library.
84756 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
84758 # Dependencies to place before and after the objects being linked to
84759 # create a shared library.
84760 predep_objects=$lt_predep_objects_CXX
84761 postdep_objects=$lt_postdep_objects_CXX
84762 predeps=$lt_predeps_CXX
84763 postdeps=$lt_postdeps_CXX
84765 # The library search path used internally by the compiler when linking
84766 # a shared library.
84767 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84769 # ### END LIBTOOL TAG CONFIG: CXX
84770 _LT_EOF
84773 "include/gstdint.h":C)
84774 if test "$GCC" = yes; then
84775 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
84776 else
84777 echo "/* generated for $CC */" > tmp-stdint.h
84780 sed 's/^ *//' >> tmp-stdint.h <<EOF
84782 #ifndef GCC_GENERATED_STDINT_H
84783 #define GCC_GENERATED_STDINT_H 1
84785 #include <sys/types.h>
84788 if test "$acx_cv_header_stdint" != stdint.h; then
84789 echo "#include <stddef.h>" >> tmp-stdint.h
84791 if test "$acx_cv_header_stdint" != stddef.h; then
84792 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
84795 sed 's/^ *//' >> tmp-stdint.h <<EOF
84796 /* glibc uses these symbols as guards to prevent redefinitions. */
84797 #ifdef __int8_t_defined
84798 #define _INT8_T
84799 #define _INT16_T
84800 #define _INT32_T
84801 #endif
84802 #ifdef __uint32_t_defined
84803 #define _UINT32_T
84804 #endif
84808 # ----------------- done header, emit basic int types -------------
84809 if test "$acx_cv_header_stdint" = stddef.h; then
84810 sed 's/^ *//' >> tmp-stdint.h <<EOF
84812 #ifndef _UINT8_T
84813 #define _UINT8_T
84814 #ifndef __uint8_t_defined
84815 #define __uint8_t_defined
84816 #ifndef uint8_t
84817 typedef unsigned $acx_cv_type_int8_t uint8_t;
84818 #endif
84819 #endif
84820 #endif
84822 #ifndef _UINT16_T
84823 #define _UINT16_T
84824 #ifndef __uint16_t_defined
84825 #define __uint16_t_defined
84826 #ifndef uint16_t
84827 typedef unsigned $acx_cv_type_int16_t uint16_t;
84828 #endif
84829 #endif
84830 #endif
84832 #ifndef _UINT32_T
84833 #define _UINT32_T
84834 #ifndef __uint32_t_defined
84835 #define __uint32_t_defined
84836 #ifndef uint32_t
84837 typedef unsigned $acx_cv_type_int32_t uint32_t;
84838 #endif
84839 #endif
84840 #endif
84842 #ifndef _INT8_T
84843 #define _INT8_T
84844 #ifndef __int8_t_defined
84845 #define __int8_t_defined
84846 #ifndef int8_t
84847 typedef $acx_cv_type_int8_t int8_t;
84848 #endif
84849 #endif
84850 #endif
84852 #ifndef _INT16_T
84853 #define _INT16_T
84854 #ifndef __int16_t_defined
84855 #define __int16_t_defined
84856 #ifndef int16_t
84857 typedef $acx_cv_type_int16_t int16_t;
84858 #endif
84859 #endif
84860 #endif
84862 #ifndef _INT32_T
84863 #define _INT32_T
84864 #ifndef __int32_t_defined
84865 #define __int32_t_defined
84866 #ifndef int32_t
84867 typedef $acx_cv_type_int32_t int32_t;
84868 #endif
84869 #endif
84870 #endif
84872 elif test "$ac_cv_type_u_int32_t" = yes; then
84873 sed 's/^ *//' >> tmp-stdint.h <<EOF
84875 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84876 #ifndef _INT8_T
84877 #define _INT8_T
84878 #endif
84879 #ifndef _INT16_T
84880 #define _INT16_T
84881 #endif
84882 #ifndef _INT32_T
84883 #define _INT32_T
84884 #endif
84886 #ifndef _UINT8_T
84887 #define _UINT8_T
84888 #ifndef __uint8_t_defined
84889 #define __uint8_t_defined
84890 #ifndef uint8_t
84891 typedef u_int8_t uint8_t;
84892 #endif
84893 #endif
84894 #endif
84896 #ifndef _UINT16_T
84897 #define _UINT16_T
84898 #ifndef __uint16_t_defined
84899 #define __uint16_t_defined
84900 #ifndef uint16_t
84901 typedef u_int16_t uint16_t;
84902 #endif
84903 #endif
84904 #endif
84906 #ifndef _UINT32_T
84907 #define _UINT32_T
84908 #ifndef __uint32_t_defined
84909 #define __uint32_t_defined
84910 #ifndef uint32_t
84911 typedef u_int32_t uint32_t;
84912 #endif
84913 #endif
84914 #endif
84916 else
84917 sed 's/^ *//' >> tmp-stdint.h <<EOF
84919 /* Some systems have guard macros to prevent redefinitions, define them. */
84920 #ifndef _INT8_T
84921 #define _INT8_T
84922 #endif
84923 #ifndef _INT16_T
84924 #define _INT16_T
84925 #endif
84926 #ifndef _INT32_T
84927 #define _INT32_T
84928 #endif
84929 #ifndef _UINT8_T
84930 #define _UINT8_T
84931 #endif
84932 #ifndef _UINT16_T
84933 #define _UINT16_T
84934 #endif
84935 #ifndef _UINT32_T
84936 #define _UINT32_T
84937 #endif
84941 # ------------- done basic int types, emit int64_t types ------------
84942 if test "$ac_cv_type_uint64_t" = yes; then
84943 sed 's/^ *//' >> tmp-stdint.h <<EOF
84945 /* system headers have good uint64_t and int64_t */
84946 #ifndef _INT64_T
84947 #define _INT64_T
84948 #endif
84949 #ifndef _UINT64_T
84950 #define _UINT64_T
84951 #endif
84953 elif test "$ac_cv_type_u_int64_t" = yes; then
84954 sed 's/^ *//' >> tmp-stdint.h <<EOF
84956 /* system headers have an u_int64_t (and int64_t) */
84957 #ifndef _INT64_T
84958 #define _INT64_T
84959 #endif
84960 #ifndef _UINT64_T
84961 #define _UINT64_T
84962 #ifndef __uint64_t_defined
84963 #define __uint64_t_defined
84964 #ifndef uint64_t
84965 typedef u_int64_t uint64_t;
84966 #endif
84967 #endif
84968 #endif
84970 elif test -n "$acx_cv_type_int64_t"; then
84971 sed 's/^ *//' >> tmp-stdint.h <<EOF
84973 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84974 #ifndef _INT64_T
84975 #define _INT64_T
84976 #ifndef int64_t
84977 typedef $acx_cv_type_int64_t int64_t;
84978 #endif
84979 #endif
84980 #ifndef _UINT64_T
84981 #define _UINT64_T
84982 #ifndef __uint64_t_defined
84983 #define __uint64_t_defined
84984 #ifndef uint64_t
84985 typedef unsigned $acx_cv_type_int64_t uint64_t;
84986 #endif
84987 #endif
84988 #endif
84990 else
84991 sed 's/^ *//' >> tmp-stdint.h <<EOF
84993 /* some common heuristics for int64_t, using compiler-specific tests */
84994 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84995 #ifndef _INT64_T
84996 #define _INT64_T
84997 #ifndef __int64_t_defined
84998 #ifndef int64_t
84999 typedef long long int64_t;
85000 #endif
85001 #endif
85002 #endif
85003 #ifndef _UINT64_T
85004 #define _UINT64_T
85005 #ifndef uint64_t
85006 typedef unsigned long long uint64_t;
85007 #endif
85008 #endif
85010 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
85011 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
85012 does not implement __extension__. But that compiler doesn't define
85013 __GNUC_MINOR__. */
85014 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
85015 # define __extension__
85016 # endif
85018 # ifndef _INT64_T
85019 # define _INT64_T
85020 # ifndef int64_t
85021 __extension__ typedef long long int64_t;
85022 # endif
85023 # endif
85024 # ifndef _UINT64_T
85025 # define _UINT64_T
85026 # ifndef uint64_t
85027 __extension__ typedef unsigned long long uint64_t;
85028 # endif
85029 # endif
85031 #elif !defined __STRICT_ANSI__
85032 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
85034 # ifndef _INT64_T
85035 # define _INT64_T
85036 # ifndef int64_t
85037 typedef __int64 int64_t;
85038 # endif
85039 # endif
85040 # ifndef _UINT64_T
85041 # define _UINT64_T
85042 # ifndef uint64_t
85043 typedef unsigned __int64 uint64_t;
85044 # endif
85045 # endif
85046 # endif /* compiler */
85048 #endif /* ANSI version */
85052 # ------------- done int64_t types, emit intptr types ------------
85053 if test "$ac_cv_type_uintptr_t" != yes; then
85054 sed 's/^ *//' >> tmp-stdint.h <<EOF
85056 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
85057 #ifndef __uintptr_t_defined
85058 #ifndef uintptr_t
85059 typedef u$acx_cv_type_intptr_t uintptr_t;
85060 #endif
85061 #endif
85062 #ifndef __intptr_t_defined
85063 #ifndef intptr_t
85064 typedef $acx_cv_type_intptr_t intptr_t;
85065 #endif
85066 #endif
85070 # ------------- done intptr types, emit int_least types ------------
85071 if test "$ac_cv_type_int_least32_t" != yes; then
85072 sed 's/^ *//' >> tmp-stdint.h <<EOF
85074 /* Define int_least types */
85075 typedef int8_t int_least8_t;
85076 typedef int16_t int_least16_t;
85077 typedef int32_t int_least32_t;
85078 #ifdef _INT64_T
85079 typedef int64_t int_least64_t;
85080 #endif
85082 typedef uint8_t uint_least8_t;
85083 typedef uint16_t uint_least16_t;
85084 typedef uint32_t uint_least32_t;
85085 #ifdef _UINT64_T
85086 typedef uint64_t uint_least64_t;
85087 #endif
85091 # ------------- done intptr types, emit int_fast types ------------
85092 if test "$ac_cv_type_int_fast32_t" != yes; then
85093 sed 's/^ *//' >> tmp-stdint.h <<EOF
85095 /* Define int_fast types. short is often slow */
85096 typedef int8_t int_fast8_t;
85097 typedef int int_fast16_t;
85098 typedef int32_t int_fast32_t;
85099 #ifdef _INT64_T
85100 typedef int64_t int_fast64_t;
85101 #endif
85103 typedef uint8_t uint_fast8_t;
85104 typedef unsigned int uint_fast16_t;
85105 typedef uint32_t uint_fast32_t;
85106 #ifdef _UINT64_T
85107 typedef uint64_t uint_fast64_t;
85108 #endif
85112 if test "$ac_cv_type_uintmax_t" != yes; then
85113 sed 's/^ *//' >> tmp-stdint.h <<EOF
85115 /* Define intmax based on what we found */
85116 #ifndef intmax_t
85117 #ifdef _INT64_T
85118 typedef int64_t intmax_t;
85119 #else
85120 typedef long intmax_t;
85121 #endif
85122 #endif
85123 #ifndef uintmax_t
85124 #ifdef _UINT64_T
85125 typedef uint64_t uintmax_t;
85126 #else
85127 typedef unsigned long uintmax_t;
85128 #endif
85129 #endif
85133 sed 's/^ *//' >> tmp-stdint.h <<EOF
85135 #endif /* GCC_GENERATED_STDINT_H */
85138 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
85139 rm -f tmp-stdint.h
85140 else
85141 mv -f tmp-stdint.h include/gstdint.h
85145 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
85146 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
85147 "include/Makefile":F) cat > vpsed$$ << \_EOF
85148 s!`test -f '$<' || echo '$(srcdir)/'`!!
85149 _EOF
85150 sed -f vpsed$$ $ac_file > tmp$$
85151 mv tmp$$ $ac_file
85152 rm vpsed$$
85153 echo 'MULTISUBDIR =' >> $ac_file
85154 ml_norecursion=yes
85155 . ${multi_basedir}/config-ml.in
85156 { ml_norecursion=; unset ml_norecursion;}
85158 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
85159 s!`test -f '$<' || echo '$(srcdir)/'`!!
85160 _EOF
85161 sed -f vpsed$$ $ac_file > tmp$$
85162 mv tmp$$ $ac_file
85163 rm vpsed$$
85164 echo 'MULTISUBDIR =' >> $ac_file
85165 ml_norecursion=yes
85166 . ${multi_basedir}/config-ml.in
85167 { ml_norecursion=; unset ml_norecursion;}
85169 "src/Makefile":F) cat > vpsed$$ << \_EOF
85170 s!`test -f '$<' || echo '$(srcdir)/'`!!
85171 _EOF
85172 sed -f vpsed$$ $ac_file > tmp$$
85173 mv tmp$$ $ac_file
85174 rm vpsed$$
85175 echo 'MULTISUBDIR =' >> $ac_file
85176 ml_norecursion=yes
85177 . ${multi_basedir}/config-ml.in
85178 { ml_norecursion=; unset ml_norecursion;}
85180 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
85181 s!`test -f '$<' || echo '$(srcdir)/'`!!
85182 _EOF
85183 sed -f vpsed$$ $ac_file > tmp$$
85184 mv tmp$$ $ac_file
85185 rm vpsed$$
85186 echo 'MULTISUBDIR =' >> $ac_file
85187 ml_norecursion=yes
85188 . ${multi_basedir}/config-ml.in
85189 { ml_norecursion=; unset ml_norecursion;}
85191 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
85192 s!`test -f '$<' || echo '$(srcdir)/'`!!
85193 _EOF
85194 sed -f vpsed$$ $ac_file > tmp$$
85195 mv tmp$$ $ac_file
85196 rm vpsed$$
85197 echo 'MULTISUBDIR =' >> $ac_file
85198 ml_norecursion=yes
85199 . ${multi_basedir}/config-ml.in
85200 { ml_norecursion=; unset ml_norecursion;}
85202 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
85203 s!`test -f '$<' || echo '$(srcdir)/'`!!
85204 _EOF
85205 sed -f vpsed$$ $ac_file > tmp$$
85206 mv tmp$$ $ac_file
85207 rm vpsed$$
85208 echo 'MULTISUBDIR =' >> $ac_file
85209 ml_norecursion=yes
85210 . ${multi_basedir}/config-ml.in
85211 { ml_norecursion=; unset ml_norecursion;}
85213 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
85214 s!`test -f '$<' || echo '$(srcdir)/'`!!
85215 _EOF
85216 sed -f vpsed$$ $ac_file > tmp$$
85217 mv tmp$$ $ac_file
85218 rm vpsed$$
85219 echo 'MULTISUBDIR =' >> $ac_file
85220 ml_norecursion=yes
85221 . ${multi_basedir}/config-ml.in
85222 { ml_norecursion=; unset ml_norecursion;}
85224 "doc/Makefile":F) cat > vpsed$$ << \_EOF
85225 s!`test -f '$<' || echo '$(srcdir)/'`!!
85226 _EOF
85227 sed -f vpsed$$ $ac_file > tmp$$
85228 mv tmp$$ $ac_file
85229 rm vpsed$$
85230 echo 'MULTISUBDIR =' >> $ac_file
85231 ml_norecursion=yes
85232 . ${multi_basedir}/config-ml.in
85233 { ml_norecursion=; unset ml_norecursion;}
85235 "po/Makefile":F) cat > vpsed$$ << \_EOF
85236 s!`test -f '$<' || echo '$(srcdir)/'`!!
85237 _EOF
85238 sed -f vpsed$$ $ac_file > tmp$$
85239 mv tmp$$ $ac_file
85240 rm vpsed$$
85241 echo 'MULTISUBDIR =' >> $ac_file
85242 ml_norecursion=yes
85243 . ${multi_basedir}/config-ml.in
85244 { ml_norecursion=; unset ml_norecursion;}
85246 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
85247 s!`test -f '$<' || echo '$(srcdir)/'`!!
85248 _EOF
85249 sed -f vpsed$$ $ac_file > tmp$$
85250 mv tmp$$ $ac_file
85251 rm vpsed$$
85252 echo 'MULTISUBDIR =' >> $ac_file
85253 ml_norecursion=yes
85254 . ${multi_basedir}/config-ml.in
85255 { ml_norecursion=; unset ml_norecursion;}
85257 "python/Makefile":F) cat > vpsed$$ << \_EOF
85258 s!`test -f '$<' || echo '$(srcdir)/'`!!
85259 _EOF
85260 sed -f vpsed$$ $ac_file > tmp$$
85261 mv tmp$$ $ac_file
85262 rm vpsed$$
85263 echo 'MULTISUBDIR =' >> $ac_file
85264 ml_norecursion=yes
85265 . ${multi_basedir}/config-ml.in
85266 { ml_norecursion=; unset ml_norecursion;}
85268 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
85270 esac
85271 done # for ac_tag
85274 as_fn_exit 0
85275 _ACEOF
85276 ac_clean_files=$ac_clean_files_save
85278 test $ac_write_fail = 0 ||
85279 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
85282 # configure is writing to config.log, and then calls config.status.
85283 # config.status does its own redirection, appending to config.log.
85284 # Unfortunately, on DOS this fails, as config.log is still kept open
85285 # by configure, so config.status won't be able to write to it; its
85286 # output is simply discarded. So we exec the FD to /dev/null,
85287 # effectively closing config.log, so it can be properly (re)opened and
85288 # appended to by config.status. When coming back to configure, we
85289 # need to make the FD available again.
85290 if test "$no_create" != yes; then
85291 ac_cs_success=:
85292 ac_config_status_args=
85293 test "$silent" = yes &&
85294 ac_config_status_args="$ac_config_status_args --quiet"
85295 exec 5>/dev/null
85296 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
85297 exec 5>>config.log
85298 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
85299 # would make configure fail if this is the last instruction.
85300 $ac_cs_success || as_fn_exit 1
85302 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
85303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
85304 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}