Daily bump.
[official-gcc.git] / libstdc++-v3 / configure
blob857f886571ec5b7fd46d7a542113cbcb0a9c9db4
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 # C11 functions for C++17 library
28436 for ac_func in timespec_get
28437 do :
28438 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
28439 if test "x$ac_cv_func_timespec_get" = xyes; then :
28440 cat >>confdefs.h <<_ACEOF
28441 #define HAVE_TIMESPEC_GET 1
28442 _ACEOF
28445 done
28448 # For iconv support.
28450 if test "X$prefix" = "XNONE"; then
28451 acl_final_prefix="$ac_default_prefix"
28452 else
28453 acl_final_prefix="$prefix"
28455 if test "X$exec_prefix" = "XNONE"; then
28456 acl_final_exec_prefix='${prefix}'
28457 else
28458 acl_final_exec_prefix="$exec_prefix"
28460 acl_save_prefix="$prefix"
28461 prefix="$acl_final_prefix"
28462 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28463 prefix="$acl_save_prefix"
28466 # Check whether --with-gnu-ld was given.
28467 if test "${with_gnu_ld+set}" = set; then :
28468 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28469 else
28470 with_gnu_ld=no
28473 # Prepare PATH_SEPARATOR.
28474 # The user is always right.
28475 if test "${PATH_SEPARATOR+set}" != set; then
28476 echo "#! /bin/sh" >conf$$.sh
28477 echo "exit 0" >>conf$$.sh
28478 chmod +x conf$$.sh
28479 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28480 PATH_SEPARATOR=';'
28481 else
28482 PATH_SEPARATOR=:
28484 rm -f conf$$.sh
28486 ac_prog=ld
28487 if test "$GCC" = yes; then
28488 # Check if gcc -print-prog-name=ld gives a path.
28489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28490 $as_echo_n "checking for ld used by GCC... " >&6; }
28491 case $host in
28492 *-*-mingw*)
28493 # gcc leaves a trailing carriage return which upsets mingw
28494 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28496 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28497 esac
28498 case $ac_prog in
28499 # Accept absolute paths.
28500 [\\/]* | [A-Za-z]:[\\/]*)
28501 re_direlt='/[^/][^/]*/\.\./'
28502 # Canonicalize the path of ld
28503 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28504 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28505 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28506 done
28507 test -z "$LD" && LD="$ac_prog"
28510 # If it fails, then pretend we aren't using GCC.
28511 ac_prog=ld
28514 # If it is relative, then search for the first ld in PATH.
28515 with_gnu_ld=unknown
28517 esac
28518 elif test "$with_gnu_ld" = yes; then
28519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28520 $as_echo_n "checking for GNU ld... " >&6; }
28521 else
28522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28523 $as_echo_n "checking for non-GNU ld... " >&6; }
28525 if ${acl_cv_path_LD+:} false; then :
28526 $as_echo_n "(cached) " >&6
28527 else
28528 if test -z "$LD"; then
28529 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28530 for ac_dir in $PATH; do
28531 test -z "$ac_dir" && ac_dir=.
28532 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28533 acl_cv_path_LD="$ac_dir/$ac_prog"
28534 # Check to see if the program is GNU ld. I'd rather use --version,
28535 # but apparently some GNU ld's only accept -v.
28536 # Break only if it was the GNU/non-GNU ld that we prefer.
28537 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28538 test "$with_gnu_ld" != no && break
28539 else
28540 test "$with_gnu_ld" != yes && break
28543 done
28544 IFS="$ac_save_ifs"
28545 else
28546 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28550 LD="$acl_cv_path_LD"
28551 if test -n "$LD"; then
28552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28553 $as_echo "$LD" >&6; }
28554 else
28555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28556 $as_echo "no" >&6; }
28558 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
28559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28560 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28561 if ${acl_cv_prog_gnu_ld+:} false; then :
28562 $as_echo_n "(cached) " >&6
28563 else
28564 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28565 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28566 acl_cv_prog_gnu_ld=yes
28567 else
28568 acl_cv_prog_gnu_ld=no
28571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28572 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28573 with_gnu_ld=$acl_cv_prog_gnu_ld
28577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28578 $as_echo_n "checking for shared library run path origin... " >&6; }
28579 if ${acl_cv_rpath+:} false; then :
28580 $as_echo_n "(cached) " >&6
28581 else
28583 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28584 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28585 . ./conftest.sh
28586 rm -f ./conftest.sh
28587 acl_cv_rpath=done
28590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28591 $as_echo "$acl_cv_rpath" >&6; }
28592 wl="$acl_cv_wl"
28593 libext="$acl_cv_libext"
28594 shlibext="$acl_cv_shlibext"
28595 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28596 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28597 hardcode_direct="$acl_cv_hardcode_direct"
28598 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28599 # Check whether --enable-rpath was given.
28600 if test "${enable_rpath+set}" = set; then :
28601 enableval=$enable_rpath; :
28602 else
28603 enable_rpath=yes
28613 use_additional=yes
28615 acl_save_prefix="$prefix"
28616 prefix="$acl_final_prefix"
28617 acl_save_exec_prefix="$exec_prefix"
28618 exec_prefix="$acl_final_exec_prefix"
28620 eval additional_includedir=\"$includedir\"
28621 eval additional_libdir=\"$libdir\"
28623 exec_prefix="$acl_save_exec_prefix"
28624 prefix="$acl_save_prefix"
28627 # Check whether --with-libiconv-prefix was given.
28628 if test "${with_libiconv_prefix+set}" = set; then :
28629 withval=$with_libiconv_prefix;
28630 if test "X$withval" = "Xno"; then
28631 use_additional=no
28632 else
28633 if test "X$withval" = "X"; then
28635 acl_save_prefix="$prefix"
28636 prefix="$acl_final_prefix"
28637 acl_save_exec_prefix="$exec_prefix"
28638 exec_prefix="$acl_final_exec_prefix"
28640 eval additional_includedir=\"$includedir\"
28641 eval additional_libdir=\"$libdir\"
28643 exec_prefix="$acl_save_exec_prefix"
28644 prefix="$acl_save_prefix"
28646 else
28647 additional_includedir="$withval/include"
28648 additional_libdir="$withval/lib"
28654 LIBICONV=
28655 LTLIBICONV=
28656 INCICONV=
28657 rpathdirs=
28658 ltrpathdirs=
28659 names_already_handled=
28660 names_next_round='iconv '
28661 while test -n "$names_next_round"; do
28662 names_this_round="$names_next_round"
28663 names_next_round=
28664 for name in $names_this_round; do
28665 already_handled=
28666 for n in $names_already_handled; do
28667 if test "$n" = "$name"; then
28668 already_handled=yes
28669 break
28671 done
28672 if test -z "$already_handled"; then
28673 names_already_handled="$names_already_handled $name"
28674 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28675 eval value=\"\$HAVE_LIB$uppername\"
28676 if test -n "$value"; then
28677 if test "$value" = yes; then
28678 eval value=\"\$LIB$uppername\"
28679 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28680 eval value=\"\$LTLIB$uppername\"
28681 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28682 else
28685 else
28686 found_dir=
28687 found_la=
28688 found_so=
28689 found_a=
28690 if test $use_additional = yes; then
28691 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28692 found_dir="$additional_libdir"
28693 found_so="$additional_libdir/lib$name.$shlibext"
28694 if test -f "$additional_libdir/lib$name.la"; then
28695 found_la="$additional_libdir/lib$name.la"
28697 else
28698 if test -f "$additional_libdir/lib$name.$libext"; then
28699 found_dir="$additional_libdir"
28700 found_a="$additional_libdir/lib$name.$libext"
28701 if test -f "$additional_libdir/lib$name.la"; then
28702 found_la="$additional_libdir/lib$name.la"
28707 if test "X$found_dir" = "X"; then
28708 for x in $LDFLAGS $LTLIBICONV; do
28710 acl_save_prefix="$prefix"
28711 prefix="$acl_final_prefix"
28712 acl_save_exec_prefix="$exec_prefix"
28713 exec_prefix="$acl_final_exec_prefix"
28714 eval x=\"$x\"
28715 exec_prefix="$acl_save_exec_prefix"
28716 prefix="$acl_save_prefix"
28718 case "$x" in
28719 -L*)
28720 dir=`echo "X$x" | sed -e 's/^X-L//'`
28721 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28722 found_dir="$dir"
28723 found_so="$dir/lib$name.$shlibext"
28724 if test -f "$dir/lib$name.la"; then
28725 found_la="$dir/lib$name.la"
28727 else
28728 if test -f "$dir/lib$name.$libext"; then
28729 found_dir="$dir"
28730 found_a="$dir/lib$name.$libext"
28731 if test -f "$dir/lib$name.la"; then
28732 found_la="$dir/lib$name.la"
28737 esac
28738 if test "X$found_dir" != "X"; then
28739 break
28741 done
28743 if test "X$found_dir" != "X"; then
28744 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28745 if test "X$found_so" != "X"; then
28746 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28747 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28748 else
28749 haveit=
28750 for x in $ltrpathdirs; do
28751 if test "X$x" = "X$found_dir"; then
28752 haveit=yes
28753 break
28755 done
28756 if test -z "$haveit"; then
28757 ltrpathdirs="$ltrpathdirs $found_dir"
28759 if test "$hardcode_direct" = yes; then
28760 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28761 else
28762 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28763 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28764 haveit=
28765 for x in $rpathdirs; do
28766 if test "X$x" = "X$found_dir"; then
28767 haveit=yes
28768 break
28770 done
28771 if test -z "$haveit"; then
28772 rpathdirs="$rpathdirs $found_dir"
28774 else
28775 haveit=
28776 for x in $LDFLAGS $LIBICONV; do
28778 acl_save_prefix="$prefix"
28779 prefix="$acl_final_prefix"
28780 acl_save_exec_prefix="$exec_prefix"
28781 exec_prefix="$acl_final_exec_prefix"
28782 eval x=\"$x\"
28783 exec_prefix="$acl_save_exec_prefix"
28784 prefix="$acl_save_prefix"
28786 if test "X$x" = "X-L$found_dir"; then
28787 haveit=yes
28788 break
28790 done
28791 if test -z "$haveit"; then
28792 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28794 if test "$hardcode_minus_L" != no; then
28795 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28796 else
28797 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28802 else
28803 if test "X$found_a" != "X"; then
28804 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28805 else
28806 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28809 additional_includedir=
28810 case "$found_dir" in
28811 */lib | */lib/)
28812 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28813 additional_includedir="$basedir/include"
28815 esac
28816 if test "X$additional_includedir" != "X"; then
28817 if test "X$additional_includedir" != "X/usr/include"; then
28818 haveit=
28819 if test "X$additional_includedir" = "X/usr/local/include"; then
28820 if test -n "$GCC"; then
28821 case $host_os in
28822 linux*) haveit=yes;;
28823 esac
28826 if test -z "$haveit"; then
28827 for x in $CPPFLAGS $INCICONV; do
28829 acl_save_prefix="$prefix"
28830 prefix="$acl_final_prefix"
28831 acl_save_exec_prefix="$exec_prefix"
28832 exec_prefix="$acl_final_exec_prefix"
28833 eval x=\"$x\"
28834 exec_prefix="$acl_save_exec_prefix"
28835 prefix="$acl_save_prefix"
28837 if test "X$x" = "X-I$additional_includedir"; then
28838 haveit=yes
28839 break
28841 done
28842 if test -z "$haveit"; then
28843 if test -d "$additional_includedir"; then
28844 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28850 if test -n "$found_la"; then
28851 save_libdir="$libdir"
28852 case "$found_la" in
28853 */* | *\\*) . "$found_la" ;;
28854 *) . "./$found_la" ;;
28855 esac
28856 libdir="$save_libdir"
28857 for dep in $dependency_libs; do
28858 case "$dep" in
28859 -L*)
28860 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28861 if test "X$additional_libdir" != "X/usr/lib"; then
28862 haveit=
28863 if test "X$additional_libdir" = "X/usr/local/lib"; then
28864 if test -n "$GCC"; then
28865 case $host_os in
28866 linux*) haveit=yes;;
28867 esac
28870 if test -z "$haveit"; then
28871 haveit=
28872 for x in $LDFLAGS $LIBICONV; do
28874 acl_save_prefix="$prefix"
28875 prefix="$acl_final_prefix"
28876 acl_save_exec_prefix="$exec_prefix"
28877 exec_prefix="$acl_final_exec_prefix"
28878 eval x=\"$x\"
28879 exec_prefix="$acl_save_exec_prefix"
28880 prefix="$acl_save_prefix"
28882 if test "X$x" = "X-L$additional_libdir"; then
28883 haveit=yes
28884 break
28886 done
28887 if test -z "$haveit"; then
28888 if test -d "$additional_libdir"; then
28889 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28892 haveit=
28893 for x in $LDFLAGS $LTLIBICONV; do
28895 acl_save_prefix="$prefix"
28896 prefix="$acl_final_prefix"
28897 acl_save_exec_prefix="$exec_prefix"
28898 exec_prefix="$acl_final_exec_prefix"
28899 eval x=\"$x\"
28900 exec_prefix="$acl_save_exec_prefix"
28901 prefix="$acl_save_prefix"
28903 if test "X$x" = "X-L$additional_libdir"; then
28904 haveit=yes
28905 break
28907 done
28908 if test -z "$haveit"; then
28909 if test -d "$additional_libdir"; then
28910 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28916 -R*)
28917 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28918 if test "$enable_rpath" != no; then
28919 haveit=
28920 for x in $rpathdirs; do
28921 if test "X$x" = "X$dir"; then
28922 haveit=yes
28923 break
28925 done
28926 if test -z "$haveit"; then
28927 rpathdirs="$rpathdirs $dir"
28929 haveit=
28930 for x in $ltrpathdirs; do
28931 if test "X$x" = "X$dir"; then
28932 haveit=yes
28933 break
28935 done
28936 if test -z "$haveit"; then
28937 ltrpathdirs="$ltrpathdirs $dir"
28941 -l*)
28942 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28944 *.la)
28945 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28948 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28949 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28951 esac
28952 done
28954 else
28955 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28956 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28960 done
28961 done
28962 if test "X$rpathdirs" != "X"; then
28963 if test -n "$hardcode_libdir_separator"; then
28964 alldirs=
28965 for found_dir in $rpathdirs; do
28966 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28967 done
28968 acl_save_libdir="$libdir"
28969 libdir="$alldirs"
28970 eval flag=\"$hardcode_libdir_flag_spec\"
28971 libdir="$acl_save_libdir"
28972 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28973 else
28974 for found_dir in $rpathdirs; do
28975 acl_save_libdir="$libdir"
28976 libdir="$found_dir"
28977 eval flag=\"$hardcode_libdir_flag_spec\"
28978 libdir="$acl_save_libdir"
28979 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28980 done
28983 if test "X$ltrpathdirs" != "X"; then
28984 for found_dir in $ltrpathdirs; do
28985 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28986 done
28995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28996 $as_echo_n "checking for iconv... " >&6; }
28997 if ${am_cv_func_iconv+:} false; then :
28998 $as_echo_n "(cached) " >&6
28999 else
29001 am_cv_func_iconv="no, consider installing GNU libiconv"
29002 am_cv_lib_iconv=no
29003 am_save_CPPFLAGS="$CPPFLAGS"
29004 CPPFLAGS="$CPPFLAGS $INCICONV"
29005 if test x$gcc_no_link = xyes; then
29006 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29009 /* end confdefs.h. */
29010 #include <stdlib.h>
29011 #include <iconv.h>
29013 main ()
29015 iconv_t cd = iconv_open("","");
29016 iconv(cd,NULL,NULL,NULL,NULL);
29017 iconv_close(cd);
29019 return 0;
29021 _ACEOF
29022 if ac_fn_c_try_link "$LINENO"; then :
29023 am_cv_func_iconv=yes
29025 rm -f core conftest.err conftest.$ac_objext \
29026 conftest$ac_exeext conftest.$ac_ext
29027 CPPFLAGS="$am_save_CPPFLAGS"
29029 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
29030 for _libs in .libs _libs; do
29031 am_save_CPPFLAGS="$CPPFLAGS"
29032 am_save_LIBS="$LIBS"
29033 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
29034 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
29035 if test x$gcc_no_link = xyes; then
29036 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29039 /* end confdefs.h. */
29040 #include <stdlib.h>
29041 #include <iconv.h>
29043 main ()
29045 iconv_t cd = iconv_open("","");
29046 iconv(cd,NULL,NULL,NULL,NULL);
29047 iconv_close(cd);
29049 return 0;
29051 _ACEOF
29052 if ac_fn_c_try_link "$LINENO"; then :
29053 INCICONV="-I../libiconv/include"
29054 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
29055 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
29056 am_cv_lib_iconv=yes
29057 am_cv_func_iconv=yes
29059 rm -f core conftest.err conftest.$ac_objext \
29060 conftest$ac_exeext conftest.$ac_ext
29061 CPPFLAGS="$am_save_CPPFLAGS"
29062 LIBS="$am_save_LIBS"
29063 if test "$am_cv_func_iconv" = "yes"; then
29064 break
29066 done
29069 if test "$am_cv_func_iconv" != yes; then
29070 am_save_CPPFLAGS="$CPPFLAGS"
29071 am_save_LIBS="$LIBS"
29072 CPPFLAGS="$CPPFLAGS $INCICONV"
29073 LIBS="$LIBS $LIBICONV"
29074 if test x$gcc_no_link = xyes; then
29075 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29078 /* end confdefs.h. */
29079 #include <stdlib.h>
29080 #include <iconv.h>
29082 main ()
29084 iconv_t cd = iconv_open("","");
29085 iconv(cd,NULL,NULL,NULL,NULL);
29086 iconv_close(cd);
29088 return 0;
29090 _ACEOF
29091 if ac_fn_c_try_link "$LINENO"; then :
29092 am_cv_lib_iconv=yes
29093 am_cv_func_iconv=yes
29095 rm -f core conftest.err conftest.$ac_objext \
29096 conftest$ac_exeext conftest.$ac_ext
29097 CPPFLAGS="$am_save_CPPFLAGS"
29098 LIBS="$am_save_LIBS"
29102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29103 $as_echo "$am_cv_func_iconv" >&6; }
29104 if test "$am_cv_func_iconv" = yes; then
29106 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29109 if test "$am_cv_lib_iconv" = yes; then
29111 for element in $INCICONV; do
29112 haveit=
29113 for x in $CPPFLAGS; do
29115 acl_save_prefix="$prefix"
29116 prefix="$acl_final_prefix"
29117 acl_save_exec_prefix="$exec_prefix"
29118 exec_prefix="$acl_final_exec_prefix"
29119 eval x=\"$x\"
29120 exec_prefix="$acl_save_exec_prefix"
29121 prefix="$acl_save_prefix"
29123 if test "X$x" = "X$element"; then
29124 haveit=yes
29125 break
29127 done
29128 if test -z "$haveit"; then
29129 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29131 done
29133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29134 $as_echo_n "checking how to link with libiconv... " >&6; }
29135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29136 $as_echo "$LIBICONV" >&6; }
29137 else
29138 LIBICONV=
29139 LTLIBICONV=
29144 if test "$am_cv_func_iconv" = yes; then
29145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29146 $as_echo_n "checking for iconv declaration... " >&6; }
29147 if ${am_cv_proto_iconv+:} false; then :
29148 $as_echo_n "(cached) " >&6
29149 else
29151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29152 /* end confdefs.h. */
29154 #include <stdlib.h>
29155 #include <iconv.h>
29156 extern
29157 #ifdef __cplusplus
29159 #endif
29160 #if defined(__STDC__) || defined(__cplusplus)
29161 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29162 #else
29163 size_t iconv();
29164 #endif
29167 main ()
29171 return 0;
29173 _ACEOF
29174 if ac_fn_c_try_compile "$LINENO"; then :
29175 am_cv_proto_iconv_arg1=""
29176 else
29177 am_cv_proto_iconv_arg1="const"
29179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29180 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);"
29183 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29185 }$am_cv_proto_iconv" >&5
29186 $as_echo "${ac_t:-
29187 }$am_cv_proto_iconv" >&6; }
29189 cat >>confdefs.h <<_ACEOF
29190 #define ICONV_CONST $am_cv_proto_iconv_arg1
29191 _ACEOF
29196 else
29198 # This lets us hard-code the functionality we know we'll have in the cross
29199 # target environment. "Let" is a sugar-coated word placed on an especially
29200 # dull and tedious hack, actually.
29202 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29203 # that involve linking, can't be used:
29204 # "cannot open sim-crt0.o"
29205 # "cannot open crt0.o"
29206 # etc. All this is because there currently exists no unified, consistent
29207 # way for top level CC information to be passed down to target directories:
29208 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29209 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29210 # crosses can be removed.
29212 # If Canadian cross, then don't pick up tools from the build directory.
29213 # Used only in GLIBCXX_EXPORT_INCLUDES.
29214 if test -n "$with_cross_host" &&
29215 test x"$build_alias" != x"$with_cross_host" &&
29216 test x"$build" != x"$target";
29217 then
29218 CANADIAN=yes
29219 else
29220 CANADIAN=no
29223 # Construct crosses by hand, eliminating bits that need ld...
29224 # GLIBCXX_CHECK_MATH_SUPPORT
29226 # First, test for "known" system libraries. We may be using newlib even
29227 # on a hosted environment.
29228 if test "x${with_newlib}" = "xyes"; then
29229 os_include_dir="os/newlib"
29230 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29233 # GLIBCXX_CHECK_STDLIB_SUPPORT
29234 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29237 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29239 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29241 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29243 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29245 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29247 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29249 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29251 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29253 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29255 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29257 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29259 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29261 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29263 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29265 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29267 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29269 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29271 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29273 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29275 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29277 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29279 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29282 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29284 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29286 else
29288 # Base decisions on target environment.
29289 case "${host}" in
29290 arm*-*-symbianelf*)
29291 # This is a freestanding configuration; there is nothing to do here.
29294 avr*-*-*)
29295 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29297 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29299 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29301 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29303 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29305 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29307 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29309 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29311 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29313 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29315 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29317 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29319 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29321 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29323 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29325 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29327 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29329 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29331 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29333 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29335 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29337 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29339 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29343 mips*-sde-elf*)
29344 # These definitions are for the SDE C library rather than newlib.
29345 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29348 # All these tests are for C++; save the language and the compiler flags.
29349 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29350 # found in GLIBCXX_CONFIGURE.
29352 ac_ext=cpp
29353 ac_cpp='$CXXCPP $CPPFLAGS'
29354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29358 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29359 ac_save_CXXFLAGS="$CXXFLAGS"
29361 # Check for -ffunction-sections -fdata-sections
29362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29363 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29364 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29366 /* end confdefs.h. */
29367 int foo; void bar() { };
29369 main ()
29373 return 0;
29375 _ACEOF
29376 if ac_fn_cxx_try_compile "$LINENO"; then :
29377 ac_fdsections=yes
29378 else
29379 ac_fdsections=no
29381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29382 if test "$ac_test_CXXFLAGS" = set; then
29383 CXXFLAGS="$ac_save_CXXFLAGS"
29384 else
29385 # this is the suspicious part
29386 CXXFLAGS=''
29388 if test x"$ac_fdsections" = x"yes"; then
29389 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29392 $as_echo "$ac_fdsections" >&6; }
29394 ac_ext=c
29395 ac_cpp='$CPP $CPPFLAGS'
29396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29403 # If we're not using GNU ld, then there's no point in even trying these
29404 # tests. Check for that first. We should have already tested for gld
29405 # by now (in libtool), but require it now just to be safe...
29406 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29407 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29411 # The name set by libtool depends on the version of libtool. Shame on us
29412 # for depending on an impl detail, but c'est la vie. Older versions used
29413 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29414 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29415 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29416 # set (hence we're using an older libtool), then set it.
29417 if test x${with_gnu_ld+set} != xset; then
29418 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29419 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29420 with_gnu_ld=no
29421 else
29422 with_gnu_ld=$ac_cv_prog_gnu_ld
29426 # Start by getting the version number. I think the libtool test already
29427 # does some of this, but throws away the result.
29428 glibcxx_ld_is_gold=no
29429 if test x"$with_gnu_ld" = x"yes"; then
29430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29431 $as_echo_n "checking for ld version... " >&6; }
29433 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29434 glibcxx_ld_is_gold=yes
29436 ldver=`$LD --version 2>/dev/null |
29437 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'`
29439 glibcxx_gnu_ld_version=`echo $ldver | \
29440 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29442 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29445 # Set --gc-sections.
29446 glibcxx_have_gc_sections=no
29447 if test "$glibcxx_ld_is_gold" = "yes"; then
29448 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29449 glibcxx_have_gc_sections=yes
29451 else
29452 glibcxx_gcsections_min_ld=21602
29453 if test x"$with_gnu_ld" = x"yes" &&
29454 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29455 glibcxx_have_gc_sections=yes
29458 if test "$glibcxx_have_gc_sections" = "yes"; then
29459 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29460 # NB: This flag only works reliably after 2.16.1. Configure tests
29461 # for this are difficult, so hard wire a value that should work.
29463 ac_test_CFLAGS="${CFLAGS+set}"
29464 ac_save_CFLAGS="$CFLAGS"
29465 CFLAGS='-Wl,--gc-sections'
29467 # Check for -Wl,--gc-sections
29468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29469 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29470 if test x$gcc_no_link = xyes; then
29471 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29474 /* end confdefs.h. */
29475 int one(void) { return 1; }
29476 int two(void) { return 2; }
29479 main ()
29481 two();
29483 return 0;
29485 _ACEOF
29486 if ac_fn_c_try_link "$LINENO"; then :
29487 ac_gcsections=yes
29488 else
29489 ac_gcsections=no
29491 rm -f core conftest.err conftest.$ac_objext \
29492 conftest$ac_exeext conftest.$ac_ext
29493 if test "$ac_gcsections" = "yes"; then
29494 rm -f conftest.c
29495 touch conftest.c
29496 if $CC -c conftest.c; then
29497 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29498 grep "Warning: gc-sections option ignored" > /dev/null; then
29499 ac_gcsections=no
29502 rm -f conftest.c conftest.o conftest
29504 if test "$ac_gcsections" = "yes"; then
29505 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29508 $as_echo "$ac_gcsections" >&6; }
29510 if test "$ac_test_CFLAGS" = set; then
29511 CFLAGS="$ac_save_CFLAGS"
29512 else
29513 # this is the suspicious part
29514 CFLAGS=''
29518 # Set -z,relro.
29519 # Note this is only for shared objects.
29520 ac_ld_relro=no
29521 if test x"$with_gnu_ld" = x"yes"; then
29522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29523 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29524 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29525 if test -n "$cxx_z_relo"; then
29526 OPT_LDFLAGS="-Wl,-z,relro"
29527 ac_ld_relro=yes
29529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29530 $as_echo "$ac_ld_relro" >&6; }
29533 # Set linker optimization flags.
29534 if test x"$with_gnu_ld" = x"yes"; then
29535 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29542 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29543 ac_save_CXXFLAGS="$CXXFLAGS"
29544 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29547 $as_echo_n "checking for sin in -lm... " >&6; }
29548 if ${ac_cv_lib_m_sin+:} false; then :
29549 $as_echo_n "(cached) " >&6
29550 else
29551 ac_check_lib_save_LIBS=$LIBS
29552 LIBS="-lm $LIBS"
29553 if test x$gcc_no_link = xyes; then
29554 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29557 /* end confdefs.h. */
29559 /* Override any GCC internal prototype to avoid an error.
29560 Use char because int might match the return type of a GCC
29561 builtin and then its argument prototype would still apply. */
29562 #ifdef __cplusplus
29563 extern "C"
29564 #endif
29565 char sin ();
29567 main ()
29569 return sin ();
29571 return 0;
29573 _ACEOF
29574 if ac_fn_c_try_link "$LINENO"; then :
29575 ac_cv_lib_m_sin=yes
29576 else
29577 ac_cv_lib_m_sin=no
29579 rm -f core conftest.err conftest.$ac_objext \
29580 conftest$ac_exeext conftest.$ac_ext
29581 LIBS=$ac_check_lib_save_LIBS
29583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29584 $as_echo "$ac_cv_lib_m_sin" >&6; }
29585 if test "x$ac_cv_lib_m_sin" = xyes; then :
29586 libm="-lm"
29589 ac_save_LIBS="$LIBS"
29590 LIBS="$LIBS $libm"
29594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29595 $as_echo_n "checking for isinf declaration... " >&6; }
29596 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29597 if ${glibcxx_cv_func_isinf_use+:} false; then :
29598 $as_echo_n "(cached) " >&6
29599 else
29602 ac_ext=cpp
29603 ac_cpp='$CXXCPP $CPPFLAGS'
29604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29609 /* end confdefs.h. */
29610 #include <math.h>
29611 #ifdef HAVE_IEEEFP_H
29612 #include <ieeefp.h>
29613 #endif
29616 main ()
29618 isinf(0);
29620 return 0;
29622 _ACEOF
29623 if ac_fn_cxx_try_compile "$LINENO"; then :
29624 glibcxx_cv_func_isinf_use=yes
29625 else
29626 glibcxx_cv_func_isinf_use=no
29628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29629 ac_ext=c
29630 ac_cpp='$CPP $CPPFLAGS'
29631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29640 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29642 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29643 for ac_func in isinf
29644 do :
29645 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29646 if test "x$ac_cv_func_isinf" = xyes; then :
29647 cat >>confdefs.h <<_ACEOF
29648 #define HAVE_ISINF 1
29649 _ACEOF
29652 done
29654 else
29656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29657 $as_echo_n "checking for _isinf declaration... " >&6; }
29658 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29659 if ${glibcxx_cv_func__isinf_use+:} false; then :
29660 $as_echo_n "(cached) " >&6
29661 else
29664 ac_ext=cpp
29665 ac_cpp='$CXXCPP $CPPFLAGS'
29666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29671 /* end confdefs.h. */
29672 #include <math.h>
29673 #ifdef HAVE_IEEEFP_H
29674 #include <ieeefp.h>
29675 #endif
29678 main ()
29680 _isinf(0);
29682 return 0;
29684 _ACEOF
29685 if ac_fn_cxx_try_compile "$LINENO"; then :
29686 glibcxx_cv_func__isinf_use=yes
29687 else
29688 glibcxx_cv_func__isinf_use=no
29690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29691 ac_ext=c
29692 ac_cpp='$CPP $CPPFLAGS'
29693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29702 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29704 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29705 for ac_func in _isinf
29706 do :
29707 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29708 if test "x$ac_cv_func__isinf" = xyes; then :
29709 cat >>confdefs.h <<_ACEOF
29710 #define HAVE__ISINF 1
29711 _ACEOF
29714 done
29723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29724 $as_echo_n "checking for isnan declaration... " >&6; }
29725 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29726 if ${glibcxx_cv_func_isnan_use+:} false; then :
29727 $as_echo_n "(cached) " >&6
29728 else
29731 ac_ext=cpp
29732 ac_cpp='$CXXCPP $CPPFLAGS'
29733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29738 /* end confdefs.h. */
29739 #include <math.h>
29740 #ifdef HAVE_IEEEFP_H
29741 #include <ieeefp.h>
29742 #endif
29745 main ()
29747 isnan(0);
29749 return 0;
29751 _ACEOF
29752 if ac_fn_cxx_try_compile "$LINENO"; then :
29753 glibcxx_cv_func_isnan_use=yes
29754 else
29755 glibcxx_cv_func_isnan_use=no
29757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29758 ac_ext=c
29759 ac_cpp='$CPP $CPPFLAGS'
29760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29769 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29771 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29772 for ac_func in isnan
29773 do :
29774 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29775 if test "x$ac_cv_func_isnan" = xyes; then :
29776 cat >>confdefs.h <<_ACEOF
29777 #define HAVE_ISNAN 1
29778 _ACEOF
29781 done
29783 else
29785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29786 $as_echo_n "checking for _isnan declaration... " >&6; }
29787 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29788 if ${glibcxx_cv_func__isnan_use+:} false; then :
29789 $as_echo_n "(cached) " >&6
29790 else
29793 ac_ext=cpp
29794 ac_cpp='$CXXCPP $CPPFLAGS'
29795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29800 /* end confdefs.h. */
29801 #include <math.h>
29802 #ifdef HAVE_IEEEFP_H
29803 #include <ieeefp.h>
29804 #endif
29807 main ()
29809 _isnan(0);
29811 return 0;
29813 _ACEOF
29814 if ac_fn_cxx_try_compile "$LINENO"; then :
29815 glibcxx_cv_func__isnan_use=yes
29816 else
29817 glibcxx_cv_func__isnan_use=no
29819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29820 ac_ext=c
29821 ac_cpp='$CPP $CPPFLAGS'
29822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29831 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29833 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29834 for ac_func in _isnan
29835 do :
29836 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29837 if test "x$ac_cv_func__isnan" = xyes; then :
29838 cat >>confdefs.h <<_ACEOF
29839 #define HAVE__ISNAN 1
29840 _ACEOF
29843 done
29852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29853 $as_echo_n "checking for finite declaration... " >&6; }
29854 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29855 if ${glibcxx_cv_func_finite_use+:} false; then :
29856 $as_echo_n "(cached) " >&6
29857 else
29860 ac_ext=cpp
29861 ac_cpp='$CXXCPP $CPPFLAGS'
29862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29867 /* end confdefs.h. */
29868 #include <math.h>
29869 #ifdef HAVE_IEEEFP_H
29870 #include <ieeefp.h>
29871 #endif
29874 main ()
29876 finite(0);
29878 return 0;
29880 _ACEOF
29881 if ac_fn_cxx_try_compile "$LINENO"; then :
29882 glibcxx_cv_func_finite_use=yes
29883 else
29884 glibcxx_cv_func_finite_use=no
29886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29887 ac_ext=c
29888 ac_cpp='$CPP $CPPFLAGS'
29889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29898 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29900 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29901 for ac_func in finite
29902 do :
29903 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29904 if test "x$ac_cv_func_finite" = xyes; then :
29905 cat >>confdefs.h <<_ACEOF
29906 #define HAVE_FINITE 1
29907 _ACEOF
29910 done
29912 else
29914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29915 $as_echo_n "checking for _finite declaration... " >&6; }
29916 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29917 if ${glibcxx_cv_func__finite_use+:} false; then :
29918 $as_echo_n "(cached) " >&6
29919 else
29922 ac_ext=cpp
29923 ac_cpp='$CXXCPP $CPPFLAGS'
29924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29929 /* end confdefs.h. */
29930 #include <math.h>
29931 #ifdef HAVE_IEEEFP_H
29932 #include <ieeefp.h>
29933 #endif
29936 main ()
29938 _finite(0);
29940 return 0;
29942 _ACEOF
29943 if ac_fn_cxx_try_compile "$LINENO"; then :
29944 glibcxx_cv_func__finite_use=yes
29945 else
29946 glibcxx_cv_func__finite_use=no
29948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29949 ac_ext=c
29950 ac_cpp='$CPP $CPPFLAGS'
29951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29960 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29962 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29963 for ac_func in _finite
29964 do :
29965 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29966 if test "x$ac_cv_func__finite" = xyes; then :
29967 cat >>confdefs.h <<_ACEOF
29968 #define HAVE__FINITE 1
29969 _ACEOF
29972 done
29981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29982 $as_echo_n "checking for sincos declaration... " >&6; }
29983 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29984 if ${glibcxx_cv_func_sincos_use+:} false; then :
29985 $as_echo_n "(cached) " >&6
29986 else
29989 ac_ext=cpp
29990 ac_cpp='$CXXCPP $CPPFLAGS'
29991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29996 /* end confdefs.h. */
29997 #include <math.h>
29999 main ()
30001 sincos(0, 0, 0);
30003 return 0;
30005 _ACEOF
30006 if ac_fn_cxx_try_compile "$LINENO"; then :
30007 glibcxx_cv_func_sincos_use=yes
30008 else
30009 glibcxx_cv_func_sincos_use=no
30011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30012 ac_ext=c
30013 ac_cpp='$CPP $CPPFLAGS'
30014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
30023 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
30025 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
30026 for ac_func in sincos
30027 do :
30028 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
30029 if test "x$ac_cv_func_sincos" = xyes; then :
30030 cat >>confdefs.h <<_ACEOF
30031 #define HAVE_SINCOS 1
30032 _ACEOF
30035 done
30037 else
30039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
30040 $as_echo_n "checking for _sincos declaration... " >&6; }
30041 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
30042 if ${glibcxx_cv_func__sincos_use+:} false; then :
30043 $as_echo_n "(cached) " >&6
30044 else
30047 ac_ext=cpp
30048 ac_cpp='$CXXCPP $CPPFLAGS'
30049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30054 /* end confdefs.h. */
30055 #include <math.h>
30057 main ()
30059 _sincos(0, 0, 0);
30061 return 0;
30063 _ACEOF
30064 if ac_fn_cxx_try_compile "$LINENO"; then :
30065 glibcxx_cv_func__sincos_use=yes
30066 else
30067 glibcxx_cv_func__sincos_use=no
30069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30070 ac_ext=c
30071 ac_cpp='$CPP $CPPFLAGS'
30072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
30081 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
30083 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
30084 for ac_func in _sincos
30085 do :
30086 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
30087 if test "x$ac_cv_func__sincos" = xyes; then :
30088 cat >>confdefs.h <<_ACEOF
30089 #define HAVE__SINCOS 1
30090 _ACEOF
30093 done
30102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30103 $as_echo_n "checking for fpclass declaration... " >&6; }
30104 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30105 if ${glibcxx_cv_func_fpclass_use+:} false; then :
30106 $as_echo_n "(cached) " >&6
30107 else
30110 ac_ext=cpp
30111 ac_cpp='$CXXCPP $CPPFLAGS'
30112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30117 /* end confdefs.h. */
30118 #include <math.h>
30119 #ifdef HAVE_IEEEFP_H
30120 #include <ieeefp.h>
30121 #endif
30124 main ()
30126 fpclass(0);
30128 return 0;
30130 _ACEOF
30131 if ac_fn_cxx_try_compile "$LINENO"; then :
30132 glibcxx_cv_func_fpclass_use=yes
30133 else
30134 glibcxx_cv_func_fpclass_use=no
30136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30137 ac_ext=c
30138 ac_cpp='$CPP $CPPFLAGS'
30139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30148 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30150 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30151 for ac_func in fpclass
30152 do :
30153 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30154 if test "x$ac_cv_func_fpclass" = xyes; then :
30155 cat >>confdefs.h <<_ACEOF
30156 #define HAVE_FPCLASS 1
30157 _ACEOF
30160 done
30162 else
30164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30165 $as_echo_n "checking for _fpclass declaration... " >&6; }
30166 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30167 if ${glibcxx_cv_func__fpclass_use+:} false; then :
30168 $as_echo_n "(cached) " >&6
30169 else
30172 ac_ext=cpp
30173 ac_cpp='$CXXCPP $CPPFLAGS'
30174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30179 /* end confdefs.h. */
30180 #include <math.h>
30181 #ifdef HAVE_IEEEFP_H
30182 #include <ieeefp.h>
30183 #endif
30186 main ()
30188 _fpclass(0);
30190 return 0;
30192 _ACEOF
30193 if ac_fn_cxx_try_compile "$LINENO"; then :
30194 glibcxx_cv_func__fpclass_use=yes
30195 else
30196 glibcxx_cv_func__fpclass_use=no
30198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30199 ac_ext=c
30200 ac_cpp='$CPP $CPPFLAGS'
30201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30210 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30212 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30213 for ac_func in _fpclass
30214 do :
30215 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30216 if test "x$ac_cv_func__fpclass" = xyes; then :
30217 cat >>confdefs.h <<_ACEOF
30218 #define HAVE__FPCLASS 1
30219 _ACEOF
30222 done
30231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30232 $as_echo_n "checking for qfpclass declaration... " >&6; }
30233 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30234 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30235 $as_echo_n "(cached) " >&6
30236 else
30239 ac_ext=cpp
30240 ac_cpp='$CXXCPP $CPPFLAGS'
30241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30246 /* end confdefs.h. */
30247 #include <math.h>
30248 #ifdef HAVE_IEEEFP_H
30249 #include <ieeefp.h>
30250 #endif
30253 main ()
30255 qfpclass(0);
30257 return 0;
30259 _ACEOF
30260 if ac_fn_cxx_try_compile "$LINENO"; then :
30261 glibcxx_cv_func_qfpclass_use=yes
30262 else
30263 glibcxx_cv_func_qfpclass_use=no
30265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30266 ac_ext=c
30267 ac_cpp='$CPP $CPPFLAGS'
30268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30277 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30279 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30280 for ac_func in qfpclass
30281 do :
30282 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30283 if test "x$ac_cv_func_qfpclass" = xyes; then :
30284 cat >>confdefs.h <<_ACEOF
30285 #define HAVE_QFPCLASS 1
30286 _ACEOF
30289 done
30291 else
30293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30294 $as_echo_n "checking for _qfpclass declaration... " >&6; }
30295 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30296 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30297 $as_echo_n "(cached) " >&6
30298 else
30301 ac_ext=cpp
30302 ac_cpp='$CXXCPP $CPPFLAGS'
30303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30308 /* end confdefs.h. */
30309 #include <math.h>
30310 #ifdef HAVE_IEEEFP_H
30311 #include <ieeefp.h>
30312 #endif
30315 main ()
30317 _qfpclass(0);
30319 return 0;
30321 _ACEOF
30322 if ac_fn_cxx_try_compile "$LINENO"; then :
30323 glibcxx_cv_func__qfpclass_use=yes
30324 else
30325 glibcxx_cv_func__qfpclass_use=no
30327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30328 ac_ext=c
30329 ac_cpp='$CPP $CPPFLAGS'
30330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30339 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30341 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30342 for ac_func in _qfpclass
30343 do :
30344 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30345 if test "x$ac_cv_func__qfpclass" = xyes; then :
30346 cat >>confdefs.h <<_ACEOF
30347 #define HAVE__QFPCLASS 1
30348 _ACEOF
30351 done
30360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30361 $as_echo_n "checking for hypot declaration... " >&6; }
30362 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30363 if ${glibcxx_cv_func_hypot_use+:} false; then :
30364 $as_echo_n "(cached) " >&6
30365 else
30368 ac_ext=cpp
30369 ac_cpp='$CXXCPP $CPPFLAGS'
30370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30375 /* end confdefs.h. */
30376 #include <math.h>
30378 main ()
30380 hypot(0, 0);
30382 return 0;
30384 _ACEOF
30385 if ac_fn_cxx_try_compile "$LINENO"; then :
30386 glibcxx_cv_func_hypot_use=yes
30387 else
30388 glibcxx_cv_func_hypot_use=no
30390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30391 ac_ext=c
30392 ac_cpp='$CPP $CPPFLAGS'
30393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30402 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30404 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30405 for ac_func in hypot
30406 do :
30407 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30408 if test "x$ac_cv_func_hypot" = xyes; then :
30409 cat >>confdefs.h <<_ACEOF
30410 #define HAVE_HYPOT 1
30411 _ACEOF
30414 done
30416 else
30418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30419 $as_echo_n "checking for _hypot declaration... " >&6; }
30420 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30421 if ${glibcxx_cv_func__hypot_use+:} false; then :
30422 $as_echo_n "(cached) " >&6
30423 else
30426 ac_ext=cpp
30427 ac_cpp='$CXXCPP $CPPFLAGS'
30428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30433 /* end confdefs.h. */
30434 #include <math.h>
30436 main ()
30438 _hypot(0, 0);
30440 return 0;
30442 _ACEOF
30443 if ac_fn_cxx_try_compile "$LINENO"; then :
30444 glibcxx_cv_func__hypot_use=yes
30445 else
30446 glibcxx_cv_func__hypot_use=no
30448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30449 ac_ext=c
30450 ac_cpp='$CPP $CPPFLAGS'
30451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30460 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30462 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30463 for ac_func in _hypot
30464 do :
30465 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30466 if test "x$ac_cv_func__hypot" = xyes; then :
30467 cat >>confdefs.h <<_ACEOF
30468 #define HAVE__HYPOT 1
30469 _ACEOF
30472 done
30481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30482 $as_echo_n "checking for float trig functions... " >&6; }
30483 if ${glibcxx_cv_func_float_trig_use+:} false; then :
30484 $as_echo_n "(cached) " >&6
30485 else
30488 ac_ext=cpp
30489 ac_cpp='$CXXCPP $CPPFLAGS'
30490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30495 /* end confdefs.h. */
30496 #include <math.h>
30498 main ()
30500 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30502 return 0;
30504 _ACEOF
30505 if ac_fn_cxx_try_compile "$LINENO"; then :
30506 glibcxx_cv_func_float_trig_use=yes
30507 else
30508 glibcxx_cv_func_float_trig_use=no
30510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30511 ac_ext=c
30512 ac_cpp='$CPP $CPPFLAGS'
30513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30520 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30521 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30522 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30523 do :
30524 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30525 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30526 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30527 cat >>confdefs.h <<_ACEOF
30528 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30529 _ACEOF
30532 done
30534 else
30535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30536 $as_echo_n "checking for _float trig functions... " >&6; }
30537 if ${glibcxx_cv_func__float_trig_use+:} false; then :
30538 $as_echo_n "(cached) " >&6
30539 else
30542 ac_ext=cpp
30543 ac_cpp='$CXXCPP $CPPFLAGS'
30544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30549 /* end confdefs.h. */
30550 #include <math.h>
30552 main ()
30554 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30556 return 0;
30558 _ACEOF
30559 if ac_fn_cxx_try_compile "$LINENO"; then :
30560 glibcxx_cv_func__float_trig_use=yes
30561 else
30562 glibcxx_cv_func__float_trig_use=no
30564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30565 ac_ext=c
30566 ac_cpp='$CPP $CPPFLAGS'
30567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30574 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30575 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30576 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30577 do :
30578 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30579 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30580 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30581 cat >>confdefs.h <<_ACEOF
30582 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30583 _ACEOF
30586 done
30595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30596 $as_echo_n "checking for float round functions... " >&6; }
30597 if ${glibcxx_cv_func_float_round_use+:} false; then :
30598 $as_echo_n "(cached) " >&6
30599 else
30602 ac_ext=cpp
30603 ac_cpp='$CXXCPP $CPPFLAGS'
30604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30609 /* end confdefs.h. */
30610 #include <math.h>
30612 main ()
30614 ceilf (0); floorf (0);
30616 return 0;
30618 _ACEOF
30619 if ac_fn_cxx_try_compile "$LINENO"; then :
30620 glibcxx_cv_func_float_round_use=yes
30621 else
30622 glibcxx_cv_func_float_round_use=no
30624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30625 ac_ext=c
30626 ac_cpp='$CPP $CPPFLAGS'
30627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30634 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30635 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30636 for ac_func in ceilf floorf
30637 do :
30638 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30639 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30640 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30641 cat >>confdefs.h <<_ACEOF
30642 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30643 _ACEOF
30646 done
30648 else
30649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30650 $as_echo_n "checking for _float round functions... " >&6; }
30651 if ${glibcxx_cv_func__float_round_use+:} false; then :
30652 $as_echo_n "(cached) " >&6
30653 else
30656 ac_ext=cpp
30657 ac_cpp='$CXXCPP $CPPFLAGS'
30658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30663 /* end confdefs.h. */
30664 #include <math.h>
30666 main ()
30668 _ceilf (0); _floorf (0);
30670 return 0;
30672 _ACEOF
30673 if ac_fn_cxx_try_compile "$LINENO"; then :
30674 glibcxx_cv_func__float_round_use=yes
30675 else
30676 glibcxx_cv_func__float_round_use=no
30678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30679 ac_ext=c
30680 ac_cpp='$CPP $CPPFLAGS'
30681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30688 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30689 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30690 for ac_func in _ceilf _floorf
30691 do :
30692 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30693 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30694 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30695 cat >>confdefs.h <<_ACEOF
30696 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30697 _ACEOF
30700 done
30710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30711 $as_echo_n "checking for expf declaration... " >&6; }
30712 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30713 if ${glibcxx_cv_func_expf_use+:} false; then :
30714 $as_echo_n "(cached) " >&6
30715 else
30718 ac_ext=cpp
30719 ac_cpp='$CXXCPP $CPPFLAGS'
30720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30725 /* end confdefs.h. */
30726 #include <math.h>
30727 #ifdef HAVE_IEEEFP_H
30728 #include <ieeefp.h>
30729 #endif
30732 main ()
30734 expf(0);
30736 return 0;
30738 _ACEOF
30739 if ac_fn_cxx_try_compile "$LINENO"; then :
30740 glibcxx_cv_func_expf_use=yes
30741 else
30742 glibcxx_cv_func_expf_use=no
30744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30745 ac_ext=c
30746 ac_cpp='$CPP $CPPFLAGS'
30747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30756 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30758 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30759 for ac_func in expf
30760 do :
30761 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30762 if test "x$ac_cv_func_expf" = xyes; then :
30763 cat >>confdefs.h <<_ACEOF
30764 #define HAVE_EXPF 1
30765 _ACEOF
30768 done
30770 else
30772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30773 $as_echo_n "checking for _expf declaration... " >&6; }
30774 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30775 if ${glibcxx_cv_func__expf_use+:} false; then :
30776 $as_echo_n "(cached) " >&6
30777 else
30780 ac_ext=cpp
30781 ac_cpp='$CXXCPP $CPPFLAGS'
30782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30787 /* end confdefs.h. */
30788 #include <math.h>
30789 #ifdef HAVE_IEEEFP_H
30790 #include <ieeefp.h>
30791 #endif
30794 main ()
30796 _expf(0);
30798 return 0;
30800 _ACEOF
30801 if ac_fn_cxx_try_compile "$LINENO"; then :
30802 glibcxx_cv_func__expf_use=yes
30803 else
30804 glibcxx_cv_func__expf_use=no
30806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30807 ac_ext=c
30808 ac_cpp='$CPP $CPPFLAGS'
30809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30818 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30820 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30821 for ac_func in _expf
30822 do :
30823 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30824 if test "x$ac_cv_func__expf" = xyes; then :
30825 cat >>confdefs.h <<_ACEOF
30826 #define HAVE__EXPF 1
30827 _ACEOF
30830 done
30839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30840 $as_echo_n "checking for isnanf declaration... " >&6; }
30841 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30842 if ${glibcxx_cv_func_isnanf_use+:} false; then :
30843 $as_echo_n "(cached) " >&6
30844 else
30847 ac_ext=cpp
30848 ac_cpp='$CXXCPP $CPPFLAGS'
30849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30854 /* end confdefs.h. */
30855 #include <math.h>
30856 #ifdef HAVE_IEEEFP_H
30857 #include <ieeefp.h>
30858 #endif
30861 main ()
30863 isnanf(0);
30865 return 0;
30867 _ACEOF
30868 if ac_fn_cxx_try_compile "$LINENO"; then :
30869 glibcxx_cv_func_isnanf_use=yes
30870 else
30871 glibcxx_cv_func_isnanf_use=no
30873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30874 ac_ext=c
30875 ac_cpp='$CPP $CPPFLAGS'
30876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30885 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30887 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30888 for ac_func in isnanf
30889 do :
30890 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30891 if test "x$ac_cv_func_isnanf" = xyes; then :
30892 cat >>confdefs.h <<_ACEOF
30893 #define HAVE_ISNANF 1
30894 _ACEOF
30897 done
30899 else
30901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30902 $as_echo_n "checking for _isnanf declaration... " >&6; }
30903 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30904 if ${glibcxx_cv_func__isnanf_use+:} false; then :
30905 $as_echo_n "(cached) " >&6
30906 else
30909 ac_ext=cpp
30910 ac_cpp='$CXXCPP $CPPFLAGS'
30911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30916 /* end confdefs.h. */
30917 #include <math.h>
30918 #ifdef HAVE_IEEEFP_H
30919 #include <ieeefp.h>
30920 #endif
30923 main ()
30925 _isnanf(0);
30927 return 0;
30929 _ACEOF
30930 if ac_fn_cxx_try_compile "$LINENO"; then :
30931 glibcxx_cv_func__isnanf_use=yes
30932 else
30933 glibcxx_cv_func__isnanf_use=no
30935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30936 ac_ext=c
30937 ac_cpp='$CPP $CPPFLAGS'
30938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30947 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30949 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30950 for ac_func in _isnanf
30951 do :
30952 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30953 if test "x$ac_cv_func__isnanf" = xyes; then :
30954 cat >>confdefs.h <<_ACEOF
30955 #define HAVE__ISNANF 1
30956 _ACEOF
30959 done
30968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30969 $as_echo_n "checking for isinff declaration... " >&6; }
30970 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30971 if ${glibcxx_cv_func_isinff_use+:} false; then :
30972 $as_echo_n "(cached) " >&6
30973 else
30976 ac_ext=cpp
30977 ac_cpp='$CXXCPP $CPPFLAGS'
30978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30983 /* end confdefs.h. */
30984 #include <math.h>
30985 #ifdef HAVE_IEEEFP_H
30986 #include <ieeefp.h>
30987 #endif
30990 main ()
30992 isinff(0);
30994 return 0;
30996 _ACEOF
30997 if ac_fn_cxx_try_compile "$LINENO"; then :
30998 glibcxx_cv_func_isinff_use=yes
30999 else
31000 glibcxx_cv_func_isinff_use=no
31002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31003 ac_ext=c
31004 ac_cpp='$CPP $CPPFLAGS'
31005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
31014 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
31016 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31017 for ac_func in isinff
31018 do :
31019 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
31020 if test "x$ac_cv_func_isinff" = xyes; then :
31021 cat >>confdefs.h <<_ACEOF
31022 #define HAVE_ISINFF 1
31023 _ACEOF
31026 done
31028 else
31030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
31031 $as_echo_n "checking for _isinff declaration... " >&6; }
31032 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
31033 if ${glibcxx_cv_func__isinff_use+:} false; then :
31034 $as_echo_n "(cached) " >&6
31035 else
31038 ac_ext=cpp
31039 ac_cpp='$CXXCPP $CPPFLAGS'
31040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31045 /* end confdefs.h. */
31046 #include <math.h>
31047 #ifdef HAVE_IEEEFP_H
31048 #include <ieeefp.h>
31049 #endif
31052 main ()
31054 _isinff(0);
31056 return 0;
31058 _ACEOF
31059 if ac_fn_cxx_try_compile "$LINENO"; then :
31060 glibcxx_cv_func__isinff_use=yes
31061 else
31062 glibcxx_cv_func__isinff_use=no
31064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31065 ac_ext=c
31066 ac_cpp='$CPP $CPPFLAGS'
31067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
31076 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
31078 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31079 for ac_func in _isinff
31080 do :
31081 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
31082 if test "x$ac_cv_func__isinff" = xyes; then :
31083 cat >>confdefs.h <<_ACEOF
31084 #define HAVE__ISINFF 1
31085 _ACEOF
31088 done
31097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31098 $as_echo_n "checking for atan2f declaration... " >&6; }
31099 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31100 if ${glibcxx_cv_func_atan2f_use+:} false; then :
31101 $as_echo_n "(cached) " >&6
31102 else
31105 ac_ext=cpp
31106 ac_cpp='$CXXCPP $CPPFLAGS'
31107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31112 /* end confdefs.h. */
31113 #include <math.h>
31115 main ()
31117 atan2f(0, 0);
31119 return 0;
31121 _ACEOF
31122 if ac_fn_cxx_try_compile "$LINENO"; then :
31123 glibcxx_cv_func_atan2f_use=yes
31124 else
31125 glibcxx_cv_func_atan2f_use=no
31127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31128 ac_ext=c
31129 ac_cpp='$CPP $CPPFLAGS'
31130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31139 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31141 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31142 for ac_func in atan2f
31143 do :
31144 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31145 if test "x$ac_cv_func_atan2f" = xyes; then :
31146 cat >>confdefs.h <<_ACEOF
31147 #define HAVE_ATAN2F 1
31148 _ACEOF
31151 done
31153 else
31155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31156 $as_echo_n "checking for _atan2f declaration... " >&6; }
31157 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31158 if ${glibcxx_cv_func__atan2f_use+:} false; then :
31159 $as_echo_n "(cached) " >&6
31160 else
31163 ac_ext=cpp
31164 ac_cpp='$CXXCPP $CPPFLAGS'
31165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31170 /* end confdefs.h. */
31171 #include <math.h>
31173 main ()
31175 _atan2f(0, 0);
31177 return 0;
31179 _ACEOF
31180 if ac_fn_cxx_try_compile "$LINENO"; then :
31181 glibcxx_cv_func__atan2f_use=yes
31182 else
31183 glibcxx_cv_func__atan2f_use=no
31185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31186 ac_ext=c
31187 ac_cpp='$CPP $CPPFLAGS'
31188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31197 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31199 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31200 for ac_func in _atan2f
31201 do :
31202 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31203 if test "x$ac_cv_func__atan2f" = xyes; then :
31204 cat >>confdefs.h <<_ACEOF
31205 #define HAVE__ATAN2F 1
31206 _ACEOF
31209 done
31218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31219 $as_echo_n "checking for fabsf declaration... " >&6; }
31220 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31221 if ${glibcxx_cv_func_fabsf_use+:} false; then :
31222 $as_echo_n "(cached) " >&6
31223 else
31226 ac_ext=cpp
31227 ac_cpp='$CXXCPP $CPPFLAGS'
31228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31233 /* end confdefs.h. */
31234 #include <math.h>
31235 #ifdef HAVE_IEEEFP_H
31236 #include <ieeefp.h>
31237 #endif
31240 main ()
31242 fabsf(0);
31244 return 0;
31246 _ACEOF
31247 if ac_fn_cxx_try_compile "$LINENO"; then :
31248 glibcxx_cv_func_fabsf_use=yes
31249 else
31250 glibcxx_cv_func_fabsf_use=no
31252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31253 ac_ext=c
31254 ac_cpp='$CPP $CPPFLAGS'
31255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31264 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31266 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31267 for ac_func in fabsf
31268 do :
31269 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31270 if test "x$ac_cv_func_fabsf" = xyes; then :
31271 cat >>confdefs.h <<_ACEOF
31272 #define HAVE_FABSF 1
31273 _ACEOF
31276 done
31278 else
31280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31281 $as_echo_n "checking for _fabsf declaration... " >&6; }
31282 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31283 if ${glibcxx_cv_func__fabsf_use+:} false; then :
31284 $as_echo_n "(cached) " >&6
31285 else
31288 ac_ext=cpp
31289 ac_cpp='$CXXCPP $CPPFLAGS'
31290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31295 /* end confdefs.h. */
31296 #include <math.h>
31297 #ifdef HAVE_IEEEFP_H
31298 #include <ieeefp.h>
31299 #endif
31302 main ()
31304 _fabsf(0);
31306 return 0;
31308 _ACEOF
31309 if ac_fn_cxx_try_compile "$LINENO"; then :
31310 glibcxx_cv_func__fabsf_use=yes
31311 else
31312 glibcxx_cv_func__fabsf_use=no
31314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31315 ac_ext=c
31316 ac_cpp='$CPP $CPPFLAGS'
31317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31326 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31328 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31329 for ac_func in _fabsf
31330 do :
31331 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31332 if test "x$ac_cv_func__fabsf" = xyes; then :
31333 cat >>confdefs.h <<_ACEOF
31334 #define HAVE__FABSF 1
31335 _ACEOF
31338 done
31347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31348 $as_echo_n "checking for fmodf declaration... " >&6; }
31349 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31350 if ${glibcxx_cv_func_fmodf_use+:} false; then :
31351 $as_echo_n "(cached) " >&6
31352 else
31355 ac_ext=cpp
31356 ac_cpp='$CXXCPP $CPPFLAGS'
31357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31362 /* end confdefs.h. */
31363 #include <math.h>
31365 main ()
31367 fmodf(0, 0);
31369 return 0;
31371 _ACEOF
31372 if ac_fn_cxx_try_compile "$LINENO"; then :
31373 glibcxx_cv_func_fmodf_use=yes
31374 else
31375 glibcxx_cv_func_fmodf_use=no
31377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31378 ac_ext=c
31379 ac_cpp='$CPP $CPPFLAGS'
31380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31389 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31391 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31392 for ac_func in fmodf
31393 do :
31394 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31395 if test "x$ac_cv_func_fmodf" = xyes; then :
31396 cat >>confdefs.h <<_ACEOF
31397 #define HAVE_FMODF 1
31398 _ACEOF
31401 done
31403 else
31405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31406 $as_echo_n "checking for _fmodf declaration... " >&6; }
31407 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31408 if ${glibcxx_cv_func__fmodf_use+:} false; then :
31409 $as_echo_n "(cached) " >&6
31410 else
31413 ac_ext=cpp
31414 ac_cpp='$CXXCPP $CPPFLAGS'
31415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31420 /* end confdefs.h. */
31421 #include <math.h>
31423 main ()
31425 _fmodf(0, 0);
31427 return 0;
31429 _ACEOF
31430 if ac_fn_cxx_try_compile "$LINENO"; then :
31431 glibcxx_cv_func__fmodf_use=yes
31432 else
31433 glibcxx_cv_func__fmodf_use=no
31435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31436 ac_ext=c
31437 ac_cpp='$CPP $CPPFLAGS'
31438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31447 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31449 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31450 for ac_func in _fmodf
31451 do :
31452 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31453 if test "x$ac_cv_func__fmodf" = xyes; then :
31454 cat >>confdefs.h <<_ACEOF
31455 #define HAVE__FMODF 1
31456 _ACEOF
31459 done
31468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31469 $as_echo_n "checking for frexpf declaration... " >&6; }
31470 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31471 if ${glibcxx_cv_func_frexpf_use+:} false; then :
31472 $as_echo_n "(cached) " >&6
31473 else
31476 ac_ext=cpp
31477 ac_cpp='$CXXCPP $CPPFLAGS'
31478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31483 /* end confdefs.h. */
31484 #include <math.h>
31486 main ()
31488 frexpf(0, 0);
31490 return 0;
31492 _ACEOF
31493 if ac_fn_cxx_try_compile "$LINENO"; then :
31494 glibcxx_cv_func_frexpf_use=yes
31495 else
31496 glibcxx_cv_func_frexpf_use=no
31498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31499 ac_ext=c
31500 ac_cpp='$CPP $CPPFLAGS'
31501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31510 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31512 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31513 for ac_func in frexpf
31514 do :
31515 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31516 if test "x$ac_cv_func_frexpf" = xyes; then :
31517 cat >>confdefs.h <<_ACEOF
31518 #define HAVE_FREXPF 1
31519 _ACEOF
31522 done
31524 else
31526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31527 $as_echo_n "checking for _frexpf declaration... " >&6; }
31528 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31529 if ${glibcxx_cv_func__frexpf_use+:} false; then :
31530 $as_echo_n "(cached) " >&6
31531 else
31534 ac_ext=cpp
31535 ac_cpp='$CXXCPP $CPPFLAGS'
31536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31541 /* end confdefs.h. */
31542 #include <math.h>
31544 main ()
31546 _frexpf(0, 0);
31548 return 0;
31550 _ACEOF
31551 if ac_fn_cxx_try_compile "$LINENO"; then :
31552 glibcxx_cv_func__frexpf_use=yes
31553 else
31554 glibcxx_cv_func__frexpf_use=no
31556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31557 ac_ext=c
31558 ac_cpp='$CPP $CPPFLAGS'
31559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31568 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31570 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31571 for ac_func in _frexpf
31572 do :
31573 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31574 if test "x$ac_cv_func__frexpf" = xyes; then :
31575 cat >>confdefs.h <<_ACEOF
31576 #define HAVE__FREXPF 1
31577 _ACEOF
31580 done
31589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31590 $as_echo_n "checking for hypotf declaration... " >&6; }
31591 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31592 if ${glibcxx_cv_func_hypotf_use+:} false; then :
31593 $as_echo_n "(cached) " >&6
31594 else
31597 ac_ext=cpp
31598 ac_cpp='$CXXCPP $CPPFLAGS'
31599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31604 /* end confdefs.h. */
31605 #include <math.h>
31607 main ()
31609 hypotf(0, 0);
31611 return 0;
31613 _ACEOF
31614 if ac_fn_cxx_try_compile "$LINENO"; then :
31615 glibcxx_cv_func_hypotf_use=yes
31616 else
31617 glibcxx_cv_func_hypotf_use=no
31619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31620 ac_ext=c
31621 ac_cpp='$CPP $CPPFLAGS'
31622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31631 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31633 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31634 for ac_func in hypotf
31635 do :
31636 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31637 if test "x$ac_cv_func_hypotf" = xyes; then :
31638 cat >>confdefs.h <<_ACEOF
31639 #define HAVE_HYPOTF 1
31640 _ACEOF
31643 done
31645 else
31647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31648 $as_echo_n "checking for _hypotf declaration... " >&6; }
31649 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31650 if ${glibcxx_cv_func__hypotf_use+:} false; then :
31651 $as_echo_n "(cached) " >&6
31652 else
31655 ac_ext=cpp
31656 ac_cpp='$CXXCPP $CPPFLAGS'
31657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31662 /* end confdefs.h. */
31663 #include <math.h>
31665 main ()
31667 _hypotf(0, 0);
31669 return 0;
31671 _ACEOF
31672 if ac_fn_cxx_try_compile "$LINENO"; then :
31673 glibcxx_cv_func__hypotf_use=yes
31674 else
31675 glibcxx_cv_func__hypotf_use=no
31677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31678 ac_ext=c
31679 ac_cpp='$CPP $CPPFLAGS'
31680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31689 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31691 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31692 for ac_func in _hypotf
31693 do :
31694 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31695 if test "x$ac_cv_func__hypotf" = xyes; then :
31696 cat >>confdefs.h <<_ACEOF
31697 #define HAVE__HYPOTF 1
31698 _ACEOF
31701 done
31710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31711 $as_echo_n "checking for ldexpf declaration... " >&6; }
31712 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31713 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
31714 $as_echo_n "(cached) " >&6
31715 else
31718 ac_ext=cpp
31719 ac_cpp='$CXXCPP $CPPFLAGS'
31720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31725 /* end confdefs.h. */
31726 #include <math.h>
31728 main ()
31730 ldexpf(0, 0);
31732 return 0;
31734 _ACEOF
31735 if ac_fn_cxx_try_compile "$LINENO"; then :
31736 glibcxx_cv_func_ldexpf_use=yes
31737 else
31738 glibcxx_cv_func_ldexpf_use=no
31740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31741 ac_ext=c
31742 ac_cpp='$CPP $CPPFLAGS'
31743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31752 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31754 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31755 for ac_func in ldexpf
31756 do :
31757 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31758 if test "x$ac_cv_func_ldexpf" = xyes; then :
31759 cat >>confdefs.h <<_ACEOF
31760 #define HAVE_LDEXPF 1
31761 _ACEOF
31764 done
31766 else
31768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31769 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31770 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31771 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
31772 $as_echo_n "(cached) " >&6
31773 else
31776 ac_ext=cpp
31777 ac_cpp='$CXXCPP $CPPFLAGS'
31778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31783 /* end confdefs.h. */
31784 #include <math.h>
31786 main ()
31788 _ldexpf(0, 0);
31790 return 0;
31792 _ACEOF
31793 if ac_fn_cxx_try_compile "$LINENO"; then :
31794 glibcxx_cv_func__ldexpf_use=yes
31795 else
31796 glibcxx_cv_func__ldexpf_use=no
31798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31799 ac_ext=c
31800 ac_cpp='$CPP $CPPFLAGS'
31801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31810 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31812 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31813 for ac_func in _ldexpf
31814 do :
31815 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31816 if test "x$ac_cv_func__ldexpf" = xyes; then :
31817 cat >>confdefs.h <<_ACEOF
31818 #define HAVE__LDEXPF 1
31819 _ACEOF
31822 done
31831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31832 $as_echo_n "checking for logf declaration... " >&6; }
31833 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31834 if ${glibcxx_cv_func_logf_use+:} false; then :
31835 $as_echo_n "(cached) " >&6
31836 else
31839 ac_ext=cpp
31840 ac_cpp='$CXXCPP $CPPFLAGS'
31841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31846 /* end confdefs.h. */
31847 #include <math.h>
31848 #ifdef HAVE_IEEEFP_H
31849 #include <ieeefp.h>
31850 #endif
31853 main ()
31855 logf(0);
31857 return 0;
31859 _ACEOF
31860 if ac_fn_cxx_try_compile "$LINENO"; then :
31861 glibcxx_cv_func_logf_use=yes
31862 else
31863 glibcxx_cv_func_logf_use=no
31865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31866 ac_ext=c
31867 ac_cpp='$CPP $CPPFLAGS'
31868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31877 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31879 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31880 for ac_func in logf
31881 do :
31882 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31883 if test "x$ac_cv_func_logf" = xyes; then :
31884 cat >>confdefs.h <<_ACEOF
31885 #define HAVE_LOGF 1
31886 _ACEOF
31889 done
31891 else
31893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31894 $as_echo_n "checking for _logf declaration... " >&6; }
31895 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31896 if ${glibcxx_cv_func__logf_use+:} false; then :
31897 $as_echo_n "(cached) " >&6
31898 else
31901 ac_ext=cpp
31902 ac_cpp='$CXXCPP $CPPFLAGS'
31903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31908 /* end confdefs.h. */
31909 #include <math.h>
31910 #ifdef HAVE_IEEEFP_H
31911 #include <ieeefp.h>
31912 #endif
31915 main ()
31917 _logf(0);
31919 return 0;
31921 _ACEOF
31922 if ac_fn_cxx_try_compile "$LINENO"; then :
31923 glibcxx_cv_func__logf_use=yes
31924 else
31925 glibcxx_cv_func__logf_use=no
31927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31928 ac_ext=c
31929 ac_cpp='$CPP $CPPFLAGS'
31930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31939 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31941 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31942 for ac_func in _logf
31943 do :
31944 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31945 if test "x$ac_cv_func__logf" = xyes; then :
31946 cat >>confdefs.h <<_ACEOF
31947 #define HAVE__LOGF 1
31948 _ACEOF
31951 done
31960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31961 $as_echo_n "checking for log10f declaration... " >&6; }
31962 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31963 if ${glibcxx_cv_func_log10f_use+:} false; then :
31964 $as_echo_n "(cached) " >&6
31965 else
31968 ac_ext=cpp
31969 ac_cpp='$CXXCPP $CPPFLAGS'
31970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31975 /* end confdefs.h. */
31976 #include <math.h>
31977 #ifdef HAVE_IEEEFP_H
31978 #include <ieeefp.h>
31979 #endif
31982 main ()
31984 log10f(0);
31986 return 0;
31988 _ACEOF
31989 if ac_fn_cxx_try_compile "$LINENO"; then :
31990 glibcxx_cv_func_log10f_use=yes
31991 else
31992 glibcxx_cv_func_log10f_use=no
31994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31995 ac_ext=c
31996 ac_cpp='$CPP $CPPFLAGS'
31997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
32006 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
32008 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
32009 for ac_func in log10f
32010 do :
32011 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
32012 if test "x$ac_cv_func_log10f" = xyes; then :
32013 cat >>confdefs.h <<_ACEOF
32014 #define HAVE_LOG10F 1
32015 _ACEOF
32018 done
32020 else
32022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
32023 $as_echo_n "checking for _log10f declaration... " >&6; }
32024 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
32025 if ${glibcxx_cv_func__log10f_use+:} false; then :
32026 $as_echo_n "(cached) " >&6
32027 else
32030 ac_ext=cpp
32031 ac_cpp='$CXXCPP $CPPFLAGS'
32032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32037 /* end confdefs.h. */
32038 #include <math.h>
32039 #ifdef HAVE_IEEEFP_H
32040 #include <ieeefp.h>
32041 #endif
32044 main ()
32046 _log10f(0);
32048 return 0;
32050 _ACEOF
32051 if ac_fn_cxx_try_compile "$LINENO"; then :
32052 glibcxx_cv_func__log10f_use=yes
32053 else
32054 glibcxx_cv_func__log10f_use=no
32056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32057 ac_ext=c
32058 ac_cpp='$CPP $CPPFLAGS'
32059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
32068 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
32070 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
32071 for ac_func in _log10f
32072 do :
32073 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
32074 if test "x$ac_cv_func__log10f" = xyes; then :
32075 cat >>confdefs.h <<_ACEOF
32076 #define HAVE__LOG10F 1
32077 _ACEOF
32080 done
32089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
32090 $as_echo_n "checking for modff declaration... " >&6; }
32091 if test x${glibcxx_cv_func_modff_use+set} != xset; then
32092 if ${glibcxx_cv_func_modff_use+:} false; then :
32093 $as_echo_n "(cached) " >&6
32094 else
32097 ac_ext=cpp
32098 ac_cpp='$CXXCPP $CPPFLAGS'
32099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32104 /* end confdefs.h. */
32105 #include <math.h>
32107 main ()
32109 modff(0, 0);
32111 return 0;
32113 _ACEOF
32114 if ac_fn_cxx_try_compile "$LINENO"; then :
32115 glibcxx_cv_func_modff_use=yes
32116 else
32117 glibcxx_cv_func_modff_use=no
32119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32120 ac_ext=c
32121 ac_cpp='$CPP $CPPFLAGS'
32122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32131 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
32133 if test x$glibcxx_cv_func_modff_use = x"yes"; then
32134 for ac_func in modff
32135 do :
32136 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32137 if test "x$ac_cv_func_modff" = xyes; then :
32138 cat >>confdefs.h <<_ACEOF
32139 #define HAVE_MODFF 1
32140 _ACEOF
32143 done
32145 else
32147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32148 $as_echo_n "checking for _modff declaration... " >&6; }
32149 if test x${glibcxx_cv_func__modff_use+set} != xset; then
32150 if ${glibcxx_cv_func__modff_use+:} false; then :
32151 $as_echo_n "(cached) " >&6
32152 else
32155 ac_ext=cpp
32156 ac_cpp='$CXXCPP $CPPFLAGS'
32157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32162 /* end confdefs.h. */
32163 #include <math.h>
32165 main ()
32167 _modff(0, 0);
32169 return 0;
32171 _ACEOF
32172 if ac_fn_cxx_try_compile "$LINENO"; then :
32173 glibcxx_cv_func__modff_use=yes
32174 else
32175 glibcxx_cv_func__modff_use=no
32177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32178 ac_ext=c
32179 ac_cpp='$CPP $CPPFLAGS'
32180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32189 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
32191 if test x$glibcxx_cv_func__modff_use = x"yes"; then
32192 for ac_func in _modff
32193 do :
32194 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32195 if test "x$ac_cv_func__modff" = xyes; then :
32196 cat >>confdefs.h <<_ACEOF
32197 #define HAVE__MODFF 1
32198 _ACEOF
32201 done
32210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32211 $as_echo_n "checking for modf declaration... " >&6; }
32212 if test x${glibcxx_cv_func_modf_use+set} != xset; then
32213 if ${glibcxx_cv_func_modf_use+:} false; then :
32214 $as_echo_n "(cached) " >&6
32215 else
32218 ac_ext=cpp
32219 ac_cpp='$CXXCPP $CPPFLAGS'
32220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32225 /* end confdefs.h. */
32226 #include <math.h>
32228 main ()
32230 modf(0, 0);
32232 return 0;
32234 _ACEOF
32235 if ac_fn_cxx_try_compile "$LINENO"; then :
32236 glibcxx_cv_func_modf_use=yes
32237 else
32238 glibcxx_cv_func_modf_use=no
32240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32241 ac_ext=c
32242 ac_cpp='$CPP $CPPFLAGS'
32243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32252 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
32254 if test x$glibcxx_cv_func_modf_use = x"yes"; then
32255 for ac_func in modf
32256 do :
32257 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32258 if test "x$ac_cv_func_modf" = xyes; then :
32259 cat >>confdefs.h <<_ACEOF
32260 #define HAVE_MODF 1
32261 _ACEOF
32264 done
32266 else
32268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32269 $as_echo_n "checking for _modf declaration... " >&6; }
32270 if test x${glibcxx_cv_func__modf_use+set} != xset; then
32271 if ${glibcxx_cv_func__modf_use+:} false; then :
32272 $as_echo_n "(cached) " >&6
32273 else
32276 ac_ext=cpp
32277 ac_cpp='$CXXCPP $CPPFLAGS'
32278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32283 /* end confdefs.h. */
32284 #include <math.h>
32286 main ()
32288 _modf(0, 0);
32290 return 0;
32292 _ACEOF
32293 if ac_fn_cxx_try_compile "$LINENO"; then :
32294 glibcxx_cv_func__modf_use=yes
32295 else
32296 glibcxx_cv_func__modf_use=no
32298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32299 ac_ext=c
32300 ac_cpp='$CPP $CPPFLAGS'
32301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32310 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32312 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32313 for ac_func in _modf
32314 do :
32315 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32316 if test "x$ac_cv_func__modf" = xyes; then :
32317 cat >>confdefs.h <<_ACEOF
32318 #define HAVE__MODF 1
32319 _ACEOF
32322 done
32331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32332 $as_echo_n "checking for powf declaration... " >&6; }
32333 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32334 if ${glibcxx_cv_func_powf_use+:} false; then :
32335 $as_echo_n "(cached) " >&6
32336 else
32339 ac_ext=cpp
32340 ac_cpp='$CXXCPP $CPPFLAGS'
32341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32346 /* end confdefs.h. */
32347 #include <math.h>
32349 main ()
32351 powf(0, 0);
32353 return 0;
32355 _ACEOF
32356 if ac_fn_cxx_try_compile "$LINENO"; then :
32357 glibcxx_cv_func_powf_use=yes
32358 else
32359 glibcxx_cv_func_powf_use=no
32361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32362 ac_ext=c
32363 ac_cpp='$CPP $CPPFLAGS'
32364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32373 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32375 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32376 for ac_func in powf
32377 do :
32378 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32379 if test "x$ac_cv_func_powf" = xyes; then :
32380 cat >>confdefs.h <<_ACEOF
32381 #define HAVE_POWF 1
32382 _ACEOF
32385 done
32387 else
32389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32390 $as_echo_n "checking for _powf declaration... " >&6; }
32391 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32392 if ${glibcxx_cv_func__powf_use+:} false; then :
32393 $as_echo_n "(cached) " >&6
32394 else
32397 ac_ext=cpp
32398 ac_cpp='$CXXCPP $CPPFLAGS'
32399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32404 /* end confdefs.h. */
32405 #include <math.h>
32407 main ()
32409 _powf(0, 0);
32411 return 0;
32413 _ACEOF
32414 if ac_fn_cxx_try_compile "$LINENO"; then :
32415 glibcxx_cv_func__powf_use=yes
32416 else
32417 glibcxx_cv_func__powf_use=no
32419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32420 ac_ext=c
32421 ac_cpp='$CPP $CPPFLAGS'
32422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32431 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32433 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32434 for ac_func in _powf
32435 do :
32436 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32437 if test "x$ac_cv_func__powf" = xyes; then :
32438 cat >>confdefs.h <<_ACEOF
32439 #define HAVE__POWF 1
32440 _ACEOF
32443 done
32452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32453 $as_echo_n "checking for sqrtf declaration... " >&6; }
32454 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32455 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
32456 $as_echo_n "(cached) " >&6
32457 else
32460 ac_ext=cpp
32461 ac_cpp='$CXXCPP $CPPFLAGS'
32462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32467 /* end confdefs.h. */
32468 #include <math.h>
32469 #ifdef HAVE_IEEEFP_H
32470 #include <ieeefp.h>
32471 #endif
32474 main ()
32476 sqrtf(0);
32478 return 0;
32480 _ACEOF
32481 if ac_fn_cxx_try_compile "$LINENO"; then :
32482 glibcxx_cv_func_sqrtf_use=yes
32483 else
32484 glibcxx_cv_func_sqrtf_use=no
32486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32487 ac_ext=c
32488 ac_cpp='$CPP $CPPFLAGS'
32489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32498 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32500 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32501 for ac_func in sqrtf
32502 do :
32503 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32504 if test "x$ac_cv_func_sqrtf" = xyes; then :
32505 cat >>confdefs.h <<_ACEOF
32506 #define HAVE_SQRTF 1
32507 _ACEOF
32510 done
32512 else
32514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32515 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32516 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32517 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
32518 $as_echo_n "(cached) " >&6
32519 else
32522 ac_ext=cpp
32523 ac_cpp='$CXXCPP $CPPFLAGS'
32524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32529 /* end confdefs.h. */
32530 #include <math.h>
32531 #ifdef HAVE_IEEEFP_H
32532 #include <ieeefp.h>
32533 #endif
32536 main ()
32538 _sqrtf(0);
32540 return 0;
32542 _ACEOF
32543 if ac_fn_cxx_try_compile "$LINENO"; then :
32544 glibcxx_cv_func__sqrtf_use=yes
32545 else
32546 glibcxx_cv_func__sqrtf_use=no
32548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32549 ac_ext=c
32550 ac_cpp='$CPP $CPPFLAGS'
32551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32560 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32562 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32563 for ac_func in _sqrtf
32564 do :
32565 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32566 if test "x$ac_cv_func__sqrtf" = xyes; then :
32567 cat >>confdefs.h <<_ACEOF
32568 #define HAVE__SQRTF 1
32569 _ACEOF
32572 done
32581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32582 $as_echo_n "checking for sincosf declaration... " >&6; }
32583 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32584 if ${glibcxx_cv_func_sincosf_use+:} false; then :
32585 $as_echo_n "(cached) " >&6
32586 else
32589 ac_ext=cpp
32590 ac_cpp='$CXXCPP $CPPFLAGS'
32591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32596 /* end confdefs.h. */
32597 #include <math.h>
32599 main ()
32601 sincosf(0, 0, 0);
32603 return 0;
32605 _ACEOF
32606 if ac_fn_cxx_try_compile "$LINENO"; then :
32607 glibcxx_cv_func_sincosf_use=yes
32608 else
32609 glibcxx_cv_func_sincosf_use=no
32611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32612 ac_ext=c
32613 ac_cpp='$CPP $CPPFLAGS'
32614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32623 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32625 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32626 for ac_func in sincosf
32627 do :
32628 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32629 if test "x$ac_cv_func_sincosf" = xyes; then :
32630 cat >>confdefs.h <<_ACEOF
32631 #define HAVE_SINCOSF 1
32632 _ACEOF
32635 done
32637 else
32639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32640 $as_echo_n "checking for _sincosf declaration... " >&6; }
32641 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32642 if ${glibcxx_cv_func__sincosf_use+:} false; then :
32643 $as_echo_n "(cached) " >&6
32644 else
32647 ac_ext=cpp
32648 ac_cpp='$CXXCPP $CPPFLAGS'
32649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32654 /* end confdefs.h. */
32655 #include <math.h>
32657 main ()
32659 _sincosf(0, 0, 0);
32661 return 0;
32663 _ACEOF
32664 if ac_fn_cxx_try_compile "$LINENO"; then :
32665 glibcxx_cv_func__sincosf_use=yes
32666 else
32667 glibcxx_cv_func__sincosf_use=no
32669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32670 ac_ext=c
32671 ac_cpp='$CPP $CPPFLAGS'
32672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32681 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32683 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32684 for ac_func in _sincosf
32685 do :
32686 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32687 if test "x$ac_cv_func__sincosf" = xyes; then :
32688 cat >>confdefs.h <<_ACEOF
32689 #define HAVE__SINCOSF 1
32690 _ACEOF
32693 done
32702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32703 $as_echo_n "checking for finitef declaration... " >&6; }
32704 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32705 if ${glibcxx_cv_func_finitef_use+:} false; then :
32706 $as_echo_n "(cached) " >&6
32707 else
32710 ac_ext=cpp
32711 ac_cpp='$CXXCPP $CPPFLAGS'
32712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32717 /* end confdefs.h. */
32718 #include <math.h>
32719 #ifdef HAVE_IEEEFP_H
32720 #include <ieeefp.h>
32721 #endif
32724 main ()
32726 finitef(0);
32728 return 0;
32730 _ACEOF
32731 if ac_fn_cxx_try_compile "$LINENO"; then :
32732 glibcxx_cv_func_finitef_use=yes
32733 else
32734 glibcxx_cv_func_finitef_use=no
32736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32737 ac_ext=c
32738 ac_cpp='$CPP $CPPFLAGS'
32739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32748 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32750 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32751 for ac_func in finitef
32752 do :
32753 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32754 if test "x$ac_cv_func_finitef" = xyes; then :
32755 cat >>confdefs.h <<_ACEOF
32756 #define HAVE_FINITEF 1
32757 _ACEOF
32760 done
32762 else
32764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32765 $as_echo_n "checking for _finitef declaration... " >&6; }
32766 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32767 if ${glibcxx_cv_func__finitef_use+:} false; then :
32768 $as_echo_n "(cached) " >&6
32769 else
32772 ac_ext=cpp
32773 ac_cpp='$CXXCPP $CPPFLAGS'
32774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32779 /* end confdefs.h. */
32780 #include <math.h>
32781 #ifdef HAVE_IEEEFP_H
32782 #include <ieeefp.h>
32783 #endif
32786 main ()
32788 _finitef(0);
32790 return 0;
32792 _ACEOF
32793 if ac_fn_cxx_try_compile "$LINENO"; then :
32794 glibcxx_cv_func__finitef_use=yes
32795 else
32796 glibcxx_cv_func__finitef_use=no
32798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32799 ac_ext=c
32800 ac_cpp='$CPP $CPPFLAGS'
32801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32810 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32812 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32813 for ac_func in _finitef
32814 do :
32815 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32816 if test "x$ac_cv_func__finitef" = xyes; then :
32817 cat >>confdefs.h <<_ACEOF
32818 #define HAVE__FINITEF 1
32819 _ACEOF
32822 done
32831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32832 $as_echo_n "checking for long double trig functions... " >&6; }
32833 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
32834 $as_echo_n "(cached) " >&6
32835 else
32838 ac_ext=cpp
32839 ac_cpp='$CXXCPP $CPPFLAGS'
32840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32845 /* end confdefs.h. */
32846 #include <math.h>
32848 main ()
32850 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32852 return 0;
32854 _ACEOF
32855 if ac_fn_cxx_try_compile "$LINENO"; then :
32856 glibcxx_cv_func_long_double_trig_use=yes
32857 else
32858 glibcxx_cv_func_long_double_trig_use=no
32860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32861 ac_ext=c
32862 ac_cpp='$CPP $CPPFLAGS'
32863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32870 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32871 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32872 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32873 do :
32874 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32875 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32876 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32877 cat >>confdefs.h <<_ACEOF
32878 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32879 _ACEOF
32882 done
32884 else
32885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32886 $as_echo_n "checking for _long double trig functions... " >&6; }
32887 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
32888 $as_echo_n "(cached) " >&6
32889 else
32892 ac_ext=cpp
32893 ac_cpp='$CXXCPP $CPPFLAGS'
32894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32899 /* end confdefs.h. */
32900 #include <math.h>
32902 main ()
32904 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32906 return 0;
32908 _ACEOF
32909 if ac_fn_cxx_try_compile "$LINENO"; then :
32910 glibcxx_cv_func__long_double_trig_use=yes
32911 else
32912 glibcxx_cv_func__long_double_trig_use=no
32914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32915 ac_ext=c
32916 ac_cpp='$CPP $CPPFLAGS'
32917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32924 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32925 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32926 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32927 do :
32928 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32929 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32930 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32931 cat >>confdefs.h <<_ACEOF
32932 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32933 _ACEOF
32936 done
32945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32946 $as_echo_n "checking for long double round functions... " >&6; }
32947 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
32948 $as_echo_n "(cached) " >&6
32949 else
32952 ac_ext=cpp
32953 ac_cpp='$CXXCPP $CPPFLAGS'
32954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32959 /* end confdefs.h. */
32960 #include <math.h>
32962 main ()
32964 ceill (0); floorl (0);
32966 return 0;
32968 _ACEOF
32969 if ac_fn_cxx_try_compile "$LINENO"; then :
32970 glibcxx_cv_func_long_double_round_use=yes
32971 else
32972 glibcxx_cv_func_long_double_round_use=no
32974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32975 ac_ext=c
32976 ac_cpp='$CPP $CPPFLAGS'
32977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32984 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32985 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32986 for ac_func in ceill floorl
32987 do :
32988 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32989 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32990 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32991 cat >>confdefs.h <<_ACEOF
32992 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32993 _ACEOF
32996 done
32998 else
32999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
33000 $as_echo_n "checking for _long double round functions... " >&6; }
33001 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
33002 $as_echo_n "(cached) " >&6
33003 else
33006 ac_ext=cpp
33007 ac_cpp='$CXXCPP $CPPFLAGS'
33008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33013 /* end confdefs.h. */
33014 #include <math.h>
33016 main ()
33018 _ceill (0); _floorl (0);
33020 return 0;
33022 _ACEOF
33023 if ac_fn_cxx_try_compile "$LINENO"; then :
33024 glibcxx_cv_func__long_double_round_use=yes
33025 else
33026 glibcxx_cv_func__long_double_round_use=no
33028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33029 ac_ext=c
33030 ac_cpp='$CPP $CPPFLAGS'
33031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
33038 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
33039 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
33040 for ac_func in _ceill _floorl
33041 do :
33042 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33043 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33044 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33045 cat >>confdefs.h <<_ACEOF
33046 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33047 _ACEOF
33050 done
33060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
33061 $as_echo_n "checking for isnanl declaration... " >&6; }
33062 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
33063 if ${glibcxx_cv_func_isnanl_use+:} false; then :
33064 $as_echo_n "(cached) " >&6
33065 else
33068 ac_ext=cpp
33069 ac_cpp='$CXXCPP $CPPFLAGS'
33070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33075 /* end confdefs.h. */
33076 #include <math.h>
33077 #ifdef HAVE_IEEEFP_H
33078 #include <ieeefp.h>
33079 #endif
33082 main ()
33084 isnanl(0);
33086 return 0;
33088 _ACEOF
33089 if ac_fn_cxx_try_compile "$LINENO"; then :
33090 glibcxx_cv_func_isnanl_use=yes
33091 else
33092 glibcxx_cv_func_isnanl_use=no
33094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33095 ac_ext=c
33096 ac_cpp='$CPP $CPPFLAGS'
33097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33106 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33108 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33109 for ac_func in isnanl
33110 do :
33111 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33112 if test "x$ac_cv_func_isnanl" = xyes; then :
33113 cat >>confdefs.h <<_ACEOF
33114 #define HAVE_ISNANL 1
33115 _ACEOF
33118 done
33120 else
33122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
33123 $as_echo_n "checking for _isnanl declaration... " >&6; }
33124 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33125 if ${glibcxx_cv_func__isnanl_use+:} false; then :
33126 $as_echo_n "(cached) " >&6
33127 else
33130 ac_ext=cpp
33131 ac_cpp='$CXXCPP $CPPFLAGS'
33132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33137 /* end confdefs.h. */
33138 #include <math.h>
33139 #ifdef HAVE_IEEEFP_H
33140 #include <ieeefp.h>
33141 #endif
33144 main ()
33146 _isnanl(0);
33148 return 0;
33150 _ACEOF
33151 if ac_fn_cxx_try_compile "$LINENO"; then :
33152 glibcxx_cv_func__isnanl_use=yes
33153 else
33154 glibcxx_cv_func__isnanl_use=no
33156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33157 ac_ext=c
33158 ac_cpp='$CPP $CPPFLAGS'
33159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33168 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33170 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33171 for ac_func in _isnanl
33172 do :
33173 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33174 if test "x$ac_cv_func__isnanl" = xyes; then :
33175 cat >>confdefs.h <<_ACEOF
33176 #define HAVE__ISNANL 1
33177 _ACEOF
33180 done
33189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33190 $as_echo_n "checking for isinfl declaration... " >&6; }
33191 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33192 if ${glibcxx_cv_func_isinfl_use+:} false; then :
33193 $as_echo_n "(cached) " >&6
33194 else
33197 ac_ext=cpp
33198 ac_cpp='$CXXCPP $CPPFLAGS'
33199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33204 /* end confdefs.h. */
33205 #include <math.h>
33206 #ifdef HAVE_IEEEFP_H
33207 #include <ieeefp.h>
33208 #endif
33211 main ()
33213 isinfl(0);
33215 return 0;
33217 _ACEOF
33218 if ac_fn_cxx_try_compile "$LINENO"; then :
33219 glibcxx_cv_func_isinfl_use=yes
33220 else
33221 glibcxx_cv_func_isinfl_use=no
33223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33224 ac_ext=c
33225 ac_cpp='$CPP $CPPFLAGS'
33226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33235 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33237 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33238 for ac_func in isinfl
33239 do :
33240 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33241 if test "x$ac_cv_func_isinfl" = xyes; then :
33242 cat >>confdefs.h <<_ACEOF
33243 #define HAVE_ISINFL 1
33244 _ACEOF
33247 done
33249 else
33251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33252 $as_echo_n "checking for _isinfl declaration... " >&6; }
33253 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33254 if ${glibcxx_cv_func__isinfl_use+:} false; then :
33255 $as_echo_n "(cached) " >&6
33256 else
33259 ac_ext=cpp
33260 ac_cpp='$CXXCPP $CPPFLAGS'
33261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33266 /* end confdefs.h. */
33267 #include <math.h>
33268 #ifdef HAVE_IEEEFP_H
33269 #include <ieeefp.h>
33270 #endif
33273 main ()
33275 _isinfl(0);
33277 return 0;
33279 _ACEOF
33280 if ac_fn_cxx_try_compile "$LINENO"; then :
33281 glibcxx_cv_func__isinfl_use=yes
33282 else
33283 glibcxx_cv_func__isinfl_use=no
33285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33286 ac_ext=c
33287 ac_cpp='$CPP $CPPFLAGS'
33288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33297 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33299 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33300 for ac_func in _isinfl
33301 do :
33302 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33303 if test "x$ac_cv_func__isinfl" = xyes; then :
33304 cat >>confdefs.h <<_ACEOF
33305 #define HAVE__ISINFL 1
33306 _ACEOF
33309 done
33318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33319 $as_echo_n "checking for atan2l declaration... " >&6; }
33320 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33321 if ${glibcxx_cv_func_atan2l_use+:} false; then :
33322 $as_echo_n "(cached) " >&6
33323 else
33326 ac_ext=cpp
33327 ac_cpp='$CXXCPP $CPPFLAGS'
33328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33333 /* end confdefs.h. */
33334 #include <math.h>
33336 main ()
33338 atan2l(0, 0);
33340 return 0;
33342 _ACEOF
33343 if ac_fn_cxx_try_compile "$LINENO"; then :
33344 glibcxx_cv_func_atan2l_use=yes
33345 else
33346 glibcxx_cv_func_atan2l_use=no
33348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33349 ac_ext=c
33350 ac_cpp='$CPP $CPPFLAGS'
33351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33360 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33362 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33363 for ac_func in atan2l
33364 do :
33365 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33366 if test "x$ac_cv_func_atan2l" = xyes; then :
33367 cat >>confdefs.h <<_ACEOF
33368 #define HAVE_ATAN2L 1
33369 _ACEOF
33372 done
33374 else
33376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33377 $as_echo_n "checking for _atan2l declaration... " >&6; }
33378 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33379 if ${glibcxx_cv_func__atan2l_use+:} false; then :
33380 $as_echo_n "(cached) " >&6
33381 else
33384 ac_ext=cpp
33385 ac_cpp='$CXXCPP $CPPFLAGS'
33386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33391 /* end confdefs.h. */
33392 #include <math.h>
33394 main ()
33396 _atan2l(0, 0);
33398 return 0;
33400 _ACEOF
33401 if ac_fn_cxx_try_compile "$LINENO"; then :
33402 glibcxx_cv_func__atan2l_use=yes
33403 else
33404 glibcxx_cv_func__atan2l_use=no
33406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33407 ac_ext=c
33408 ac_cpp='$CPP $CPPFLAGS'
33409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33418 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33420 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33421 for ac_func in _atan2l
33422 do :
33423 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33424 if test "x$ac_cv_func__atan2l" = xyes; then :
33425 cat >>confdefs.h <<_ACEOF
33426 #define HAVE__ATAN2L 1
33427 _ACEOF
33430 done
33439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33440 $as_echo_n "checking for expl declaration... " >&6; }
33441 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33442 if ${glibcxx_cv_func_expl_use+:} false; then :
33443 $as_echo_n "(cached) " >&6
33444 else
33447 ac_ext=cpp
33448 ac_cpp='$CXXCPP $CPPFLAGS'
33449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33454 /* end confdefs.h. */
33455 #include <math.h>
33456 #ifdef HAVE_IEEEFP_H
33457 #include <ieeefp.h>
33458 #endif
33461 main ()
33463 expl(0);
33465 return 0;
33467 _ACEOF
33468 if ac_fn_cxx_try_compile "$LINENO"; then :
33469 glibcxx_cv_func_expl_use=yes
33470 else
33471 glibcxx_cv_func_expl_use=no
33473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33474 ac_ext=c
33475 ac_cpp='$CPP $CPPFLAGS'
33476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33485 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33487 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33488 for ac_func in expl
33489 do :
33490 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33491 if test "x$ac_cv_func_expl" = xyes; then :
33492 cat >>confdefs.h <<_ACEOF
33493 #define HAVE_EXPL 1
33494 _ACEOF
33497 done
33499 else
33501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33502 $as_echo_n "checking for _expl declaration... " >&6; }
33503 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33504 if ${glibcxx_cv_func__expl_use+:} false; then :
33505 $as_echo_n "(cached) " >&6
33506 else
33509 ac_ext=cpp
33510 ac_cpp='$CXXCPP $CPPFLAGS'
33511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33516 /* end confdefs.h. */
33517 #include <math.h>
33518 #ifdef HAVE_IEEEFP_H
33519 #include <ieeefp.h>
33520 #endif
33523 main ()
33525 _expl(0);
33527 return 0;
33529 _ACEOF
33530 if ac_fn_cxx_try_compile "$LINENO"; then :
33531 glibcxx_cv_func__expl_use=yes
33532 else
33533 glibcxx_cv_func__expl_use=no
33535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33536 ac_ext=c
33537 ac_cpp='$CPP $CPPFLAGS'
33538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33547 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33549 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33550 for ac_func in _expl
33551 do :
33552 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33553 if test "x$ac_cv_func__expl" = xyes; then :
33554 cat >>confdefs.h <<_ACEOF
33555 #define HAVE__EXPL 1
33556 _ACEOF
33559 done
33568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33569 $as_echo_n "checking for fabsl declaration... " >&6; }
33570 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33571 if ${glibcxx_cv_func_fabsl_use+:} false; then :
33572 $as_echo_n "(cached) " >&6
33573 else
33576 ac_ext=cpp
33577 ac_cpp='$CXXCPP $CPPFLAGS'
33578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33583 /* end confdefs.h. */
33584 #include <math.h>
33585 #ifdef HAVE_IEEEFP_H
33586 #include <ieeefp.h>
33587 #endif
33590 main ()
33592 fabsl(0);
33594 return 0;
33596 _ACEOF
33597 if ac_fn_cxx_try_compile "$LINENO"; then :
33598 glibcxx_cv_func_fabsl_use=yes
33599 else
33600 glibcxx_cv_func_fabsl_use=no
33602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33603 ac_ext=c
33604 ac_cpp='$CPP $CPPFLAGS'
33605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33614 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33616 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33617 for ac_func in fabsl
33618 do :
33619 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33620 if test "x$ac_cv_func_fabsl" = xyes; then :
33621 cat >>confdefs.h <<_ACEOF
33622 #define HAVE_FABSL 1
33623 _ACEOF
33626 done
33628 else
33630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33631 $as_echo_n "checking for _fabsl declaration... " >&6; }
33632 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33633 if ${glibcxx_cv_func__fabsl_use+:} false; then :
33634 $as_echo_n "(cached) " >&6
33635 else
33638 ac_ext=cpp
33639 ac_cpp='$CXXCPP $CPPFLAGS'
33640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33645 /* end confdefs.h. */
33646 #include <math.h>
33647 #ifdef HAVE_IEEEFP_H
33648 #include <ieeefp.h>
33649 #endif
33652 main ()
33654 _fabsl(0);
33656 return 0;
33658 _ACEOF
33659 if ac_fn_cxx_try_compile "$LINENO"; then :
33660 glibcxx_cv_func__fabsl_use=yes
33661 else
33662 glibcxx_cv_func__fabsl_use=no
33664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33665 ac_ext=c
33666 ac_cpp='$CPP $CPPFLAGS'
33667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33676 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33678 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33679 for ac_func in _fabsl
33680 do :
33681 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33682 if test "x$ac_cv_func__fabsl" = xyes; then :
33683 cat >>confdefs.h <<_ACEOF
33684 #define HAVE__FABSL 1
33685 _ACEOF
33688 done
33697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33698 $as_echo_n "checking for fmodl declaration... " >&6; }
33699 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33700 if ${glibcxx_cv_func_fmodl_use+:} false; then :
33701 $as_echo_n "(cached) " >&6
33702 else
33705 ac_ext=cpp
33706 ac_cpp='$CXXCPP $CPPFLAGS'
33707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33712 /* end confdefs.h. */
33713 #include <math.h>
33715 main ()
33717 fmodl(0, 0);
33719 return 0;
33721 _ACEOF
33722 if ac_fn_cxx_try_compile "$LINENO"; then :
33723 glibcxx_cv_func_fmodl_use=yes
33724 else
33725 glibcxx_cv_func_fmodl_use=no
33727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33728 ac_ext=c
33729 ac_cpp='$CPP $CPPFLAGS'
33730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33739 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33741 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33742 for ac_func in fmodl
33743 do :
33744 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33745 if test "x$ac_cv_func_fmodl" = xyes; then :
33746 cat >>confdefs.h <<_ACEOF
33747 #define HAVE_FMODL 1
33748 _ACEOF
33751 done
33753 else
33755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33756 $as_echo_n "checking for _fmodl declaration... " >&6; }
33757 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33758 if ${glibcxx_cv_func__fmodl_use+:} false; then :
33759 $as_echo_n "(cached) " >&6
33760 else
33763 ac_ext=cpp
33764 ac_cpp='$CXXCPP $CPPFLAGS'
33765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33770 /* end confdefs.h. */
33771 #include <math.h>
33773 main ()
33775 _fmodl(0, 0);
33777 return 0;
33779 _ACEOF
33780 if ac_fn_cxx_try_compile "$LINENO"; then :
33781 glibcxx_cv_func__fmodl_use=yes
33782 else
33783 glibcxx_cv_func__fmodl_use=no
33785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33786 ac_ext=c
33787 ac_cpp='$CPP $CPPFLAGS'
33788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33797 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33799 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33800 for ac_func in _fmodl
33801 do :
33802 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33803 if test "x$ac_cv_func__fmodl" = xyes; then :
33804 cat >>confdefs.h <<_ACEOF
33805 #define HAVE__FMODL 1
33806 _ACEOF
33809 done
33818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33819 $as_echo_n "checking for frexpl declaration... " >&6; }
33820 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33821 if ${glibcxx_cv_func_frexpl_use+:} false; then :
33822 $as_echo_n "(cached) " >&6
33823 else
33826 ac_ext=cpp
33827 ac_cpp='$CXXCPP $CPPFLAGS'
33828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33833 /* end confdefs.h. */
33834 #include <math.h>
33836 main ()
33838 frexpl(0, 0);
33840 return 0;
33842 _ACEOF
33843 if ac_fn_cxx_try_compile "$LINENO"; then :
33844 glibcxx_cv_func_frexpl_use=yes
33845 else
33846 glibcxx_cv_func_frexpl_use=no
33848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33849 ac_ext=c
33850 ac_cpp='$CPP $CPPFLAGS'
33851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33860 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33862 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33863 for ac_func in frexpl
33864 do :
33865 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33866 if test "x$ac_cv_func_frexpl" = xyes; then :
33867 cat >>confdefs.h <<_ACEOF
33868 #define HAVE_FREXPL 1
33869 _ACEOF
33872 done
33874 else
33876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33877 $as_echo_n "checking for _frexpl declaration... " >&6; }
33878 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33879 if ${glibcxx_cv_func__frexpl_use+:} false; then :
33880 $as_echo_n "(cached) " >&6
33881 else
33884 ac_ext=cpp
33885 ac_cpp='$CXXCPP $CPPFLAGS'
33886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33891 /* end confdefs.h. */
33892 #include <math.h>
33894 main ()
33896 _frexpl(0, 0);
33898 return 0;
33900 _ACEOF
33901 if ac_fn_cxx_try_compile "$LINENO"; then :
33902 glibcxx_cv_func__frexpl_use=yes
33903 else
33904 glibcxx_cv_func__frexpl_use=no
33906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33907 ac_ext=c
33908 ac_cpp='$CPP $CPPFLAGS'
33909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33918 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33920 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33921 for ac_func in _frexpl
33922 do :
33923 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33924 if test "x$ac_cv_func__frexpl" = xyes; then :
33925 cat >>confdefs.h <<_ACEOF
33926 #define HAVE__FREXPL 1
33927 _ACEOF
33930 done
33939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33940 $as_echo_n "checking for hypotl declaration... " >&6; }
33941 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33942 if ${glibcxx_cv_func_hypotl_use+:} false; then :
33943 $as_echo_n "(cached) " >&6
33944 else
33947 ac_ext=cpp
33948 ac_cpp='$CXXCPP $CPPFLAGS'
33949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33954 /* end confdefs.h. */
33955 #include <math.h>
33957 main ()
33959 hypotl(0, 0);
33961 return 0;
33963 _ACEOF
33964 if ac_fn_cxx_try_compile "$LINENO"; then :
33965 glibcxx_cv_func_hypotl_use=yes
33966 else
33967 glibcxx_cv_func_hypotl_use=no
33969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33970 ac_ext=c
33971 ac_cpp='$CPP $CPPFLAGS'
33972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33981 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33983 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33984 for ac_func in hypotl
33985 do :
33986 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33987 if test "x$ac_cv_func_hypotl" = xyes; then :
33988 cat >>confdefs.h <<_ACEOF
33989 #define HAVE_HYPOTL 1
33990 _ACEOF
33993 done
33995 else
33997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33998 $as_echo_n "checking for _hypotl declaration... " >&6; }
33999 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
34000 if ${glibcxx_cv_func__hypotl_use+:} false; then :
34001 $as_echo_n "(cached) " >&6
34002 else
34005 ac_ext=cpp
34006 ac_cpp='$CXXCPP $CPPFLAGS'
34007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34012 /* end confdefs.h. */
34013 #include <math.h>
34015 main ()
34017 _hypotl(0, 0);
34019 return 0;
34021 _ACEOF
34022 if ac_fn_cxx_try_compile "$LINENO"; then :
34023 glibcxx_cv_func__hypotl_use=yes
34024 else
34025 glibcxx_cv_func__hypotl_use=no
34027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34028 ac_ext=c
34029 ac_cpp='$CPP $CPPFLAGS'
34030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
34039 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
34041 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
34042 for ac_func in _hypotl
34043 do :
34044 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
34045 if test "x$ac_cv_func__hypotl" = xyes; then :
34046 cat >>confdefs.h <<_ACEOF
34047 #define HAVE__HYPOTL 1
34048 _ACEOF
34051 done
34060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
34061 $as_echo_n "checking for ldexpl declaration... " >&6; }
34062 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
34063 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
34064 $as_echo_n "(cached) " >&6
34065 else
34068 ac_ext=cpp
34069 ac_cpp='$CXXCPP $CPPFLAGS'
34070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34075 /* end confdefs.h. */
34076 #include <math.h>
34078 main ()
34080 ldexpl(0, 0);
34082 return 0;
34084 _ACEOF
34085 if ac_fn_cxx_try_compile "$LINENO"; then :
34086 glibcxx_cv_func_ldexpl_use=yes
34087 else
34088 glibcxx_cv_func_ldexpl_use=no
34090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34091 ac_ext=c
34092 ac_cpp='$CPP $CPPFLAGS'
34093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34102 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34104 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34105 for ac_func in ldexpl
34106 do :
34107 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34108 if test "x$ac_cv_func_ldexpl" = xyes; then :
34109 cat >>confdefs.h <<_ACEOF
34110 #define HAVE_LDEXPL 1
34111 _ACEOF
34114 done
34116 else
34118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34119 $as_echo_n "checking for _ldexpl declaration... " >&6; }
34120 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34121 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
34122 $as_echo_n "(cached) " >&6
34123 else
34126 ac_ext=cpp
34127 ac_cpp='$CXXCPP $CPPFLAGS'
34128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34133 /* end confdefs.h. */
34134 #include <math.h>
34136 main ()
34138 _ldexpl(0, 0);
34140 return 0;
34142 _ACEOF
34143 if ac_fn_cxx_try_compile "$LINENO"; then :
34144 glibcxx_cv_func__ldexpl_use=yes
34145 else
34146 glibcxx_cv_func__ldexpl_use=no
34148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34149 ac_ext=c
34150 ac_cpp='$CPP $CPPFLAGS'
34151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34160 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34162 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34163 for ac_func in _ldexpl
34164 do :
34165 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34166 if test "x$ac_cv_func__ldexpl" = xyes; then :
34167 cat >>confdefs.h <<_ACEOF
34168 #define HAVE__LDEXPL 1
34169 _ACEOF
34172 done
34181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34182 $as_echo_n "checking for logl declaration... " >&6; }
34183 if test x${glibcxx_cv_func_logl_use+set} != xset; then
34184 if ${glibcxx_cv_func_logl_use+:} false; then :
34185 $as_echo_n "(cached) " >&6
34186 else
34189 ac_ext=cpp
34190 ac_cpp='$CXXCPP $CPPFLAGS'
34191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34196 /* end confdefs.h. */
34197 #include <math.h>
34198 #ifdef HAVE_IEEEFP_H
34199 #include <ieeefp.h>
34200 #endif
34203 main ()
34205 logl(0);
34207 return 0;
34209 _ACEOF
34210 if ac_fn_cxx_try_compile "$LINENO"; then :
34211 glibcxx_cv_func_logl_use=yes
34212 else
34213 glibcxx_cv_func_logl_use=no
34215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34216 ac_ext=c
34217 ac_cpp='$CPP $CPPFLAGS'
34218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34227 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34229 if test x$glibcxx_cv_func_logl_use = x"yes"; then
34230 for ac_func in logl
34231 do :
34232 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34233 if test "x$ac_cv_func_logl" = xyes; then :
34234 cat >>confdefs.h <<_ACEOF
34235 #define HAVE_LOGL 1
34236 _ACEOF
34239 done
34241 else
34243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34244 $as_echo_n "checking for _logl declaration... " >&6; }
34245 if test x${glibcxx_cv_func__logl_use+set} != xset; then
34246 if ${glibcxx_cv_func__logl_use+:} false; then :
34247 $as_echo_n "(cached) " >&6
34248 else
34251 ac_ext=cpp
34252 ac_cpp='$CXXCPP $CPPFLAGS'
34253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34258 /* end confdefs.h. */
34259 #include <math.h>
34260 #ifdef HAVE_IEEEFP_H
34261 #include <ieeefp.h>
34262 #endif
34265 main ()
34267 _logl(0);
34269 return 0;
34271 _ACEOF
34272 if ac_fn_cxx_try_compile "$LINENO"; then :
34273 glibcxx_cv_func__logl_use=yes
34274 else
34275 glibcxx_cv_func__logl_use=no
34277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34278 ac_ext=c
34279 ac_cpp='$CPP $CPPFLAGS'
34280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34289 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
34291 if test x$glibcxx_cv_func__logl_use = x"yes"; then
34292 for ac_func in _logl
34293 do :
34294 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34295 if test "x$ac_cv_func__logl" = xyes; then :
34296 cat >>confdefs.h <<_ACEOF
34297 #define HAVE__LOGL 1
34298 _ACEOF
34301 done
34310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34311 $as_echo_n "checking for log10l declaration... " >&6; }
34312 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34313 if ${glibcxx_cv_func_log10l_use+:} false; then :
34314 $as_echo_n "(cached) " >&6
34315 else
34318 ac_ext=cpp
34319 ac_cpp='$CXXCPP $CPPFLAGS'
34320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34325 /* end confdefs.h. */
34326 #include <math.h>
34327 #ifdef HAVE_IEEEFP_H
34328 #include <ieeefp.h>
34329 #endif
34332 main ()
34334 log10l(0);
34336 return 0;
34338 _ACEOF
34339 if ac_fn_cxx_try_compile "$LINENO"; then :
34340 glibcxx_cv_func_log10l_use=yes
34341 else
34342 glibcxx_cv_func_log10l_use=no
34344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34345 ac_ext=c
34346 ac_cpp='$CPP $CPPFLAGS'
34347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34356 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34358 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34359 for ac_func in log10l
34360 do :
34361 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34362 if test "x$ac_cv_func_log10l" = xyes; then :
34363 cat >>confdefs.h <<_ACEOF
34364 #define HAVE_LOG10L 1
34365 _ACEOF
34368 done
34370 else
34372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34373 $as_echo_n "checking for _log10l declaration... " >&6; }
34374 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34375 if ${glibcxx_cv_func__log10l_use+:} false; then :
34376 $as_echo_n "(cached) " >&6
34377 else
34380 ac_ext=cpp
34381 ac_cpp='$CXXCPP $CPPFLAGS'
34382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34387 /* end confdefs.h. */
34388 #include <math.h>
34389 #ifdef HAVE_IEEEFP_H
34390 #include <ieeefp.h>
34391 #endif
34394 main ()
34396 _log10l(0);
34398 return 0;
34400 _ACEOF
34401 if ac_fn_cxx_try_compile "$LINENO"; then :
34402 glibcxx_cv_func__log10l_use=yes
34403 else
34404 glibcxx_cv_func__log10l_use=no
34406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34407 ac_ext=c
34408 ac_cpp='$CPP $CPPFLAGS'
34409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34418 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34420 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34421 for ac_func in _log10l
34422 do :
34423 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34424 if test "x$ac_cv_func__log10l" = xyes; then :
34425 cat >>confdefs.h <<_ACEOF
34426 #define HAVE__LOG10L 1
34427 _ACEOF
34430 done
34439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34440 $as_echo_n "checking for modfl declaration... " >&6; }
34441 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34442 if ${glibcxx_cv_func_modfl_use+:} false; then :
34443 $as_echo_n "(cached) " >&6
34444 else
34447 ac_ext=cpp
34448 ac_cpp='$CXXCPP $CPPFLAGS'
34449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34454 /* end confdefs.h. */
34455 #include <math.h>
34457 main ()
34459 modfl(0, 0);
34461 return 0;
34463 _ACEOF
34464 if ac_fn_cxx_try_compile "$LINENO"; then :
34465 glibcxx_cv_func_modfl_use=yes
34466 else
34467 glibcxx_cv_func_modfl_use=no
34469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34470 ac_ext=c
34471 ac_cpp='$CPP $CPPFLAGS'
34472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34481 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34483 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34484 for ac_func in modfl
34485 do :
34486 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34487 if test "x$ac_cv_func_modfl" = xyes; then :
34488 cat >>confdefs.h <<_ACEOF
34489 #define HAVE_MODFL 1
34490 _ACEOF
34493 done
34495 else
34497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34498 $as_echo_n "checking for _modfl declaration... " >&6; }
34499 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34500 if ${glibcxx_cv_func__modfl_use+:} false; then :
34501 $as_echo_n "(cached) " >&6
34502 else
34505 ac_ext=cpp
34506 ac_cpp='$CXXCPP $CPPFLAGS'
34507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34512 /* end confdefs.h. */
34513 #include <math.h>
34515 main ()
34517 _modfl(0, 0);
34519 return 0;
34521 _ACEOF
34522 if ac_fn_cxx_try_compile "$LINENO"; then :
34523 glibcxx_cv_func__modfl_use=yes
34524 else
34525 glibcxx_cv_func__modfl_use=no
34527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34528 ac_ext=c
34529 ac_cpp='$CPP $CPPFLAGS'
34530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34539 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34541 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34542 for ac_func in _modfl
34543 do :
34544 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34545 if test "x$ac_cv_func__modfl" = xyes; then :
34546 cat >>confdefs.h <<_ACEOF
34547 #define HAVE__MODFL 1
34548 _ACEOF
34551 done
34560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34561 $as_echo_n "checking for powl declaration... " >&6; }
34562 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34563 if ${glibcxx_cv_func_powl_use+:} false; then :
34564 $as_echo_n "(cached) " >&6
34565 else
34568 ac_ext=cpp
34569 ac_cpp='$CXXCPP $CPPFLAGS'
34570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34575 /* end confdefs.h. */
34576 #include <math.h>
34578 main ()
34580 powl(0, 0);
34582 return 0;
34584 _ACEOF
34585 if ac_fn_cxx_try_compile "$LINENO"; then :
34586 glibcxx_cv_func_powl_use=yes
34587 else
34588 glibcxx_cv_func_powl_use=no
34590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34591 ac_ext=c
34592 ac_cpp='$CPP $CPPFLAGS'
34593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34602 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34604 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34605 for ac_func in powl
34606 do :
34607 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34608 if test "x$ac_cv_func_powl" = xyes; then :
34609 cat >>confdefs.h <<_ACEOF
34610 #define HAVE_POWL 1
34611 _ACEOF
34614 done
34616 else
34618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34619 $as_echo_n "checking for _powl declaration... " >&6; }
34620 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34621 if ${glibcxx_cv_func__powl_use+:} false; then :
34622 $as_echo_n "(cached) " >&6
34623 else
34626 ac_ext=cpp
34627 ac_cpp='$CXXCPP $CPPFLAGS'
34628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34633 /* end confdefs.h. */
34634 #include <math.h>
34636 main ()
34638 _powl(0, 0);
34640 return 0;
34642 _ACEOF
34643 if ac_fn_cxx_try_compile "$LINENO"; then :
34644 glibcxx_cv_func__powl_use=yes
34645 else
34646 glibcxx_cv_func__powl_use=no
34648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34649 ac_ext=c
34650 ac_cpp='$CPP $CPPFLAGS'
34651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34660 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34662 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34663 for ac_func in _powl
34664 do :
34665 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34666 if test "x$ac_cv_func__powl" = xyes; then :
34667 cat >>confdefs.h <<_ACEOF
34668 #define HAVE__POWL 1
34669 _ACEOF
34672 done
34681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34682 $as_echo_n "checking for sqrtl declaration... " >&6; }
34683 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34684 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
34685 $as_echo_n "(cached) " >&6
34686 else
34689 ac_ext=cpp
34690 ac_cpp='$CXXCPP $CPPFLAGS'
34691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34696 /* end confdefs.h. */
34697 #include <math.h>
34698 #ifdef HAVE_IEEEFP_H
34699 #include <ieeefp.h>
34700 #endif
34703 main ()
34705 sqrtl(0);
34707 return 0;
34709 _ACEOF
34710 if ac_fn_cxx_try_compile "$LINENO"; then :
34711 glibcxx_cv_func_sqrtl_use=yes
34712 else
34713 glibcxx_cv_func_sqrtl_use=no
34715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34716 ac_ext=c
34717 ac_cpp='$CPP $CPPFLAGS'
34718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34727 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34729 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34730 for ac_func in sqrtl
34731 do :
34732 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34733 if test "x$ac_cv_func_sqrtl" = xyes; then :
34734 cat >>confdefs.h <<_ACEOF
34735 #define HAVE_SQRTL 1
34736 _ACEOF
34739 done
34741 else
34743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34744 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34745 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34746 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
34747 $as_echo_n "(cached) " >&6
34748 else
34751 ac_ext=cpp
34752 ac_cpp='$CXXCPP $CPPFLAGS'
34753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34758 /* end confdefs.h. */
34759 #include <math.h>
34760 #ifdef HAVE_IEEEFP_H
34761 #include <ieeefp.h>
34762 #endif
34765 main ()
34767 _sqrtl(0);
34769 return 0;
34771 _ACEOF
34772 if ac_fn_cxx_try_compile "$LINENO"; then :
34773 glibcxx_cv_func__sqrtl_use=yes
34774 else
34775 glibcxx_cv_func__sqrtl_use=no
34777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34778 ac_ext=c
34779 ac_cpp='$CPP $CPPFLAGS'
34780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34789 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34791 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34792 for ac_func in _sqrtl
34793 do :
34794 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34795 if test "x$ac_cv_func__sqrtl" = xyes; then :
34796 cat >>confdefs.h <<_ACEOF
34797 #define HAVE__SQRTL 1
34798 _ACEOF
34801 done
34810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34811 $as_echo_n "checking for sincosl declaration... " >&6; }
34812 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34813 if ${glibcxx_cv_func_sincosl_use+:} false; then :
34814 $as_echo_n "(cached) " >&6
34815 else
34818 ac_ext=cpp
34819 ac_cpp='$CXXCPP $CPPFLAGS'
34820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34825 /* end confdefs.h. */
34826 #include <math.h>
34828 main ()
34830 sincosl(0, 0, 0);
34832 return 0;
34834 _ACEOF
34835 if ac_fn_cxx_try_compile "$LINENO"; then :
34836 glibcxx_cv_func_sincosl_use=yes
34837 else
34838 glibcxx_cv_func_sincosl_use=no
34840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34841 ac_ext=c
34842 ac_cpp='$CPP $CPPFLAGS'
34843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34852 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34854 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34855 for ac_func in sincosl
34856 do :
34857 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34858 if test "x$ac_cv_func_sincosl" = xyes; then :
34859 cat >>confdefs.h <<_ACEOF
34860 #define HAVE_SINCOSL 1
34861 _ACEOF
34864 done
34866 else
34868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34869 $as_echo_n "checking for _sincosl declaration... " >&6; }
34870 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34871 if ${glibcxx_cv_func__sincosl_use+:} false; then :
34872 $as_echo_n "(cached) " >&6
34873 else
34876 ac_ext=cpp
34877 ac_cpp='$CXXCPP $CPPFLAGS'
34878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34883 /* end confdefs.h. */
34884 #include <math.h>
34886 main ()
34888 _sincosl(0, 0, 0);
34890 return 0;
34892 _ACEOF
34893 if ac_fn_cxx_try_compile "$LINENO"; then :
34894 glibcxx_cv_func__sincosl_use=yes
34895 else
34896 glibcxx_cv_func__sincosl_use=no
34898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34899 ac_ext=c
34900 ac_cpp='$CPP $CPPFLAGS'
34901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34910 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34912 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34913 for ac_func in _sincosl
34914 do :
34915 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34916 if test "x$ac_cv_func__sincosl" = xyes; then :
34917 cat >>confdefs.h <<_ACEOF
34918 #define HAVE__SINCOSL 1
34919 _ACEOF
34922 done
34931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34932 $as_echo_n "checking for finitel declaration... " >&6; }
34933 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34934 if ${glibcxx_cv_func_finitel_use+:} false; then :
34935 $as_echo_n "(cached) " >&6
34936 else
34939 ac_ext=cpp
34940 ac_cpp='$CXXCPP $CPPFLAGS'
34941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34946 /* end confdefs.h. */
34947 #include <math.h>
34948 #ifdef HAVE_IEEEFP_H
34949 #include <ieeefp.h>
34950 #endif
34953 main ()
34955 finitel(0);
34957 return 0;
34959 _ACEOF
34960 if ac_fn_cxx_try_compile "$LINENO"; then :
34961 glibcxx_cv_func_finitel_use=yes
34962 else
34963 glibcxx_cv_func_finitel_use=no
34965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34966 ac_ext=c
34967 ac_cpp='$CPP $CPPFLAGS'
34968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34977 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34979 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34980 for ac_func in finitel
34981 do :
34982 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34983 if test "x$ac_cv_func_finitel" = xyes; then :
34984 cat >>confdefs.h <<_ACEOF
34985 #define HAVE_FINITEL 1
34986 _ACEOF
34989 done
34991 else
34993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34994 $as_echo_n "checking for _finitel declaration... " >&6; }
34995 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34996 if ${glibcxx_cv_func__finitel_use+:} false; then :
34997 $as_echo_n "(cached) " >&6
34998 else
35001 ac_ext=cpp
35002 ac_cpp='$CXXCPP $CPPFLAGS'
35003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35008 /* end confdefs.h. */
35009 #include <math.h>
35010 #ifdef HAVE_IEEEFP_H
35011 #include <ieeefp.h>
35012 #endif
35015 main ()
35017 _finitel(0);
35019 return 0;
35021 _ACEOF
35022 if ac_fn_cxx_try_compile "$LINENO"; then :
35023 glibcxx_cv_func__finitel_use=yes
35024 else
35025 glibcxx_cv_func__finitel_use=no
35027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35028 ac_ext=c
35029 ac_cpp='$CPP $CPPFLAGS'
35030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
35039 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
35041 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35042 for ac_func in _finitel
35043 do :
35044 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
35045 if test "x$ac_cv_func__finitel" = xyes; then :
35046 cat >>confdefs.h <<_ACEOF
35047 #define HAVE__FINITEL 1
35048 _ACEOF
35051 done
35059 LIBS="$ac_save_LIBS"
35060 CXXFLAGS="$ac_save_CXXFLAGS"
35063 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35064 ac_save_CXXFLAGS="$CXXFLAGS"
35065 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
35069 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
35070 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
35071 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
35072 $as_echo_n "(cached) " >&6
35073 else
35076 ac_ext=cpp
35077 ac_cpp='$CXXCPP $CPPFLAGS'
35078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35083 /* end confdefs.h. */
35084 #include <stdlib.h>
35086 main ()
35088 at_quick_exit(0);
35090 return 0;
35092 _ACEOF
35093 if ac_fn_cxx_try_compile "$LINENO"; then :
35094 glibcxx_cv_func_at_quick_exit_use=yes
35095 else
35096 glibcxx_cv_func_at_quick_exit_use=no
35098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35099 ac_ext=c
35100 ac_cpp='$CPP $CPPFLAGS'
35101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35110 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35111 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35112 for ac_func in at_quick_exit
35113 do :
35114 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35115 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
35116 cat >>confdefs.h <<_ACEOF
35117 #define HAVE_AT_QUICK_EXIT 1
35118 _ACEOF
35121 done
35126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35127 $as_echo_n "checking for quick_exit declaration... " >&6; }
35128 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35129 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
35130 $as_echo_n "(cached) " >&6
35131 else
35134 ac_ext=cpp
35135 ac_cpp='$CXXCPP $CPPFLAGS'
35136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35141 /* end confdefs.h. */
35142 #include <stdlib.h>
35144 main ()
35146 quick_exit(0);
35148 return 0;
35150 _ACEOF
35151 if ac_fn_cxx_try_compile "$LINENO"; then :
35152 glibcxx_cv_func_quick_exit_use=yes
35153 else
35154 glibcxx_cv_func_quick_exit_use=no
35156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35157 ac_ext=c
35158 ac_cpp='$CPP $CPPFLAGS'
35159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35168 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35169 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35170 for ac_func in quick_exit
35171 do :
35172 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35173 if test "x$ac_cv_func_quick_exit" = xyes; then :
35174 cat >>confdefs.h <<_ACEOF
35175 #define HAVE_QUICK_EXIT 1
35176 _ACEOF
35179 done
35184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35185 $as_echo_n "checking for strtold declaration... " >&6; }
35186 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35187 if ${glibcxx_cv_func_strtold_use+:} false; then :
35188 $as_echo_n "(cached) " >&6
35189 else
35192 ac_ext=cpp
35193 ac_cpp='$CXXCPP $CPPFLAGS'
35194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35199 /* end confdefs.h. */
35200 #include <stdlib.h>
35202 main ()
35204 strtold(0, 0);
35206 return 0;
35208 _ACEOF
35209 if ac_fn_cxx_try_compile "$LINENO"; then :
35210 glibcxx_cv_func_strtold_use=yes
35211 else
35212 glibcxx_cv_func_strtold_use=no
35214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35215 ac_ext=c
35216 ac_cpp='$CPP $CPPFLAGS'
35217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35226 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35227 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35228 for ac_func in strtold
35229 do :
35230 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35231 if test "x$ac_cv_func_strtold" = xyes; then :
35232 cat >>confdefs.h <<_ACEOF
35233 #define HAVE_STRTOLD 1
35234 _ACEOF
35237 done
35244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35245 $as_echo_n "checking for strtof declaration... " >&6; }
35246 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35247 if ${glibcxx_cv_func_strtof_use+:} false; then :
35248 $as_echo_n "(cached) " >&6
35249 else
35252 ac_ext=cpp
35253 ac_cpp='$CXXCPP $CPPFLAGS'
35254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35259 /* end confdefs.h. */
35260 #include <stdlib.h>
35262 main ()
35264 strtof(0, 0);
35266 return 0;
35268 _ACEOF
35269 if ac_fn_cxx_try_compile "$LINENO"; then :
35270 glibcxx_cv_func_strtof_use=yes
35271 else
35272 glibcxx_cv_func_strtof_use=no
35274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35275 ac_ext=c
35276 ac_cpp='$CPP $CPPFLAGS'
35277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35286 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35287 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35288 for ac_func in strtof
35289 do :
35290 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35291 if test "x$ac_cv_func_strtof" = xyes; then :
35292 cat >>confdefs.h <<_ACEOF
35293 #define HAVE_STRTOF 1
35294 _ACEOF
35297 done
35304 CXXFLAGS="$ac_save_CXXFLAGS"
35307 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35309 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35311 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35313 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35316 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35318 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35320 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35324 spu-*-elf*)
35326 # All these tests are for C++; save the language and the compiler flags.
35327 # The CXXFLAGS thing is suspicious, but based on similar bits previously
35328 # found in GLIBCXX_CONFIGURE.
35330 ac_ext=cpp
35331 ac_cpp='$CXXCPP $CPPFLAGS'
35332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35336 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35337 ac_save_CXXFLAGS="$CXXFLAGS"
35339 # Check for -ffunction-sections -fdata-sections
35340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
35341 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
35342 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
35343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35344 /* end confdefs.h. */
35345 int foo; void bar() { };
35347 main ()
35351 return 0;
35353 _ACEOF
35354 if ac_fn_cxx_try_compile "$LINENO"; then :
35355 ac_fdsections=yes
35356 else
35357 ac_fdsections=no
35359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35360 if test "$ac_test_CXXFLAGS" = set; then
35361 CXXFLAGS="$ac_save_CXXFLAGS"
35362 else
35363 # this is the suspicious part
35364 CXXFLAGS=''
35366 if test x"$ac_fdsections" = x"yes"; then
35367 SECTION_FLAGS='-ffunction-sections -fdata-sections'
35369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
35370 $as_echo "$ac_fdsections" >&6; }
35372 ac_ext=c
35373 ac_cpp='$CPP $CPPFLAGS'
35374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35381 # If we're not using GNU ld, then there's no point in even trying these
35382 # tests. Check for that first. We should have already tested for gld
35383 # by now (in libtool), but require it now just to be safe...
35384 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35385 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35389 # The name set by libtool depends on the version of libtool. Shame on us
35390 # for depending on an impl detail, but c'est la vie. Older versions used
35391 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35392 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35393 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35394 # set (hence we're using an older libtool), then set it.
35395 if test x${with_gnu_ld+set} != xset; then
35396 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35397 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35398 with_gnu_ld=no
35399 else
35400 with_gnu_ld=$ac_cv_prog_gnu_ld
35404 # Start by getting the version number. I think the libtool test already
35405 # does some of this, but throws away the result.
35406 glibcxx_ld_is_gold=no
35407 if test x"$with_gnu_ld" = x"yes"; then
35408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35409 $as_echo_n "checking for ld version... " >&6; }
35411 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35412 glibcxx_ld_is_gold=yes
35414 ldver=`$LD --version 2>/dev/null |
35415 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'`
35417 glibcxx_gnu_ld_version=`echo $ldver | \
35418 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35420 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35423 # Set --gc-sections.
35424 glibcxx_have_gc_sections=no
35425 if test "$glibcxx_ld_is_gold" = "yes"; then
35426 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35427 glibcxx_have_gc_sections=yes
35429 else
35430 glibcxx_gcsections_min_ld=21602
35431 if test x"$with_gnu_ld" = x"yes" &&
35432 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35433 glibcxx_have_gc_sections=yes
35436 if test "$glibcxx_have_gc_sections" = "yes"; then
35437 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35438 # NB: This flag only works reliably after 2.16.1. Configure tests
35439 # for this are difficult, so hard wire a value that should work.
35441 ac_test_CFLAGS="${CFLAGS+set}"
35442 ac_save_CFLAGS="$CFLAGS"
35443 CFLAGS='-Wl,--gc-sections'
35445 # Check for -Wl,--gc-sections
35446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35447 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35448 if test x$gcc_no_link = xyes; then
35449 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35452 /* end confdefs.h. */
35453 int one(void) { return 1; }
35454 int two(void) { return 2; }
35457 main ()
35459 two();
35461 return 0;
35463 _ACEOF
35464 if ac_fn_c_try_link "$LINENO"; then :
35465 ac_gcsections=yes
35466 else
35467 ac_gcsections=no
35469 rm -f core conftest.err conftest.$ac_objext \
35470 conftest$ac_exeext conftest.$ac_ext
35471 if test "$ac_gcsections" = "yes"; then
35472 rm -f conftest.c
35473 touch conftest.c
35474 if $CC -c conftest.c; then
35475 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35476 grep "Warning: gc-sections option ignored" > /dev/null; then
35477 ac_gcsections=no
35480 rm -f conftest.c conftest.o conftest
35482 if test "$ac_gcsections" = "yes"; then
35483 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35486 $as_echo "$ac_gcsections" >&6; }
35488 if test "$ac_test_CFLAGS" = set; then
35489 CFLAGS="$ac_save_CFLAGS"
35490 else
35491 # this is the suspicious part
35492 CFLAGS=''
35496 # Set -z,relro.
35497 # Note this is only for shared objects.
35498 ac_ld_relro=no
35499 if test x"$with_gnu_ld" = x"yes"; then
35500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35501 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35502 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35503 if test -n "$cxx_z_relo"; then
35504 OPT_LDFLAGS="-Wl,-z,relro"
35505 ac_ld_relro=yes
35507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35508 $as_echo "$ac_ld_relro" >&6; }
35511 # Set linker optimization flags.
35512 if test x"$with_gnu_ld" = x"yes"; then
35513 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35520 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35521 ac_save_CXXFLAGS="$CXXFLAGS"
35522 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35525 $as_echo_n "checking for sin in -lm... " >&6; }
35526 if ${ac_cv_lib_m_sin+:} false; then :
35527 $as_echo_n "(cached) " >&6
35528 else
35529 ac_check_lib_save_LIBS=$LIBS
35530 LIBS="-lm $LIBS"
35531 if test x$gcc_no_link = xyes; then
35532 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35535 /* end confdefs.h. */
35537 /* Override any GCC internal prototype to avoid an error.
35538 Use char because int might match the return type of a GCC
35539 builtin and then its argument prototype would still apply. */
35540 #ifdef __cplusplus
35541 extern "C"
35542 #endif
35543 char sin ();
35545 main ()
35547 return sin ();
35549 return 0;
35551 _ACEOF
35552 if ac_fn_c_try_link "$LINENO"; then :
35553 ac_cv_lib_m_sin=yes
35554 else
35555 ac_cv_lib_m_sin=no
35557 rm -f core conftest.err conftest.$ac_objext \
35558 conftest$ac_exeext conftest.$ac_ext
35559 LIBS=$ac_check_lib_save_LIBS
35561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35562 $as_echo "$ac_cv_lib_m_sin" >&6; }
35563 if test "x$ac_cv_lib_m_sin" = xyes; then :
35564 libm="-lm"
35567 ac_save_LIBS="$LIBS"
35568 LIBS="$LIBS $libm"
35572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35573 $as_echo_n "checking for isinf declaration... " >&6; }
35574 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35575 if ${glibcxx_cv_func_isinf_use+:} false; then :
35576 $as_echo_n "(cached) " >&6
35577 else
35580 ac_ext=cpp
35581 ac_cpp='$CXXCPP $CPPFLAGS'
35582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35587 /* end confdefs.h. */
35588 #include <math.h>
35589 #ifdef HAVE_IEEEFP_H
35590 #include <ieeefp.h>
35591 #endif
35594 main ()
35596 isinf(0);
35598 return 0;
35600 _ACEOF
35601 if ac_fn_cxx_try_compile "$LINENO"; then :
35602 glibcxx_cv_func_isinf_use=yes
35603 else
35604 glibcxx_cv_func_isinf_use=no
35606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35607 ac_ext=c
35608 ac_cpp='$CPP $CPPFLAGS'
35609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35618 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35620 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35621 for ac_func in isinf
35622 do :
35623 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35624 if test "x$ac_cv_func_isinf" = xyes; then :
35625 cat >>confdefs.h <<_ACEOF
35626 #define HAVE_ISINF 1
35627 _ACEOF
35630 done
35632 else
35634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35635 $as_echo_n "checking for _isinf declaration... " >&6; }
35636 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35637 if ${glibcxx_cv_func__isinf_use+:} false; then :
35638 $as_echo_n "(cached) " >&6
35639 else
35642 ac_ext=cpp
35643 ac_cpp='$CXXCPP $CPPFLAGS'
35644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35649 /* end confdefs.h. */
35650 #include <math.h>
35651 #ifdef HAVE_IEEEFP_H
35652 #include <ieeefp.h>
35653 #endif
35656 main ()
35658 _isinf(0);
35660 return 0;
35662 _ACEOF
35663 if ac_fn_cxx_try_compile "$LINENO"; then :
35664 glibcxx_cv_func__isinf_use=yes
35665 else
35666 glibcxx_cv_func__isinf_use=no
35668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35669 ac_ext=c
35670 ac_cpp='$CPP $CPPFLAGS'
35671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35680 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35682 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35683 for ac_func in _isinf
35684 do :
35685 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35686 if test "x$ac_cv_func__isinf" = xyes; then :
35687 cat >>confdefs.h <<_ACEOF
35688 #define HAVE__ISINF 1
35689 _ACEOF
35692 done
35701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35702 $as_echo_n "checking for isnan declaration... " >&6; }
35703 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35704 if ${glibcxx_cv_func_isnan_use+:} false; then :
35705 $as_echo_n "(cached) " >&6
35706 else
35709 ac_ext=cpp
35710 ac_cpp='$CXXCPP $CPPFLAGS'
35711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35716 /* end confdefs.h. */
35717 #include <math.h>
35718 #ifdef HAVE_IEEEFP_H
35719 #include <ieeefp.h>
35720 #endif
35723 main ()
35725 isnan(0);
35727 return 0;
35729 _ACEOF
35730 if ac_fn_cxx_try_compile "$LINENO"; then :
35731 glibcxx_cv_func_isnan_use=yes
35732 else
35733 glibcxx_cv_func_isnan_use=no
35735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35736 ac_ext=c
35737 ac_cpp='$CPP $CPPFLAGS'
35738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35747 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35749 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35750 for ac_func in isnan
35751 do :
35752 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35753 if test "x$ac_cv_func_isnan" = xyes; then :
35754 cat >>confdefs.h <<_ACEOF
35755 #define HAVE_ISNAN 1
35756 _ACEOF
35759 done
35761 else
35763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35764 $as_echo_n "checking for _isnan declaration... " >&6; }
35765 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35766 if ${glibcxx_cv_func__isnan_use+:} false; then :
35767 $as_echo_n "(cached) " >&6
35768 else
35771 ac_ext=cpp
35772 ac_cpp='$CXXCPP $CPPFLAGS'
35773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35778 /* end confdefs.h. */
35779 #include <math.h>
35780 #ifdef HAVE_IEEEFP_H
35781 #include <ieeefp.h>
35782 #endif
35785 main ()
35787 _isnan(0);
35789 return 0;
35791 _ACEOF
35792 if ac_fn_cxx_try_compile "$LINENO"; then :
35793 glibcxx_cv_func__isnan_use=yes
35794 else
35795 glibcxx_cv_func__isnan_use=no
35797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35798 ac_ext=c
35799 ac_cpp='$CPP $CPPFLAGS'
35800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35809 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35811 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35812 for ac_func in _isnan
35813 do :
35814 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35815 if test "x$ac_cv_func__isnan" = xyes; then :
35816 cat >>confdefs.h <<_ACEOF
35817 #define HAVE__ISNAN 1
35818 _ACEOF
35821 done
35830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35831 $as_echo_n "checking for finite declaration... " >&6; }
35832 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35833 if ${glibcxx_cv_func_finite_use+:} false; then :
35834 $as_echo_n "(cached) " >&6
35835 else
35838 ac_ext=cpp
35839 ac_cpp='$CXXCPP $CPPFLAGS'
35840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35845 /* end confdefs.h. */
35846 #include <math.h>
35847 #ifdef HAVE_IEEEFP_H
35848 #include <ieeefp.h>
35849 #endif
35852 main ()
35854 finite(0);
35856 return 0;
35858 _ACEOF
35859 if ac_fn_cxx_try_compile "$LINENO"; then :
35860 glibcxx_cv_func_finite_use=yes
35861 else
35862 glibcxx_cv_func_finite_use=no
35864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35865 ac_ext=c
35866 ac_cpp='$CPP $CPPFLAGS'
35867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35876 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35878 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35879 for ac_func in finite
35880 do :
35881 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35882 if test "x$ac_cv_func_finite" = xyes; then :
35883 cat >>confdefs.h <<_ACEOF
35884 #define HAVE_FINITE 1
35885 _ACEOF
35888 done
35890 else
35892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35893 $as_echo_n "checking for _finite declaration... " >&6; }
35894 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35895 if ${glibcxx_cv_func__finite_use+:} false; then :
35896 $as_echo_n "(cached) " >&6
35897 else
35900 ac_ext=cpp
35901 ac_cpp='$CXXCPP $CPPFLAGS'
35902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35907 /* end confdefs.h. */
35908 #include <math.h>
35909 #ifdef HAVE_IEEEFP_H
35910 #include <ieeefp.h>
35911 #endif
35914 main ()
35916 _finite(0);
35918 return 0;
35920 _ACEOF
35921 if ac_fn_cxx_try_compile "$LINENO"; then :
35922 glibcxx_cv_func__finite_use=yes
35923 else
35924 glibcxx_cv_func__finite_use=no
35926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35927 ac_ext=c
35928 ac_cpp='$CPP $CPPFLAGS'
35929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35938 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35940 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35941 for ac_func in _finite
35942 do :
35943 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35944 if test "x$ac_cv_func__finite" = xyes; then :
35945 cat >>confdefs.h <<_ACEOF
35946 #define HAVE__FINITE 1
35947 _ACEOF
35950 done
35959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35960 $as_echo_n "checking for sincos declaration... " >&6; }
35961 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35962 if ${glibcxx_cv_func_sincos_use+:} false; then :
35963 $as_echo_n "(cached) " >&6
35964 else
35967 ac_ext=cpp
35968 ac_cpp='$CXXCPP $CPPFLAGS'
35969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35974 /* end confdefs.h. */
35975 #include <math.h>
35977 main ()
35979 sincos(0, 0, 0);
35981 return 0;
35983 _ACEOF
35984 if ac_fn_cxx_try_compile "$LINENO"; then :
35985 glibcxx_cv_func_sincos_use=yes
35986 else
35987 glibcxx_cv_func_sincos_use=no
35989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35990 ac_ext=c
35991 ac_cpp='$CPP $CPPFLAGS'
35992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
36001 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
36003 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
36004 for ac_func in sincos
36005 do :
36006 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
36007 if test "x$ac_cv_func_sincos" = xyes; then :
36008 cat >>confdefs.h <<_ACEOF
36009 #define HAVE_SINCOS 1
36010 _ACEOF
36013 done
36015 else
36017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
36018 $as_echo_n "checking for _sincos declaration... " >&6; }
36019 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
36020 if ${glibcxx_cv_func__sincos_use+:} false; then :
36021 $as_echo_n "(cached) " >&6
36022 else
36025 ac_ext=cpp
36026 ac_cpp='$CXXCPP $CPPFLAGS'
36027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36032 /* end confdefs.h. */
36033 #include <math.h>
36035 main ()
36037 _sincos(0, 0, 0);
36039 return 0;
36041 _ACEOF
36042 if ac_fn_cxx_try_compile "$LINENO"; then :
36043 glibcxx_cv_func__sincos_use=yes
36044 else
36045 glibcxx_cv_func__sincos_use=no
36047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36048 ac_ext=c
36049 ac_cpp='$CPP $CPPFLAGS'
36050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
36059 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
36061 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
36062 for ac_func in _sincos
36063 do :
36064 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
36065 if test "x$ac_cv_func__sincos" = xyes; then :
36066 cat >>confdefs.h <<_ACEOF
36067 #define HAVE__SINCOS 1
36068 _ACEOF
36071 done
36080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
36081 $as_echo_n "checking for fpclass declaration... " >&6; }
36082 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
36083 if ${glibcxx_cv_func_fpclass_use+:} false; then :
36084 $as_echo_n "(cached) " >&6
36085 else
36088 ac_ext=cpp
36089 ac_cpp='$CXXCPP $CPPFLAGS'
36090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36095 /* end confdefs.h. */
36096 #include <math.h>
36097 #ifdef HAVE_IEEEFP_H
36098 #include <ieeefp.h>
36099 #endif
36102 main ()
36104 fpclass(0);
36106 return 0;
36108 _ACEOF
36109 if ac_fn_cxx_try_compile "$LINENO"; then :
36110 glibcxx_cv_func_fpclass_use=yes
36111 else
36112 glibcxx_cv_func_fpclass_use=no
36114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36115 ac_ext=c
36116 ac_cpp='$CPP $CPPFLAGS'
36117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
36126 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
36128 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
36129 for ac_func in fpclass
36130 do :
36131 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
36132 if test "x$ac_cv_func_fpclass" = xyes; then :
36133 cat >>confdefs.h <<_ACEOF
36134 #define HAVE_FPCLASS 1
36135 _ACEOF
36138 done
36140 else
36142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36143 $as_echo_n "checking for _fpclass declaration... " >&6; }
36144 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36145 if ${glibcxx_cv_func__fpclass_use+:} false; then :
36146 $as_echo_n "(cached) " >&6
36147 else
36150 ac_ext=cpp
36151 ac_cpp='$CXXCPP $CPPFLAGS'
36152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36157 /* end confdefs.h. */
36158 #include <math.h>
36159 #ifdef HAVE_IEEEFP_H
36160 #include <ieeefp.h>
36161 #endif
36164 main ()
36166 _fpclass(0);
36168 return 0;
36170 _ACEOF
36171 if ac_fn_cxx_try_compile "$LINENO"; then :
36172 glibcxx_cv_func__fpclass_use=yes
36173 else
36174 glibcxx_cv_func__fpclass_use=no
36176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36177 ac_ext=c
36178 ac_cpp='$CPP $CPPFLAGS'
36179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36188 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36190 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36191 for ac_func in _fpclass
36192 do :
36193 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36194 if test "x$ac_cv_func__fpclass" = xyes; then :
36195 cat >>confdefs.h <<_ACEOF
36196 #define HAVE__FPCLASS 1
36197 _ACEOF
36200 done
36209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36210 $as_echo_n "checking for qfpclass declaration... " >&6; }
36211 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36212 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36213 $as_echo_n "(cached) " >&6
36214 else
36217 ac_ext=cpp
36218 ac_cpp='$CXXCPP $CPPFLAGS'
36219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36224 /* end confdefs.h. */
36225 #include <math.h>
36226 #ifdef HAVE_IEEEFP_H
36227 #include <ieeefp.h>
36228 #endif
36231 main ()
36233 qfpclass(0);
36235 return 0;
36237 _ACEOF
36238 if ac_fn_cxx_try_compile "$LINENO"; then :
36239 glibcxx_cv_func_qfpclass_use=yes
36240 else
36241 glibcxx_cv_func_qfpclass_use=no
36243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36244 ac_ext=c
36245 ac_cpp='$CPP $CPPFLAGS'
36246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36255 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36257 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36258 for ac_func in qfpclass
36259 do :
36260 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36261 if test "x$ac_cv_func_qfpclass" = xyes; then :
36262 cat >>confdefs.h <<_ACEOF
36263 #define HAVE_QFPCLASS 1
36264 _ACEOF
36267 done
36269 else
36271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36272 $as_echo_n "checking for _qfpclass declaration... " >&6; }
36273 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36274 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36275 $as_echo_n "(cached) " >&6
36276 else
36279 ac_ext=cpp
36280 ac_cpp='$CXXCPP $CPPFLAGS'
36281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36286 /* end confdefs.h. */
36287 #include <math.h>
36288 #ifdef HAVE_IEEEFP_H
36289 #include <ieeefp.h>
36290 #endif
36293 main ()
36295 _qfpclass(0);
36297 return 0;
36299 _ACEOF
36300 if ac_fn_cxx_try_compile "$LINENO"; then :
36301 glibcxx_cv_func__qfpclass_use=yes
36302 else
36303 glibcxx_cv_func__qfpclass_use=no
36305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36306 ac_ext=c
36307 ac_cpp='$CPP $CPPFLAGS'
36308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36317 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36319 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36320 for ac_func in _qfpclass
36321 do :
36322 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36323 if test "x$ac_cv_func__qfpclass" = xyes; then :
36324 cat >>confdefs.h <<_ACEOF
36325 #define HAVE__QFPCLASS 1
36326 _ACEOF
36329 done
36338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36339 $as_echo_n "checking for hypot declaration... " >&6; }
36340 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36341 if ${glibcxx_cv_func_hypot_use+:} false; then :
36342 $as_echo_n "(cached) " >&6
36343 else
36346 ac_ext=cpp
36347 ac_cpp='$CXXCPP $CPPFLAGS'
36348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36353 /* end confdefs.h. */
36354 #include <math.h>
36356 main ()
36358 hypot(0, 0);
36360 return 0;
36362 _ACEOF
36363 if ac_fn_cxx_try_compile "$LINENO"; then :
36364 glibcxx_cv_func_hypot_use=yes
36365 else
36366 glibcxx_cv_func_hypot_use=no
36368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36369 ac_ext=c
36370 ac_cpp='$CPP $CPPFLAGS'
36371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36380 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36382 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36383 for ac_func in hypot
36384 do :
36385 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36386 if test "x$ac_cv_func_hypot" = xyes; then :
36387 cat >>confdefs.h <<_ACEOF
36388 #define HAVE_HYPOT 1
36389 _ACEOF
36392 done
36394 else
36396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36397 $as_echo_n "checking for _hypot declaration... " >&6; }
36398 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36399 if ${glibcxx_cv_func__hypot_use+:} false; then :
36400 $as_echo_n "(cached) " >&6
36401 else
36404 ac_ext=cpp
36405 ac_cpp='$CXXCPP $CPPFLAGS'
36406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36411 /* end confdefs.h. */
36412 #include <math.h>
36414 main ()
36416 _hypot(0, 0);
36418 return 0;
36420 _ACEOF
36421 if ac_fn_cxx_try_compile "$LINENO"; then :
36422 glibcxx_cv_func__hypot_use=yes
36423 else
36424 glibcxx_cv_func__hypot_use=no
36426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36427 ac_ext=c
36428 ac_cpp='$CPP $CPPFLAGS'
36429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36438 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36440 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36441 for ac_func in _hypot
36442 do :
36443 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36444 if test "x$ac_cv_func__hypot" = xyes; then :
36445 cat >>confdefs.h <<_ACEOF
36446 #define HAVE__HYPOT 1
36447 _ACEOF
36450 done
36459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36460 $as_echo_n "checking for float trig functions... " >&6; }
36461 if ${glibcxx_cv_func_float_trig_use+:} false; then :
36462 $as_echo_n "(cached) " >&6
36463 else
36466 ac_ext=cpp
36467 ac_cpp='$CXXCPP $CPPFLAGS'
36468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36473 /* end confdefs.h. */
36474 #include <math.h>
36476 main ()
36478 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36480 return 0;
36482 _ACEOF
36483 if ac_fn_cxx_try_compile "$LINENO"; then :
36484 glibcxx_cv_func_float_trig_use=yes
36485 else
36486 glibcxx_cv_func_float_trig_use=no
36488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36489 ac_ext=c
36490 ac_cpp='$CPP $CPPFLAGS'
36491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36498 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36499 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36500 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36501 do :
36502 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36503 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36504 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36505 cat >>confdefs.h <<_ACEOF
36506 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36507 _ACEOF
36510 done
36512 else
36513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36514 $as_echo_n "checking for _float trig functions... " >&6; }
36515 if ${glibcxx_cv_func__float_trig_use+:} false; then :
36516 $as_echo_n "(cached) " >&6
36517 else
36520 ac_ext=cpp
36521 ac_cpp='$CXXCPP $CPPFLAGS'
36522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36527 /* end confdefs.h. */
36528 #include <math.h>
36530 main ()
36532 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36534 return 0;
36536 _ACEOF
36537 if ac_fn_cxx_try_compile "$LINENO"; then :
36538 glibcxx_cv_func__float_trig_use=yes
36539 else
36540 glibcxx_cv_func__float_trig_use=no
36542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36543 ac_ext=c
36544 ac_cpp='$CPP $CPPFLAGS'
36545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36552 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36553 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36554 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36555 do :
36556 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36557 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36558 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36559 cat >>confdefs.h <<_ACEOF
36560 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36561 _ACEOF
36564 done
36573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36574 $as_echo_n "checking for float round functions... " >&6; }
36575 if ${glibcxx_cv_func_float_round_use+:} false; then :
36576 $as_echo_n "(cached) " >&6
36577 else
36580 ac_ext=cpp
36581 ac_cpp='$CXXCPP $CPPFLAGS'
36582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36587 /* end confdefs.h. */
36588 #include <math.h>
36590 main ()
36592 ceilf (0); floorf (0);
36594 return 0;
36596 _ACEOF
36597 if ac_fn_cxx_try_compile "$LINENO"; then :
36598 glibcxx_cv_func_float_round_use=yes
36599 else
36600 glibcxx_cv_func_float_round_use=no
36602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36603 ac_ext=c
36604 ac_cpp='$CPP $CPPFLAGS'
36605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36612 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36613 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36614 for ac_func in ceilf floorf
36615 do :
36616 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36617 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36618 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36619 cat >>confdefs.h <<_ACEOF
36620 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36621 _ACEOF
36624 done
36626 else
36627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36628 $as_echo_n "checking for _float round functions... " >&6; }
36629 if ${glibcxx_cv_func__float_round_use+:} false; then :
36630 $as_echo_n "(cached) " >&6
36631 else
36634 ac_ext=cpp
36635 ac_cpp='$CXXCPP $CPPFLAGS'
36636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36641 /* end confdefs.h. */
36642 #include <math.h>
36644 main ()
36646 _ceilf (0); _floorf (0);
36648 return 0;
36650 _ACEOF
36651 if ac_fn_cxx_try_compile "$LINENO"; then :
36652 glibcxx_cv_func__float_round_use=yes
36653 else
36654 glibcxx_cv_func__float_round_use=no
36656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36657 ac_ext=c
36658 ac_cpp='$CPP $CPPFLAGS'
36659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36666 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36667 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36668 for ac_func in _ceilf _floorf
36669 do :
36670 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36671 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36672 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36673 cat >>confdefs.h <<_ACEOF
36674 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36675 _ACEOF
36678 done
36688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36689 $as_echo_n "checking for expf declaration... " >&6; }
36690 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36691 if ${glibcxx_cv_func_expf_use+:} false; then :
36692 $as_echo_n "(cached) " >&6
36693 else
36696 ac_ext=cpp
36697 ac_cpp='$CXXCPP $CPPFLAGS'
36698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36703 /* end confdefs.h. */
36704 #include <math.h>
36705 #ifdef HAVE_IEEEFP_H
36706 #include <ieeefp.h>
36707 #endif
36710 main ()
36712 expf(0);
36714 return 0;
36716 _ACEOF
36717 if ac_fn_cxx_try_compile "$LINENO"; then :
36718 glibcxx_cv_func_expf_use=yes
36719 else
36720 glibcxx_cv_func_expf_use=no
36722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36723 ac_ext=c
36724 ac_cpp='$CPP $CPPFLAGS'
36725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36734 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36736 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36737 for ac_func in expf
36738 do :
36739 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36740 if test "x$ac_cv_func_expf" = xyes; then :
36741 cat >>confdefs.h <<_ACEOF
36742 #define HAVE_EXPF 1
36743 _ACEOF
36746 done
36748 else
36750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36751 $as_echo_n "checking for _expf declaration... " >&6; }
36752 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36753 if ${glibcxx_cv_func__expf_use+:} false; then :
36754 $as_echo_n "(cached) " >&6
36755 else
36758 ac_ext=cpp
36759 ac_cpp='$CXXCPP $CPPFLAGS'
36760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36765 /* end confdefs.h. */
36766 #include <math.h>
36767 #ifdef HAVE_IEEEFP_H
36768 #include <ieeefp.h>
36769 #endif
36772 main ()
36774 _expf(0);
36776 return 0;
36778 _ACEOF
36779 if ac_fn_cxx_try_compile "$LINENO"; then :
36780 glibcxx_cv_func__expf_use=yes
36781 else
36782 glibcxx_cv_func__expf_use=no
36784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36785 ac_ext=c
36786 ac_cpp='$CPP $CPPFLAGS'
36787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36796 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36798 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36799 for ac_func in _expf
36800 do :
36801 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36802 if test "x$ac_cv_func__expf" = xyes; then :
36803 cat >>confdefs.h <<_ACEOF
36804 #define HAVE__EXPF 1
36805 _ACEOF
36808 done
36817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36818 $as_echo_n "checking for isnanf declaration... " >&6; }
36819 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36820 if ${glibcxx_cv_func_isnanf_use+:} false; then :
36821 $as_echo_n "(cached) " >&6
36822 else
36825 ac_ext=cpp
36826 ac_cpp='$CXXCPP $CPPFLAGS'
36827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36832 /* end confdefs.h. */
36833 #include <math.h>
36834 #ifdef HAVE_IEEEFP_H
36835 #include <ieeefp.h>
36836 #endif
36839 main ()
36841 isnanf(0);
36843 return 0;
36845 _ACEOF
36846 if ac_fn_cxx_try_compile "$LINENO"; then :
36847 glibcxx_cv_func_isnanf_use=yes
36848 else
36849 glibcxx_cv_func_isnanf_use=no
36851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36852 ac_ext=c
36853 ac_cpp='$CPP $CPPFLAGS'
36854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36863 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36865 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36866 for ac_func in isnanf
36867 do :
36868 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36869 if test "x$ac_cv_func_isnanf" = xyes; then :
36870 cat >>confdefs.h <<_ACEOF
36871 #define HAVE_ISNANF 1
36872 _ACEOF
36875 done
36877 else
36879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36880 $as_echo_n "checking for _isnanf declaration... " >&6; }
36881 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36882 if ${glibcxx_cv_func__isnanf_use+:} false; then :
36883 $as_echo_n "(cached) " >&6
36884 else
36887 ac_ext=cpp
36888 ac_cpp='$CXXCPP $CPPFLAGS'
36889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36894 /* end confdefs.h. */
36895 #include <math.h>
36896 #ifdef HAVE_IEEEFP_H
36897 #include <ieeefp.h>
36898 #endif
36901 main ()
36903 _isnanf(0);
36905 return 0;
36907 _ACEOF
36908 if ac_fn_cxx_try_compile "$LINENO"; then :
36909 glibcxx_cv_func__isnanf_use=yes
36910 else
36911 glibcxx_cv_func__isnanf_use=no
36913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36914 ac_ext=c
36915 ac_cpp='$CPP $CPPFLAGS'
36916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36925 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36927 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36928 for ac_func in _isnanf
36929 do :
36930 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36931 if test "x$ac_cv_func__isnanf" = xyes; then :
36932 cat >>confdefs.h <<_ACEOF
36933 #define HAVE__ISNANF 1
36934 _ACEOF
36937 done
36946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36947 $as_echo_n "checking for isinff declaration... " >&6; }
36948 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36949 if ${glibcxx_cv_func_isinff_use+:} false; then :
36950 $as_echo_n "(cached) " >&6
36951 else
36954 ac_ext=cpp
36955 ac_cpp='$CXXCPP $CPPFLAGS'
36956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36961 /* end confdefs.h. */
36962 #include <math.h>
36963 #ifdef HAVE_IEEEFP_H
36964 #include <ieeefp.h>
36965 #endif
36968 main ()
36970 isinff(0);
36972 return 0;
36974 _ACEOF
36975 if ac_fn_cxx_try_compile "$LINENO"; then :
36976 glibcxx_cv_func_isinff_use=yes
36977 else
36978 glibcxx_cv_func_isinff_use=no
36980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36981 ac_ext=c
36982 ac_cpp='$CPP $CPPFLAGS'
36983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36992 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36994 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36995 for ac_func in isinff
36996 do :
36997 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36998 if test "x$ac_cv_func_isinff" = xyes; then :
36999 cat >>confdefs.h <<_ACEOF
37000 #define HAVE_ISINFF 1
37001 _ACEOF
37004 done
37006 else
37008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
37009 $as_echo_n "checking for _isinff declaration... " >&6; }
37010 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37011 if ${glibcxx_cv_func__isinff_use+:} false; then :
37012 $as_echo_n "(cached) " >&6
37013 else
37016 ac_ext=cpp
37017 ac_cpp='$CXXCPP $CPPFLAGS'
37018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37023 /* end confdefs.h. */
37024 #include <math.h>
37025 #ifdef HAVE_IEEEFP_H
37026 #include <ieeefp.h>
37027 #endif
37030 main ()
37032 _isinff(0);
37034 return 0;
37036 _ACEOF
37037 if ac_fn_cxx_try_compile "$LINENO"; then :
37038 glibcxx_cv_func__isinff_use=yes
37039 else
37040 glibcxx_cv_func__isinff_use=no
37042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37043 ac_ext=c
37044 ac_cpp='$CPP $CPPFLAGS'
37045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
37054 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
37056 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37057 for ac_func in _isinff
37058 do :
37059 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
37060 if test "x$ac_cv_func__isinff" = xyes; then :
37061 cat >>confdefs.h <<_ACEOF
37062 #define HAVE__ISINFF 1
37063 _ACEOF
37066 done
37075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
37076 $as_echo_n "checking for atan2f declaration... " >&6; }
37077 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37078 if ${glibcxx_cv_func_atan2f_use+:} false; then :
37079 $as_echo_n "(cached) " >&6
37080 else
37083 ac_ext=cpp
37084 ac_cpp='$CXXCPP $CPPFLAGS'
37085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37090 /* end confdefs.h. */
37091 #include <math.h>
37093 main ()
37095 atan2f(0, 0);
37097 return 0;
37099 _ACEOF
37100 if ac_fn_cxx_try_compile "$LINENO"; then :
37101 glibcxx_cv_func_atan2f_use=yes
37102 else
37103 glibcxx_cv_func_atan2f_use=no
37105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37106 ac_ext=c
37107 ac_cpp='$CPP $CPPFLAGS'
37108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
37117 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
37119 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37120 for ac_func in atan2f
37121 do :
37122 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
37123 if test "x$ac_cv_func_atan2f" = xyes; then :
37124 cat >>confdefs.h <<_ACEOF
37125 #define HAVE_ATAN2F 1
37126 _ACEOF
37129 done
37131 else
37133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
37134 $as_echo_n "checking for _atan2f declaration... " >&6; }
37135 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37136 if ${glibcxx_cv_func__atan2f_use+:} false; then :
37137 $as_echo_n "(cached) " >&6
37138 else
37141 ac_ext=cpp
37142 ac_cpp='$CXXCPP $CPPFLAGS'
37143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37148 /* end confdefs.h. */
37149 #include <math.h>
37151 main ()
37153 _atan2f(0, 0);
37155 return 0;
37157 _ACEOF
37158 if ac_fn_cxx_try_compile "$LINENO"; then :
37159 glibcxx_cv_func__atan2f_use=yes
37160 else
37161 glibcxx_cv_func__atan2f_use=no
37163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37164 ac_ext=c
37165 ac_cpp='$CPP $CPPFLAGS'
37166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
37175 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37177 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37178 for ac_func in _atan2f
37179 do :
37180 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37181 if test "x$ac_cv_func__atan2f" = xyes; then :
37182 cat >>confdefs.h <<_ACEOF
37183 #define HAVE__ATAN2F 1
37184 _ACEOF
37187 done
37196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37197 $as_echo_n "checking for fabsf declaration... " >&6; }
37198 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37199 if ${glibcxx_cv_func_fabsf_use+:} false; then :
37200 $as_echo_n "(cached) " >&6
37201 else
37204 ac_ext=cpp
37205 ac_cpp='$CXXCPP $CPPFLAGS'
37206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37211 /* end confdefs.h. */
37212 #include <math.h>
37213 #ifdef HAVE_IEEEFP_H
37214 #include <ieeefp.h>
37215 #endif
37218 main ()
37220 fabsf(0);
37222 return 0;
37224 _ACEOF
37225 if ac_fn_cxx_try_compile "$LINENO"; then :
37226 glibcxx_cv_func_fabsf_use=yes
37227 else
37228 glibcxx_cv_func_fabsf_use=no
37230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37231 ac_ext=c
37232 ac_cpp='$CPP $CPPFLAGS'
37233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37242 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37244 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37245 for ac_func in fabsf
37246 do :
37247 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37248 if test "x$ac_cv_func_fabsf" = xyes; then :
37249 cat >>confdefs.h <<_ACEOF
37250 #define HAVE_FABSF 1
37251 _ACEOF
37254 done
37256 else
37258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37259 $as_echo_n "checking for _fabsf declaration... " >&6; }
37260 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37261 if ${glibcxx_cv_func__fabsf_use+:} false; then :
37262 $as_echo_n "(cached) " >&6
37263 else
37266 ac_ext=cpp
37267 ac_cpp='$CXXCPP $CPPFLAGS'
37268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37273 /* end confdefs.h. */
37274 #include <math.h>
37275 #ifdef HAVE_IEEEFP_H
37276 #include <ieeefp.h>
37277 #endif
37280 main ()
37282 _fabsf(0);
37284 return 0;
37286 _ACEOF
37287 if ac_fn_cxx_try_compile "$LINENO"; then :
37288 glibcxx_cv_func__fabsf_use=yes
37289 else
37290 glibcxx_cv_func__fabsf_use=no
37292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37293 ac_ext=c
37294 ac_cpp='$CPP $CPPFLAGS'
37295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37304 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37306 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37307 for ac_func in _fabsf
37308 do :
37309 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37310 if test "x$ac_cv_func__fabsf" = xyes; then :
37311 cat >>confdefs.h <<_ACEOF
37312 #define HAVE__FABSF 1
37313 _ACEOF
37316 done
37325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37326 $as_echo_n "checking for fmodf declaration... " >&6; }
37327 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37328 if ${glibcxx_cv_func_fmodf_use+:} false; then :
37329 $as_echo_n "(cached) " >&6
37330 else
37333 ac_ext=cpp
37334 ac_cpp='$CXXCPP $CPPFLAGS'
37335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37340 /* end confdefs.h. */
37341 #include <math.h>
37343 main ()
37345 fmodf(0, 0);
37347 return 0;
37349 _ACEOF
37350 if ac_fn_cxx_try_compile "$LINENO"; then :
37351 glibcxx_cv_func_fmodf_use=yes
37352 else
37353 glibcxx_cv_func_fmodf_use=no
37355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37356 ac_ext=c
37357 ac_cpp='$CPP $CPPFLAGS'
37358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37367 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37369 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37370 for ac_func in fmodf
37371 do :
37372 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37373 if test "x$ac_cv_func_fmodf" = xyes; then :
37374 cat >>confdefs.h <<_ACEOF
37375 #define HAVE_FMODF 1
37376 _ACEOF
37379 done
37381 else
37383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37384 $as_echo_n "checking for _fmodf declaration... " >&6; }
37385 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37386 if ${glibcxx_cv_func__fmodf_use+:} false; then :
37387 $as_echo_n "(cached) " >&6
37388 else
37391 ac_ext=cpp
37392 ac_cpp='$CXXCPP $CPPFLAGS'
37393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37398 /* end confdefs.h. */
37399 #include <math.h>
37401 main ()
37403 _fmodf(0, 0);
37405 return 0;
37407 _ACEOF
37408 if ac_fn_cxx_try_compile "$LINENO"; then :
37409 glibcxx_cv_func__fmodf_use=yes
37410 else
37411 glibcxx_cv_func__fmodf_use=no
37413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37414 ac_ext=c
37415 ac_cpp='$CPP $CPPFLAGS'
37416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37425 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37427 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37428 for ac_func in _fmodf
37429 do :
37430 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37431 if test "x$ac_cv_func__fmodf" = xyes; then :
37432 cat >>confdefs.h <<_ACEOF
37433 #define HAVE__FMODF 1
37434 _ACEOF
37437 done
37446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37447 $as_echo_n "checking for frexpf declaration... " >&6; }
37448 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37449 if ${glibcxx_cv_func_frexpf_use+:} false; then :
37450 $as_echo_n "(cached) " >&6
37451 else
37454 ac_ext=cpp
37455 ac_cpp='$CXXCPP $CPPFLAGS'
37456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37461 /* end confdefs.h. */
37462 #include <math.h>
37464 main ()
37466 frexpf(0, 0);
37468 return 0;
37470 _ACEOF
37471 if ac_fn_cxx_try_compile "$LINENO"; then :
37472 glibcxx_cv_func_frexpf_use=yes
37473 else
37474 glibcxx_cv_func_frexpf_use=no
37476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37477 ac_ext=c
37478 ac_cpp='$CPP $CPPFLAGS'
37479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37488 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37490 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37491 for ac_func in frexpf
37492 do :
37493 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37494 if test "x$ac_cv_func_frexpf" = xyes; then :
37495 cat >>confdefs.h <<_ACEOF
37496 #define HAVE_FREXPF 1
37497 _ACEOF
37500 done
37502 else
37504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37505 $as_echo_n "checking for _frexpf declaration... " >&6; }
37506 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37507 if ${glibcxx_cv_func__frexpf_use+:} false; then :
37508 $as_echo_n "(cached) " >&6
37509 else
37512 ac_ext=cpp
37513 ac_cpp='$CXXCPP $CPPFLAGS'
37514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37519 /* end confdefs.h. */
37520 #include <math.h>
37522 main ()
37524 _frexpf(0, 0);
37526 return 0;
37528 _ACEOF
37529 if ac_fn_cxx_try_compile "$LINENO"; then :
37530 glibcxx_cv_func__frexpf_use=yes
37531 else
37532 glibcxx_cv_func__frexpf_use=no
37534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37535 ac_ext=c
37536 ac_cpp='$CPP $CPPFLAGS'
37537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37546 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37548 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37549 for ac_func in _frexpf
37550 do :
37551 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37552 if test "x$ac_cv_func__frexpf" = xyes; then :
37553 cat >>confdefs.h <<_ACEOF
37554 #define HAVE__FREXPF 1
37555 _ACEOF
37558 done
37567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37568 $as_echo_n "checking for hypotf declaration... " >&6; }
37569 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37570 if ${glibcxx_cv_func_hypotf_use+:} false; then :
37571 $as_echo_n "(cached) " >&6
37572 else
37575 ac_ext=cpp
37576 ac_cpp='$CXXCPP $CPPFLAGS'
37577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37582 /* end confdefs.h. */
37583 #include <math.h>
37585 main ()
37587 hypotf(0, 0);
37589 return 0;
37591 _ACEOF
37592 if ac_fn_cxx_try_compile "$LINENO"; then :
37593 glibcxx_cv_func_hypotf_use=yes
37594 else
37595 glibcxx_cv_func_hypotf_use=no
37597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37598 ac_ext=c
37599 ac_cpp='$CPP $CPPFLAGS'
37600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37609 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37611 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37612 for ac_func in hypotf
37613 do :
37614 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37615 if test "x$ac_cv_func_hypotf" = xyes; then :
37616 cat >>confdefs.h <<_ACEOF
37617 #define HAVE_HYPOTF 1
37618 _ACEOF
37621 done
37623 else
37625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37626 $as_echo_n "checking for _hypotf declaration... " >&6; }
37627 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37628 if ${glibcxx_cv_func__hypotf_use+:} false; then :
37629 $as_echo_n "(cached) " >&6
37630 else
37633 ac_ext=cpp
37634 ac_cpp='$CXXCPP $CPPFLAGS'
37635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37640 /* end confdefs.h. */
37641 #include <math.h>
37643 main ()
37645 _hypotf(0, 0);
37647 return 0;
37649 _ACEOF
37650 if ac_fn_cxx_try_compile "$LINENO"; then :
37651 glibcxx_cv_func__hypotf_use=yes
37652 else
37653 glibcxx_cv_func__hypotf_use=no
37655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37656 ac_ext=c
37657 ac_cpp='$CPP $CPPFLAGS'
37658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37667 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37669 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37670 for ac_func in _hypotf
37671 do :
37672 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37673 if test "x$ac_cv_func__hypotf" = xyes; then :
37674 cat >>confdefs.h <<_ACEOF
37675 #define HAVE__HYPOTF 1
37676 _ACEOF
37679 done
37688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37689 $as_echo_n "checking for ldexpf declaration... " >&6; }
37690 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37691 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
37692 $as_echo_n "(cached) " >&6
37693 else
37696 ac_ext=cpp
37697 ac_cpp='$CXXCPP $CPPFLAGS'
37698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37703 /* end confdefs.h. */
37704 #include <math.h>
37706 main ()
37708 ldexpf(0, 0);
37710 return 0;
37712 _ACEOF
37713 if ac_fn_cxx_try_compile "$LINENO"; then :
37714 glibcxx_cv_func_ldexpf_use=yes
37715 else
37716 glibcxx_cv_func_ldexpf_use=no
37718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37719 ac_ext=c
37720 ac_cpp='$CPP $CPPFLAGS'
37721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37730 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37732 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37733 for ac_func in ldexpf
37734 do :
37735 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37736 if test "x$ac_cv_func_ldexpf" = xyes; then :
37737 cat >>confdefs.h <<_ACEOF
37738 #define HAVE_LDEXPF 1
37739 _ACEOF
37742 done
37744 else
37746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37747 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37748 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37749 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
37750 $as_echo_n "(cached) " >&6
37751 else
37754 ac_ext=cpp
37755 ac_cpp='$CXXCPP $CPPFLAGS'
37756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37761 /* end confdefs.h. */
37762 #include <math.h>
37764 main ()
37766 _ldexpf(0, 0);
37768 return 0;
37770 _ACEOF
37771 if ac_fn_cxx_try_compile "$LINENO"; then :
37772 glibcxx_cv_func__ldexpf_use=yes
37773 else
37774 glibcxx_cv_func__ldexpf_use=no
37776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37777 ac_ext=c
37778 ac_cpp='$CPP $CPPFLAGS'
37779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37788 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37790 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37791 for ac_func in _ldexpf
37792 do :
37793 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37794 if test "x$ac_cv_func__ldexpf" = xyes; then :
37795 cat >>confdefs.h <<_ACEOF
37796 #define HAVE__LDEXPF 1
37797 _ACEOF
37800 done
37809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37810 $as_echo_n "checking for logf declaration... " >&6; }
37811 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37812 if ${glibcxx_cv_func_logf_use+:} false; then :
37813 $as_echo_n "(cached) " >&6
37814 else
37817 ac_ext=cpp
37818 ac_cpp='$CXXCPP $CPPFLAGS'
37819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37824 /* end confdefs.h. */
37825 #include <math.h>
37826 #ifdef HAVE_IEEEFP_H
37827 #include <ieeefp.h>
37828 #endif
37831 main ()
37833 logf(0);
37835 return 0;
37837 _ACEOF
37838 if ac_fn_cxx_try_compile "$LINENO"; then :
37839 glibcxx_cv_func_logf_use=yes
37840 else
37841 glibcxx_cv_func_logf_use=no
37843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37844 ac_ext=c
37845 ac_cpp='$CPP $CPPFLAGS'
37846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37855 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37857 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37858 for ac_func in logf
37859 do :
37860 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37861 if test "x$ac_cv_func_logf" = xyes; then :
37862 cat >>confdefs.h <<_ACEOF
37863 #define HAVE_LOGF 1
37864 _ACEOF
37867 done
37869 else
37871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37872 $as_echo_n "checking for _logf declaration... " >&6; }
37873 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37874 if ${glibcxx_cv_func__logf_use+:} false; then :
37875 $as_echo_n "(cached) " >&6
37876 else
37879 ac_ext=cpp
37880 ac_cpp='$CXXCPP $CPPFLAGS'
37881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37886 /* end confdefs.h. */
37887 #include <math.h>
37888 #ifdef HAVE_IEEEFP_H
37889 #include <ieeefp.h>
37890 #endif
37893 main ()
37895 _logf(0);
37897 return 0;
37899 _ACEOF
37900 if ac_fn_cxx_try_compile "$LINENO"; then :
37901 glibcxx_cv_func__logf_use=yes
37902 else
37903 glibcxx_cv_func__logf_use=no
37905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37906 ac_ext=c
37907 ac_cpp='$CPP $CPPFLAGS'
37908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37917 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37919 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37920 for ac_func in _logf
37921 do :
37922 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37923 if test "x$ac_cv_func__logf" = xyes; then :
37924 cat >>confdefs.h <<_ACEOF
37925 #define HAVE__LOGF 1
37926 _ACEOF
37929 done
37938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37939 $as_echo_n "checking for log10f declaration... " >&6; }
37940 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37941 if ${glibcxx_cv_func_log10f_use+:} false; then :
37942 $as_echo_n "(cached) " >&6
37943 else
37946 ac_ext=cpp
37947 ac_cpp='$CXXCPP $CPPFLAGS'
37948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37953 /* end confdefs.h. */
37954 #include <math.h>
37955 #ifdef HAVE_IEEEFP_H
37956 #include <ieeefp.h>
37957 #endif
37960 main ()
37962 log10f(0);
37964 return 0;
37966 _ACEOF
37967 if ac_fn_cxx_try_compile "$LINENO"; then :
37968 glibcxx_cv_func_log10f_use=yes
37969 else
37970 glibcxx_cv_func_log10f_use=no
37972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37973 ac_ext=c
37974 ac_cpp='$CPP $CPPFLAGS'
37975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37984 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37986 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37987 for ac_func in log10f
37988 do :
37989 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37990 if test "x$ac_cv_func_log10f" = xyes; then :
37991 cat >>confdefs.h <<_ACEOF
37992 #define HAVE_LOG10F 1
37993 _ACEOF
37996 done
37998 else
38000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
38001 $as_echo_n "checking for _log10f declaration... " >&6; }
38002 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38003 if ${glibcxx_cv_func__log10f_use+:} false; then :
38004 $as_echo_n "(cached) " >&6
38005 else
38008 ac_ext=cpp
38009 ac_cpp='$CXXCPP $CPPFLAGS'
38010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38015 /* end confdefs.h. */
38016 #include <math.h>
38017 #ifdef HAVE_IEEEFP_H
38018 #include <ieeefp.h>
38019 #endif
38022 main ()
38024 _log10f(0);
38026 return 0;
38028 _ACEOF
38029 if ac_fn_cxx_try_compile "$LINENO"; then :
38030 glibcxx_cv_func__log10f_use=yes
38031 else
38032 glibcxx_cv_func__log10f_use=no
38034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38035 ac_ext=c
38036 ac_cpp='$CPP $CPPFLAGS'
38037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
38046 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
38048 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38049 for ac_func in _log10f
38050 do :
38051 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
38052 if test "x$ac_cv_func__log10f" = xyes; then :
38053 cat >>confdefs.h <<_ACEOF
38054 #define HAVE__LOG10F 1
38055 _ACEOF
38058 done
38067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
38068 $as_echo_n "checking for modff declaration... " >&6; }
38069 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38070 if ${glibcxx_cv_func_modff_use+:} false; then :
38071 $as_echo_n "(cached) " >&6
38072 else
38075 ac_ext=cpp
38076 ac_cpp='$CXXCPP $CPPFLAGS'
38077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38082 /* end confdefs.h. */
38083 #include <math.h>
38085 main ()
38087 modff(0, 0);
38089 return 0;
38091 _ACEOF
38092 if ac_fn_cxx_try_compile "$LINENO"; then :
38093 glibcxx_cv_func_modff_use=yes
38094 else
38095 glibcxx_cv_func_modff_use=no
38097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38098 ac_ext=c
38099 ac_cpp='$CPP $CPPFLAGS'
38100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
38109 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
38111 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38112 for ac_func in modff
38113 do :
38114 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
38115 if test "x$ac_cv_func_modff" = xyes; then :
38116 cat >>confdefs.h <<_ACEOF
38117 #define HAVE_MODFF 1
38118 _ACEOF
38121 done
38123 else
38125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
38126 $as_echo_n "checking for _modff declaration... " >&6; }
38127 if test x${glibcxx_cv_func__modff_use+set} != xset; then
38128 if ${glibcxx_cv_func__modff_use+:} false; then :
38129 $as_echo_n "(cached) " >&6
38130 else
38133 ac_ext=cpp
38134 ac_cpp='$CXXCPP $CPPFLAGS'
38135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38140 /* end confdefs.h. */
38141 #include <math.h>
38143 main ()
38145 _modff(0, 0);
38147 return 0;
38149 _ACEOF
38150 if ac_fn_cxx_try_compile "$LINENO"; then :
38151 glibcxx_cv_func__modff_use=yes
38152 else
38153 glibcxx_cv_func__modff_use=no
38155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38156 ac_ext=c
38157 ac_cpp='$CPP $CPPFLAGS'
38158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
38167 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
38169 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38170 for ac_func in _modff
38171 do :
38172 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38173 if test "x$ac_cv_func__modff" = xyes; then :
38174 cat >>confdefs.h <<_ACEOF
38175 #define HAVE__MODFF 1
38176 _ACEOF
38179 done
38188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38189 $as_echo_n "checking for modf declaration... " >&6; }
38190 if test x${glibcxx_cv_func_modf_use+set} != xset; then
38191 if ${glibcxx_cv_func_modf_use+:} false; then :
38192 $as_echo_n "(cached) " >&6
38193 else
38196 ac_ext=cpp
38197 ac_cpp='$CXXCPP $CPPFLAGS'
38198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38203 /* end confdefs.h. */
38204 #include <math.h>
38206 main ()
38208 modf(0, 0);
38210 return 0;
38212 _ACEOF
38213 if ac_fn_cxx_try_compile "$LINENO"; then :
38214 glibcxx_cv_func_modf_use=yes
38215 else
38216 glibcxx_cv_func_modf_use=no
38218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38219 ac_ext=c
38220 ac_cpp='$CPP $CPPFLAGS'
38221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38230 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
38232 if test x$glibcxx_cv_func_modf_use = x"yes"; then
38233 for ac_func in modf
38234 do :
38235 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38236 if test "x$ac_cv_func_modf" = xyes; then :
38237 cat >>confdefs.h <<_ACEOF
38238 #define HAVE_MODF 1
38239 _ACEOF
38242 done
38244 else
38246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38247 $as_echo_n "checking for _modf declaration... " >&6; }
38248 if test x${glibcxx_cv_func__modf_use+set} != xset; then
38249 if ${glibcxx_cv_func__modf_use+:} false; then :
38250 $as_echo_n "(cached) " >&6
38251 else
38254 ac_ext=cpp
38255 ac_cpp='$CXXCPP $CPPFLAGS'
38256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38261 /* end confdefs.h. */
38262 #include <math.h>
38264 main ()
38266 _modf(0, 0);
38268 return 0;
38270 _ACEOF
38271 if ac_fn_cxx_try_compile "$LINENO"; then :
38272 glibcxx_cv_func__modf_use=yes
38273 else
38274 glibcxx_cv_func__modf_use=no
38276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38277 ac_ext=c
38278 ac_cpp='$CPP $CPPFLAGS'
38279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38288 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38290 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38291 for ac_func in _modf
38292 do :
38293 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38294 if test "x$ac_cv_func__modf" = xyes; then :
38295 cat >>confdefs.h <<_ACEOF
38296 #define HAVE__MODF 1
38297 _ACEOF
38300 done
38309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38310 $as_echo_n "checking for powf declaration... " >&6; }
38311 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38312 if ${glibcxx_cv_func_powf_use+:} false; then :
38313 $as_echo_n "(cached) " >&6
38314 else
38317 ac_ext=cpp
38318 ac_cpp='$CXXCPP $CPPFLAGS'
38319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38324 /* end confdefs.h. */
38325 #include <math.h>
38327 main ()
38329 powf(0, 0);
38331 return 0;
38333 _ACEOF
38334 if ac_fn_cxx_try_compile "$LINENO"; then :
38335 glibcxx_cv_func_powf_use=yes
38336 else
38337 glibcxx_cv_func_powf_use=no
38339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38340 ac_ext=c
38341 ac_cpp='$CPP $CPPFLAGS'
38342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38351 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38353 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38354 for ac_func in powf
38355 do :
38356 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38357 if test "x$ac_cv_func_powf" = xyes; then :
38358 cat >>confdefs.h <<_ACEOF
38359 #define HAVE_POWF 1
38360 _ACEOF
38363 done
38365 else
38367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38368 $as_echo_n "checking for _powf declaration... " >&6; }
38369 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38370 if ${glibcxx_cv_func__powf_use+:} false; then :
38371 $as_echo_n "(cached) " >&6
38372 else
38375 ac_ext=cpp
38376 ac_cpp='$CXXCPP $CPPFLAGS'
38377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38382 /* end confdefs.h. */
38383 #include <math.h>
38385 main ()
38387 _powf(0, 0);
38389 return 0;
38391 _ACEOF
38392 if ac_fn_cxx_try_compile "$LINENO"; then :
38393 glibcxx_cv_func__powf_use=yes
38394 else
38395 glibcxx_cv_func__powf_use=no
38397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38398 ac_ext=c
38399 ac_cpp='$CPP $CPPFLAGS'
38400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38409 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38411 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38412 for ac_func in _powf
38413 do :
38414 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38415 if test "x$ac_cv_func__powf" = xyes; then :
38416 cat >>confdefs.h <<_ACEOF
38417 #define HAVE__POWF 1
38418 _ACEOF
38421 done
38430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38431 $as_echo_n "checking for sqrtf declaration... " >&6; }
38432 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38433 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38434 $as_echo_n "(cached) " >&6
38435 else
38438 ac_ext=cpp
38439 ac_cpp='$CXXCPP $CPPFLAGS'
38440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38445 /* end confdefs.h. */
38446 #include <math.h>
38447 #ifdef HAVE_IEEEFP_H
38448 #include <ieeefp.h>
38449 #endif
38452 main ()
38454 sqrtf(0);
38456 return 0;
38458 _ACEOF
38459 if ac_fn_cxx_try_compile "$LINENO"; then :
38460 glibcxx_cv_func_sqrtf_use=yes
38461 else
38462 glibcxx_cv_func_sqrtf_use=no
38464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38465 ac_ext=c
38466 ac_cpp='$CPP $CPPFLAGS'
38467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38476 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38478 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38479 for ac_func in sqrtf
38480 do :
38481 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38482 if test "x$ac_cv_func_sqrtf" = xyes; then :
38483 cat >>confdefs.h <<_ACEOF
38484 #define HAVE_SQRTF 1
38485 _ACEOF
38488 done
38490 else
38492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38493 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38494 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38495 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
38496 $as_echo_n "(cached) " >&6
38497 else
38500 ac_ext=cpp
38501 ac_cpp='$CXXCPP $CPPFLAGS'
38502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38507 /* end confdefs.h. */
38508 #include <math.h>
38509 #ifdef HAVE_IEEEFP_H
38510 #include <ieeefp.h>
38511 #endif
38514 main ()
38516 _sqrtf(0);
38518 return 0;
38520 _ACEOF
38521 if ac_fn_cxx_try_compile "$LINENO"; then :
38522 glibcxx_cv_func__sqrtf_use=yes
38523 else
38524 glibcxx_cv_func__sqrtf_use=no
38526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38527 ac_ext=c
38528 ac_cpp='$CPP $CPPFLAGS'
38529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38538 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38540 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38541 for ac_func in _sqrtf
38542 do :
38543 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38544 if test "x$ac_cv_func__sqrtf" = xyes; then :
38545 cat >>confdefs.h <<_ACEOF
38546 #define HAVE__SQRTF 1
38547 _ACEOF
38550 done
38559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38560 $as_echo_n "checking for sincosf declaration... " >&6; }
38561 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38562 if ${glibcxx_cv_func_sincosf_use+:} false; then :
38563 $as_echo_n "(cached) " >&6
38564 else
38567 ac_ext=cpp
38568 ac_cpp='$CXXCPP $CPPFLAGS'
38569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38574 /* end confdefs.h. */
38575 #include <math.h>
38577 main ()
38579 sincosf(0, 0, 0);
38581 return 0;
38583 _ACEOF
38584 if ac_fn_cxx_try_compile "$LINENO"; then :
38585 glibcxx_cv_func_sincosf_use=yes
38586 else
38587 glibcxx_cv_func_sincosf_use=no
38589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38590 ac_ext=c
38591 ac_cpp='$CPP $CPPFLAGS'
38592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38601 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38603 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38604 for ac_func in sincosf
38605 do :
38606 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38607 if test "x$ac_cv_func_sincosf" = xyes; then :
38608 cat >>confdefs.h <<_ACEOF
38609 #define HAVE_SINCOSF 1
38610 _ACEOF
38613 done
38615 else
38617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38618 $as_echo_n "checking for _sincosf declaration... " >&6; }
38619 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38620 if ${glibcxx_cv_func__sincosf_use+:} false; then :
38621 $as_echo_n "(cached) " >&6
38622 else
38625 ac_ext=cpp
38626 ac_cpp='$CXXCPP $CPPFLAGS'
38627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38632 /* end confdefs.h. */
38633 #include <math.h>
38635 main ()
38637 _sincosf(0, 0, 0);
38639 return 0;
38641 _ACEOF
38642 if ac_fn_cxx_try_compile "$LINENO"; then :
38643 glibcxx_cv_func__sincosf_use=yes
38644 else
38645 glibcxx_cv_func__sincosf_use=no
38647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38648 ac_ext=c
38649 ac_cpp='$CPP $CPPFLAGS'
38650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38659 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38661 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38662 for ac_func in _sincosf
38663 do :
38664 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38665 if test "x$ac_cv_func__sincosf" = xyes; then :
38666 cat >>confdefs.h <<_ACEOF
38667 #define HAVE__SINCOSF 1
38668 _ACEOF
38671 done
38680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38681 $as_echo_n "checking for finitef declaration... " >&6; }
38682 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38683 if ${glibcxx_cv_func_finitef_use+:} false; then :
38684 $as_echo_n "(cached) " >&6
38685 else
38688 ac_ext=cpp
38689 ac_cpp='$CXXCPP $CPPFLAGS'
38690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38695 /* end confdefs.h. */
38696 #include <math.h>
38697 #ifdef HAVE_IEEEFP_H
38698 #include <ieeefp.h>
38699 #endif
38702 main ()
38704 finitef(0);
38706 return 0;
38708 _ACEOF
38709 if ac_fn_cxx_try_compile "$LINENO"; then :
38710 glibcxx_cv_func_finitef_use=yes
38711 else
38712 glibcxx_cv_func_finitef_use=no
38714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38715 ac_ext=c
38716 ac_cpp='$CPP $CPPFLAGS'
38717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38726 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38728 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38729 for ac_func in finitef
38730 do :
38731 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38732 if test "x$ac_cv_func_finitef" = xyes; then :
38733 cat >>confdefs.h <<_ACEOF
38734 #define HAVE_FINITEF 1
38735 _ACEOF
38738 done
38740 else
38742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38743 $as_echo_n "checking for _finitef declaration... " >&6; }
38744 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38745 if ${glibcxx_cv_func__finitef_use+:} false; then :
38746 $as_echo_n "(cached) " >&6
38747 else
38750 ac_ext=cpp
38751 ac_cpp='$CXXCPP $CPPFLAGS'
38752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38757 /* end confdefs.h. */
38758 #include <math.h>
38759 #ifdef HAVE_IEEEFP_H
38760 #include <ieeefp.h>
38761 #endif
38764 main ()
38766 _finitef(0);
38768 return 0;
38770 _ACEOF
38771 if ac_fn_cxx_try_compile "$LINENO"; then :
38772 glibcxx_cv_func__finitef_use=yes
38773 else
38774 glibcxx_cv_func__finitef_use=no
38776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38777 ac_ext=c
38778 ac_cpp='$CPP $CPPFLAGS'
38779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38788 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38790 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38791 for ac_func in _finitef
38792 do :
38793 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38794 if test "x$ac_cv_func__finitef" = xyes; then :
38795 cat >>confdefs.h <<_ACEOF
38796 #define HAVE__FINITEF 1
38797 _ACEOF
38800 done
38809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38810 $as_echo_n "checking for long double trig functions... " >&6; }
38811 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
38812 $as_echo_n "(cached) " >&6
38813 else
38816 ac_ext=cpp
38817 ac_cpp='$CXXCPP $CPPFLAGS'
38818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38823 /* end confdefs.h. */
38824 #include <math.h>
38826 main ()
38828 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38830 return 0;
38832 _ACEOF
38833 if ac_fn_cxx_try_compile "$LINENO"; then :
38834 glibcxx_cv_func_long_double_trig_use=yes
38835 else
38836 glibcxx_cv_func_long_double_trig_use=no
38838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38839 ac_ext=c
38840 ac_cpp='$CPP $CPPFLAGS'
38841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38848 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38849 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38850 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38851 do :
38852 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38853 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38854 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38855 cat >>confdefs.h <<_ACEOF
38856 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38857 _ACEOF
38860 done
38862 else
38863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38864 $as_echo_n "checking for _long double trig functions... " >&6; }
38865 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
38866 $as_echo_n "(cached) " >&6
38867 else
38870 ac_ext=cpp
38871 ac_cpp='$CXXCPP $CPPFLAGS'
38872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38877 /* end confdefs.h. */
38878 #include <math.h>
38880 main ()
38882 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38884 return 0;
38886 _ACEOF
38887 if ac_fn_cxx_try_compile "$LINENO"; then :
38888 glibcxx_cv_func__long_double_trig_use=yes
38889 else
38890 glibcxx_cv_func__long_double_trig_use=no
38892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38893 ac_ext=c
38894 ac_cpp='$CPP $CPPFLAGS'
38895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38902 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38903 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38904 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38905 do :
38906 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38907 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38908 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38909 cat >>confdefs.h <<_ACEOF
38910 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38911 _ACEOF
38914 done
38923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38924 $as_echo_n "checking for long double round functions... " >&6; }
38925 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
38926 $as_echo_n "(cached) " >&6
38927 else
38930 ac_ext=cpp
38931 ac_cpp='$CXXCPP $CPPFLAGS'
38932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38937 /* end confdefs.h. */
38938 #include <math.h>
38940 main ()
38942 ceill (0); floorl (0);
38944 return 0;
38946 _ACEOF
38947 if ac_fn_cxx_try_compile "$LINENO"; then :
38948 glibcxx_cv_func_long_double_round_use=yes
38949 else
38950 glibcxx_cv_func_long_double_round_use=no
38952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38953 ac_ext=c
38954 ac_cpp='$CPP $CPPFLAGS'
38955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38962 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38963 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38964 for ac_func in ceill floorl
38965 do :
38966 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38967 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38968 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38969 cat >>confdefs.h <<_ACEOF
38970 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38971 _ACEOF
38974 done
38976 else
38977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38978 $as_echo_n "checking for _long double round functions... " >&6; }
38979 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
38980 $as_echo_n "(cached) " >&6
38981 else
38984 ac_ext=cpp
38985 ac_cpp='$CXXCPP $CPPFLAGS'
38986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38991 /* end confdefs.h. */
38992 #include <math.h>
38994 main ()
38996 _ceill (0); _floorl (0);
38998 return 0;
39000 _ACEOF
39001 if ac_fn_cxx_try_compile "$LINENO"; then :
39002 glibcxx_cv_func__long_double_round_use=yes
39003 else
39004 glibcxx_cv_func__long_double_round_use=no
39006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39007 ac_ext=c
39008 ac_cpp='$CPP $CPPFLAGS'
39009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
39016 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
39017 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
39018 for ac_func in _ceill _floorl
39019 do :
39020 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39021 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39022 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39023 cat >>confdefs.h <<_ACEOF
39024 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39025 _ACEOF
39028 done
39038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
39039 $as_echo_n "checking for isnanl declaration... " >&6; }
39040 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
39041 if ${glibcxx_cv_func_isnanl_use+:} false; then :
39042 $as_echo_n "(cached) " >&6
39043 else
39046 ac_ext=cpp
39047 ac_cpp='$CXXCPP $CPPFLAGS'
39048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39053 /* end confdefs.h. */
39054 #include <math.h>
39055 #ifdef HAVE_IEEEFP_H
39056 #include <ieeefp.h>
39057 #endif
39060 main ()
39062 isnanl(0);
39064 return 0;
39066 _ACEOF
39067 if ac_fn_cxx_try_compile "$LINENO"; then :
39068 glibcxx_cv_func_isnanl_use=yes
39069 else
39070 glibcxx_cv_func_isnanl_use=no
39072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39073 ac_ext=c
39074 ac_cpp='$CPP $CPPFLAGS'
39075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
39084 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
39086 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
39087 for ac_func in isnanl
39088 do :
39089 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
39090 if test "x$ac_cv_func_isnanl" = xyes; then :
39091 cat >>confdefs.h <<_ACEOF
39092 #define HAVE_ISNANL 1
39093 _ACEOF
39096 done
39098 else
39100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
39101 $as_echo_n "checking for _isnanl declaration... " >&6; }
39102 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
39103 if ${glibcxx_cv_func__isnanl_use+:} false; then :
39104 $as_echo_n "(cached) " >&6
39105 else
39108 ac_ext=cpp
39109 ac_cpp='$CXXCPP $CPPFLAGS'
39110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39115 /* end confdefs.h. */
39116 #include <math.h>
39117 #ifdef HAVE_IEEEFP_H
39118 #include <ieeefp.h>
39119 #endif
39122 main ()
39124 _isnanl(0);
39126 return 0;
39128 _ACEOF
39129 if ac_fn_cxx_try_compile "$LINENO"; then :
39130 glibcxx_cv_func__isnanl_use=yes
39131 else
39132 glibcxx_cv_func__isnanl_use=no
39134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39135 ac_ext=c
39136 ac_cpp='$CPP $CPPFLAGS'
39137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
39146 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39148 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39149 for ac_func in _isnanl
39150 do :
39151 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39152 if test "x$ac_cv_func__isnanl" = xyes; then :
39153 cat >>confdefs.h <<_ACEOF
39154 #define HAVE__ISNANL 1
39155 _ACEOF
39158 done
39167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39168 $as_echo_n "checking for isinfl declaration... " >&6; }
39169 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39170 if ${glibcxx_cv_func_isinfl_use+:} false; then :
39171 $as_echo_n "(cached) " >&6
39172 else
39175 ac_ext=cpp
39176 ac_cpp='$CXXCPP $CPPFLAGS'
39177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39182 /* end confdefs.h. */
39183 #include <math.h>
39184 #ifdef HAVE_IEEEFP_H
39185 #include <ieeefp.h>
39186 #endif
39189 main ()
39191 isinfl(0);
39193 return 0;
39195 _ACEOF
39196 if ac_fn_cxx_try_compile "$LINENO"; then :
39197 glibcxx_cv_func_isinfl_use=yes
39198 else
39199 glibcxx_cv_func_isinfl_use=no
39201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39202 ac_ext=c
39203 ac_cpp='$CPP $CPPFLAGS'
39204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39213 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39215 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39216 for ac_func in isinfl
39217 do :
39218 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39219 if test "x$ac_cv_func_isinfl" = xyes; then :
39220 cat >>confdefs.h <<_ACEOF
39221 #define HAVE_ISINFL 1
39222 _ACEOF
39225 done
39227 else
39229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39230 $as_echo_n "checking for _isinfl declaration... " >&6; }
39231 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39232 if ${glibcxx_cv_func__isinfl_use+:} false; then :
39233 $as_echo_n "(cached) " >&6
39234 else
39237 ac_ext=cpp
39238 ac_cpp='$CXXCPP $CPPFLAGS'
39239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39244 /* end confdefs.h. */
39245 #include <math.h>
39246 #ifdef HAVE_IEEEFP_H
39247 #include <ieeefp.h>
39248 #endif
39251 main ()
39253 _isinfl(0);
39255 return 0;
39257 _ACEOF
39258 if ac_fn_cxx_try_compile "$LINENO"; then :
39259 glibcxx_cv_func__isinfl_use=yes
39260 else
39261 glibcxx_cv_func__isinfl_use=no
39263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39264 ac_ext=c
39265 ac_cpp='$CPP $CPPFLAGS'
39266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39275 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39277 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39278 for ac_func in _isinfl
39279 do :
39280 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39281 if test "x$ac_cv_func__isinfl" = xyes; then :
39282 cat >>confdefs.h <<_ACEOF
39283 #define HAVE__ISINFL 1
39284 _ACEOF
39287 done
39296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39297 $as_echo_n "checking for atan2l declaration... " >&6; }
39298 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39299 if ${glibcxx_cv_func_atan2l_use+:} false; then :
39300 $as_echo_n "(cached) " >&6
39301 else
39304 ac_ext=cpp
39305 ac_cpp='$CXXCPP $CPPFLAGS'
39306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39311 /* end confdefs.h. */
39312 #include <math.h>
39314 main ()
39316 atan2l(0, 0);
39318 return 0;
39320 _ACEOF
39321 if ac_fn_cxx_try_compile "$LINENO"; then :
39322 glibcxx_cv_func_atan2l_use=yes
39323 else
39324 glibcxx_cv_func_atan2l_use=no
39326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39327 ac_ext=c
39328 ac_cpp='$CPP $CPPFLAGS'
39329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39338 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39340 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39341 for ac_func in atan2l
39342 do :
39343 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39344 if test "x$ac_cv_func_atan2l" = xyes; then :
39345 cat >>confdefs.h <<_ACEOF
39346 #define HAVE_ATAN2L 1
39347 _ACEOF
39350 done
39352 else
39354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39355 $as_echo_n "checking for _atan2l declaration... " >&6; }
39356 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39357 if ${glibcxx_cv_func__atan2l_use+:} false; then :
39358 $as_echo_n "(cached) " >&6
39359 else
39362 ac_ext=cpp
39363 ac_cpp='$CXXCPP $CPPFLAGS'
39364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39369 /* end confdefs.h. */
39370 #include <math.h>
39372 main ()
39374 _atan2l(0, 0);
39376 return 0;
39378 _ACEOF
39379 if ac_fn_cxx_try_compile "$LINENO"; then :
39380 glibcxx_cv_func__atan2l_use=yes
39381 else
39382 glibcxx_cv_func__atan2l_use=no
39384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39385 ac_ext=c
39386 ac_cpp='$CPP $CPPFLAGS'
39387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39396 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39398 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39399 for ac_func in _atan2l
39400 do :
39401 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39402 if test "x$ac_cv_func__atan2l" = xyes; then :
39403 cat >>confdefs.h <<_ACEOF
39404 #define HAVE__ATAN2L 1
39405 _ACEOF
39408 done
39417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39418 $as_echo_n "checking for expl declaration... " >&6; }
39419 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39420 if ${glibcxx_cv_func_expl_use+:} false; then :
39421 $as_echo_n "(cached) " >&6
39422 else
39425 ac_ext=cpp
39426 ac_cpp='$CXXCPP $CPPFLAGS'
39427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39432 /* end confdefs.h. */
39433 #include <math.h>
39434 #ifdef HAVE_IEEEFP_H
39435 #include <ieeefp.h>
39436 #endif
39439 main ()
39441 expl(0);
39443 return 0;
39445 _ACEOF
39446 if ac_fn_cxx_try_compile "$LINENO"; then :
39447 glibcxx_cv_func_expl_use=yes
39448 else
39449 glibcxx_cv_func_expl_use=no
39451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39452 ac_ext=c
39453 ac_cpp='$CPP $CPPFLAGS'
39454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39463 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39465 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39466 for ac_func in expl
39467 do :
39468 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39469 if test "x$ac_cv_func_expl" = xyes; then :
39470 cat >>confdefs.h <<_ACEOF
39471 #define HAVE_EXPL 1
39472 _ACEOF
39475 done
39477 else
39479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39480 $as_echo_n "checking for _expl declaration... " >&6; }
39481 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39482 if ${glibcxx_cv_func__expl_use+:} false; then :
39483 $as_echo_n "(cached) " >&6
39484 else
39487 ac_ext=cpp
39488 ac_cpp='$CXXCPP $CPPFLAGS'
39489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39494 /* end confdefs.h. */
39495 #include <math.h>
39496 #ifdef HAVE_IEEEFP_H
39497 #include <ieeefp.h>
39498 #endif
39501 main ()
39503 _expl(0);
39505 return 0;
39507 _ACEOF
39508 if ac_fn_cxx_try_compile "$LINENO"; then :
39509 glibcxx_cv_func__expl_use=yes
39510 else
39511 glibcxx_cv_func__expl_use=no
39513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39514 ac_ext=c
39515 ac_cpp='$CPP $CPPFLAGS'
39516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39525 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39527 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39528 for ac_func in _expl
39529 do :
39530 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39531 if test "x$ac_cv_func__expl" = xyes; then :
39532 cat >>confdefs.h <<_ACEOF
39533 #define HAVE__EXPL 1
39534 _ACEOF
39537 done
39546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39547 $as_echo_n "checking for fabsl declaration... " >&6; }
39548 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39549 if ${glibcxx_cv_func_fabsl_use+:} false; then :
39550 $as_echo_n "(cached) " >&6
39551 else
39554 ac_ext=cpp
39555 ac_cpp='$CXXCPP $CPPFLAGS'
39556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39561 /* end confdefs.h. */
39562 #include <math.h>
39563 #ifdef HAVE_IEEEFP_H
39564 #include <ieeefp.h>
39565 #endif
39568 main ()
39570 fabsl(0);
39572 return 0;
39574 _ACEOF
39575 if ac_fn_cxx_try_compile "$LINENO"; then :
39576 glibcxx_cv_func_fabsl_use=yes
39577 else
39578 glibcxx_cv_func_fabsl_use=no
39580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39581 ac_ext=c
39582 ac_cpp='$CPP $CPPFLAGS'
39583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39592 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39594 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39595 for ac_func in fabsl
39596 do :
39597 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39598 if test "x$ac_cv_func_fabsl" = xyes; then :
39599 cat >>confdefs.h <<_ACEOF
39600 #define HAVE_FABSL 1
39601 _ACEOF
39604 done
39606 else
39608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39609 $as_echo_n "checking for _fabsl declaration... " >&6; }
39610 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39611 if ${glibcxx_cv_func__fabsl_use+:} false; then :
39612 $as_echo_n "(cached) " >&6
39613 else
39616 ac_ext=cpp
39617 ac_cpp='$CXXCPP $CPPFLAGS'
39618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39623 /* end confdefs.h. */
39624 #include <math.h>
39625 #ifdef HAVE_IEEEFP_H
39626 #include <ieeefp.h>
39627 #endif
39630 main ()
39632 _fabsl(0);
39634 return 0;
39636 _ACEOF
39637 if ac_fn_cxx_try_compile "$LINENO"; then :
39638 glibcxx_cv_func__fabsl_use=yes
39639 else
39640 glibcxx_cv_func__fabsl_use=no
39642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39643 ac_ext=c
39644 ac_cpp='$CPP $CPPFLAGS'
39645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39654 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39656 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39657 for ac_func in _fabsl
39658 do :
39659 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39660 if test "x$ac_cv_func__fabsl" = xyes; then :
39661 cat >>confdefs.h <<_ACEOF
39662 #define HAVE__FABSL 1
39663 _ACEOF
39666 done
39675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39676 $as_echo_n "checking for fmodl declaration... " >&6; }
39677 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39678 if ${glibcxx_cv_func_fmodl_use+:} false; then :
39679 $as_echo_n "(cached) " >&6
39680 else
39683 ac_ext=cpp
39684 ac_cpp='$CXXCPP $CPPFLAGS'
39685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39690 /* end confdefs.h. */
39691 #include <math.h>
39693 main ()
39695 fmodl(0, 0);
39697 return 0;
39699 _ACEOF
39700 if ac_fn_cxx_try_compile "$LINENO"; then :
39701 glibcxx_cv_func_fmodl_use=yes
39702 else
39703 glibcxx_cv_func_fmodl_use=no
39705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39706 ac_ext=c
39707 ac_cpp='$CPP $CPPFLAGS'
39708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39717 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39719 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39720 for ac_func in fmodl
39721 do :
39722 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39723 if test "x$ac_cv_func_fmodl" = xyes; then :
39724 cat >>confdefs.h <<_ACEOF
39725 #define HAVE_FMODL 1
39726 _ACEOF
39729 done
39731 else
39733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39734 $as_echo_n "checking for _fmodl declaration... " >&6; }
39735 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39736 if ${glibcxx_cv_func__fmodl_use+:} false; then :
39737 $as_echo_n "(cached) " >&6
39738 else
39741 ac_ext=cpp
39742 ac_cpp='$CXXCPP $CPPFLAGS'
39743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39748 /* end confdefs.h. */
39749 #include <math.h>
39751 main ()
39753 _fmodl(0, 0);
39755 return 0;
39757 _ACEOF
39758 if ac_fn_cxx_try_compile "$LINENO"; then :
39759 glibcxx_cv_func__fmodl_use=yes
39760 else
39761 glibcxx_cv_func__fmodl_use=no
39763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39764 ac_ext=c
39765 ac_cpp='$CPP $CPPFLAGS'
39766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39775 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39777 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39778 for ac_func in _fmodl
39779 do :
39780 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39781 if test "x$ac_cv_func__fmodl" = xyes; then :
39782 cat >>confdefs.h <<_ACEOF
39783 #define HAVE__FMODL 1
39784 _ACEOF
39787 done
39796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39797 $as_echo_n "checking for frexpl declaration... " >&6; }
39798 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39799 if ${glibcxx_cv_func_frexpl_use+:} false; then :
39800 $as_echo_n "(cached) " >&6
39801 else
39804 ac_ext=cpp
39805 ac_cpp='$CXXCPP $CPPFLAGS'
39806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39811 /* end confdefs.h. */
39812 #include <math.h>
39814 main ()
39816 frexpl(0, 0);
39818 return 0;
39820 _ACEOF
39821 if ac_fn_cxx_try_compile "$LINENO"; then :
39822 glibcxx_cv_func_frexpl_use=yes
39823 else
39824 glibcxx_cv_func_frexpl_use=no
39826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39827 ac_ext=c
39828 ac_cpp='$CPP $CPPFLAGS'
39829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39838 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39840 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39841 for ac_func in frexpl
39842 do :
39843 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39844 if test "x$ac_cv_func_frexpl" = xyes; then :
39845 cat >>confdefs.h <<_ACEOF
39846 #define HAVE_FREXPL 1
39847 _ACEOF
39850 done
39852 else
39854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39855 $as_echo_n "checking for _frexpl declaration... " >&6; }
39856 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39857 if ${glibcxx_cv_func__frexpl_use+:} false; then :
39858 $as_echo_n "(cached) " >&6
39859 else
39862 ac_ext=cpp
39863 ac_cpp='$CXXCPP $CPPFLAGS'
39864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39869 /* end confdefs.h. */
39870 #include <math.h>
39872 main ()
39874 _frexpl(0, 0);
39876 return 0;
39878 _ACEOF
39879 if ac_fn_cxx_try_compile "$LINENO"; then :
39880 glibcxx_cv_func__frexpl_use=yes
39881 else
39882 glibcxx_cv_func__frexpl_use=no
39884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39885 ac_ext=c
39886 ac_cpp='$CPP $CPPFLAGS'
39887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39896 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39898 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39899 for ac_func in _frexpl
39900 do :
39901 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39902 if test "x$ac_cv_func__frexpl" = xyes; then :
39903 cat >>confdefs.h <<_ACEOF
39904 #define HAVE__FREXPL 1
39905 _ACEOF
39908 done
39917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39918 $as_echo_n "checking for hypotl declaration... " >&6; }
39919 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39920 if ${glibcxx_cv_func_hypotl_use+:} false; then :
39921 $as_echo_n "(cached) " >&6
39922 else
39925 ac_ext=cpp
39926 ac_cpp='$CXXCPP $CPPFLAGS'
39927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39932 /* end confdefs.h. */
39933 #include <math.h>
39935 main ()
39937 hypotl(0, 0);
39939 return 0;
39941 _ACEOF
39942 if ac_fn_cxx_try_compile "$LINENO"; then :
39943 glibcxx_cv_func_hypotl_use=yes
39944 else
39945 glibcxx_cv_func_hypotl_use=no
39947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39948 ac_ext=c
39949 ac_cpp='$CPP $CPPFLAGS'
39950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39959 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39961 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39962 for ac_func in hypotl
39963 do :
39964 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39965 if test "x$ac_cv_func_hypotl" = xyes; then :
39966 cat >>confdefs.h <<_ACEOF
39967 #define HAVE_HYPOTL 1
39968 _ACEOF
39971 done
39973 else
39975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39976 $as_echo_n "checking for _hypotl declaration... " >&6; }
39977 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39978 if ${glibcxx_cv_func__hypotl_use+:} false; then :
39979 $as_echo_n "(cached) " >&6
39980 else
39983 ac_ext=cpp
39984 ac_cpp='$CXXCPP $CPPFLAGS'
39985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39990 /* end confdefs.h. */
39991 #include <math.h>
39993 main ()
39995 _hypotl(0, 0);
39997 return 0;
39999 _ACEOF
40000 if ac_fn_cxx_try_compile "$LINENO"; then :
40001 glibcxx_cv_func__hypotl_use=yes
40002 else
40003 glibcxx_cv_func__hypotl_use=no
40005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40006 ac_ext=c
40007 ac_cpp='$CPP $CPPFLAGS'
40008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
40017 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
40019 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
40020 for ac_func in _hypotl
40021 do :
40022 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
40023 if test "x$ac_cv_func__hypotl" = xyes; then :
40024 cat >>confdefs.h <<_ACEOF
40025 #define HAVE__HYPOTL 1
40026 _ACEOF
40029 done
40038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
40039 $as_echo_n "checking for ldexpl declaration... " >&6; }
40040 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
40041 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
40042 $as_echo_n "(cached) " >&6
40043 else
40046 ac_ext=cpp
40047 ac_cpp='$CXXCPP $CPPFLAGS'
40048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40053 /* end confdefs.h. */
40054 #include <math.h>
40056 main ()
40058 ldexpl(0, 0);
40060 return 0;
40062 _ACEOF
40063 if ac_fn_cxx_try_compile "$LINENO"; then :
40064 glibcxx_cv_func_ldexpl_use=yes
40065 else
40066 glibcxx_cv_func_ldexpl_use=no
40068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40069 ac_ext=c
40070 ac_cpp='$CPP $CPPFLAGS'
40071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
40080 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
40082 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
40083 for ac_func in ldexpl
40084 do :
40085 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
40086 if test "x$ac_cv_func_ldexpl" = xyes; then :
40087 cat >>confdefs.h <<_ACEOF
40088 #define HAVE_LDEXPL 1
40089 _ACEOF
40092 done
40094 else
40096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
40097 $as_echo_n "checking for _ldexpl declaration... " >&6; }
40098 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
40099 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
40100 $as_echo_n "(cached) " >&6
40101 else
40104 ac_ext=cpp
40105 ac_cpp='$CXXCPP $CPPFLAGS'
40106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40111 /* end confdefs.h. */
40112 #include <math.h>
40114 main ()
40116 _ldexpl(0, 0);
40118 return 0;
40120 _ACEOF
40121 if ac_fn_cxx_try_compile "$LINENO"; then :
40122 glibcxx_cv_func__ldexpl_use=yes
40123 else
40124 glibcxx_cv_func__ldexpl_use=no
40126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40127 ac_ext=c
40128 ac_cpp='$CPP $CPPFLAGS'
40129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
40138 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
40140 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
40141 for ac_func in _ldexpl
40142 do :
40143 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40144 if test "x$ac_cv_func__ldexpl" = xyes; then :
40145 cat >>confdefs.h <<_ACEOF
40146 #define HAVE__LDEXPL 1
40147 _ACEOF
40150 done
40159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40160 $as_echo_n "checking for logl declaration... " >&6; }
40161 if test x${glibcxx_cv_func_logl_use+set} != xset; then
40162 if ${glibcxx_cv_func_logl_use+:} false; then :
40163 $as_echo_n "(cached) " >&6
40164 else
40167 ac_ext=cpp
40168 ac_cpp='$CXXCPP $CPPFLAGS'
40169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40174 /* end confdefs.h. */
40175 #include <math.h>
40176 #ifdef HAVE_IEEEFP_H
40177 #include <ieeefp.h>
40178 #endif
40181 main ()
40183 logl(0);
40185 return 0;
40187 _ACEOF
40188 if ac_fn_cxx_try_compile "$LINENO"; then :
40189 glibcxx_cv_func_logl_use=yes
40190 else
40191 glibcxx_cv_func_logl_use=no
40193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40194 ac_ext=c
40195 ac_cpp='$CPP $CPPFLAGS'
40196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40205 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
40207 if test x$glibcxx_cv_func_logl_use = x"yes"; then
40208 for ac_func in logl
40209 do :
40210 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40211 if test "x$ac_cv_func_logl" = xyes; then :
40212 cat >>confdefs.h <<_ACEOF
40213 #define HAVE_LOGL 1
40214 _ACEOF
40217 done
40219 else
40221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40222 $as_echo_n "checking for _logl declaration... " >&6; }
40223 if test x${glibcxx_cv_func__logl_use+set} != xset; then
40224 if ${glibcxx_cv_func__logl_use+:} false; then :
40225 $as_echo_n "(cached) " >&6
40226 else
40229 ac_ext=cpp
40230 ac_cpp='$CXXCPP $CPPFLAGS'
40231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40236 /* end confdefs.h. */
40237 #include <math.h>
40238 #ifdef HAVE_IEEEFP_H
40239 #include <ieeefp.h>
40240 #endif
40243 main ()
40245 _logl(0);
40247 return 0;
40249 _ACEOF
40250 if ac_fn_cxx_try_compile "$LINENO"; then :
40251 glibcxx_cv_func__logl_use=yes
40252 else
40253 glibcxx_cv_func__logl_use=no
40255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40256 ac_ext=c
40257 ac_cpp='$CPP $CPPFLAGS'
40258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40267 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
40269 if test x$glibcxx_cv_func__logl_use = x"yes"; then
40270 for ac_func in _logl
40271 do :
40272 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40273 if test "x$ac_cv_func__logl" = xyes; then :
40274 cat >>confdefs.h <<_ACEOF
40275 #define HAVE__LOGL 1
40276 _ACEOF
40279 done
40288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40289 $as_echo_n "checking for log10l declaration... " >&6; }
40290 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40291 if ${glibcxx_cv_func_log10l_use+:} false; then :
40292 $as_echo_n "(cached) " >&6
40293 else
40296 ac_ext=cpp
40297 ac_cpp='$CXXCPP $CPPFLAGS'
40298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40303 /* end confdefs.h. */
40304 #include <math.h>
40305 #ifdef HAVE_IEEEFP_H
40306 #include <ieeefp.h>
40307 #endif
40310 main ()
40312 log10l(0);
40314 return 0;
40316 _ACEOF
40317 if ac_fn_cxx_try_compile "$LINENO"; then :
40318 glibcxx_cv_func_log10l_use=yes
40319 else
40320 glibcxx_cv_func_log10l_use=no
40322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40323 ac_ext=c
40324 ac_cpp='$CPP $CPPFLAGS'
40325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40334 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40336 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40337 for ac_func in log10l
40338 do :
40339 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40340 if test "x$ac_cv_func_log10l" = xyes; then :
40341 cat >>confdefs.h <<_ACEOF
40342 #define HAVE_LOG10L 1
40343 _ACEOF
40346 done
40348 else
40350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40351 $as_echo_n "checking for _log10l declaration... " >&6; }
40352 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40353 if ${glibcxx_cv_func__log10l_use+:} false; then :
40354 $as_echo_n "(cached) " >&6
40355 else
40358 ac_ext=cpp
40359 ac_cpp='$CXXCPP $CPPFLAGS'
40360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40365 /* end confdefs.h. */
40366 #include <math.h>
40367 #ifdef HAVE_IEEEFP_H
40368 #include <ieeefp.h>
40369 #endif
40372 main ()
40374 _log10l(0);
40376 return 0;
40378 _ACEOF
40379 if ac_fn_cxx_try_compile "$LINENO"; then :
40380 glibcxx_cv_func__log10l_use=yes
40381 else
40382 glibcxx_cv_func__log10l_use=no
40384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40385 ac_ext=c
40386 ac_cpp='$CPP $CPPFLAGS'
40387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40396 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40398 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40399 for ac_func in _log10l
40400 do :
40401 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40402 if test "x$ac_cv_func__log10l" = xyes; then :
40403 cat >>confdefs.h <<_ACEOF
40404 #define HAVE__LOG10L 1
40405 _ACEOF
40408 done
40417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40418 $as_echo_n "checking for modfl declaration... " >&6; }
40419 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40420 if ${glibcxx_cv_func_modfl_use+:} false; then :
40421 $as_echo_n "(cached) " >&6
40422 else
40425 ac_ext=cpp
40426 ac_cpp='$CXXCPP $CPPFLAGS'
40427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40432 /* end confdefs.h. */
40433 #include <math.h>
40435 main ()
40437 modfl(0, 0);
40439 return 0;
40441 _ACEOF
40442 if ac_fn_cxx_try_compile "$LINENO"; then :
40443 glibcxx_cv_func_modfl_use=yes
40444 else
40445 glibcxx_cv_func_modfl_use=no
40447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40448 ac_ext=c
40449 ac_cpp='$CPP $CPPFLAGS'
40450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40459 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40461 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40462 for ac_func in modfl
40463 do :
40464 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40465 if test "x$ac_cv_func_modfl" = xyes; then :
40466 cat >>confdefs.h <<_ACEOF
40467 #define HAVE_MODFL 1
40468 _ACEOF
40471 done
40473 else
40475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40476 $as_echo_n "checking for _modfl declaration... " >&6; }
40477 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40478 if ${glibcxx_cv_func__modfl_use+:} false; then :
40479 $as_echo_n "(cached) " >&6
40480 else
40483 ac_ext=cpp
40484 ac_cpp='$CXXCPP $CPPFLAGS'
40485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40490 /* end confdefs.h. */
40491 #include <math.h>
40493 main ()
40495 _modfl(0, 0);
40497 return 0;
40499 _ACEOF
40500 if ac_fn_cxx_try_compile "$LINENO"; then :
40501 glibcxx_cv_func__modfl_use=yes
40502 else
40503 glibcxx_cv_func__modfl_use=no
40505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40506 ac_ext=c
40507 ac_cpp='$CPP $CPPFLAGS'
40508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40517 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40519 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40520 for ac_func in _modfl
40521 do :
40522 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40523 if test "x$ac_cv_func__modfl" = xyes; then :
40524 cat >>confdefs.h <<_ACEOF
40525 #define HAVE__MODFL 1
40526 _ACEOF
40529 done
40538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40539 $as_echo_n "checking for powl declaration... " >&6; }
40540 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40541 if ${glibcxx_cv_func_powl_use+:} false; then :
40542 $as_echo_n "(cached) " >&6
40543 else
40546 ac_ext=cpp
40547 ac_cpp='$CXXCPP $CPPFLAGS'
40548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40553 /* end confdefs.h. */
40554 #include <math.h>
40556 main ()
40558 powl(0, 0);
40560 return 0;
40562 _ACEOF
40563 if ac_fn_cxx_try_compile "$LINENO"; then :
40564 glibcxx_cv_func_powl_use=yes
40565 else
40566 glibcxx_cv_func_powl_use=no
40568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40569 ac_ext=c
40570 ac_cpp='$CPP $CPPFLAGS'
40571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40580 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40582 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40583 for ac_func in powl
40584 do :
40585 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40586 if test "x$ac_cv_func_powl" = xyes; then :
40587 cat >>confdefs.h <<_ACEOF
40588 #define HAVE_POWL 1
40589 _ACEOF
40592 done
40594 else
40596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40597 $as_echo_n "checking for _powl declaration... " >&6; }
40598 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40599 if ${glibcxx_cv_func__powl_use+:} false; then :
40600 $as_echo_n "(cached) " >&6
40601 else
40604 ac_ext=cpp
40605 ac_cpp='$CXXCPP $CPPFLAGS'
40606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40611 /* end confdefs.h. */
40612 #include <math.h>
40614 main ()
40616 _powl(0, 0);
40618 return 0;
40620 _ACEOF
40621 if ac_fn_cxx_try_compile "$LINENO"; then :
40622 glibcxx_cv_func__powl_use=yes
40623 else
40624 glibcxx_cv_func__powl_use=no
40626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40627 ac_ext=c
40628 ac_cpp='$CPP $CPPFLAGS'
40629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40638 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40640 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40641 for ac_func in _powl
40642 do :
40643 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40644 if test "x$ac_cv_func__powl" = xyes; then :
40645 cat >>confdefs.h <<_ACEOF
40646 #define HAVE__POWL 1
40647 _ACEOF
40650 done
40659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40660 $as_echo_n "checking for sqrtl declaration... " >&6; }
40661 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40662 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
40663 $as_echo_n "(cached) " >&6
40664 else
40667 ac_ext=cpp
40668 ac_cpp='$CXXCPP $CPPFLAGS'
40669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40674 /* end confdefs.h. */
40675 #include <math.h>
40676 #ifdef HAVE_IEEEFP_H
40677 #include <ieeefp.h>
40678 #endif
40681 main ()
40683 sqrtl(0);
40685 return 0;
40687 _ACEOF
40688 if ac_fn_cxx_try_compile "$LINENO"; then :
40689 glibcxx_cv_func_sqrtl_use=yes
40690 else
40691 glibcxx_cv_func_sqrtl_use=no
40693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40694 ac_ext=c
40695 ac_cpp='$CPP $CPPFLAGS'
40696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40705 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40707 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40708 for ac_func in sqrtl
40709 do :
40710 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40711 if test "x$ac_cv_func_sqrtl" = xyes; then :
40712 cat >>confdefs.h <<_ACEOF
40713 #define HAVE_SQRTL 1
40714 _ACEOF
40717 done
40719 else
40721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40722 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40723 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40724 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
40725 $as_echo_n "(cached) " >&6
40726 else
40729 ac_ext=cpp
40730 ac_cpp='$CXXCPP $CPPFLAGS'
40731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40736 /* end confdefs.h. */
40737 #include <math.h>
40738 #ifdef HAVE_IEEEFP_H
40739 #include <ieeefp.h>
40740 #endif
40743 main ()
40745 _sqrtl(0);
40747 return 0;
40749 _ACEOF
40750 if ac_fn_cxx_try_compile "$LINENO"; then :
40751 glibcxx_cv_func__sqrtl_use=yes
40752 else
40753 glibcxx_cv_func__sqrtl_use=no
40755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40756 ac_ext=c
40757 ac_cpp='$CPP $CPPFLAGS'
40758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40767 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40769 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40770 for ac_func in _sqrtl
40771 do :
40772 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40773 if test "x$ac_cv_func__sqrtl" = xyes; then :
40774 cat >>confdefs.h <<_ACEOF
40775 #define HAVE__SQRTL 1
40776 _ACEOF
40779 done
40788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40789 $as_echo_n "checking for sincosl declaration... " >&6; }
40790 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40791 if ${glibcxx_cv_func_sincosl_use+:} false; then :
40792 $as_echo_n "(cached) " >&6
40793 else
40796 ac_ext=cpp
40797 ac_cpp='$CXXCPP $CPPFLAGS'
40798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40803 /* end confdefs.h. */
40804 #include <math.h>
40806 main ()
40808 sincosl(0, 0, 0);
40810 return 0;
40812 _ACEOF
40813 if ac_fn_cxx_try_compile "$LINENO"; then :
40814 glibcxx_cv_func_sincosl_use=yes
40815 else
40816 glibcxx_cv_func_sincosl_use=no
40818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40819 ac_ext=c
40820 ac_cpp='$CPP $CPPFLAGS'
40821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40830 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40832 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40833 for ac_func in sincosl
40834 do :
40835 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40836 if test "x$ac_cv_func_sincosl" = xyes; then :
40837 cat >>confdefs.h <<_ACEOF
40838 #define HAVE_SINCOSL 1
40839 _ACEOF
40842 done
40844 else
40846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40847 $as_echo_n "checking for _sincosl declaration... " >&6; }
40848 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40849 if ${glibcxx_cv_func__sincosl_use+:} false; then :
40850 $as_echo_n "(cached) " >&6
40851 else
40854 ac_ext=cpp
40855 ac_cpp='$CXXCPP $CPPFLAGS'
40856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40861 /* end confdefs.h. */
40862 #include <math.h>
40864 main ()
40866 _sincosl(0, 0, 0);
40868 return 0;
40870 _ACEOF
40871 if ac_fn_cxx_try_compile "$LINENO"; then :
40872 glibcxx_cv_func__sincosl_use=yes
40873 else
40874 glibcxx_cv_func__sincosl_use=no
40876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40877 ac_ext=c
40878 ac_cpp='$CPP $CPPFLAGS'
40879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40888 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40890 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40891 for ac_func in _sincosl
40892 do :
40893 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40894 if test "x$ac_cv_func__sincosl" = xyes; then :
40895 cat >>confdefs.h <<_ACEOF
40896 #define HAVE__SINCOSL 1
40897 _ACEOF
40900 done
40909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40910 $as_echo_n "checking for finitel declaration... " >&6; }
40911 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40912 if ${glibcxx_cv_func_finitel_use+:} false; then :
40913 $as_echo_n "(cached) " >&6
40914 else
40917 ac_ext=cpp
40918 ac_cpp='$CXXCPP $CPPFLAGS'
40919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40924 /* end confdefs.h. */
40925 #include <math.h>
40926 #ifdef HAVE_IEEEFP_H
40927 #include <ieeefp.h>
40928 #endif
40931 main ()
40933 finitel(0);
40935 return 0;
40937 _ACEOF
40938 if ac_fn_cxx_try_compile "$LINENO"; then :
40939 glibcxx_cv_func_finitel_use=yes
40940 else
40941 glibcxx_cv_func_finitel_use=no
40943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40944 ac_ext=c
40945 ac_cpp='$CPP $CPPFLAGS'
40946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40955 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40957 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40958 for ac_func in finitel
40959 do :
40960 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40961 if test "x$ac_cv_func_finitel" = xyes; then :
40962 cat >>confdefs.h <<_ACEOF
40963 #define HAVE_FINITEL 1
40964 _ACEOF
40967 done
40969 else
40971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40972 $as_echo_n "checking for _finitel declaration... " >&6; }
40973 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40974 if ${glibcxx_cv_func__finitel_use+:} false; then :
40975 $as_echo_n "(cached) " >&6
40976 else
40979 ac_ext=cpp
40980 ac_cpp='$CXXCPP $CPPFLAGS'
40981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40986 /* end confdefs.h. */
40987 #include <math.h>
40988 #ifdef HAVE_IEEEFP_H
40989 #include <ieeefp.h>
40990 #endif
40993 main ()
40995 _finitel(0);
40997 return 0;
40999 _ACEOF
41000 if ac_fn_cxx_try_compile "$LINENO"; then :
41001 glibcxx_cv_func__finitel_use=yes
41002 else
41003 glibcxx_cv_func__finitel_use=no
41005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41006 ac_ext=c
41007 ac_cpp='$CPP $CPPFLAGS'
41008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
41017 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
41019 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
41020 for ac_func in _finitel
41021 do :
41022 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
41023 if test "x$ac_cv_func__finitel" = xyes; then :
41024 cat >>confdefs.h <<_ACEOF
41025 #define HAVE__FINITEL 1
41026 _ACEOF
41029 done
41037 LIBS="$ac_save_LIBS"
41038 CXXFLAGS="$ac_save_CXXFLAGS"
41041 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41042 ac_save_CXXFLAGS="$CXXFLAGS"
41043 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
41047 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
41048 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
41049 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
41050 $as_echo_n "(cached) " >&6
41051 else
41054 ac_ext=cpp
41055 ac_cpp='$CXXCPP $CPPFLAGS'
41056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41061 /* end confdefs.h. */
41062 #include <stdlib.h>
41064 main ()
41066 at_quick_exit(0);
41068 return 0;
41070 _ACEOF
41071 if ac_fn_cxx_try_compile "$LINENO"; then :
41072 glibcxx_cv_func_at_quick_exit_use=yes
41073 else
41074 glibcxx_cv_func_at_quick_exit_use=no
41076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41077 ac_ext=c
41078 ac_cpp='$CPP $CPPFLAGS'
41079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
41088 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
41089 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
41090 for ac_func in at_quick_exit
41091 do :
41092 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
41093 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
41094 cat >>confdefs.h <<_ACEOF
41095 #define HAVE_AT_QUICK_EXIT 1
41096 _ACEOF
41099 done
41104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
41105 $as_echo_n "checking for quick_exit declaration... " >&6; }
41106 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
41107 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
41108 $as_echo_n "(cached) " >&6
41109 else
41112 ac_ext=cpp
41113 ac_cpp='$CXXCPP $CPPFLAGS'
41114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41119 /* end confdefs.h. */
41120 #include <stdlib.h>
41122 main ()
41124 quick_exit(0);
41126 return 0;
41128 _ACEOF
41129 if ac_fn_cxx_try_compile "$LINENO"; then :
41130 glibcxx_cv_func_quick_exit_use=yes
41131 else
41132 glibcxx_cv_func_quick_exit_use=no
41134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41135 ac_ext=c
41136 ac_cpp='$CPP $CPPFLAGS'
41137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41146 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41147 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41148 for ac_func in quick_exit
41149 do :
41150 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41151 if test "x$ac_cv_func_quick_exit" = xyes; then :
41152 cat >>confdefs.h <<_ACEOF
41153 #define HAVE_QUICK_EXIT 1
41154 _ACEOF
41157 done
41162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41163 $as_echo_n "checking for strtold declaration... " >&6; }
41164 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41165 if ${glibcxx_cv_func_strtold_use+:} false; then :
41166 $as_echo_n "(cached) " >&6
41167 else
41170 ac_ext=cpp
41171 ac_cpp='$CXXCPP $CPPFLAGS'
41172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41177 /* end confdefs.h. */
41178 #include <stdlib.h>
41180 main ()
41182 strtold(0, 0);
41184 return 0;
41186 _ACEOF
41187 if ac_fn_cxx_try_compile "$LINENO"; then :
41188 glibcxx_cv_func_strtold_use=yes
41189 else
41190 glibcxx_cv_func_strtold_use=no
41192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41193 ac_ext=c
41194 ac_cpp='$CPP $CPPFLAGS'
41195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41204 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41205 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41206 for ac_func in strtold
41207 do :
41208 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41209 if test "x$ac_cv_func_strtold" = xyes; then :
41210 cat >>confdefs.h <<_ACEOF
41211 #define HAVE_STRTOLD 1
41212 _ACEOF
41215 done
41222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41223 $as_echo_n "checking for strtof declaration... " >&6; }
41224 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41225 if ${glibcxx_cv_func_strtof_use+:} false; then :
41226 $as_echo_n "(cached) " >&6
41227 else
41230 ac_ext=cpp
41231 ac_cpp='$CXXCPP $CPPFLAGS'
41232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41237 /* end confdefs.h. */
41238 #include <stdlib.h>
41240 main ()
41242 strtof(0, 0);
41244 return 0;
41246 _ACEOF
41247 if ac_fn_cxx_try_compile "$LINENO"; then :
41248 glibcxx_cv_func_strtof_use=yes
41249 else
41250 glibcxx_cv_func_strtof_use=no
41252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41253 ac_ext=c
41254 ac_cpp='$CPP $CPPFLAGS'
41255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41264 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41265 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41266 for ac_func in strtof
41267 do :
41268 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41269 if test "x$ac_cv_func_strtof" = xyes; then :
41270 cat >>confdefs.h <<_ACEOF
41271 #define HAVE_STRTOF 1
41272 _ACEOF
41275 done
41282 CXXFLAGS="$ac_save_CXXFLAGS"
41289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41290 $as_echo_n "checking for iconv... " >&6; }
41291 if ${am_cv_func_iconv+:} false; then :
41292 $as_echo_n "(cached) " >&6
41293 else
41295 am_cv_func_iconv="no, consider installing GNU libiconv"
41296 am_cv_lib_iconv=no
41297 am_save_CPPFLAGS="$CPPFLAGS"
41298 CPPFLAGS="$CPPFLAGS $INCICONV"
41299 if test x$gcc_no_link = xyes; then
41300 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41303 /* end confdefs.h. */
41304 #include <stdlib.h>
41305 #include <iconv.h>
41307 main ()
41309 iconv_t cd = iconv_open("","");
41310 iconv(cd,NULL,NULL,NULL,NULL);
41311 iconv_close(cd);
41313 return 0;
41315 _ACEOF
41316 if ac_fn_c_try_link "$LINENO"; then :
41317 am_cv_func_iconv=yes
41319 rm -f core conftest.err conftest.$ac_objext \
41320 conftest$ac_exeext conftest.$ac_ext
41321 CPPFLAGS="$am_save_CPPFLAGS"
41323 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41324 for _libs in .libs _libs; do
41325 am_save_CPPFLAGS="$CPPFLAGS"
41326 am_save_LIBS="$LIBS"
41327 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41328 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41329 if test x$gcc_no_link = xyes; then
41330 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41333 /* end confdefs.h. */
41334 #include <stdlib.h>
41335 #include <iconv.h>
41337 main ()
41339 iconv_t cd = iconv_open("","");
41340 iconv(cd,NULL,NULL,NULL,NULL);
41341 iconv_close(cd);
41343 return 0;
41345 _ACEOF
41346 if ac_fn_c_try_link "$LINENO"; then :
41347 INCICONV="-I../libiconv/include"
41348 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41349 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41350 am_cv_lib_iconv=yes
41351 am_cv_func_iconv=yes
41353 rm -f core conftest.err conftest.$ac_objext \
41354 conftest$ac_exeext conftest.$ac_ext
41355 CPPFLAGS="$am_save_CPPFLAGS"
41356 LIBS="$am_save_LIBS"
41357 if test "$am_cv_func_iconv" = "yes"; then
41358 break
41360 done
41363 if test "$am_cv_func_iconv" != yes; then
41364 am_save_CPPFLAGS="$CPPFLAGS"
41365 am_save_LIBS="$LIBS"
41366 CPPFLAGS="$CPPFLAGS $INCICONV"
41367 LIBS="$LIBS $LIBICONV"
41368 if test x$gcc_no_link = xyes; then
41369 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41372 /* end confdefs.h. */
41373 #include <stdlib.h>
41374 #include <iconv.h>
41376 main ()
41378 iconv_t cd = iconv_open("","");
41379 iconv(cd,NULL,NULL,NULL,NULL);
41380 iconv_close(cd);
41382 return 0;
41384 _ACEOF
41385 if ac_fn_c_try_link "$LINENO"; then :
41386 am_cv_lib_iconv=yes
41387 am_cv_func_iconv=yes
41389 rm -f core conftest.err conftest.$ac_objext \
41390 conftest$ac_exeext conftest.$ac_ext
41391 CPPFLAGS="$am_save_CPPFLAGS"
41392 LIBS="$am_save_LIBS"
41396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41397 $as_echo "$am_cv_func_iconv" >&6; }
41398 if test "$am_cv_func_iconv" = yes; then
41400 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41403 if test "$am_cv_lib_iconv" = yes; then
41405 for element in $INCICONV; do
41406 haveit=
41407 for x in $CPPFLAGS; do
41409 acl_save_prefix="$prefix"
41410 prefix="$acl_final_prefix"
41411 acl_save_exec_prefix="$exec_prefix"
41412 exec_prefix="$acl_final_exec_prefix"
41413 eval x=\"$x\"
41414 exec_prefix="$acl_save_exec_prefix"
41415 prefix="$acl_save_prefix"
41417 if test "X$x" = "X$element"; then
41418 haveit=yes
41419 break
41421 done
41422 if test -z "$haveit"; then
41423 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41425 done
41427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41428 $as_echo_n "checking how to link with libiconv... " >&6; }
41429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41430 $as_echo "$LIBICONV" >&6; }
41431 else
41432 LIBICONV=
41433 LTLIBICONV=
41438 if test "$am_cv_func_iconv" = yes; then
41439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41440 $as_echo_n "checking for iconv declaration... " >&6; }
41441 if ${am_cv_proto_iconv+:} false; then :
41442 $as_echo_n "(cached) " >&6
41443 else
41445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41446 /* end confdefs.h. */
41448 #include <stdlib.h>
41449 #include <iconv.h>
41450 extern
41451 #ifdef __cplusplus
41453 #endif
41454 #if defined(__STDC__) || defined(__cplusplus)
41455 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41456 #else
41457 size_t iconv();
41458 #endif
41461 main ()
41465 return 0;
41467 _ACEOF
41468 if ac_fn_c_try_compile "$LINENO"; then :
41469 am_cv_proto_iconv_arg1=""
41470 else
41471 am_cv_proto_iconv_arg1="const"
41473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41474 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);"
41477 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41479 }$am_cv_proto_iconv" >&5
41480 $as_echo "${ac_t:-
41481 }$am_cv_proto_iconv" >&6; }
41483 cat >>confdefs.h <<_ACEOF
41484 #define ICONV_CONST $am_cv_proto_iconv_arg1
41485 _ACEOF
41491 *-aix*)
41493 # If we're not using GNU ld, then there's no point in even trying these
41494 # tests. Check for that first. We should have already tested for gld
41495 # by now (in libtool), but require it now just to be safe...
41496 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41497 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41501 # The name set by libtool depends on the version of libtool. Shame on us
41502 # for depending on an impl detail, but c'est la vie. Older versions used
41503 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41504 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41505 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41506 # set (hence we're using an older libtool), then set it.
41507 if test x${with_gnu_ld+set} != xset; then
41508 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41509 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41510 with_gnu_ld=no
41511 else
41512 with_gnu_ld=$ac_cv_prog_gnu_ld
41516 # Start by getting the version number. I think the libtool test already
41517 # does some of this, but throws away the result.
41518 glibcxx_ld_is_gold=no
41519 if test x"$with_gnu_ld" = x"yes"; then
41520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41521 $as_echo_n "checking for ld version... " >&6; }
41523 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41524 glibcxx_ld_is_gold=yes
41526 ldver=`$LD --version 2>/dev/null |
41527 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'`
41529 glibcxx_gnu_ld_version=`echo $ldver | \
41530 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41532 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41535 # Set --gc-sections.
41536 glibcxx_have_gc_sections=no
41537 if test "$glibcxx_ld_is_gold" = "yes"; then
41538 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41539 glibcxx_have_gc_sections=yes
41541 else
41542 glibcxx_gcsections_min_ld=21602
41543 if test x"$with_gnu_ld" = x"yes" &&
41544 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41545 glibcxx_have_gc_sections=yes
41548 if test "$glibcxx_have_gc_sections" = "yes"; then
41549 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41550 # NB: This flag only works reliably after 2.16.1. Configure tests
41551 # for this are difficult, so hard wire a value that should work.
41553 ac_test_CFLAGS="${CFLAGS+set}"
41554 ac_save_CFLAGS="$CFLAGS"
41555 CFLAGS='-Wl,--gc-sections'
41557 # Check for -Wl,--gc-sections
41558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41559 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41560 if test x$gcc_no_link = xyes; then
41561 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41564 /* end confdefs.h. */
41565 int one(void) { return 1; }
41566 int two(void) { return 2; }
41569 main ()
41571 two();
41573 return 0;
41575 _ACEOF
41576 if ac_fn_c_try_link "$LINENO"; then :
41577 ac_gcsections=yes
41578 else
41579 ac_gcsections=no
41581 rm -f core conftest.err conftest.$ac_objext \
41582 conftest$ac_exeext conftest.$ac_ext
41583 if test "$ac_gcsections" = "yes"; then
41584 rm -f conftest.c
41585 touch conftest.c
41586 if $CC -c conftest.c; then
41587 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41588 grep "Warning: gc-sections option ignored" > /dev/null; then
41589 ac_gcsections=no
41592 rm -f conftest.c conftest.o conftest
41594 if test "$ac_gcsections" = "yes"; then
41595 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41598 $as_echo "$ac_gcsections" >&6; }
41600 if test "$ac_test_CFLAGS" = set; then
41601 CFLAGS="$ac_save_CFLAGS"
41602 else
41603 # this is the suspicious part
41604 CFLAGS=''
41608 # Set -z,relro.
41609 # Note this is only for shared objects.
41610 ac_ld_relro=no
41611 if test x"$with_gnu_ld" = x"yes"; then
41612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41613 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41614 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41615 if test -n "$cxx_z_relo"; then
41616 OPT_LDFLAGS="-Wl,-z,relro"
41617 ac_ld_relro=yes
41619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41620 $as_echo "$ac_ld_relro" >&6; }
41623 # Set linker optimization flags.
41624 if test x"$with_gnu_ld" = x"yes"; then
41625 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41632 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41633 ac_save_CXXFLAGS="$CXXFLAGS"
41634 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41637 $as_echo_n "checking for sin in -lm... " >&6; }
41638 if ${ac_cv_lib_m_sin+:} false; then :
41639 $as_echo_n "(cached) " >&6
41640 else
41641 ac_check_lib_save_LIBS=$LIBS
41642 LIBS="-lm $LIBS"
41643 if test x$gcc_no_link = xyes; then
41644 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41647 /* end confdefs.h. */
41649 /* Override any GCC internal prototype to avoid an error.
41650 Use char because int might match the return type of a GCC
41651 builtin and then its argument prototype would still apply. */
41652 #ifdef __cplusplus
41653 extern "C"
41654 #endif
41655 char sin ();
41657 main ()
41659 return sin ();
41661 return 0;
41663 _ACEOF
41664 if ac_fn_c_try_link "$LINENO"; then :
41665 ac_cv_lib_m_sin=yes
41666 else
41667 ac_cv_lib_m_sin=no
41669 rm -f core conftest.err conftest.$ac_objext \
41670 conftest$ac_exeext conftest.$ac_ext
41671 LIBS=$ac_check_lib_save_LIBS
41673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41674 $as_echo "$ac_cv_lib_m_sin" >&6; }
41675 if test "x$ac_cv_lib_m_sin" = xyes; then :
41676 libm="-lm"
41679 ac_save_LIBS="$LIBS"
41680 LIBS="$LIBS $libm"
41684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41685 $as_echo_n "checking for isinf declaration... " >&6; }
41686 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41687 if ${glibcxx_cv_func_isinf_use+:} false; then :
41688 $as_echo_n "(cached) " >&6
41689 else
41692 ac_ext=cpp
41693 ac_cpp='$CXXCPP $CPPFLAGS'
41694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41699 /* end confdefs.h. */
41700 #include <math.h>
41701 #ifdef HAVE_IEEEFP_H
41702 #include <ieeefp.h>
41703 #endif
41706 main ()
41708 isinf(0);
41710 return 0;
41712 _ACEOF
41713 if ac_fn_cxx_try_compile "$LINENO"; then :
41714 glibcxx_cv_func_isinf_use=yes
41715 else
41716 glibcxx_cv_func_isinf_use=no
41718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41719 ac_ext=c
41720 ac_cpp='$CPP $CPPFLAGS'
41721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41730 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41732 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41733 for ac_func in isinf
41734 do :
41735 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41736 if test "x$ac_cv_func_isinf" = xyes; then :
41737 cat >>confdefs.h <<_ACEOF
41738 #define HAVE_ISINF 1
41739 _ACEOF
41742 done
41744 else
41746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41747 $as_echo_n "checking for _isinf declaration... " >&6; }
41748 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41749 if ${glibcxx_cv_func__isinf_use+:} false; then :
41750 $as_echo_n "(cached) " >&6
41751 else
41754 ac_ext=cpp
41755 ac_cpp='$CXXCPP $CPPFLAGS'
41756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41761 /* end confdefs.h. */
41762 #include <math.h>
41763 #ifdef HAVE_IEEEFP_H
41764 #include <ieeefp.h>
41765 #endif
41768 main ()
41770 _isinf(0);
41772 return 0;
41774 _ACEOF
41775 if ac_fn_cxx_try_compile "$LINENO"; then :
41776 glibcxx_cv_func__isinf_use=yes
41777 else
41778 glibcxx_cv_func__isinf_use=no
41780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41781 ac_ext=c
41782 ac_cpp='$CPP $CPPFLAGS'
41783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41792 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41794 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41795 for ac_func in _isinf
41796 do :
41797 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41798 if test "x$ac_cv_func__isinf" = xyes; then :
41799 cat >>confdefs.h <<_ACEOF
41800 #define HAVE__ISINF 1
41801 _ACEOF
41804 done
41813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41814 $as_echo_n "checking for isnan declaration... " >&6; }
41815 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41816 if ${glibcxx_cv_func_isnan_use+:} false; then :
41817 $as_echo_n "(cached) " >&6
41818 else
41821 ac_ext=cpp
41822 ac_cpp='$CXXCPP $CPPFLAGS'
41823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41828 /* end confdefs.h. */
41829 #include <math.h>
41830 #ifdef HAVE_IEEEFP_H
41831 #include <ieeefp.h>
41832 #endif
41835 main ()
41837 isnan(0);
41839 return 0;
41841 _ACEOF
41842 if ac_fn_cxx_try_compile "$LINENO"; then :
41843 glibcxx_cv_func_isnan_use=yes
41844 else
41845 glibcxx_cv_func_isnan_use=no
41847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41848 ac_ext=c
41849 ac_cpp='$CPP $CPPFLAGS'
41850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41859 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41861 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41862 for ac_func in isnan
41863 do :
41864 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41865 if test "x$ac_cv_func_isnan" = xyes; then :
41866 cat >>confdefs.h <<_ACEOF
41867 #define HAVE_ISNAN 1
41868 _ACEOF
41871 done
41873 else
41875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41876 $as_echo_n "checking for _isnan declaration... " >&6; }
41877 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41878 if ${glibcxx_cv_func__isnan_use+:} false; then :
41879 $as_echo_n "(cached) " >&6
41880 else
41883 ac_ext=cpp
41884 ac_cpp='$CXXCPP $CPPFLAGS'
41885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41890 /* end confdefs.h. */
41891 #include <math.h>
41892 #ifdef HAVE_IEEEFP_H
41893 #include <ieeefp.h>
41894 #endif
41897 main ()
41899 _isnan(0);
41901 return 0;
41903 _ACEOF
41904 if ac_fn_cxx_try_compile "$LINENO"; then :
41905 glibcxx_cv_func__isnan_use=yes
41906 else
41907 glibcxx_cv_func__isnan_use=no
41909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41910 ac_ext=c
41911 ac_cpp='$CPP $CPPFLAGS'
41912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41921 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41923 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41924 for ac_func in _isnan
41925 do :
41926 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41927 if test "x$ac_cv_func__isnan" = xyes; then :
41928 cat >>confdefs.h <<_ACEOF
41929 #define HAVE__ISNAN 1
41930 _ACEOF
41933 done
41942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41943 $as_echo_n "checking for finite declaration... " >&6; }
41944 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41945 if ${glibcxx_cv_func_finite_use+:} false; then :
41946 $as_echo_n "(cached) " >&6
41947 else
41950 ac_ext=cpp
41951 ac_cpp='$CXXCPP $CPPFLAGS'
41952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41957 /* end confdefs.h. */
41958 #include <math.h>
41959 #ifdef HAVE_IEEEFP_H
41960 #include <ieeefp.h>
41961 #endif
41964 main ()
41966 finite(0);
41968 return 0;
41970 _ACEOF
41971 if ac_fn_cxx_try_compile "$LINENO"; then :
41972 glibcxx_cv_func_finite_use=yes
41973 else
41974 glibcxx_cv_func_finite_use=no
41976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41977 ac_ext=c
41978 ac_cpp='$CPP $CPPFLAGS'
41979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41988 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41990 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41991 for ac_func in finite
41992 do :
41993 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41994 if test "x$ac_cv_func_finite" = xyes; then :
41995 cat >>confdefs.h <<_ACEOF
41996 #define HAVE_FINITE 1
41997 _ACEOF
42000 done
42002 else
42004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
42005 $as_echo_n "checking for _finite declaration... " >&6; }
42006 if test x${glibcxx_cv_func__finite_use+set} != xset; then
42007 if ${glibcxx_cv_func__finite_use+:} false; then :
42008 $as_echo_n "(cached) " >&6
42009 else
42012 ac_ext=cpp
42013 ac_cpp='$CXXCPP $CPPFLAGS'
42014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42019 /* end confdefs.h. */
42020 #include <math.h>
42021 #ifdef HAVE_IEEEFP_H
42022 #include <ieeefp.h>
42023 #endif
42026 main ()
42028 _finite(0);
42030 return 0;
42032 _ACEOF
42033 if ac_fn_cxx_try_compile "$LINENO"; then :
42034 glibcxx_cv_func__finite_use=yes
42035 else
42036 glibcxx_cv_func__finite_use=no
42038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42039 ac_ext=c
42040 ac_cpp='$CPP $CPPFLAGS'
42041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
42050 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
42052 if test x$glibcxx_cv_func__finite_use = x"yes"; then
42053 for ac_func in _finite
42054 do :
42055 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
42056 if test "x$ac_cv_func__finite" = xyes; then :
42057 cat >>confdefs.h <<_ACEOF
42058 #define HAVE__FINITE 1
42059 _ACEOF
42062 done
42071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
42072 $as_echo_n "checking for sincos declaration... " >&6; }
42073 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
42074 if ${glibcxx_cv_func_sincos_use+:} false; then :
42075 $as_echo_n "(cached) " >&6
42076 else
42079 ac_ext=cpp
42080 ac_cpp='$CXXCPP $CPPFLAGS'
42081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42086 /* end confdefs.h. */
42087 #include <math.h>
42089 main ()
42091 sincos(0, 0, 0);
42093 return 0;
42095 _ACEOF
42096 if ac_fn_cxx_try_compile "$LINENO"; then :
42097 glibcxx_cv_func_sincos_use=yes
42098 else
42099 glibcxx_cv_func_sincos_use=no
42101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42102 ac_ext=c
42103 ac_cpp='$CPP $CPPFLAGS'
42104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
42113 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
42115 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
42116 for ac_func in sincos
42117 do :
42118 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
42119 if test "x$ac_cv_func_sincos" = xyes; then :
42120 cat >>confdefs.h <<_ACEOF
42121 #define HAVE_SINCOS 1
42122 _ACEOF
42125 done
42127 else
42129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
42130 $as_echo_n "checking for _sincos declaration... " >&6; }
42131 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
42132 if ${glibcxx_cv_func__sincos_use+:} false; then :
42133 $as_echo_n "(cached) " >&6
42134 else
42137 ac_ext=cpp
42138 ac_cpp='$CXXCPP $CPPFLAGS'
42139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42144 /* end confdefs.h. */
42145 #include <math.h>
42147 main ()
42149 _sincos(0, 0, 0);
42151 return 0;
42153 _ACEOF
42154 if ac_fn_cxx_try_compile "$LINENO"; then :
42155 glibcxx_cv_func__sincos_use=yes
42156 else
42157 glibcxx_cv_func__sincos_use=no
42159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42160 ac_ext=c
42161 ac_cpp='$CPP $CPPFLAGS'
42162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
42171 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
42173 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
42174 for ac_func in _sincos
42175 do :
42176 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
42177 if test "x$ac_cv_func__sincos" = xyes; then :
42178 cat >>confdefs.h <<_ACEOF
42179 #define HAVE__SINCOS 1
42180 _ACEOF
42183 done
42192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
42193 $as_echo_n "checking for fpclass declaration... " >&6; }
42194 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
42195 if ${glibcxx_cv_func_fpclass_use+:} false; then :
42196 $as_echo_n "(cached) " >&6
42197 else
42200 ac_ext=cpp
42201 ac_cpp='$CXXCPP $CPPFLAGS'
42202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42207 /* end confdefs.h. */
42208 #include <math.h>
42209 #ifdef HAVE_IEEEFP_H
42210 #include <ieeefp.h>
42211 #endif
42214 main ()
42216 fpclass(0);
42218 return 0;
42220 _ACEOF
42221 if ac_fn_cxx_try_compile "$LINENO"; then :
42222 glibcxx_cv_func_fpclass_use=yes
42223 else
42224 glibcxx_cv_func_fpclass_use=no
42226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42227 ac_ext=c
42228 ac_cpp='$CPP $CPPFLAGS'
42229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
42238 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
42240 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
42241 for ac_func in fpclass
42242 do :
42243 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
42244 if test "x$ac_cv_func_fpclass" = xyes; then :
42245 cat >>confdefs.h <<_ACEOF
42246 #define HAVE_FPCLASS 1
42247 _ACEOF
42250 done
42252 else
42254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
42255 $as_echo_n "checking for _fpclass declaration... " >&6; }
42256 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
42257 if ${glibcxx_cv_func__fpclass_use+:} false; then :
42258 $as_echo_n "(cached) " >&6
42259 else
42262 ac_ext=cpp
42263 ac_cpp='$CXXCPP $CPPFLAGS'
42264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42269 /* end confdefs.h. */
42270 #include <math.h>
42271 #ifdef HAVE_IEEEFP_H
42272 #include <ieeefp.h>
42273 #endif
42276 main ()
42278 _fpclass(0);
42280 return 0;
42282 _ACEOF
42283 if ac_fn_cxx_try_compile "$LINENO"; then :
42284 glibcxx_cv_func__fpclass_use=yes
42285 else
42286 glibcxx_cv_func__fpclass_use=no
42288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42289 ac_ext=c
42290 ac_cpp='$CPP $CPPFLAGS'
42291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42300 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42302 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42303 for ac_func in _fpclass
42304 do :
42305 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42306 if test "x$ac_cv_func__fpclass" = xyes; then :
42307 cat >>confdefs.h <<_ACEOF
42308 #define HAVE__FPCLASS 1
42309 _ACEOF
42312 done
42321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42322 $as_echo_n "checking for qfpclass declaration... " >&6; }
42323 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42324 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42325 $as_echo_n "(cached) " >&6
42326 else
42329 ac_ext=cpp
42330 ac_cpp='$CXXCPP $CPPFLAGS'
42331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42336 /* end confdefs.h. */
42337 #include <math.h>
42338 #ifdef HAVE_IEEEFP_H
42339 #include <ieeefp.h>
42340 #endif
42343 main ()
42345 qfpclass(0);
42347 return 0;
42349 _ACEOF
42350 if ac_fn_cxx_try_compile "$LINENO"; then :
42351 glibcxx_cv_func_qfpclass_use=yes
42352 else
42353 glibcxx_cv_func_qfpclass_use=no
42355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42356 ac_ext=c
42357 ac_cpp='$CPP $CPPFLAGS'
42358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42367 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42369 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42370 for ac_func in qfpclass
42371 do :
42372 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42373 if test "x$ac_cv_func_qfpclass" = xyes; then :
42374 cat >>confdefs.h <<_ACEOF
42375 #define HAVE_QFPCLASS 1
42376 _ACEOF
42379 done
42381 else
42383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42384 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42385 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42386 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42387 $as_echo_n "(cached) " >&6
42388 else
42391 ac_ext=cpp
42392 ac_cpp='$CXXCPP $CPPFLAGS'
42393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42398 /* end confdefs.h. */
42399 #include <math.h>
42400 #ifdef HAVE_IEEEFP_H
42401 #include <ieeefp.h>
42402 #endif
42405 main ()
42407 _qfpclass(0);
42409 return 0;
42411 _ACEOF
42412 if ac_fn_cxx_try_compile "$LINENO"; then :
42413 glibcxx_cv_func__qfpclass_use=yes
42414 else
42415 glibcxx_cv_func__qfpclass_use=no
42417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42418 ac_ext=c
42419 ac_cpp='$CPP $CPPFLAGS'
42420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42429 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42431 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42432 for ac_func in _qfpclass
42433 do :
42434 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42435 if test "x$ac_cv_func__qfpclass" = xyes; then :
42436 cat >>confdefs.h <<_ACEOF
42437 #define HAVE__QFPCLASS 1
42438 _ACEOF
42441 done
42450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42451 $as_echo_n "checking for hypot declaration... " >&6; }
42452 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42453 if ${glibcxx_cv_func_hypot_use+:} false; then :
42454 $as_echo_n "(cached) " >&6
42455 else
42458 ac_ext=cpp
42459 ac_cpp='$CXXCPP $CPPFLAGS'
42460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42465 /* end confdefs.h. */
42466 #include <math.h>
42468 main ()
42470 hypot(0, 0);
42472 return 0;
42474 _ACEOF
42475 if ac_fn_cxx_try_compile "$LINENO"; then :
42476 glibcxx_cv_func_hypot_use=yes
42477 else
42478 glibcxx_cv_func_hypot_use=no
42480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42481 ac_ext=c
42482 ac_cpp='$CPP $CPPFLAGS'
42483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42492 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42494 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42495 for ac_func in hypot
42496 do :
42497 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42498 if test "x$ac_cv_func_hypot" = xyes; then :
42499 cat >>confdefs.h <<_ACEOF
42500 #define HAVE_HYPOT 1
42501 _ACEOF
42504 done
42506 else
42508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42509 $as_echo_n "checking for _hypot declaration... " >&6; }
42510 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42511 if ${glibcxx_cv_func__hypot_use+:} false; then :
42512 $as_echo_n "(cached) " >&6
42513 else
42516 ac_ext=cpp
42517 ac_cpp='$CXXCPP $CPPFLAGS'
42518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42523 /* end confdefs.h. */
42524 #include <math.h>
42526 main ()
42528 _hypot(0, 0);
42530 return 0;
42532 _ACEOF
42533 if ac_fn_cxx_try_compile "$LINENO"; then :
42534 glibcxx_cv_func__hypot_use=yes
42535 else
42536 glibcxx_cv_func__hypot_use=no
42538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42539 ac_ext=c
42540 ac_cpp='$CPP $CPPFLAGS'
42541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42550 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42552 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42553 for ac_func in _hypot
42554 do :
42555 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42556 if test "x$ac_cv_func__hypot" = xyes; then :
42557 cat >>confdefs.h <<_ACEOF
42558 #define HAVE__HYPOT 1
42559 _ACEOF
42562 done
42571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42572 $as_echo_n "checking for float trig functions... " >&6; }
42573 if ${glibcxx_cv_func_float_trig_use+:} false; then :
42574 $as_echo_n "(cached) " >&6
42575 else
42578 ac_ext=cpp
42579 ac_cpp='$CXXCPP $CPPFLAGS'
42580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42585 /* end confdefs.h. */
42586 #include <math.h>
42588 main ()
42590 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42592 return 0;
42594 _ACEOF
42595 if ac_fn_cxx_try_compile "$LINENO"; then :
42596 glibcxx_cv_func_float_trig_use=yes
42597 else
42598 glibcxx_cv_func_float_trig_use=no
42600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42601 ac_ext=c
42602 ac_cpp='$CPP $CPPFLAGS'
42603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42610 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42611 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42612 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42613 do :
42614 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42615 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42616 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42617 cat >>confdefs.h <<_ACEOF
42618 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42619 _ACEOF
42622 done
42624 else
42625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42626 $as_echo_n "checking for _float trig functions... " >&6; }
42627 if ${glibcxx_cv_func__float_trig_use+:} false; then :
42628 $as_echo_n "(cached) " >&6
42629 else
42632 ac_ext=cpp
42633 ac_cpp='$CXXCPP $CPPFLAGS'
42634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42639 /* end confdefs.h. */
42640 #include <math.h>
42642 main ()
42644 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42646 return 0;
42648 _ACEOF
42649 if ac_fn_cxx_try_compile "$LINENO"; then :
42650 glibcxx_cv_func__float_trig_use=yes
42651 else
42652 glibcxx_cv_func__float_trig_use=no
42654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42655 ac_ext=c
42656 ac_cpp='$CPP $CPPFLAGS'
42657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42664 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42665 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42666 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42667 do :
42668 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42669 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42670 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42671 cat >>confdefs.h <<_ACEOF
42672 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42673 _ACEOF
42676 done
42685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42686 $as_echo_n "checking for float round functions... " >&6; }
42687 if ${glibcxx_cv_func_float_round_use+:} false; then :
42688 $as_echo_n "(cached) " >&6
42689 else
42692 ac_ext=cpp
42693 ac_cpp='$CXXCPP $CPPFLAGS'
42694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42699 /* end confdefs.h. */
42700 #include <math.h>
42702 main ()
42704 ceilf (0); floorf (0);
42706 return 0;
42708 _ACEOF
42709 if ac_fn_cxx_try_compile "$LINENO"; then :
42710 glibcxx_cv_func_float_round_use=yes
42711 else
42712 glibcxx_cv_func_float_round_use=no
42714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42715 ac_ext=c
42716 ac_cpp='$CPP $CPPFLAGS'
42717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42724 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42725 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42726 for ac_func in ceilf floorf
42727 do :
42728 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42729 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42730 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42731 cat >>confdefs.h <<_ACEOF
42732 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42733 _ACEOF
42736 done
42738 else
42739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42740 $as_echo_n "checking for _float round functions... " >&6; }
42741 if ${glibcxx_cv_func__float_round_use+:} false; then :
42742 $as_echo_n "(cached) " >&6
42743 else
42746 ac_ext=cpp
42747 ac_cpp='$CXXCPP $CPPFLAGS'
42748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42753 /* end confdefs.h. */
42754 #include <math.h>
42756 main ()
42758 _ceilf (0); _floorf (0);
42760 return 0;
42762 _ACEOF
42763 if ac_fn_cxx_try_compile "$LINENO"; then :
42764 glibcxx_cv_func__float_round_use=yes
42765 else
42766 glibcxx_cv_func__float_round_use=no
42768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42769 ac_ext=c
42770 ac_cpp='$CPP $CPPFLAGS'
42771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42778 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42779 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42780 for ac_func in _ceilf _floorf
42781 do :
42782 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42783 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42784 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42785 cat >>confdefs.h <<_ACEOF
42786 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42787 _ACEOF
42790 done
42800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42801 $as_echo_n "checking for expf declaration... " >&6; }
42802 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42803 if ${glibcxx_cv_func_expf_use+:} false; then :
42804 $as_echo_n "(cached) " >&6
42805 else
42808 ac_ext=cpp
42809 ac_cpp='$CXXCPP $CPPFLAGS'
42810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42815 /* end confdefs.h. */
42816 #include <math.h>
42817 #ifdef HAVE_IEEEFP_H
42818 #include <ieeefp.h>
42819 #endif
42822 main ()
42824 expf(0);
42826 return 0;
42828 _ACEOF
42829 if ac_fn_cxx_try_compile "$LINENO"; then :
42830 glibcxx_cv_func_expf_use=yes
42831 else
42832 glibcxx_cv_func_expf_use=no
42834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42835 ac_ext=c
42836 ac_cpp='$CPP $CPPFLAGS'
42837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42846 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42848 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42849 for ac_func in expf
42850 do :
42851 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42852 if test "x$ac_cv_func_expf" = xyes; then :
42853 cat >>confdefs.h <<_ACEOF
42854 #define HAVE_EXPF 1
42855 _ACEOF
42858 done
42860 else
42862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42863 $as_echo_n "checking for _expf declaration... " >&6; }
42864 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42865 if ${glibcxx_cv_func__expf_use+:} false; then :
42866 $as_echo_n "(cached) " >&6
42867 else
42870 ac_ext=cpp
42871 ac_cpp='$CXXCPP $CPPFLAGS'
42872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42877 /* end confdefs.h. */
42878 #include <math.h>
42879 #ifdef HAVE_IEEEFP_H
42880 #include <ieeefp.h>
42881 #endif
42884 main ()
42886 _expf(0);
42888 return 0;
42890 _ACEOF
42891 if ac_fn_cxx_try_compile "$LINENO"; then :
42892 glibcxx_cv_func__expf_use=yes
42893 else
42894 glibcxx_cv_func__expf_use=no
42896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42897 ac_ext=c
42898 ac_cpp='$CPP $CPPFLAGS'
42899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42908 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42910 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42911 for ac_func in _expf
42912 do :
42913 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42914 if test "x$ac_cv_func__expf" = xyes; then :
42915 cat >>confdefs.h <<_ACEOF
42916 #define HAVE__EXPF 1
42917 _ACEOF
42920 done
42929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42930 $as_echo_n "checking for isnanf declaration... " >&6; }
42931 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42932 if ${glibcxx_cv_func_isnanf_use+:} false; then :
42933 $as_echo_n "(cached) " >&6
42934 else
42937 ac_ext=cpp
42938 ac_cpp='$CXXCPP $CPPFLAGS'
42939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42944 /* end confdefs.h. */
42945 #include <math.h>
42946 #ifdef HAVE_IEEEFP_H
42947 #include <ieeefp.h>
42948 #endif
42951 main ()
42953 isnanf(0);
42955 return 0;
42957 _ACEOF
42958 if ac_fn_cxx_try_compile "$LINENO"; then :
42959 glibcxx_cv_func_isnanf_use=yes
42960 else
42961 glibcxx_cv_func_isnanf_use=no
42963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42964 ac_ext=c
42965 ac_cpp='$CPP $CPPFLAGS'
42966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42975 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42977 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42978 for ac_func in isnanf
42979 do :
42980 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42981 if test "x$ac_cv_func_isnanf" = xyes; then :
42982 cat >>confdefs.h <<_ACEOF
42983 #define HAVE_ISNANF 1
42984 _ACEOF
42987 done
42989 else
42991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42992 $as_echo_n "checking for _isnanf declaration... " >&6; }
42993 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42994 if ${glibcxx_cv_func__isnanf_use+:} false; then :
42995 $as_echo_n "(cached) " >&6
42996 else
42999 ac_ext=cpp
43000 ac_cpp='$CXXCPP $CPPFLAGS'
43001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43006 /* end confdefs.h. */
43007 #include <math.h>
43008 #ifdef HAVE_IEEEFP_H
43009 #include <ieeefp.h>
43010 #endif
43013 main ()
43015 _isnanf(0);
43017 return 0;
43019 _ACEOF
43020 if ac_fn_cxx_try_compile "$LINENO"; then :
43021 glibcxx_cv_func__isnanf_use=yes
43022 else
43023 glibcxx_cv_func__isnanf_use=no
43025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43026 ac_ext=c
43027 ac_cpp='$CPP $CPPFLAGS'
43028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
43037 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
43039 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
43040 for ac_func in _isnanf
43041 do :
43042 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
43043 if test "x$ac_cv_func__isnanf" = xyes; then :
43044 cat >>confdefs.h <<_ACEOF
43045 #define HAVE__ISNANF 1
43046 _ACEOF
43049 done
43058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
43059 $as_echo_n "checking for isinff declaration... " >&6; }
43060 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
43061 if ${glibcxx_cv_func_isinff_use+:} false; then :
43062 $as_echo_n "(cached) " >&6
43063 else
43066 ac_ext=cpp
43067 ac_cpp='$CXXCPP $CPPFLAGS'
43068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43073 /* end confdefs.h. */
43074 #include <math.h>
43075 #ifdef HAVE_IEEEFP_H
43076 #include <ieeefp.h>
43077 #endif
43080 main ()
43082 isinff(0);
43084 return 0;
43086 _ACEOF
43087 if ac_fn_cxx_try_compile "$LINENO"; then :
43088 glibcxx_cv_func_isinff_use=yes
43089 else
43090 glibcxx_cv_func_isinff_use=no
43092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43093 ac_ext=c
43094 ac_cpp='$CPP $CPPFLAGS'
43095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
43104 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
43106 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
43107 for ac_func in isinff
43108 do :
43109 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
43110 if test "x$ac_cv_func_isinff" = xyes; then :
43111 cat >>confdefs.h <<_ACEOF
43112 #define HAVE_ISINFF 1
43113 _ACEOF
43116 done
43118 else
43120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
43121 $as_echo_n "checking for _isinff declaration... " >&6; }
43122 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
43123 if ${glibcxx_cv_func__isinff_use+:} false; then :
43124 $as_echo_n "(cached) " >&6
43125 else
43128 ac_ext=cpp
43129 ac_cpp='$CXXCPP $CPPFLAGS'
43130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43135 /* end confdefs.h. */
43136 #include <math.h>
43137 #ifdef HAVE_IEEEFP_H
43138 #include <ieeefp.h>
43139 #endif
43142 main ()
43144 _isinff(0);
43146 return 0;
43148 _ACEOF
43149 if ac_fn_cxx_try_compile "$LINENO"; then :
43150 glibcxx_cv_func__isinff_use=yes
43151 else
43152 glibcxx_cv_func__isinff_use=no
43154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43155 ac_ext=c
43156 ac_cpp='$CPP $CPPFLAGS'
43157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
43166 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
43168 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
43169 for ac_func in _isinff
43170 do :
43171 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
43172 if test "x$ac_cv_func__isinff" = xyes; then :
43173 cat >>confdefs.h <<_ACEOF
43174 #define HAVE__ISINFF 1
43175 _ACEOF
43178 done
43187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
43188 $as_echo_n "checking for atan2f declaration... " >&6; }
43189 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
43190 if ${glibcxx_cv_func_atan2f_use+:} false; then :
43191 $as_echo_n "(cached) " >&6
43192 else
43195 ac_ext=cpp
43196 ac_cpp='$CXXCPP $CPPFLAGS'
43197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43202 /* end confdefs.h. */
43203 #include <math.h>
43205 main ()
43207 atan2f(0, 0);
43209 return 0;
43211 _ACEOF
43212 if ac_fn_cxx_try_compile "$LINENO"; then :
43213 glibcxx_cv_func_atan2f_use=yes
43214 else
43215 glibcxx_cv_func_atan2f_use=no
43217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43218 ac_ext=c
43219 ac_cpp='$CPP $CPPFLAGS'
43220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
43229 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
43231 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
43232 for ac_func in atan2f
43233 do :
43234 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
43235 if test "x$ac_cv_func_atan2f" = xyes; then :
43236 cat >>confdefs.h <<_ACEOF
43237 #define HAVE_ATAN2F 1
43238 _ACEOF
43241 done
43243 else
43245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
43246 $as_echo_n "checking for _atan2f declaration... " >&6; }
43247 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
43248 if ${glibcxx_cv_func__atan2f_use+:} false; then :
43249 $as_echo_n "(cached) " >&6
43250 else
43253 ac_ext=cpp
43254 ac_cpp='$CXXCPP $CPPFLAGS'
43255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43260 /* end confdefs.h. */
43261 #include <math.h>
43263 main ()
43265 _atan2f(0, 0);
43267 return 0;
43269 _ACEOF
43270 if ac_fn_cxx_try_compile "$LINENO"; then :
43271 glibcxx_cv_func__atan2f_use=yes
43272 else
43273 glibcxx_cv_func__atan2f_use=no
43275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43276 ac_ext=c
43277 ac_cpp='$CPP $CPPFLAGS'
43278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43287 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43289 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43290 for ac_func in _atan2f
43291 do :
43292 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43293 if test "x$ac_cv_func__atan2f" = xyes; then :
43294 cat >>confdefs.h <<_ACEOF
43295 #define HAVE__ATAN2F 1
43296 _ACEOF
43299 done
43308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43309 $as_echo_n "checking for fabsf declaration... " >&6; }
43310 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43311 if ${glibcxx_cv_func_fabsf_use+:} false; then :
43312 $as_echo_n "(cached) " >&6
43313 else
43316 ac_ext=cpp
43317 ac_cpp='$CXXCPP $CPPFLAGS'
43318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43323 /* end confdefs.h. */
43324 #include <math.h>
43325 #ifdef HAVE_IEEEFP_H
43326 #include <ieeefp.h>
43327 #endif
43330 main ()
43332 fabsf(0);
43334 return 0;
43336 _ACEOF
43337 if ac_fn_cxx_try_compile "$LINENO"; then :
43338 glibcxx_cv_func_fabsf_use=yes
43339 else
43340 glibcxx_cv_func_fabsf_use=no
43342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43343 ac_ext=c
43344 ac_cpp='$CPP $CPPFLAGS'
43345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43354 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43356 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43357 for ac_func in fabsf
43358 do :
43359 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43360 if test "x$ac_cv_func_fabsf" = xyes; then :
43361 cat >>confdefs.h <<_ACEOF
43362 #define HAVE_FABSF 1
43363 _ACEOF
43366 done
43368 else
43370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43371 $as_echo_n "checking for _fabsf declaration... " >&6; }
43372 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43373 if ${glibcxx_cv_func__fabsf_use+:} false; then :
43374 $as_echo_n "(cached) " >&6
43375 else
43378 ac_ext=cpp
43379 ac_cpp='$CXXCPP $CPPFLAGS'
43380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43385 /* end confdefs.h. */
43386 #include <math.h>
43387 #ifdef HAVE_IEEEFP_H
43388 #include <ieeefp.h>
43389 #endif
43392 main ()
43394 _fabsf(0);
43396 return 0;
43398 _ACEOF
43399 if ac_fn_cxx_try_compile "$LINENO"; then :
43400 glibcxx_cv_func__fabsf_use=yes
43401 else
43402 glibcxx_cv_func__fabsf_use=no
43404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43405 ac_ext=c
43406 ac_cpp='$CPP $CPPFLAGS'
43407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43416 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43418 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43419 for ac_func in _fabsf
43420 do :
43421 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43422 if test "x$ac_cv_func__fabsf" = xyes; then :
43423 cat >>confdefs.h <<_ACEOF
43424 #define HAVE__FABSF 1
43425 _ACEOF
43428 done
43437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43438 $as_echo_n "checking for fmodf declaration... " >&6; }
43439 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43440 if ${glibcxx_cv_func_fmodf_use+:} false; then :
43441 $as_echo_n "(cached) " >&6
43442 else
43445 ac_ext=cpp
43446 ac_cpp='$CXXCPP $CPPFLAGS'
43447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43452 /* end confdefs.h. */
43453 #include <math.h>
43455 main ()
43457 fmodf(0, 0);
43459 return 0;
43461 _ACEOF
43462 if ac_fn_cxx_try_compile "$LINENO"; then :
43463 glibcxx_cv_func_fmodf_use=yes
43464 else
43465 glibcxx_cv_func_fmodf_use=no
43467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43468 ac_ext=c
43469 ac_cpp='$CPP $CPPFLAGS'
43470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43479 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43481 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43482 for ac_func in fmodf
43483 do :
43484 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43485 if test "x$ac_cv_func_fmodf" = xyes; then :
43486 cat >>confdefs.h <<_ACEOF
43487 #define HAVE_FMODF 1
43488 _ACEOF
43491 done
43493 else
43495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43496 $as_echo_n "checking for _fmodf declaration... " >&6; }
43497 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43498 if ${glibcxx_cv_func__fmodf_use+:} false; then :
43499 $as_echo_n "(cached) " >&6
43500 else
43503 ac_ext=cpp
43504 ac_cpp='$CXXCPP $CPPFLAGS'
43505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43510 /* end confdefs.h. */
43511 #include <math.h>
43513 main ()
43515 _fmodf(0, 0);
43517 return 0;
43519 _ACEOF
43520 if ac_fn_cxx_try_compile "$LINENO"; then :
43521 glibcxx_cv_func__fmodf_use=yes
43522 else
43523 glibcxx_cv_func__fmodf_use=no
43525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43526 ac_ext=c
43527 ac_cpp='$CPP $CPPFLAGS'
43528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43537 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43539 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43540 for ac_func in _fmodf
43541 do :
43542 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43543 if test "x$ac_cv_func__fmodf" = xyes; then :
43544 cat >>confdefs.h <<_ACEOF
43545 #define HAVE__FMODF 1
43546 _ACEOF
43549 done
43558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43559 $as_echo_n "checking for frexpf declaration... " >&6; }
43560 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43561 if ${glibcxx_cv_func_frexpf_use+:} false; then :
43562 $as_echo_n "(cached) " >&6
43563 else
43566 ac_ext=cpp
43567 ac_cpp='$CXXCPP $CPPFLAGS'
43568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43573 /* end confdefs.h. */
43574 #include <math.h>
43576 main ()
43578 frexpf(0, 0);
43580 return 0;
43582 _ACEOF
43583 if ac_fn_cxx_try_compile "$LINENO"; then :
43584 glibcxx_cv_func_frexpf_use=yes
43585 else
43586 glibcxx_cv_func_frexpf_use=no
43588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43589 ac_ext=c
43590 ac_cpp='$CPP $CPPFLAGS'
43591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43600 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43602 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43603 for ac_func in frexpf
43604 do :
43605 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43606 if test "x$ac_cv_func_frexpf" = xyes; then :
43607 cat >>confdefs.h <<_ACEOF
43608 #define HAVE_FREXPF 1
43609 _ACEOF
43612 done
43614 else
43616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43617 $as_echo_n "checking for _frexpf declaration... " >&6; }
43618 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43619 if ${glibcxx_cv_func__frexpf_use+:} false; then :
43620 $as_echo_n "(cached) " >&6
43621 else
43624 ac_ext=cpp
43625 ac_cpp='$CXXCPP $CPPFLAGS'
43626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43631 /* end confdefs.h. */
43632 #include <math.h>
43634 main ()
43636 _frexpf(0, 0);
43638 return 0;
43640 _ACEOF
43641 if ac_fn_cxx_try_compile "$LINENO"; then :
43642 glibcxx_cv_func__frexpf_use=yes
43643 else
43644 glibcxx_cv_func__frexpf_use=no
43646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43647 ac_ext=c
43648 ac_cpp='$CPP $CPPFLAGS'
43649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43658 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43660 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43661 for ac_func in _frexpf
43662 do :
43663 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43664 if test "x$ac_cv_func__frexpf" = xyes; then :
43665 cat >>confdefs.h <<_ACEOF
43666 #define HAVE__FREXPF 1
43667 _ACEOF
43670 done
43679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43680 $as_echo_n "checking for hypotf declaration... " >&6; }
43681 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43682 if ${glibcxx_cv_func_hypotf_use+:} false; then :
43683 $as_echo_n "(cached) " >&6
43684 else
43687 ac_ext=cpp
43688 ac_cpp='$CXXCPP $CPPFLAGS'
43689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43694 /* end confdefs.h. */
43695 #include <math.h>
43697 main ()
43699 hypotf(0, 0);
43701 return 0;
43703 _ACEOF
43704 if ac_fn_cxx_try_compile "$LINENO"; then :
43705 glibcxx_cv_func_hypotf_use=yes
43706 else
43707 glibcxx_cv_func_hypotf_use=no
43709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43710 ac_ext=c
43711 ac_cpp='$CPP $CPPFLAGS'
43712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43721 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43723 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43724 for ac_func in hypotf
43725 do :
43726 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43727 if test "x$ac_cv_func_hypotf" = xyes; then :
43728 cat >>confdefs.h <<_ACEOF
43729 #define HAVE_HYPOTF 1
43730 _ACEOF
43733 done
43735 else
43737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43738 $as_echo_n "checking for _hypotf declaration... " >&6; }
43739 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43740 if ${glibcxx_cv_func__hypotf_use+:} false; then :
43741 $as_echo_n "(cached) " >&6
43742 else
43745 ac_ext=cpp
43746 ac_cpp='$CXXCPP $CPPFLAGS'
43747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43752 /* end confdefs.h. */
43753 #include <math.h>
43755 main ()
43757 _hypotf(0, 0);
43759 return 0;
43761 _ACEOF
43762 if ac_fn_cxx_try_compile "$LINENO"; then :
43763 glibcxx_cv_func__hypotf_use=yes
43764 else
43765 glibcxx_cv_func__hypotf_use=no
43767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43768 ac_ext=c
43769 ac_cpp='$CPP $CPPFLAGS'
43770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43779 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43781 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43782 for ac_func in _hypotf
43783 do :
43784 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43785 if test "x$ac_cv_func__hypotf" = xyes; then :
43786 cat >>confdefs.h <<_ACEOF
43787 #define HAVE__HYPOTF 1
43788 _ACEOF
43791 done
43800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43801 $as_echo_n "checking for ldexpf declaration... " >&6; }
43802 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43803 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
43804 $as_echo_n "(cached) " >&6
43805 else
43808 ac_ext=cpp
43809 ac_cpp='$CXXCPP $CPPFLAGS'
43810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43815 /* end confdefs.h. */
43816 #include <math.h>
43818 main ()
43820 ldexpf(0, 0);
43822 return 0;
43824 _ACEOF
43825 if ac_fn_cxx_try_compile "$LINENO"; then :
43826 glibcxx_cv_func_ldexpf_use=yes
43827 else
43828 glibcxx_cv_func_ldexpf_use=no
43830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43831 ac_ext=c
43832 ac_cpp='$CPP $CPPFLAGS'
43833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43842 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43844 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43845 for ac_func in ldexpf
43846 do :
43847 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43848 if test "x$ac_cv_func_ldexpf" = xyes; then :
43849 cat >>confdefs.h <<_ACEOF
43850 #define HAVE_LDEXPF 1
43851 _ACEOF
43854 done
43856 else
43858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43859 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43860 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43861 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
43862 $as_echo_n "(cached) " >&6
43863 else
43866 ac_ext=cpp
43867 ac_cpp='$CXXCPP $CPPFLAGS'
43868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43873 /* end confdefs.h. */
43874 #include <math.h>
43876 main ()
43878 _ldexpf(0, 0);
43880 return 0;
43882 _ACEOF
43883 if ac_fn_cxx_try_compile "$LINENO"; then :
43884 glibcxx_cv_func__ldexpf_use=yes
43885 else
43886 glibcxx_cv_func__ldexpf_use=no
43888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43889 ac_ext=c
43890 ac_cpp='$CPP $CPPFLAGS'
43891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43900 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43902 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43903 for ac_func in _ldexpf
43904 do :
43905 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43906 if test "x$ac_cv_func__ldexpf" = xyes; then :
43907 cat >>confdefs.h <<_ACEOF
43908 #define HAVE__LDEXPF 1
43909 _ACEOF
43912 done
43921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43922 $as_echo_n "checking for logf declaration... " >&6; }
43923 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43924 if ${glibcxx_cv_func_logf_use+:} false; then :
43925 $as_echo_n "(cached) " >&6
43926 else
43929 ac_ext=cpp
43930 ac_cpp='$CXXCPP $CPPFLAGS'
43931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43936 /* end confdefs.h. */
43937 #include <math.h>
43938 #ifdef HAVE_IEEEFP_H
43939 #include <ieeefp.h>
43940 #endif
43943 main ()
43945 logf(0);
43947 return 0;
43949 _ACEOF
43950 if ac_fn_cxx_try_compile "$LINENO"; then :
43951 glibcxx_cv_func_logf_use=yes
43952 else
43953 glibcxx_cv_func_logf_use=no
43955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43956 ac_ext=c
43957 ac_cpp='$CPP $CPPFLAGS'
43958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43967 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43969 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43970 for ac_func in logf
43971 do :
43972 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43973 if test "x$ac_cv_func_logf" = xyes; then :
43974 cat >>confdefs.h <<_ACEOF
43975 #define HAVE_LOGF 1
43976 _ACEOF
43979 done
43981 else
43983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43984 $as_echo_n "checking for _logf declaration... " >&6; }
43985 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43986 if ${glibcxx_cv_func__logf_use+:} false; then :
43987 $as_echo_n "(cached) " >&6
43988 else
43991 ac_ext=cpp
43992 ac_cpp='$CXXCPP $CPPFLAGS'
43993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43998 /* end confdefs.h. */
43999 #include <math.h>
44000 #ifdef HAVE_IEEEFP_H
44001 #include <ieeefp.h>
44002 #endif
44005 main ()
44007 _logf(0);
44009 return 0;
44011 _ACEOF
44012 if ac_fn_cxx_try_compile "$LINENO"; then :
44013 glibcxx_cv_func__logf_use=yes
44014 else
44015 glibcxx_cv_func__logf_use=no
44017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44018 ac_ext=c
44019 ac_cpp='$CPP $CPPFLAGS'
44020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
44029 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
44031 if test x$glibcxx_cv_func__logf_use = x"yes"; then
44032 for ac_func in _logf
44033 do :
44034 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
44035 if test "x$ac_cv_func__logf" = xyes; then :
44036 cat >>confdefs.h <<_ACEOF
44037 #define HAVE__LOGF 1
44038 _ACEOF
44041 done
44050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
44051 $as_echo_n "checking for log10f declaration... " >&6; }
44052 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
44053 if ${glibcxx_cv_func_log10f_use+:} false; then :
44054 $as_echo_n "(cached) " >&6
44055 else
44058 ac_ext=cpp
44059 ac_cpp='$CXXCPP $CPPFLAGS'
44060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44065 /* end confdefs.h. */
44066 #include <math.h>
44067 #ifdef HAVE_IEEEFP_H
44068 #include <ieeefp.h>
44069 #endif
44072 main ()
44074 log10f(0);
44076 return 0;
44078 _ACEOF
44079 if ac_fn_cxx_try_compile "$LINENO"; then :
44080 glibcxx_cv_func_log10f_use=yes
44081 else
44082 glibcxx_cv_func_log10f_use=no
44084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44085 ac_ext=c
44086 ac_cpp='$CPP $CPPFLAGS'
44087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
44096 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
44098 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
44099 for ac_func in log10f
44100 do :
44101 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
44102 if test "x$ac_cv_func_log10f" = xyes; then :
44103 cat >>confdefs.h <<_ACEOF
44104 #define HAVE_LOG10F 1
44105 _ACEOF
44108 done
44110 else
44112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
44113 $as_echo_n "checking for _log10f declaration... " >&6; }
44114 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
44115 if ${glibcxx_cv_func__log10f_use+:} false; then :
44116 $as_echo_n "(cached) " >&6
44117 else
44120 ac_ext=cpp
44121 ac_cpp='$CXXCPP $CPPFLAGS'
44122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44127 /* end confdefs.h. */
44128 #include <math.h>
44129 #ifdef HAVE_IEEEFP_H
44130 #include <ieeefp.h>
44131 #endif
44134 main ()
44136 _log10f(0);
44138 return 0;
44140 _ACEOF
44141 if ac_fn_cxx_try_compile "$LINENO"; then :
44142 glibcxx_cv_func__log10f_use=yes
44143 else
44144 glibcxx_cv_func__log10f_use=no
44146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44147 ac_ext=c
44148 ac_cpp='$CPP $CPPFLAGS'
44149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
44158 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
44160 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
44161 for ac_func in _log10f
44162 do :
44163 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
44164 if test "x$ac_cv_func__log10f" = xyes; then :
44165 cat >>confdefs.h <<_ACEOF
44166 #define HAVE__LOG10F 1
44167 _ACEOF
44170 done
44179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
44180 $as_echo_n "checking for modff declaration... " >&6; }
44181 if test x${glibcxx_cv_func_modff_use+set} != xset; then
44182 if ${glibcxx_cv_func_modff_use+:} false; then :
44183 $as_echo_n "(cached) " >&6
44184 else
44187 ac_ext=cpp
44188 ac_cpp='$CXXCPP $CPPFLAGS'
44189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44194 /* end confdefs.h. */
44195 #include <math.h>
44197 main ()
44199 modff(0, 0);
44201 return 0;
44203 _ACEOF
44204 if ac_fn_cxx_try_compile "$LINENO"; then :
44205 glibcxx_cv_func_modff_use=yes
44206 else
44207 glibcxx_cv_func_modff_use=no
44209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44210 ac_ext=c
44211 ac_cpp='$CPP $CPPFLAGS'
44212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
44221 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
44223 if test x$glibcxx_cv_func_modff_use = x"yes"; then
44224 for ac_func in modff
44225 do :
44226 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
44227 if test "x$ac_cv_func_modff" = xyes; then :
44228 cat >>confdefs.h <<_ACEOF
44229 #define HAVE_MODFF 1
44230 _ACEOF
44233 done
44235 else
44237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
44238 $as_echo_n "checking for _modff declaration... " >&6; }
44239 if test x${glibcxx_cv_func__modff_use+set} != xset; then
44240 if ${glibcxx_cv_func__modff_use+:} false; then :
44241 $as_echo_n "(cached) " >&6
44242 else
44245 ac_ext=cpp
44246 ac_cpp='$CXXCPP $CPPFLAGS'
44247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44252 /* end confdefs.h. */
44253 #include <math.h>
44255 main ()
44257 _modff(0, 0);
44259 return 0;
44261 _ACEOF
44262 if ac_fn_cxx_try_compile "$LINENO"; then :
44263 glibcxx_cv_func__modff_use=yes
44264 else
44265 glibcxx_cv_func__modff_use=no
44267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44268 ac_ext=c
44269 ac_cpp='$CPP $CPPFLAGS'
44270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44279 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44281 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44282 for ac_func in _modff
44283 do :
44284 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44285 if test "x$ac_cv_func__modff" = xyes; then :
44286 cat >>confdefs.h <<_ACEOF
44287 #define HAVE__MODFF 1
44288 _ACEOF
44291 done
44300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44301 $as_echo_n "checking for modf declaration... " >&6; }
44302 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44303 if ${glibcxx_cv_func_modf_use+:} false; then :
44304 $as_echo_n "(cached) " >&6
44305 else
44308 ac_ext=cpp
44309 ac_cpp='$CXXCPP $CPPFLAGS'
44310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44315 /* end confdefs.h. */
44316 #include <math.h>
44318 main ()
44320 modf(0, 0);
44322 return 0;
44324 _ACEOF
44325 if ac_fn_cxx_try_compile "$LINENO"; then :
44326 glibcxx_cv_func_modf_use=yes
44327 else
44328 glibcxx_cv_func_modf_use=no
44330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44331 ac_ext=c
44332 ac_cpp='$CPP $CPPFLAGS'
44333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44342 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44344 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44345 for ac_func in modf
44346 do :
44347 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44348 if test "x$ac_cv_func_modf" = xyes; then :
44349 cat >>confdefs.h <<_ACEOF
44350 #define HAVE_MODF 1
44351 _ACEOF
44354 done
44356 else
44358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44359 $as_echo_n "checking for _modf declaration... " >&6; }
44360 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44361 if ${glibcxx_cv_func__modf_use+:} false; then :
44362 $as_echo_n "(cached) " >&6
44363 else
44366 ac_ext=cpp
44367 ac_cpp='$CXXCPP $CPPFLAGS'
44368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44373 /* end confdefs.h. */
44374 #include <math.h>
44376 main ()
44378 _modf(0, 0);
44380 return 0;
44382 _ACEOF
44383 if ac_fn_cxx_try_compile "$LINENO"; then :
44384 glibcxx_cv_func__modf_use=yes
44385 else
44386 glibcxx_cv_func__modf_use=no
44388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44389 ac_ext=c
44390 ac_cpp='$CPP $CPPFLAGS'
44391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44400 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44402 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44403 for ac_func in _modf
44404 do :
44405 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44406 if test "x$ac_cv_func__modf" = xyes; then :
44407 cat >>confdefs.h <<_ACEOF
44408 #define HAVE__MODF 1
44409 _ACEOF
44412 done
44421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44422 $as_echo_n "checking for powf declaration... " >&6; }
44423 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44424 if ${glibcxx_cv_func_powf_use+:} false; then :
44425 $as_echo_n "(cached) " >&6
44426 else
44429 ac_ext=cpp
44430 ac_cpp='$CXXCPP $CPPFLAGS'
44431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44436 /* end confdefs.h. */
44437 #include <math.h>
44439 main ()
44441 powf(0, 0);
44443 return 0;
44445 _ACEOF
44446 if ac_fn_cxx_try_compile "$LINENO"; then :
44447 glibcxx_cv_func_powf_use=yes
44448 else
44449 glibcxx_cv_func_powf_use=no
44451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44452 ac_ext=c
44453 ac_cpp='$CPP $CPPFLAGS'
44454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44463 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44465 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44466 for ac_func in powf
44467 do :
44468 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44469 if test "x$ac_cv_func_powf" = xyes; then :
44470 cat >>confdefs.h <<_ACEOF
44471 #define HAVE_POWF 1
44472 _ACEOF
44475 done
44477 else
44479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44480 $as_echo_n "checking for _powf declaration... " >&6; }
44481 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44482 if ${glibcxx_cv_func__powf_use+:} false; then :
44483 $as_echo_n "(cached) " >&6
44484 else
44487 ac_ext=cpp
44488 ac_cpp='$CXXCPP $CPPFLAGS'
44489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44494 /* end confdefs.h. */
44495 #include <math.h>
44497 main ()
44499 _powf(0, 0);
44501 return 0;
44503 _ACEOF
44504 if ac_fn_cxx_try_compile "$LINENO"; then :
44505 glibcxx_cv_func__powf_use=yes
44506 else
44507 glibcxx_cv_func__powf_use=no
44509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44510 ac_ext=c
44511 ac_cpp='$CPP $CPPFLAGS'
44512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44521 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44523 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44524 for ac_func in _powf
44525 do :
44526 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44527 if test "x$ac_cv_func__powf" = xyes; then :
44528 cat >>confdefs.h <<_ACEOF
44529 #define HAVE__POWF 1
44530 _ACEOF
44533 done
44542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44543 $as_echo_n "checking for sqrtf declaration... " >&6; }
44544 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44545 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44546 $as_echo_n "(cached) " >&6
44547 else
44550 ac_ext=cpp
44551 ac_cpp='$CXXCPP $CPPFLAGS'
44552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44557 /* end confdefs.h. */
44558 #include <math.h>
44559 #ifdef HAVE_IEEEFP_H
44560 #include <ieeefp.h>
44561 #endif
44564 main ()
44566 sqrtf(0);
44568 return 0;
44570 _ACEOF
44571 if ac_fn_cxx_try_compile "$LINENO"; then :
44572 glibcxx_cv_func_sqrtf_use=yes
44573 else
44574 glibcxx_cv_func_sqrtf_use=no
44576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44577 ac_ext=c
44578 ac_cpp='$CPP $CPPFLAGS'
44579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44588 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44590 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44591 for ac_func in sqrtf
44592 do :
44593 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44594 if test "x$ac_cv_func_sqrtf" = xyes; then :
44595 cat >>confdefs.h <<_ACEOF
44596 #define HAVE_SQRTF 1
44597 _ACEOF
44600 done
44602 else
44604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44605 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44606 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44607 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44608 $as_echo_n "(cached) " >&6
44609 else
44612 ac_ext=cpp
44613 ac_cpp='$CXXCPP $CPPFLAGS'
44614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44619 /* end confdefs.h. */
44620 #include <math.h>
44621 #ifdef HAVE_IEEEFP_H
44622 #include <ieeefp.h>
44623 #endif
44626 main ()
44628 _sqrtf(0);
44630 return 0;
44632 _ACEOF
44633 if ac_fn_cxx_try_compile "$LINENO"; then :
44634 glibcxx_cv_func__sqrtf_use=yes
44635 else
44636 glibcxx_cv_func__sqrtf_use=no
44638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44639 ac_ext=c
44640 ac_cpp='$CPP $CPPFLAGS'
44641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44650 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44652 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44653 for ac_func in _sqrtf
44654 do :
44655 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44656 if test "x$ac_cv_func__sqrtf" = xyes; then :
44657 cat >>confdefs.h <<_ACEOF
44658 #define HAVE__SQRTF 1
44659 _ACEOF
44662 done
44671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44672 $as_echo_n "checking for sincosf declaration... " >&6; }
44673 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44674 if ${glibcxx_cv_func_sincosf_use+:} false; then :
44675 $as_echo_n "(cached) " >&6
44676 else
44679 ac_ext=cpp
44680 ac_cpp='$CXXCPP $CPPFLAGS'
44681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44686 /* end confdefs.h. */
44687 #include <math.h>
44689 main ()
44691 sincosf(0, 0, 0);
44693 return 0;
44695 _ACEOF
44696 if ac_fn_cxx_try_compile "$LINENO"; then :
44697 glibcxx_cv_func_sincosf_use=yes
44698 else
44699 glibcxx_cv_func_sincosf_use=no
44701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44702 ac_ext=c
44703 ac_cpp='$CPP $CPPFLAGS'
44704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44713 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44715 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44716 for ac_func in sincosf
44717 do :
44718 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44719 if test "x$ac_cv_func_sincosf" = xyes; then :
44720 cat >>confdefs.h <<_ACEOF
44721 #define HAVE_SINCOSF 1
44722 _ACEOF
44725 done
44727 else
44729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44730 $as_echo_n "checking for _sincosf declaration... " >&6; }
44731 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44732 if ${glibcxx_cv_func__sincosf_use+:} false; then :
44733 $as_echo_n "(cached) " >&6
44734 else
44737 ac_ext=cpp
44738 ac_cpp='$CXXCPP $CPPFLAGS'
44739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44744 /* end confdefs.h. */
44745 #include <math.h>
44747 main ()
44749 _sincosf(0, 0, 0);
44751 return 0;
44753 _ACEOF
44754 if ac_fn_cxx_try_compile "$LINENO"; then :
44755 glibcxx_cv_func__sincosf_use=yes
44756 else
44757 glibcxx_cv_func__sincosf_use=no
44759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44760 ac_ext=c
44761 ac_cpp='$CPP $CPPFLAGS'
44762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44771 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44773 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44774 for ac_func in _sincosf
44775 do :
44776 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44777 if test "x$ac_cv_func__sincosf" = xyes; then :
44778 cat >>confdefs.h <<_ACEOF
44779 #define HAVE__SINCOSF 1
44780 _ACEOF
44783 done
44792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44793 $as_echo_n "checking for finitef declaration... " >&6; }
44794 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44795 if ${glibcxx_cv_func_finitef_use+:} false; then :
44796 $as_echo_n "(cached) " >&6
44797 else
44800 ac_ext=cpp
44801 ac_cpp='$CXXCPP $CPPFLAGS'
44802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44807 /* end confdefs.h. */
44808 #include <math.h>
44809 #ifdef HAVE_IEEEFP_H
44810 #include <ieeefp.h>
44811 #endif
44814 main ()
44816 finitef(0);
44818 return 0;
44820 _ACEOF
44821 if ac_fn_cxx_try_compile "$LINENO"; then :
44822 glibcxx_cv_func_finitef_use=yes
44823 else
44824 glibcxx_cv_func_finitef_use=no
44826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44827 ac_ext=c
44828 ac_cpp='$CPP $CPPFLAGS'
44829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44838 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44840 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44841 for ac_func in finitef
44842 do :
44843 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44844 if test "x$ac_cv_func_finitef" = xyes; then :
44845 cat >>confdefs.h <<_ACEOF
44846 #define HAVE_FINITEF 1
44847 _ACEOF
44850 done
44852 else
44854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44855 $as_echo_n "checking for _finitef declaration... " >&6; }
44856 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44857 if ${glibcxx_cv_func__finitef_use+:} false; then :
44858 $as_echo_n "(cached) " >&6
44859 else
44862 ac_ext=cpp
44863 ac_cpp='$CXXCPP $CPPFLAGS'
44864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44869 /* end confdefs.h. */
44870 #include <math.h>
44871 #ifdef HAVE_IEEEFP_H
44872 #include <ieeefp.h>
44873 #endif
44876 main ()
44878 _finitef(0);
44880 return 0;
44882 _ACEOF
44883 if ac_fn_cxx_try_compile "$LINENO"; then :
44884 glibcxx_cv_func__finitef_use=yes
44885 else
44886 glibcxx_cv_func__finitef_use=no
44888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44889 ac_ext=c
44890 ac_cpp='$CPP $CPPFLAGS'
44891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44900 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44902 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44903 for ac_func in _finitef
44904 do :
44905 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44906 if test "x$ac_cv_func__finitef" = xyes; then :
44907 cat >>confdefs.h <<_ACEOF
44908 #define HAVE__FINITEF 1
44909 _ACEOF
44912 done
44921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44922 $as_echo_n "checking for long double trig functions... " >&6; }
44923 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
44924 $as_echo_n "(cached) " >&6
44925 else
44928 ac_ext=cpp
44929 ac_cpp='$CXXCPP $CPPFLAGS'
44930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44935 /* end confdefs.h. */
44936 #include <math.h>
44938 main ()
44940 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44942 return 0;
44944 _ACEOF
44945 if ac_fn_cxx_try_compile "$LINENO"; then :
44946 glibcxx_cv_func_long_double_trig_use=yes
44947 else
44948 glibcxx_cv_func_long_double_trig_use=no
44950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44951 ac_ext=c
44952 ac_cpp='$CPP $CPPFLAGS'
44953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44960 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44961 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44962 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44963 do :
44964 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44965 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44966 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44967 cat >>confdefs.h <<_ACEOF
44968 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44969 _ACEOF
44972 done
44974 else
44975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44976 $as_echo_n "checking for _long double trig functions... " >&6; }
44977 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
44978 $as_echo_n "(cached) " >&6
44979 else
44982 ac_ext=cpp
44983 ac_cpp='$CXXCPP $CPPFLAGS'
44984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44989 /* end confdefs.h. */
44990 #include <math.h>
44992 main ()
44994 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44996 return 0;
44998 _ACEOF
44999 if ac_fn_cxx_try_compile "$LINENO"; then :
45000 glibcxx_cv_func__long_double_trig_use=yes
45001 else
45002 glibcxx_cv_func__long_double_trig_use=no
45004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45005 ac_ext=c
45006 ac_cpp='$CPP $CPPFLAGS'
45007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
45014 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
45015 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
45016 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
45017 do :
45018 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45019 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45020 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45021 cat >>confdefs.h <<_ACEOF
45022 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45023 _ACEOF
45026 done
45035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
45036 $as_echo_n "checking for long double round functions... " >&6; }
45037 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
45038 $as_echo_n "(cached) " >&6
45039 else
45042 ac_ext=cpp
45043 ac_cpp='$CXXCPP $CPPFLAGS'
45044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45049 /* end confdefs.h. */
45050 #include <math.h>
45052 main ()
45054 ceill (0); floorl (0);
45056 return 0;
45058 _ACEOF
45059 if ac_fn_cxx_try_compile "$LINENO"; then :
45060 glibcxx_cv_func_long_double_round_use=yes
45061 else
45062 glibcxx_cv_func_long_double_round_use=no
45064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45065 ac_ext=c
45066 ac_cpp='$CPP $CPPFLAGS'
45067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
45074 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
45075 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
45076 for ac_func in ceill floorl
45077 do :
45078 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45079 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45080 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45081 cat >>confdefs.h <<_ACEOF
45082 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45083 _ACEOF
45086 done
45088 else
45089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
45090 $as_echo_n "checking for _long double round functions... " >&6; }
45091 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
45092 $as_echo_n "(cached) " >&6
45093 else
45096 ac_ext=cpp
45097 ac_cpp='$CXXCPP $CPPFLAGS'
45098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45103 /* end confdefs.h. */
45104 #include <math.h>
45106 main ()
45108 _ceill (0); _floorl (0);
45110 return 0;
45112 _ACEOF
45113 if ac_fn_cxx_try_compile "$LINENO"; then :
45114 glibcxx_cv_func__long_double_round_use=yes
45115 else
45116 glibcxx_cv_func__long_double_round_use=no
45118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45119 ac_ext=c
45120 ac_cpp='$CPP $CPPFLAGS'
45121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
45128 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
45129 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
45130 for ac_func in _ceill _floorl
45131 do :
45132 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45133 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45134 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45135 cat >>confdefs.h <<_ACEOF
45136 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45137 _ACEOF
45140 done
45150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
45151 $as_echo_n "checking for isnanl declaration... " >&6; }
45152 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
45153 if ${glibcxx_cv_func_isnanl_use+:} false; then :
45154 $as_echo_n "(cached) " >&6
45155 else
45158 ac_ext=cpp
45159 ac_cpp='$CXXCPP $CPPFLAGS'
45160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45165 /* end confdefs.h. */
45166 #include <math.h>
45167 #ifdef HAVE_IEEEFP_H
45168 #include <ieeefp.h>
45169 #endif
45172 main ()
45174 isnanl(0);
45176 return 0;
45178 _ACEOF
45179 if ac_fn_cxx_try_compile "$LINENO"; then :
45180 glibcxx_cv_func_isnanl_use=yes
45181 else
45182 glibcxx_cv_func_isnanl_use=no
45184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45185 ac_ext=c
45186 ac_cpp='$CPP $CPPFLAGS'
45187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
45196 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
45198 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
45199 for ac_func in isnanl
45200 do :
45201 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
45202 if test "x$ac_cv_func_isnanl" = xyes; then :
45203 cat >>confdefs.h <<_ACEOF
45204 #define HAVE_ISNANL 1
45205 _ACEOF
45208 done
45210 else
45212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
45213 $as_echo_n "checking for _isnanl declaration... " >&6; }
45214 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
45215 if ${glibcxx_cv_func__isnanl_use+:} false; then :
45216 $as_echo_n "(cached) " >&6
45217 else
45220 ac_ext=cpp
45221 ac_cpp='$CXXCPP $CPPFLAGS'
45222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45227 /* end confdefs.h. */
45228 #include <math.h>
45229 #ifdef HAVE_IEEEFP_H
45230 #include <ieeefp.h>
45231 #endif
45234 main ()
45236 _isnanl(0);
45238 return 0;
45240 _ACEOF
45241 if ac_fn_cxx_try_compile "$LINENO"; then :
45242 glibcxx_cv_func__isnanl_use=yes
45243 else
45244 glibcxx_cv_func__isnanl_use=no
45246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45247 ac_ext=c
45248 ac_cpp='$CPP $CPPFLAGS'
45249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
45258 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
45260 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
45261 for ac_func in _isnanl
45262 do :
45263 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45264 if test "x$ac_cv_func__isnanl" = xyes; then :
45265 cat >>confdefs.h <<_ACEOF
45266 #define HAVE__ISNANL 1
45267 _ACEOF
45270 done
45279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45280 $as_echo_n "checking for isinfl declaration... " >&6; }
45281 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45282 if ${glibcxx_cv_func_isinfl_use+:} false; then :
45283 $as_echo_n "(cached) " >&6
45284 else
45287 ac_ext=cpp
45288 ac_cpp='$CXXCPP $CPPFLAGS'
45289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45294 /* end confdefs.h. */
45295 #include <math.h>
45296 #ifdef HAVE_IEEEFP_H
45297 #include <ieeefp.h>
45298 #endif
45301 main ()
45303 isinfl(0);
45305 return 0;
45307 _ACEOF
45308 if ac_fn_cxx_try_compile "$LINENO"; then :
45309 glibcxx_cv_func_isinfl_use=yes
45310 else
45311 glibcxx_cv_func_isinfl_use=no
45313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45314 ac_ext=c
45315 ac_cpp='$CPP $CPPFLAGS'
45316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45325 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45327 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45328 for ac_func in isinfl
45329 do :
45330 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45331 if test "x$ac_cv_func_isinfl" = xyes; then :
45332 cat >>confdefs.h <<_ACEOF
45333 #define HAVE_ISINFL 1
45334 _ACEOF
45337 done
45339 else
45341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45342 $as_echo_n "checking for _isinfl declaration... " >&6; }
45343 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45344 if ${glibcxx_cv_func__isinfl_use+:} false; then :
45345 $as_echo_n "(cached) " >&6
45346 else
45349 ac_ext=cpp
45350 ac_cpp='$CXXCPP $CPPFLAGS'
45351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45356 /* end confdefs.h. */
45357 #include <math.h>
45358 #ifdef HAVE_IEEEFP_H
45359 #include <ieeefp.h>
45360 #endif
45363 main ()
45365 _isinfl(0);
45367 return 0;
45369 _ACEOF
45370 if ac_fn_cxx_try_compile "$LINENO"; then :
45371 glibcxx_cv_func__isinfl_use=yes
45372 else
45373 glibcxx_cv_func__isinfl_use=no
45375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45376 ac_ext=c
45377 ac_cpp='$CPP $CPPFLAGS'
45378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45387 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45389 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45390 for ac_func in _isinfl
45391 do :
45392 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45393 if test "x$ac_cv_func__isinfl" = xyes; then :
45394 cat >>confdefs.h <<_ACEOF
45395 #define HAVE__ISINFL 1
45396 _ACEOF
45399 done
45408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45409 $as_echo_n "checking for atan2l declaration... " >&6; }
45410 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45411 if ${glibcxx_cv_func_atan2l_use+:} false; then :
45412 $as_echo_n "(cached) " >&6
45413 else
45416 ac_ext=cpp
45417 ac_cpp='$CXXCPP $CPPFLAGS'
45418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45423 /* end confdefs.h. */
45424 #include <math.h>
45426 main ()
45428 atan2l(0, 0);
45430 return 0;
45432 _ACEOF
45433 if ac_fn_cxx_try_compile "$LINENO"; then :
45434 glibcxx_cv_func_atan2l_use=yes
45435 else
45436 glibcxx_cv_func_atan2l_use=no
45438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45439 ac_ext=c
45440 ac_cpp='$CPP $CPPFLAGS'
45441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45450 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45452 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45453 for ac_func in atan2l
45454 do :
45455 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45456 if test "x$ac_cv_func_atan2l" = xyes; then :
45457 cat >>confdefs.h <<_ACEOF
45458 #define HAVE_ATAN2L 1
45459 _ACEOF
45462 done
45464 else
45466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45467 $as_echo_n "checking for _atan2l declaration... " >&6; }
45468 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45469 if ${glibcxx_cv_func__atan2l_use+:} false; then :
45470 $as_echo_n "(cached) " >&6
45471 else
45474 ac_ext=cpp
45475 ac_cpp='$CXXCPP $CPPFLAGS'
45476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45481 /* end confdefs.h. */
45482 #include <math.h>
45484 main ()
45486 _atan2l(0, 0);
45488 return 0;
45490 _ACEOF
45491 if ac_fn_cxx_try_compile "$LINENO"; then :
45492 glibcxx_cv_func__atan2l_use=yes
45493 else
45494 glibcxx_cv_func__atan2l_use=no
45496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45497 ac_ext=c
45498 ac_cpp='$CPP $CPPFLAGS'
45499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45508 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45510 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45511 for ac_func in _atan2l
45512 do :
45513 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45514 if test "x$ac_cv_func__atan2l" = xyes; then :
45515 cat >>confdefs.h <<_ACEOF
45516 #define HAVE__ATAN2L 1
45517 _ACEOF
45520 done
45529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45530 $as_echo_n "checking for expl declaration... " >&6; }
45531 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45532 if ${glibcxx_cv_func_expl_use+:} false; then :
45533 $as_echo_n "(cached) " >&6
45534 else
45537 ac_ext=cpp
45538 ac_cpp='$CXXCPP $CPPFLAGS'
45539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45544 /* end confdefs.h. */
45545 #include <math.h>
45546 #ifdef HAVE_IEEEFP_H
45547 #include <ieeefp.h>
45548 #endif
45551 main ()
45553 expl(0);
45555 return 0;
45557 _ACEOF
45558 if ac_fn_cxx_try_compile "$LINENO"; then :
45559 glibcxx_cv_func_expl_use=yes
45560 else
45561 glibcxx_cv_func_expl_use=no
45563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45564 ac_ext=c
45565 ac_cpp='$CPP $CPPFLAGS'
45566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45575 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45577 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45578 for ac_func in expl
45579 do :
45580 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45581 if test "x$ac_cv_func_expl" = xyes; then :
45582 cat >>confdefs.h <<_ACEOF
45583 #define HAVE_EXPL 1
45584 _ACEOF
45587 done
45589 else
45591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45592 $as_echo_n "checking for _expl declaration... " >&6; }
45593 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45594 if ${glibcxx_cv_func__expl_use+:} false; then :
45595 $as_echo_n "(cached) " >&6
45596 else
45599 ac_ext=cpp
45600 ac_cpp='$CXXCPP $CPPFLAGS'
45601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45606 /* end confdefs.h. */
45607 #include <math.h>
45608 #ifdef HAVE_IEEEFP_H
45609 #include <ieeefp.h>
45610 #endif
45613 main ()
45615 _expl(0);
45617 return 0;
45619 _ACEOF
45620 if ac_fn_cxx_try_compile "$LINENO"; then :
45621 glibcxx_cv_func__expl_use=yes
45622 else
45623 glibcxx_cv_func__expl_use=no
45625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45626 ac_ext=c
45627 ac_cpp='$CPP $CPPFLAGS'
45628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45637 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45639 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45640 for ac_func in _expl
45641 do :
45642 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45643 if test "x$ac_cv_func__expl" = xyes; then :
45644 cat >>confdefs.h <<_ACEOF
45645 #define HAVE__EXPL 1
45646 _ACEOF
45649 done
45658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45659 $as_echo_n "checking for fabsl declaration... " >&6; }
45660 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45661 if ${glibcxx_cv_func_fabsl_use+:} false; then :
45662 $as_echo_n "(cached) " >&6
45663 else
45666 ac_ext=cpp
45667 ac_cpp='$CXXCPP $CPPFLAGS'
45668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45673 /* end confdefs.h. */
45674 #include <math.h>
45675 #ifdef HAVE_IEEEFP_H
45676 #include <ieeefp.h>
45677 #endif
45680 main ()
45682 fabsl(0);
45684 return 0;
45686 _ACEOF
45687 if ac_fn_cxx_try_compile "$LINENO"; then :
45688 glibcxx_cv_func_fabsl_use=yes
45689 else
45690 glibcxx_cv_func_fabsl_use=no
45692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45693 ac_ext=c
45694 ac_cpp='$CPP $CPPFLAGS'
45695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45704 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45706 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45707 for ac_func in fabsl
45708 do :
45709 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45710 if test "x$ac_cv_func_fabsl" = xyes; then :
45711 cat >>confdefs.h <<_ACEOF
45712 #define HAVE_FABSL 1
45713 _ACEOF
45716 done
45718 else
45720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45721 $as_echo_n "checking for _fabsl declaration... " >&6; }
45722 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45723 if ${glibcxx_cv_func__fabsl_use+:} false; then :
45724 $as_echo_n "(cached) " >&6
45725 else
45728 ac_ext=cpp
45729 ac_cpp='$CXXCPP $CPPFLAGS'
45730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45735 /* end confdefs.h. */
45736 #include <math.h>
45737 #ifdef HAVE_IEEEFP_H
45738 #include <ieeefp.h>
45739 #endif
45742 main ()
45744 _fabsl(0);
45746 return 0;
45748 _ACEOF
45749 if ac_fn_cxx_try_compile "$LINENO"; then :
45750 glibcxx_cv_func__fabsl_use=yes
45751 else
45752 glibcxx_cv_func__fabsl_use=no
45754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45755 ac_ext=c
45756 ac_cpp='$CPP $CPPFLAGS'
45757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45766 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45768 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45769 for ac_func in _fabsl
45770 do :
45771 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45772 if test "x$ac_cv_func__fabsl" = xyes; then :
45773 cat >>confdefs.h <<_ACEOF
45774 #define HAVE__FABSL 1
45775 _ACEOF
45778 done
45787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45788 $as_echo_n "checking for fmodl declaration... " >&6; }
45789 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45790 if ${glibcxx_cv_func_fmodl_use+:} false; then :
45791 $as_echo_n "(cached) " >&6
45792 else
45795 ac_ext=cpp
45796 ac_cpp='$CXXCPP $CPPFLAGS'
45797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45802 /* end confdefs.h. */
45803 #include <math.h>
45805 main ()
45807 fmodl(0, 0);
45809 return 0;
45811 _ACEOF
45812 if ac_fn_cxx_try_compile "$LINENO"; then :
45813 glibcxx_cv_func_fmodl_use=yes
45814 else
45815 glibcxx_cv_func_fmodl_use=no
45817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45818 ac_ext=c
45819 ac_cpp='$CPP $CPPFLAGS'
45820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45829 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45831 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45832 for ac_func in fmodl
45833 do :
45834 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45835 if test "x$ac_cv_func_fmodl" = xyes; then :
45836 cat >>confdefs.h <<_ACEOF
45837 #define HAVE_FMODL 1
45838 _ACEOF
45841 done
45843 else
45845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45846 $as_echo_n "checking for _fmodl declaration... " >&6; }
45847 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45848 if ${glibcxx_cv_func__fmodl_use+:} false; then :
45849 $as_echo_n "(cached) " >&6
45850 else
45853 ac_ext=cpp
45854 ac_cpp='$CXXCPP $CPPFLAGS'
45855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45860 /* end confdefs.h. */
45861 #include <math.h>
45863 main ()
45865 _fmodl(0, 0);
45867 return 0;
45869 _ACEOF
45870 if ac_fn_cxx_try_compile "$LINENO"; then :
45871 glibcxx_cv_func__fmodl_use=yes
45872 else
45873 glibcxx_cv_func__fmodl_use=no
45875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45876 ac_ext=c
45877 ac_cpp='$CPP $CPPFLAGS'
45878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45887 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45889 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45890 for ac_func in _fmodl
45891 do :
45892 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45893 if test "x$ac_cv_func__fmodl" = xyes; then :
45894 cat >>confdefs.h <<_ACEOF
45895 #define HAVE__FMODL 1
45896 _ACEOF
45899 done
45908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45909 $as_echo_n "checking for frexpl declaration... " >&6; }
45910 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45911 if ${glibcxx_cv_func_frexpl_use+:} false; then :
45912 $as_echo_n "(cached) " >&6
45913 else
45916 ac_ext=cpp
45917 ac_cpp='$CXXCPP $CPPFLAGS'
45918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45923 /* end confdefs.h. */
45924 #include <math.h>
45926 main ()
45928 frexpl(0, 0);
45930 return 0;
45932 _ACEOF
45933 if ac_fn_cxx_try_compile "$LINENO"; then :
45934 glibcxx_cv_func_frexpl_use=yes
45935 else
45936 glibcxx_cv_func_frexpl_use=no
45938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45939 ac_ext=c
45940 ac_cpp='$CPP $CPPFLAGS'
45941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45950 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45952 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45953 for ac_func in frexpl
45954 do :
45955 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45956 if test "x$ac_cv_func_frexpl" = xyes; then :
45957 cat >>confdefs.h <<_ACEOF
45958 #define HAVE_FREXPL 1
45959 _ACEOF
45962 done
45964 else
45966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45967 $as_echo_n "checking for _frexpl declaration... " >&6; }
45968 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45969 if ${glibcxx_cv_func__frexpl_use+:} false; then :
45970 $as_echo_n "(cached) " >&6
45971 else
45974 ac_ext=cpp
45975 ac_cpp='$CXXCPP $CPPFLAGS'
45976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45981 /* end confdefs.h. */
45982 #include <math.h>
45984 main ()
45986 _frexpl(0, 0);
45988 return 0;
45990 _ACEOF
45991 if ac_fn_cxx_try_compile "$LINENO"; then :
45992 glibcxx_cv_func__frexpl_use=yes
45993 else
45994 glibcxx_cv_func__frexpl_use=no
45996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45997 ac_ext=c
45998 ac_cpp='$CPP $CPPFLAGS'
45999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
46008 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
46010 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
46011 for ac_func in _frexpl
46012 do :
46013 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
46014 if test "x$ac_cv_func__frexpl" = xyes; then :
46015 cat >>confdefs.h <<_ACEOF
46016 #define HAVE__FREXPL 1
46017 _ACEOF
46020 done
46029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
46030 $as_echo_n "checking for hypotl declaration... " >&6; }
46031 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46032 if ${glibcxx_cv_func_hypotl_use+:} false; then :
46033 $as_echo_n "(cached) " >&6
46034 else
46037 ac_ext=cpp
46038 ac_cpp='$CXXCPP $CPPFLAGS'
46039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46044 /* end confdefs.h. */
46045 #include <math.h>
46047 main ()
46049 hypotl(0, 0);
46051 return 0;
46053 _ACEOF
46054 if ac_fn_cxx_try_compile "$LINENO"; then :
46055 glibcxx_cv_func_hypotl_use=yes
46056 else
46057 glibcxx_cv_func_hypotl_use=no
46059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46060 ac_ext=c
46061 ac_cpp='$CPP $CPPFLAGS'
46062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
46071 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
46073 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46074 for ac_func in hypotl
46075 do :
46076 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
46077 if test "x$ac_cv_func_hypotl" = xyes; then :
46078 cat >>confdefs.h <<_ACEOF
46079 #define HAVE_HYPOTL 1
46080 _ACEOF
46083 done
46085 else
46087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
46088 $as_echo_n "checking for _hypotl declaration... " >&6; }
46089 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46090 if ${glibcxx_cv_func__hypotl_use+:} false; then :
46091 $as_echo_n "(cached) " >&6
46092 else
46095 ac_ext=cpp
46096 ac_cpp='$CXXCPP $CPPFLAGS'
46097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46102 /* end confdefs.h. */
46103 #include <math.h>
46105 main ()
46107 _hypotl(0, 0);
46109 return 0;
46111 _ACEOF
46112 if ac_fn_cxx_try_compile "$LINENO"; then :
46113 glibcxx_cv_func__hypotl_use=yes
46114 else
46115 glibcxx_cv_func__hypotl_use=no
46117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46118 ac_ext=c
46119 ac_cpp='$CPP $CPPFLAGS'
46120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
46129 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
46131 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46132 for ac_func in _hypotl
46133 do :
46134 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
46135 if test "x$ac_cv_func__hypotl" = xyes; then :
46136 cat >>confdefs.h <<_ACEOF
46137 #define HAVE__HYPOTL 1
46138 _ACEOF
46141 done
46150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
46151 $as_echo_n "checking for ldexpl declaration... " >&6; }
46152 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46153 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
46154 $as_echo_n "(cached) " >&6
46155 else
46158 ac_ext=cpp
46159 ac_cpp='$CXXCPP $CPPFLAGS'
46160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46165 /* end confdefs.h. */
46166 #include <math.h>
46168 main ()
46170 ldexpl(0, 0);
46172 return 0;
46174 _ACEOF
46175 if ac_fn_cxx_try_compile "$LINENO"; then :
46176 glibcxx_cv_func_ldexpl_use=yes
46177 else
46178 glibcxx_cv_func_ldexpl_use=no
46180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46181 ac_ext=c
46182 ac_cpp='$CPP $CPPFLAGS'
46183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
46192 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
46194 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46195 for ac_func in ldexpl
46196 do :
46197 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
46198 if test "x$ac_cv_func_ldexpl" = xyes; then :
46199 cat >>confdefs.h <<_ACEOF
46200 #define HAVE_LDEXPL 1
46201 _ACEOF
46204 done
46206 else
46208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
46209 $as_echo_n "checking for _ldexpl declaration... " >&6; }
46210 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46211 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
46212 $as_echo_n "(cached) " >&6
46213 else
46216 ac_ext=cpp
46217 ac_cpp='$CXXCPP $CPPFLAGS'
46218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46223 /* end confdefs.h. */
46224 #include <math.h>
46226 main ()
46228 _ldexpl(0, 0);
46230 return 0;
46232 _ACEOF
46233 if ac_fn_cxx_try_compile "$LINENO"; then :
46234 glibcxx_cv_func__ldexpl_use=yes
46235 else
46236 glibcxx_cv_func__ldexpl_use=no
46238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46239 ac_ext=c
46240 ac_cpp='$CPP $CPPFLAGS'
46241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
46250 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
46252 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46253 for ac_func in _ldexpl
46254 do :
46255 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
46256 if test "x$ac_cv_func__ldexpl" = xyes; then :
46257 cat >>confdefs.h <<_ACEOF
46258 #define HAVE__LDEXPL 1
46259 _ACEOF
46262 done
46271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46272 $as_echo_n "checking for logl declaration... " >&6; }
46273 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46274 if ${glibcxx_cv_func_logl_use+:} false; then :
46275 $as_echo_n "(cached) " >&6
46276 else
46279 ac_ext=cpp
46280 ac_cpp='$CXXCPP $CPPFLAGS'
46281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46286 /* end confdefs.h. */
46287 #include <math.h>
46288 #ifdef HAVE_IEEEFP_H
46289 #include <ieeefp.h>
46290 #endif
46293 main ()
46295 logl(0);
46297 return 0;
46299 _ACEOF
46300 if ac_fn_cxx_try_compile "$LINENO"; then :
46301 glibcxx_cv_func_logl_use=yes
46302 else
46303 glibcxx_cv_func_logl_use=no
46305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46306 ac_ext=c
46307 ac_cpp='$CPP $CPPFLAGS'
46308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46317 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46319 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46320 for ac_func in logl
46321 do :
46322 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46323 if test "x$ac_cv_func_logl" = xyes; then :
46324 cat >>confdefs.h <<_ACEOF
46325 #define HAVE_LOGL 1
46326 _ACEOF
46329 done
46331 else
46333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46334 $as_echo_n "checking for _logl declaration... " >&6; }
46335 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46336 if ${glibcxx_cv_func__logl_use+:} false; then :
46337 $as_echo_n "(cached) " >&6
46338 else
46341 ac_ext=cpp
46342 ac_cpp='$CXXCPP $CPPFLAGS'
46343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46348 /* end confdefs.h. */
46349 #include <math.h>
46350 #ifdef HAVE_IEEEFP_H
46351 #include <ieeefp.h>
46352 #endif
46355 main ()
46357 _logl(0);
46359 return 0;
46361 _ACEOF
46362 if ac_fn_cxx_try_compile "$LINENO"; then :
46363 glibcxx_cv_func__logl_use=yes
46364 else
46365 glibcxx_cv_func__logl_use=no
46367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46368 ac_ext=c
46369 ac_cpp='$CPP $CPPFLAGS'
46370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46379 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46381 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46382 for ac_func in _logl
46383 do :
46384 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46385 if test "x$ac_cv_func__logl" = xyes; then :
46386 cat >>confdefs.h <<_ACEOF
46387 #define HAVE__LOGL 1
46388 _ACEOF
46391 done
46400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46401 $as_echo_n "checking for log10l declaration... " >&6; }
46402 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46403 if ${glibcxx_cv_func_log10l_use+:} false; then :
46404 $as_echo_n "(cached) " >&6
46405 else
46408 ac_ext=cpp
46409 ac_cpp='$CXXCPP $CPPFLAGS'
46410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46415 /* end confdefs.h. */
46416 #include <math.h>
46417 #ifdef HAVE_IEEEFP_H
46418 #include <ieeefp.h>
46419 #endif
46422 main ()
46424 log10l(0);
46426 return 0;
46428 _ACEOF
46429 if ac_fn_cxx_try_compile "$LINENO"; then :
46430 glibcxx_cv_func_log10l_use=yes
46431 else
46432 glibcxx_cv_func_log10l_use=no
46434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46435 ac_ext=c
46436 ac_cpp='$CPP $CPPFLAGS'
46437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46446 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46448 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46449 for ac_func in log10l
46450 do :
46451 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46452 if test "x$ac_cv_func_log10l" = xyes; then :
46453 cat >>confdefs.h <<_ACEOF
46454 #define HAVE_LOG10L 1
46455 _ACEOF
46458 done
46460 else
46462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46463 $as_echo_n "checking for _log10l declaration... " >&6; }
46464 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46465 if ${glibcxx_cv_func__log10l_use+:} false; then :
46466 $as_echo_n "(cached) " >&6
46467 else
46470 ac_ext=cpp
46471 ac_cpp='$CXXCPP $CPPFLAGS'
46472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46477 /* end confdefs.h. */
46478 #include <math.h>
46479 #ifdef HAVE_IEEEFP_H
46480 #include <ieeefp.h>
46481 #endif
46484 main ()
46486 _log10l(0);
46488 return 0;
46490 _ACEOF
46491 if ac_fn_cxx_try_compile "$LINENO"; then :
46492 glibcxx_cv_func__log10l_use=yes
46493 else
46494 glibcxx_cv_func__log10l_use=no
46496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46497 ac_ext=c
46498 ac_cpp='$CPP $CPPFLAGS'
46499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46508 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46510 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46511 for ac_func in _log10l
46512 do :
46513 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46514 if test "x$ac_cv_func__log10l" = xyes; then :
46515 cat >>confdefs.h <<_ACEOF
46516 #define HAVE__LOG10L 1
46517 _ACEOF
46520 done
46529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46530 $as_echo_n "checking for modfl declaration... " >&6; }
46531 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46532 if ${glibcxx_cv_func_modfl_use+:} false; then :
46533 $as_echo_n "(cached) " >&6
46534 else
46537 ac_ext=cpp
46538 ac_cpp='$CXXCPP $CPPFLAGS'
46539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46544 /* end confdefs.h. */
46545 #include <math.h>
46547 main ()
46549 modfl(0, 0);
46551 return 0;
46553 _ACEOF
46554 if ac_fn_cxx_try_compile "$LINENO"; then :
46555 glibcxx_cv_func_modfl_use=yes
46556 else
46557 glibcxx_cv_func_modfl_use=no
46559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46560 ac_ext=c
46561 ac_cpp='$CPP $CPPFLAGS'
46562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46571 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46573 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46574 for ac_func in modfl
46575 do :
46576 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46577 if test "x$ac_cv_func_modfl" = xyes; then :
46578 cat >>confdefs.h <<_ACEOF
46579 #define HAVE_MODFL 1
46580 _ACEOF
46583 done
46585 else
46587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46588 $as_echo_n "checking for _modfl declaration... " >&6; }
46589 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46590 if ${glibcxx_cv_func__modfl_use+:} false; then :
46591 $as_echo_n "(cached) " >&6
46592 else
46595 ac_ext=cpp
46596 ac_cpp='$CXXCPP $CPPFLAGS'
46597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46602 /* end confdefs.h. */
46603 #include <math.h>
46605 main ()
46607 _modfl(0, 0);
46609 return 0;
46611 _ACEOF
46612 if ac_fn_cxx_try_compile "$LINENO"; then :
46613 glibcxx_cv_func__modfl_use=yes
46614 else
46615 glibcxx_cv_func__modfl_use=no
46617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46618 ac_ext=c
46619 ac_cpp='$CPP $CPPFLAGS'
46620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46629 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46631 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46632 for ac_func in _modfl
46633 do :
46634 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46635 if test "x$ac_cv_func__modfl" = xyes; then :
46636 cat >>confdefs.h <<_ACEOF
46637 #define HAVE__MODFL 1
46638 _ACEOF
46641 done
46650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46651 $as_echo_n "checking for powl declaration... " >&6; }
46652 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46653 if ${glibcxx_cv_func_powl_use+:} false; then :
46654 $as_echo_n "(cached) " >&6
46655 else
46658 ac_ext=cpp
46659 ac_cpp='$CXXCPP $CPPFLAGS'
46660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46665 /* end confdefs.h. */
46666 #include <math.h>
46668 main ()
46670 powl(0, 0);
46672 return 0;
46674 _ACEOF
46675 if ac_fn_cxx_try_compile "$LINENO"; then :
46676 glibcxx_cv_func_powl_use=yes
46677 else
46678 glibcxx_cv_func_powl_use=no
46680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46681 ac_ext=c
46682 ac_cpp='$CPP $CPPFLAGS'
46683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46692 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46694 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46695 for ac_func in powl
46696 do :
46697 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46698 if test "x$ac_cv_func_powl" = xyes; then :
46699 cat >>confdefs.h <<_ACEOF
46700 #define HAVE_POWL 1
46701 _ACEOF
46704 done
46706 else
46708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46709 $as_echo_n "checking for _powl declaration... " >&6; }
46710 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46711 if ${glibcxx_cv_func__powl_use+:} false; then :
46712 $as_echo_n "(cached) " >&6
46713 else
46716 ac_ext=cpp
46717 ac_cpp='$CXXCPP $CPPFLAGS'
46718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46723 /* end confdefs.h. */
46724 #include <math.h>
46726 main ()
46728 _powl(0, 0);
46730 return 0;
46732 _ACEOF
46733 if ac_fn_cxx_try_compile "$LINENO"; then :
46734 glibcxx_cv_func__powl_use=yes
46735 else
46736 glibcxx_cv_func__powl_use=no
46738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46739 ac_ext=c
46740 ac_cpp='$CPP $CPPFLAGS'
46741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46750 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46752 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46753 for ac_func in _powl
46754 do :
46755 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46756 if test "x$ac_cv_func__powl" = xyes; then :
46757 cat >>confdefs.h <<_ACEOF
46758 #define HAVE__POWL 1
46759 _ACEOF
46762 done
46771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46772 $as_echo_n "checking for sqrtl declaration... " >&6; }
46773 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46774 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
46775 $as_echo_n "(cached) " >&6
46776 else
46779 ac_ext=cpp
46780 ac_cpp='$CXXCPP $CPPFLAGS'
46781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46786 /* end confdefs.h. */
46787 #include <math.h>
46788 #ifdef HAVE_IEEEFP_H
46789 #include <ieeefp.h>
46790 #endif
46793 main ()
46795 sqrtl(0);
46797 return 0;
46799 _ACEOF
46800 if ac_fn_cxx_try_compile "$LINENO"; then :
46801 glibcxx_cv_func_sqrtl_use=yes
46802 else
46803 glibcxx_cv_func_sqrtl_use=no
46805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46806 ac_ext=c
46807 ac_cpp='$CPP $CPPFLAGS'
46808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46817 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46819 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46820 for ac_func in sqrtl
46821 do :
46822 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46823 if test "x$ac_cv_func_sqrtl" = xyes; then :
46824 cat >>confdefs.h <<_ACEOF
46825 #define HAVE_SQRTL 1
46826 _ACEOF
46829 done
46831 else
46833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46834 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46835 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46836 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
46837 $as_echo_n "(cached) " >&6
46838 else
46841 ac_ext=cpp
46842 ac_cpp='$CXXCPP $CPPFLAGS'
46843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46848 /* end confdefs.h. */
46849 #include <math.h>
46850 #ifdef HAVE_IEEEFP_H
46851 #include <ieeefp.h>
46852 #endif
46855 main ()
46857 _sqrtl(0);
46859 return 0;
46861 _ACEOF
46862 if ac_fn_cxx_try_compile "$LINENO"; then :
46863 glibcxx_cv_func__sqrtl_use=yes
46864 else
46865 glibcxx_cv_func__sqrtl_use=no
46867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46868 ac_ext=c
46869 ac_cpp='$CPP $CPPFLAGS'
46870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46879 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46881 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46882 for ac_func in _sqrtl
46883 do :
46884 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46885 if test "x$ac_cv_func__sqrtl" = xyes; then :
46886 cat >>confdefs.h <<_ACEOF
46887 #define HAVE__SQRTL 1
46888 _ACEOF
46891 done
46900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46901 $as_echo_n "checking for sincosl declaration... " >&6; }
46902 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46903 if ${glibcxx_cv_func_sincosl_use+:} false; then :
46904 $as_echo_n "(cached) " >&6
46905 else
46908 ac_ext=cpp
46909 ac_cpp='$CXXCPP $CPPFLAGS'
46910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46915 /* end confdefs.h. */
46916 #include <math.h>
46918 main ()
46920 sincosl(0, 0, 0);
46922 return 0;
46924 _ACEOF
46925 if ac_fn_cxx_try_compile "$LINENO"; then :
46926 glibcxx_cv_func_sincosl_use=yes
46927 else
46928 glibcxx_cv_func_sincosl_use=no
46930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46931 ac_ext=c
46932 ac_cpp='$CPP $CPPFLAGS'
46933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46942 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46944 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46945 for ac_func in sincosl
46946 do :
46947 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46948 if test "x$ac_cv_func_sincosl" = xyes; then :
46949 cat >>confdefs.h <<_ACEOF
46950 #define HAVE_SINCOSL 1
46951 _ACEOF
46954 done
46956 else
46958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46959 $as_echo_n "checking for _sincosl declaration... " >&6; }
46960 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46961 if ${glibcxx_cv_func__sincosl_use+:} false; then :
46962 $as_echo_n "(cached) " >&6
46963 else
46966 ac_ext=cpp
46967 ac_cpp='$CXXCPP $CPPFLAGS'
46968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46973 /* end confdefs.h. */
46974 #include <math.h>
46976 main ()
46978 _sincosl(0, 0, 0);
46980 return 0;
46982 _ACEOF
46983 if ac_fn_cxx_try_compile "$LINENO"; then :
46984 glibcxx_cv_func__sincosl_use=yes
46985 else
46986 glibcxx_cv_func__sincosl_use=no
46988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46989 ac_ext=c
46990 ac_cpp='$CPP $CPPFLAGS'
46991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
47000 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
47002 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47003 for ac_func in _sincosl
47004 do :
47005 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
47006 if test "x$ac_cv_func__sincosl" = xyes; then :
47007 cat >>confdefs.h <<_ACEOF
47008 #define HAVE__SINCOSL 1
47009 _ACEOF
47012 done
47021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
47022 $as_echo_n "checking for finitel declaration... " >&6; }
47023 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47024 if ${glibcxx_cv_func_finitel_use+:} false; then :
47025 $as_echo_n "(cached) " >&6
47026 else
47029 ac_ext=cpp
47030 ac_cpp='$CXXCPP $CPPFLAGS'
47031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47036 /* end confdefs.h. */
47037 #include <math.h>
47038 #ifdef HAVE_IEEEFP_H
47039 #include <ieeefp.h>
47040 #endif
47043 main ()
47045 finitel(0);
47047 return 0;
47049 _ACEOF
47050 if ac_fn_cxx_try_compile "$LINENO"; then :
47051 glibcxx_cv_func_finitel_use=yes
47052 else
47053 glibcxx_cv_func_finitel_use=no
47055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47056 ac_ext=c
47057 ac_cpp='$CPP $CPPFLAGS'
47058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
47067 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
47069 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47070 for ac_func in finitel
47071 do :
47072 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
47073 if test "x$ac_cv_func_finitel" = xyes; then :
47074 cat >>confdefs.h <<_ACEOF
47075 #define HAVE_FINITEL 1
47076 _ACEOF
47079 done
47081 else
47083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
47084 $as_echo_n "checking for _finitel declaration... " >&6; }
47085 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47086 if ${glibcxx_cv_func__finitel_use+:} false; then :
47087 $as_echo_n "(cached) " >&6
47088 else
47091 ac_ext=cpp
47092 ac_cpp='$CXXCPP $CPPFLAGS'
47093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47098 /* end confdefs.h. */
47099 #include <math.h>
47100 #ifdef HAVE_IEEEFP_H
47101 #include <ieeefp.h>
47102 #endif
47105 main ()
47107 _finitel(0);
47109 return 0;
47111 _ACEOF
47112 if ac_fn_cxx_try_compile "$LINENO"; then :
47113 glibcxx_cv_func__finitel_use=yes
47114 else
47115 glibcxx_cv_func__finitel_use=no
47117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47118 ac_ext=c
47119 ac_cpp='$CPP $CPPFLAGS'
47120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
47129 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
47131 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47132 for ac_func in _finitel
47133 do :
47134 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
47135 if test "x$ac_cv_func__finitel" = xyes; then :
47136 cat >>confdefs.h <<_ACEOF
47137 #define HAVE__FINITEL 1
47138 _ACEOF
47141 done
47149 LIBS="$ac_save_LIBS"
47150 CXXFLAGS="$ac_save_CXXFLAGS"
47153 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47154 ac_save_CXXFLAGS="$CXXFLAGS"
47155 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
47159 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
47160 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
47161 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
47162 $as_echo_n "(cached) " >&6
47163 else
47166 ac_ext=cpp
47167 ac_cpp='$CXXCPP $CPPFLAGS'
47168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47173 /* end confdefs.h. */
47174 #include <stdlib.h>
47176 main ()
47178 at_quick_exit(0);
47180 return 0;
47182 _ACEOF
47183 if ac_fn_cxx_try_compile "$LINENO"; then :
47184 glibcxx_cv_func_at_quick_exit_use=yes
47185 else
47186 glibcxx_cv_func_at_quick_exit_use=no
47188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47189 ac_ext=c
47190 ac_cpp='$CPP $CPPFLAGS'
47191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
47200 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
47201 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
47202 for ac_func in at_quick_exit
47203 do :
47204 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
47205 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
47206 cat >>confdefs.h <<_ACEOF
47207 #define HAVE_AT_QUICK_EXIT 1
47208 _ACEOF
47211 done
47216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
47217 $as_echo_n "checking for quick_exit declaration... " >&6; }
47218 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
47219 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
47220 $as_echo_n "(cached) " >&6
47221 else
47224 ac_ext=cpp
47225 ac_cpp='$CXXCPP $CPPFLAGS'
47226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47231 /* end confdefs.h. */
47232 #include <stdlib.h>
47234 main ()
47236 quick_exit(0);
47238 return 0;
47240 _ACEOF
47241 if ac_fn_cxx_try_compile "$LINENO"; then :
47242 glibcxx_cv_func_quick_exit_use=yes
47243 else
47244 glibcxx_cv_func_quick_exit_use=no
47246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47247 ac_ext=c
47248 ac_cpp='$CPP $CPPFLAGS'
47249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
47258 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
47259 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
47260 for ac_func in quick_exit
47261 do :
47262 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47263 if test "x$ac_cv_func_quick_exit" = xyes; then :
47264 cat >>confdefs.h <<_ACEOF
47265 #define HAVE_QUICK_EXIT 1
47266 _ACEOF
47269 done
47274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47275 $as_echo_n "checking for strtold declaration... " >&6; }
47276 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47277 if ${glibcxx_cv_func_strtold_use+:} false; then :
47278 $as_echo_n "(cached) " >&6
47279 else
47282 ac_ext=cpp
47283 ac_cpp='$CXXCPP $CPPFLAGS'
47284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47289 /* end confdefs.h. */
47290 #include <stdlib.h>
47292 main ()
47294 strtold(0, 0);
47296 return 0;
47298 _ACEOF
47299 if ac_fn_cxx_try_compile "$LINENO"; then :
47300 glibcxx_cv_func_strtold_use=yes
47301 else
47302 glibcxx_cv_func_strtold_use=no
47304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47305 ac_ext=c
47306 ac_cpp='$CPP $CPPFLAGS'
47307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47316 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47317 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47318 for ac_func in strtold
47319 do :
47320 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47321 if test "x$ac_cv_func_strtold" = xyes; then :
47322 cat >>confdefs.h <<_ACEOF
47323 #define HAVE_STRTOLD 1
47324 _ACEOF
47327 done
47334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47335 $as_echo_n "checking for strtof declaration... " >&6; }
47336 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47337 if ${glibcxx_cv_func_strtof_use+:} false; then :
47338 $as_echo_n "(cached) " >&6
47339 else
47342 ac_ext=cpp
47343 ac_cpp='$CXXCPP $CPPFLAGS'
47344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47349 /* end confdefs.h. */
47350 #include <stdlib.h>
47352 main ()
47354 strtof(0, 0);
47356 return 0;
47358 _ACEOF
47359 if ac_fn_cxx_try_compile "$LINENO"; then :
47360 glibcxx_cv_func_strtof_use=yes
47361 else
47362 glibcxx_cv_func_strtof_use=no
47364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47365 ac_ext=c
47366 ac_cpp='$CPP $CPPFLAGS'
47367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47376 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47377 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47378 for ac_func in strtof
47379 do :
47380 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47381 if test "x$ac_cv_func_strtof" = xyes; then :
47382 cat >>confdefs.h <<_ACEOF
47383 #define HAVE_STRTOF 1
47384 _ACEOF
47387 done
47394 CXXFLAGS="$ac_save_CXXFLAGS"
47396 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
47398 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
47400 # We don't yet support AIX's TLS ABI.
47401 #GCC_CHECK_TLS
47407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
47408 $as_echo_n "checking for iconv... " >&6; }
47409 if ${am_cv_func_iconv+:} false; then :
47410 $as_echo_n "(cached) " >&6
47411 else
47413 am_cv_func_iconv="no, consider installing GNU libiconv"
47414 am_cv_lib_iconv=no
47415 am_save_CPPFLAGS="$CPPFLAGS"
47416 CPPFLAGS="$CPPFLAGS $INCICONV"
47417 if test x$gcc_no_link = xyes; then
47418 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47421 /* end confdefs.h. */
47422 #include <stdlib.h>
47423 #include <iconv.h>
47425 main ()
47427 iconv_t cd = iconv_open("","");
47428 iconv(cd,NULL,NULL,NULL,NULL);
47429 iconv_close(cd);
47431 return 0;
47433 _ACEOF
47434 if ac_fn_c_try_link "$LINENO"; then :
47435 am_cv_func_iconv=yes
47437 rm -f core conftest.err conftest.$ac_objext \
47438 conftest$ac_exeext conftest.$ac_ext
47439 CPPFLAGS="$am_save_CPPFLAGS"
47441 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
47442 for _libs in .libs _libs; do
47443 am_save_CPPFLAGS="$CPPFLAGS"
47444 am_save_LIBS="$LIBS"
47445 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
47446 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
47447 if test x$gcc_no_link = xyes; then
47448 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47451 /* end confdefs.h. */
47452 #include <stdlib.h>
47453 #include <iconv.h>
47455 main ()
47457 iconv_t cd = iconv_open("","");
47458 iconv(cd,NULL,NULL,NULL,NULL);
47459 iconv_close(cd);
47461 return 0;
47463 _ACEOF
47464 if ac_fn_c_try_link "$LINENO"; then :
47465 INCICONV="-I../libiconv/include"
47466 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47467 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47468 am_cv_lib_iconv=yes
47469 am_cv_func_iconv=yes
47471 rm -f core conftest.err conftest.$ac_objext \
47472 conftest$ac_exeext conftest.$ac_ext
47473 CPPFLAGS="$am_save_CPPFLAGS"
47474 LIBS="$am_save_LIBS"
47475 if test "$am_cv_func_iconv" = "yes"; then
47476 break
47478 done
47481 if test "$am_cv_func_iconv" != yes; then
47482 am_save_CPPFLAGS="$CPPFLAGS"
47483 am_save_LIBS="$LIBS"
47484 CPPFLAGS="$CPPFLAGS $INCICONV"
47485 LIBS="$LIBS $LIBICONV"
47486 if test x$gcc_no_link = xyes; then
47487 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47490 /* end confdefs.h. */
47491 #include <stdlib.h>
47492 #include <iconv.h>
47494 main ()
47496 iconv_t cd = iconv_open("","");
47497 iconv(cd,NULL,NULL,NULL,NULL);
47498 iconv_close(cd);
47500 return 0;
47502 _ACEOF
47503 if ac_fn_c_try_link "$LINENO"; then :
47504 am_cv_lib_iconv=yes
47505 am_cv_func_iconv=yes
47507 rm -f core conftest.err conftest.$ac_objext \
47508 conftest$ac_exeext conftest.$ac_ext
47509 CPPFLAGS="$am_save_CPPFLAGS"
47510 LIBS="$am_save_LIBS"
47514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47515 $as_echo "$am_cv_func_iconv" >&6; }
47516 if test "$am_cv_func_iconv" = yes; then
47518 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47521 if test "$am_cv_lib_iconv" = yes; then
47523 for element in $INCICONV; do
47524 haveit=
47525 for x in $CPPFLAGS; do
47527 acl_save_prefix="$prefix"
47528 prefix="$acl_final_prefix"
47529 acl_save_exec_prefix="$exec_prefix"
47530 exec_prefix="$acl_final_exec_prefix"
47531 eval x=\"$x\"
47532 exec_prefix="$acl_save_exec_prefix"
47533 prefix="$acl_save_prefix"
47535 if test "X$x" = "X$element"; then
47536 haveit=yes
47537 break
47539 done
47540 if test -z "$haveit"; then
47541 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47543 done
47545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47546 $as_echo_n "checking how to link with libiconv... " >&6; }
47547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47548 $as_echo "$LIBICONV" >&6; }
47549 else
47550 LIBICONV=
47551 LTLIBICONV=
47556 if test "$am_cv_func_iconv" = yes; then
47557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47558 $as_echo_n "checking for iconv declaration... " >&6; }
47559 if ${am_cv_proto_iconv+:} false; then :
47560 $as_echo_n "(cached) " >&6
47561 else
47563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47564 /* end confdefs.h. */
47566 #include <stdlib.h>
47567 #include <iconv.h>
47568 extern
47569 #ifdef __cplusplus
47571 #endif
47572 #if defined(__STDC__) || defined(__cplusplus)
47573 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47574 #else
47575 size_t iconv();
47576 #endif
47579 main ()
47583 return 0;
47585 _ACEOF
47586 if ac_fn_c_try_compile "$LINENO"; then :
47587 am_cv_proto_iconv_arg1=""
47588 else
47589 am_cv_proto_iconv_arg1="const"
47591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47592 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);"
47595 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47597 }$am_cv_proto_iconv" >&5
47598 $as_echo "${ac_t:-
47599 }$am_cv_proto_iconv" >&6; }
47601 cat >>confdefs.h <<_ACEOF
47602 #define ICONV_CONST $am_cv_proto_iconv_arg1
47603 _ACEOF
47609 *-darwin*)
47610 # Darwin versions vary, but the linker should work in a cross environment,
47611 # so we just check for all the features here.
47612 # Check for available headers.
47614 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47616 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47617 ac_save_CXXFLAGS="$CXXFLAGS"
47618 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47621 $as_echo_n "checking for sin in -lm... " >&6; }
47622 if ${ac_cv_lib_m_sin+:} false; then :
47623 $as_echo_n "(cached) " >&6
47624 else
47625 ac_check_lib_save_LIBS=$LIBS
47626 LIBS="-lm $LIBS"
47627 if test x$gcc_no_link = xyes; then
47628 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47631 /* end confdefs.h. */
47633 /* Override any GCC internal prototype to avoid an error.
47634 Use char because int might match the return type of a GCC
47635 builtin and then its argument prototype would still apply. */
47636 #ifdef __cplusplus
47637 extern "C"
47638 #endif
47639 char sin ();
47641 main ()
47643 return sin ();
47645 return 0;
47647 _ACEOF
47648 if ac_fn_c_try_link "$LINENO"; then :
47649 ac_cv_lib_m_sin=yes
47650 else
47651 ac_cv_lib_m_sin=no
47653 rm -f core conftest.err conftest.$ac_objext \
47654 conftest$ac_exeext conftest.$ac_ext
47655 LIBS=$ac_check_lib_save_LIBS
47657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47658 $as_echo "$ac_cv_lib_m_sin" >&6; }
47659 if test "x$ac_cv_lib_m_sin" = xyes; then :
47660 libm="-lm"
47663 ac_save_LIBS="$LIBS"
47664 LIBS="$LIBS $libm"
47668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47669 $as_echo_n "checking for isinf declaration... " >&6; }
47670 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47671 if ${glibcxx_cv_func_isinf_use+:} false; then :
47672 $as_echo_n "(cached) " >&6
47673 else
47676 ac_ext=cpp
47677 ac_cpp='$CXXCPP $CPPFLAGS'
47678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47683 /* end confdefs.h. */
47684 #include <math.h>
47685 #ifdef HAVE_IEEEFP_H
47686 #include <ieeefp.h>
47687 #endif
47690 main ()
47692 isinf(0);
47694 return 0;
47696 _ACEOF
47697 if ac_fn_cxx_try_compile "$LINENO"; then :
47698 glibcxx_cv_func_isinf_use=yes
47699 else
47700 glibcxx_cv_func_isinf_use=no
47702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47703 ac_ext=c
47704 ac_cpp='$CPP $CPPFLAGS'
47705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47714 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47716 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47717 for ac_func in isinf
47718 do :
47719 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47720 if test "x$ac_cv_func_isinf" = xyes; then :
47721 cat >>confdefs.h <<_ACEOF
47722 #define HAVE_ISINF 1
47723 _ACEOF
47726 done
47728 else
47730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47731 $as_echo_n "checking for _isinf declaration... " >&6; }
47732 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47733 if ${glibcxx_cv_func__isinf_use+:} false; then :
47734 $as_echo_n "(cached) " >&6
47735 else
47738 ac_ext=cpp
47739 ac_cpp='$CXXCPP $CPPFLAGS'
47740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47745 /* end confdefs.h. */
47746 #include <math.h>
47747 #ifdef HAVE_IEEEFP_H
47748 #include <ieeefp.h>
47749 #endif
47752 main ()
47754 _isinf(0);
47756 return 0;
47758 _ACEOF
47759 if ac_fn_cxx_try_compile "$LINENO"; then :
47760 glibcxx_cv_func__isinf_use=yes
47761 else
47762 glibcxx_cv_func__isinf_use=no
47764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47765 ac_ext=c
47766 ac_cpp='$CPP $CPPFLAGS'
47767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47776 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47778 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47779 for ac_func in _isinf
47780 do :
47781 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47782 if test "x$ac_cv_func__isinf" = xyes; then :
47783 cat >>confdefs.h <<_ACEOF
47784 #define HAVE__ISINF 1
47785 _ACEOF
47788 done
47797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47798 $as_echo_n "checking for isnan declaration... " >&6; }
47799 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47800 if ${glibcxx_cv_func_isnan_use+:} false; then :
47801 $as_echo_n "(cached) " >&6
47802 else
47805 ac_ext=cpp
47806 ac_cpp='$CXXCPP $CPPFLAGS'
47807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47812 /* end confdefs.h. */
47813 #include <math.h>
47814 #ifdef HAVE_IEEEFP_H
47815 #include <ieeefp.h>
47816 #endif
47819 main ()
47821 isnan(0);
47823 return 0;
47825 _ACEOF
47826 if ac_fn_cxx_try_compile "$LINENO"; then :
47827 glibcxx_cv_func_isnan_use=yes
47828 else
47829 glibcxx_cv_func_isnan_use=no
47831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47832 ac_ext=c
47833 ac_cpp='$CPP $CPPFLAGS'
47834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47843 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47845 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47846 for ac_func in isnan
47847 do :
47848 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47849 if test "x$ac_cv_func_isnan" = xyes; then :
47850 cat >>confdefs.h <<_ACEOF
47851 #define HAVE_ISNAN 1
47852 _ACEOF
47855 done
47857 else
47859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47860 $as_echo_n "checking for _isnan declaration... " >&6; }
47861 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47862 if ${glibcxx_cv_func__isnan_use+:} false; then :
47863 $as_echo_n "(cached) " >&6
47864 else
47867 ac_ext=cpp
47868 ac_cpp='$CXXCPP $CPPFLAGS'
47869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47874 /* end confdefs.h. */
47875 #include <math.h>
47876 #ifdef HAVE_IEEEFP_H
47877 #include <ieeefp.h>
47878 #endif
47881 main ()
47883 _isnan(0);
47885 return 0;
47887 _ACEOF
47888 if ac_fn_cxx_try_compile "$LINENO"; then :
47889 glibcxx_cv_func__isnan_use=yes
47890 else
47891 glibcxx_cv_func__isnan_use=no
47893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47894 ac_ext=c
47895 ac_cpp='$CPP $CPPFLAGS'
47896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47905 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47907 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47908 for ac_func in _isnan
47909 do :
47910 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47911 if test "x$ac_cv_func__isnan" = xyes; then :
47912 cat >>confdefs.h <<_ACEOF
47913 #define HAVE__ISNAN 1
47914 _ACEOF
47917 done
47926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47927 $as_echo_n "checking for finite declaration... " >&6; }
47928 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47929 if ${glibcxx_cv_func_finite_use+:} false; then :
47930 $as_echo_n "(cached) " >&6
47931 else
47934 ac_ext=cpp
47935 ac_cpp='$CXXCPP $CPPFLAGS'
47936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47941 /* end confdefs.h. */
47942 #include <math.h>
47943 #ifdef HAVE_IEEEFP_H
47944 #include <ieeefp.h>
47945 #endif
47948 main ()
47950 finite(0);
47952 return 0;
47954 _ACEOF
47955 if ac_fn_cxx_try_compile "$LINENO"; then :
47956 glibcxx_cv_func_finite_use=yes
47957 else
47958 glibcxx_cv_func_finite_use=no
47960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47961 ac_ext=c
47962 ac_cpp='$CPP $CPPFLAGS'
47963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47972 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47974 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47975 for ac_func in finite
47976 do :
47977 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47978 if test "x$ac_cv_func_finite" = xyes; then :
47979 cat >>confdefs.h <<_ACEOF
47980 #define HAVE_FINITE 1
47981 _ACEOF
47984 done
47986 else
47988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47989 $as_echo_n "checking for _finite declaration... " >&6; }
47990 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47991 if ${glibcxx_cv_func__finite_use+:} false; then :
47992 $as_echo_n "(cached) " >&6
47993 else
47996 ac_ext=cpp
47997 ac_cpp='$CXXCPP $CPPFLAGS'
47998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48003 /* end confdefs.h. */
48004 #include <math.h>
48005 #ifdef HAVE_IEEEFP_H
48006 #include <ieeefp.h>
48007 #endif
48010 main ()
48012 _finite(0);
48014 return 0;
48016 _ACEOF
48017 if ac_fn_cxx_try_compile "$LINENO"; then :
48018 glibcxx_cv_func__finite_use=yes
48019 else
48020 glibcxx_cv_func__finite_use=no
48022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48023 ac_ext=c
48024 ac_cpp='$CPP $CPPFLAGS'
48025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
48034 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
48036 if test x$glibcxx_cv_func__finite_use = x"yes"; then
48037 for ac_func in _finite
48038 do :
48039 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
48040 if test "x$ac_cv_func__finite" = xyes; then :
48041 cat >>confdefs.h <<_ACEOF
48042 #define HAVE__FINITE 1
48043 _ACEOF
48046 done
48055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
48056 $as_echo_n "checking for sincos declaration... " >&6; }
48057 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
48058 if ${glibcxx_cv_func_sincos_use+:} false; then :
48059 $as_echo_n "(cached) " >&6
48060 else
48063 ac_ext=cpp
48064 ac_cpp='$CXXCPP $CPPFLAGS'
48065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48070 /* end confdefs.h. */
48071 #include <math.h>
48073 main ()
48075 sincos(0, 0, 0);
48077 return 0;
48079 _ACEOF
48080 if ac_fn_cxx_try_compile "$LINENO"; then :
48081 glibcxx_cv_func_sincos_use=yes
48082 else
48083 glibcxx_cv_func_sincos_use=no
48085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48086 ac_ext=c
48087 ac_cpp='$CPP $CPPFLAGS'
48088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
48097 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
48099 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
48100 for ac_func in sincos
48101 do :
48102 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
48103 if test "x$ac_cv_func_sincos" = xyes; then :
48104 cat >>confdefs.h <<_ACEOF
48105 #define HAVE_SINCOS 1
48106 _ACEOF
48109 done
48111 else
48113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
48114 $as_echo_n "checking for _sincos declaration... " >&6; }
48115 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
48116 if ${glibcxx_cv_func__sincos_use+:} false; then :
48117 $as_echo_n "(cached) " >&6
48118 else
48121 ac_ext=cpp
48122 ac_cpp='$CXXCPP $CPPFLAGS'
48123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48128 /* end confdefs.h. */
48129 #include <math.h>
48131 main ()
48133 _sincos(0, 0, 0);
48135 return 0;
48137 _ACEOF
48138 if ac_fn_cxx_try_compile "$LINENO"; then :
48139 glibcxx_cv_func__sincos_use=yes
48140 else
48141 glibcxx_cv_func__sincos_use=no
48143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48144 ac_ext=c
48145 ac_cpp='$CPP $CPPFLAGS'
48146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
48155 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
48157 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
48158 for ac_func in _sincos
48159 do :
48160 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
48161 if test "x$ac_cv_func__sincos" = xyes; then :
48162 cat >>confdefs.h <<_ACEOF
48163 #define HAVE__SINCOS 1
48164 _ACEOF
48167 done
48176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
48177 $as_echo_n "checking for fpclass declaration... " >&6; }
48178 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
48179 if ${glibcxx_cv_func_fpclass_use+:} false; then :
48180 $as_echo_n "(cached) " >&6
48181 else
48184 ac_ext=cpp
48185 ac_cpp='$CXXCPP $CPPFLAGS'
48186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48191 /* end confdefs.h. */
48192 #include <math.h>
48193 #ifdef HAVE_IEEEFP_H
48194 #include <ieeefp.h>
48195 #endif
48198 main ()
48200 fpclass(0);
48202 return 0;
48204 _ACEOF
48205 if ac_fn_cxx_try_compile "$LINENO"; then :
48206 glibcxx_cv_func_fpclass_use=yes
48207 else
48208 glibcxx_cv_func_fpclass_use=no
48210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48211 ac_ext=c
48212 ac_cpp='$CPP $CPPFLAGS'
48213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
48222 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
48224 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
48225 for ac_func in fpclass
48226 do :
48227 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
48228 if test "x$ac_cv_func_fpclass" = xyes; then :
48229 cat >>confdefs.h <<_ACEOF
48230 #define HAVE_FPCLASS 1
48231 _ACEOF
48234 done
48236 else
48238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
48239 $as_echo_n "checking for _fpclass declaration... " >&6; }
48240 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
48241 if ${glibcxx_cv_func__fpclass_use+:} false; then :
48242 $as_echo_n "(cached) " >&6
48243 else
48246 ac_ext=cpp
48247 ac_cpp='$CXXCPP $CPPFLAGS'
48248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48253 /* end confdefs.h. */
48254 #include <math.h>
48255 #ifdef HAVE_IEEEFP_H
48256 #include <ieeefp.h>
48257 #endif
48260 main ()
48262 _fpclass(0);
48264 return 0;
48266 _ACEOF
48267 if ac_fn_cxx_try_compile "$LINENO"; then :
48268 glibcxx_cv_func__fpclass_use=yes
48269 else
48270 glibcxx_cv_func__fpclass_use=no
48272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48273 ac_ext=c
48274 ac_cpp='$CPP $CPPFLAGS'
48275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48284 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48286 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48287 for ac_func in _fpclass
48288 do :
48289 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48290 if test "x$ac_cv_func__fpclass" = xyes; then :
48291 cat >>confdefs.h <<_ACEOF
48292 #define HAVE__FPCLASS 1
48293 _ACEOF
48296 done
48305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48306 $as_echo_n "checking for qfpclass declaration... " >&6; }
48307 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48308 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
48309 $as_echo_n "(cached) " >&6
48310 else
48313 ac_ext=cpp
48314 ac_cpp='$CXXCPP $CPPFLAGS'
48315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48320 /* end confdefs.h. */
48321 #include <math.h>
48322 #ifdef HAVE_IEEEFP_H
48323 #include <ieeefp.h>
48324 #endif
48327 main ()
48329 qfpclass(0);
48331 return 0;
48333 _ACEOF
48334 if ac_fn_cxx_try_compile "$LINENO"; then :
48335 glibcxx_cv_func_qfpclass_use=yes
48336 else
48337 glibcxx_cv_func_qfpclass_use=no
48339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48340 ac_ext=c
48341 ac_cpp='$CPP $CPPFLAGS'
48342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48351 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48353 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48354 for ac_func in qfpclass
48355 do :
48356 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48357 if test "x$ac_cv_func_qfpclass" = xyes; then :
48358 cat >>confdefs.h <<_ACEOF
48359 #define HAVE_QFPCLASS 1
48360 _ACEOF
48363 done
48365 else
48367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48368 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48369 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48370 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
48371 $as_echo_n "(cached) " >&6
48372 else
48375 ac_ext=cpp
48376 ac_cpp='$CXXCPP $CPPFLAGS'
48377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48382 /* end confdefs.h. */
48383 #include <math.h>
48384 #ifdef HAVE_IEEEFP_H
48385 #include <ieeefp.h>
48386 #endif
48389 main ()
48391 _qfpclass(0);
48393 return 0;
48395 _ACEOF
48396 if ac_fn_cxx_try_compile "$LINENO"; then :
48397 glibcxx_cv_func__qfpclass_use=yes
48398 else
48399 glibcxx_cv_func__qfpclass_use=no
48401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48402 ac_ext=c
48403 ac_cpp='$CPP $CPPFLAGS'
48404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48413 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48415 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48416 for ac_func in _qfpclass
48417 do :
48418 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48419 if test "x$ac_cv_func__qfpclass" = xyes; then :
48420 cat >>confdefs.h <<_ACEOF
48421 #define HAVE__QFPCLASS 1
48422 _ACEOF
48425 done
48434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48435 $as_echo_n "checking for hypot declaration... " >&6; }
48436 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48437 if ${glibcxx_cv_func_hypot_use+:} false; then :
48438 $as_echo_n "(cached) " >&6
48439 else
48442 ac_ext=cpp
48443 ac_cpp='$CXXCPP $CPPFLAGS'
48444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48449 /* end confdefs.h. */
48450 #include <math.h>
48452 main ()
48454 hypot(0, 0);
48456 return 0;
48458 _ACEOF
48459 if ac_fn_cxx_try_compile "$LINENO"; then :
48460 glibcxx_cv_func_hypot_use=yes
48461 else
48462 glibcxx_cv_func_hypot_use=no
48464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48465 ac_ext=c
48466 ac_cpp='$CPP $CPPFLAGS'
48467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48476 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48478 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48479 for ac_func in hypot
48480 do :
48481 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48482 if test "x$ac_cv_func_hypot" = xyes; then :
48483 cat >>confdefs.h <<_ACEOF
48484 #define HAVE_HYPOT 1
48485 _ACEOF
48488 done
48490 else
48492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48493 $as_echo_n "checking for _hypot declaration... " >&6; }
48494 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48495 if ${glibcxx_cv_func__hypot_use+:} false; then :
48496 $as_echo_n "(cached) " >&6
48497 else
48500 ac_ext=cpp
48501 ac_cpp='$CXXCPP $CPPFLAGS'
48502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48507 /* end confdefs.h. */
48508 #include <math.h>
48510 main ()
48512 _hypot(0, 0);
48514 return 0;
48516 _ACEOF
48517 if ac_fn_cxx_try_compile "$LINENO"; then :
48518 glibcxx_cv_func__hypot_use=yes
48519 else
48520 glibcxx_cv_func__hypot_use=no
48522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48523 ac_ext=c
48524 ac_cpp='$CPP $CPPFLAGS'
48525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48534 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48536 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48537 for ac_func in _hypot
48538 do :
48539 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48540 if test "x$ac_cv_func__hypot" = xyes; then :
48541 cat >>confdefs.h <<_ACEOF
48542 #define HAVE__HYPOT 1
48543 _ACEOF
48546 done
48555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48556 $as_echo_n "checking for float trig functions... " >&6; }
48557 if ${glibcxx_cv_func_float_trig_use+:} false; then :
48558 $as_echo_n "(cached) " >&6
48559 else
48562 ac_ext=cpp
48563 ac_cpp='$CXXCPP $CPPFLAGS'
48564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48569 /* end confdefs.h. */
48570 #include <math.h>
48572 main ()
48574 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48576 return 0;
48578 _ACEOF
48579 if ac_fn_cxx_try_compile "$LINENO"; then :
48580 glibcxx_cv_func_float_trig_use=yes
48581 else
48582 glibcxx_cv_func_float_trig_use=no
48584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48585 ac_ext=c
48586 ac_cpp='$CPP $CPPFLAGS'
48587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48594 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48595 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48596 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48597 do :
48598 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48599 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48600 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48601 cat >>confdefs.h <<_ACEOF
48602 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48603 _ACEOF
48606 done
48608 else
48609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48610 $as_echo_n "checking for _float trig functions... " >&6; }
48611 if ${glibcxx_cv_func__float_trig_use+:} false; then :
48612 $as_echo_n "(cached) " >&6
48613 else
48616 ac_ext=cpp
48617 ac_cpp='$CXXCPP $CPPFLAGS'
48618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48623 /* end confdefs.h. */
48624 #include <math.h>
48626 main ()
48628 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48630 return 0;
48632 _ACEOF
48633 if ac_fn_cxx_try_compile "$LINENO"; then :
48634 glibcxx_cv_func__float_trig_use=yes
48635 else
48636 glibcxx_cv_func__float_trig_use=no
48638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48639 ac_ext=c
48640 ac_cpp='$CPP $CPPFLAGS'
48641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48648 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48649 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48650 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48651 do :
48652 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48653 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48654 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48655 cat >>confdefs.h <<_ACEOF
48656 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48657 _ACEOF
48660 done
48669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48670 $as_echo_n "checking for float round functions... " >&6; }
48671 if ${glibcxx_cv_func_float_round_use+:} false; then :
48672 $as_echo_n "(cached) " >&6
48673 else
48676 ac_ext=cpp
48677 ac_cpp='$CXXCPP $CPPFLAGS'
48678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48683 /* end confdefs.h. */
48684 #include <math.h>
48686 main ()
48688 ceilf (0); floorf (0);
48690 return 0;
48692 _ACEOF
48693 if ac_fn_cxx_try_compile "$LINENO"; then :
48694 glibcxx_cv_func_float_round_use=yes
48695 else
48696 glibcxx_cv_func_float_round_use=no
48698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48699 ac_ext=c
48700 ac_cpp='$CPP $CPPFLAGS'
48701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48708 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48709 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48710 for ac_func in ceilf floorf
48711 do :
48712 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48713 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48714 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48715 cat >>confdefs.h <<_ACEOF
48716 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48717 _ACEOF
48720 done
48722 else
48723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48724 $as_echo_n "checking for _float round functions... " >&6; }
48725 if ${glibcxx_cv_func__float_round_use+:} false; then :
48726 $as_echo_n "(cached) " >&6
48727 else
48730 ac_ext=cpp
48731 ac_cpp='$CXXCPP $CPPFLAGS'
48732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48737 /* end confdefs.h. */
48738 #include <math.h>
48740 main ()
48742 _ceilf (0); _floorf (0);
48744 return 0;
48746 _ACEOF
48747 if ac_fn_cxx_try_compile "$LINENO"; then :
48748 glibcxx_cv_func__float_round_use=yes
48749 else
48750 glibcxx_cv_func__float_round_use=no
48752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48753 ac_ext=c
48754 ac_cpp='$CPP $CPPFLAGS'
48755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48762 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48763 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48764 for ac_func in _ceilf _floorf
48765 do :
48766 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48767 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48768 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48769 cat >>confdefs.h <<_ACEOF
48770 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48771 _ACEOF
48774 done
48784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48785 $as_echo_n "checking for expf declaration... " >&6; }
48786 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48787 if ${glibcxx_cv_func_expf_use+:} false; then :
48788 $as_echo_n "(cached) " >&6
48789 else
48792 ac_ext=cpp
48793 ac_cpp='$CXXCPP $CPPFLAGS'
48794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48799 /* end confdefs.h. */
48800 #include <math.h>
48801 #ifdef HAVE_IEEEFP_H
48802 #include <ieeefp.h>
48803 #endif
48806 main ()
48808 expf(0);
48810 return 0;
48812 _ACEOF
48813 if ac_fn_cxx_try_compile "$LINENO"; then :
48814 glibcxx_cv_func_expf_use=yes
48815 else
48816 glibcxx_cv_func_expf_use=no
48818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48819 ac_ext=c
48820 ac_cpp='$CPP $CPPFLAGS'
48821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48830 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48832 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48833 for ac_func in expf
48834 do :
48835 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48836 if test "x$ac_cv_func_expf" = xyes; then :
48837 cat >>confdefs.h <<_ACEOF
48838 #define HAVE_EXPF 1
48839 _ACEOF
48842 done
48844 else
48846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48847 $as_echo_n "checking for _expf declaration... " >&6; }
48848 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48849 if ${glibcxx_cv_func__expf_use+:} false; then :
48850 $as_echo_n "(cached) " >&6
48851 else
48854 ac_ext=cpp
48855 ac_cpp='$CXXCPP $CPPFLAGS'
48856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48861 /* end confdefs.h. */
48862 #include <math.h>
48863 #ifdef HAVE_IEEEFP_H
48864 #include <ieeefp.h>
48865 #endif
48868 main ()
48870 _expf(0);
48872 return 0;
48874 _ACEOF
48875 if ac_fn_cxx_try_compile "$LINENO"; then :
48876 glibcxx_cv_func__expf_use=yes
48877 else
48878 glibcxx_cv_func__expf_use=no
48880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48881 ac_ext=c
48882 ac_cpp='$CPP $CPPFLAGS'
48883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48892 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48894 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48895 for ac_func in _expf
48896 do :
48897 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48898 if test "x$ac_cv_func__expf" = xyes; then :
48899 cat >>confdefs.h <<_ACEOF
48900 #define HAVE__EXPF 1
48901 _ACEOF
48904 done
48913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48914 $as_echo_n "checking for isnanf declaration... " >&6; }
48915 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48916 if ${glibcxx_cv_func_isnanf_use+:} false; then :
48917 $as_echo_n "(cached) " >&6
48918 else
48921 ac_ext=cpp
48922 ac_cpp='$CXXCPP $CPPFLAGS'
48923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48928 /* end confdefs.h. */
48929 #include <math.h>
48930 #ifdef HAVE_IEEEFP_H
48931 #include <ieeefp.h>
48932 #endif
48935 main ()
48937 isnanf(0);
48939 return 0;
48941 _ACEOF
48942 if ac_fn_cxx_try_compile "$LINENO"; then :
48943 glibcxx_cv_func_isnanf_use=yes
48944 else
48945 glibcxx_cv_func_isnanf_use=no
48947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48948 ac_ext=c
48949 ac_cpp='$CPP $CPPFLAGS'
48950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48959 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48961 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48962 for ac_func in isnanf
48963 do :
48964 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48965 if test "x$ac_cv_func_isnanf" = xyes; then :
48966 cat >>confdefs.h <<_ACEOF
48967 #define HAVE_ISNANF 1
48968 _ACEOF
48971 done
48973 else
48975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48976 $as_echo_n "checking for _isnanf declaration... " >&6; }
48977 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48978 if ${glibcxx_cv_func__isnanf_use+:} false; then :
48979 $as_echo_n "(cached) " >&6
48980 else
48983 ac_ext=cpp
48984 ac_cpp='$CXXCPP $CPPFLAGS'
48985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48990 /* end confdefs.h. */
48991 #include <math.h>
48992 #ifdef HAVE_IEEEFP_H
48993 #include <ieeefp.h>
48994 #endif
48997 main ()
48999 _isnanf(0);
49001 return 0;
49003 _ACEOF
49004 if ac_fn_cxx_try_compile "$LINENO"; then :
49005 glibcxx_cv_func__isnanf_use=yes
49006 else
49007 glibcxx_cv_func__isnanf_use=no
49009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49010 ac_ext=c
49011 ac_cpp='$CPP $CPPFLAGS'
49012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
49021 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
49023 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
49024 for ac_func in _isnanf
49025 do :
49026 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
49027 if test "x$ac_cv_func__isnanf" = xyes; then :
49028 cat >>confdefs.h <<_ACEOF
49029 #define HAVE__ISNANF 1
49030 _ACEOF
49033 done
49042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
49043 $as_echo_n "checking for isinff declaration... " >&6; }
49044 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
49045 if ${glibcxx_cv_func_isinff_use+:} false; then :
49046 $as_echo_n "(cached) " >&6
49047 else
49050 ac_ext=cpp
49051 ac_cpp='$CXXCPP $CPPFLAGS'
49052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49057 /* end confdefs.h. */
49058 #include <math.h>
49059 #ifdef HAVE_IEEEFP_H
49060 #include <ieeefp.h>
49061 #endif
49064 main ()
49066 isinff(0);
49068 return 0;
49070 _ACEOF
49071 if ac_fn_cxx_try_compile "$LINENO"; then :
49072 glibcxx_cv_func_isinff_use=yes
49073 else
49074 glibcxx_cv_func_isinff_use=no
49076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49077 ac_ext=c
49078 ac_cpp='$CPP $CPPFLAGS'
49079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
49088 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
49090 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
49091 for ac_func in isinff
49092 do :
49093 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
49094 if test "x$ac_cv_func_isinff" = xyes; then :
49095 cat >>confdefs.h <<_ACEOF
49096 #define HAVE_ISINFF 1
49097 _ACEOF
49100 done
49102 else
49104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
49105 $as_echo_n "checking for _isinff declaration... " >&6; }
49106 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
49107 if ${glibcxx_cv_func__isinff_use+:} false; then :
49108 $as_echo_n "(cached) " >&6
49109 else
49112 ac_ext=cpp
49113 ac_cpp='$CXXCPP $CPPFLAGS'
49114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49119 /* end confdefs.h. */
49120 #include <math.h>
49121 #ifdef HAVE_IEEEFP_H
49122 #include <ieeefp.h>
49123 #endif
49126 main ()
49128 _isinff(0);
49130 return 0;
49132 _ACEOF
49133 if ac_fn_cxx_try_compile "$LINENO"; then :
49134 glibcxx_cv_func__isinff_use=yes
49135 else
49136 glibcxx_cv_func__isinff_use=no
49138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49139 ac_ext=c
49140 ac_cpp='$CPP $CPPFLAGS'
49141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
49150 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
49152 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
49153 for ac_func in _isinff
49154 do :
49155 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
49156 if test "x$ac_cv_func__isinff" = xyes; then :
49157 cat >>confdefs.h <<_ACEOF
49158 #define HAVE__ISINFF 1
49159 _ACEOF
49162 done
49171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
49172 $as_echo_n "checking for atan2f declaration... " >&6; }
49173 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49174 if ${glibcxx_cv_func_atan2f_use+:} false; then :
49175 $as_echo_n "(cached) " >&6
49176 else
49179 ac_ext=cpp
49180 ac_cpp='$CXXCPP $CPPFLAGS'
49181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49186 /* end confdefs.h. */
49187 #include <math.h>
49189 main ()
49191 atan2f(0, 0);
49193 return 0;
49195 _ACEOF
49196 if ac_fn_cxx_try_compile "$LINENO"; then :
49197 glibcxx_cv_func_atan2f_use=yes
49198 else
49199 glibcxx_cv_func_atan2f_use=no
49201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49202 ac_ext=c
49203 ac_cpp='$CPP $CPPFLAGS'
49204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
49213 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
49215 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49216 for ac_func in atan2f
49217 do :
49218 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
49219 if test "x$ac_cv_func_atan2f" = xyes; then :
49220 cat >>confdefs.h <<_ACEOF
49221 #define HAVE_ATAN2F 1
49222 _ACEOF
49225 done
49227 else
49229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
49230 $as_echo_n "checking for _atan2f declaration... " >&6; }
49231 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49232 if ${glibcxx_cv_func__atan2f_use+:} false; then :
49233 $as_echo_n "(cached) " >&6
49234 else
49237 ac_ext=cpp
49238 ac_cpp='$CXXCPP $CPPFLAGS'
49239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49244 /* end confdefs.h. */
49245 #include <math.h>
49247 main ()
49249 _atan2f(0, 0);
49251 return 0;
49253 _ACEOF
49254 if ac_fn_cxx_try_compile "$LINENO"; then :
49255 glibcxx_cv_func__atan2f_use=yes
49256 else
49257 glibcxx_cv_func__atan2f_use=no
49259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49260 ac_ext=c
49261 ac_cpp='$CPP $CPPFLAGS'
49262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49271 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49273 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49274 for ac_func in _atan2f
49275 do :
49276 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49277 if test "x$ac_cv_func__atan2f" = xyes; then :
49278 cat >>confdefs.h <<_ACEOF
49279 #define HAVE__ATAN2F 1
49280 _ACEOF
49283 done
49292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49293 $as_echo_n "checking for fabsf declaration... " >&6; }
49294 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49295 if ${glibcxx_cv_func_fabsf_use+:} false; then :
49296 $as_echo_n "(cached) " >&6
49297 else
49300 ac_ext=cpp
49301 ac_cpp='$CXXCPP $CPPFLAGS'
49302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49307 /* end confdefs.h. */
49308 #include <math.h>
49309 #ifdef HAVE_IEEEFP_H
49310 #include <ieeefp.h>
49311 #endif
49314 main ()
49316 fabsf(0);
49318 return 0;
49320 _ACEOF
49321 if ac_fn_cxx_try_compile "$LINENO"; then :
49322 glibcxx_cv_func_fabsf_use=yes
49323 else
49324 glibcxx_cv_func_fabsf_use=no
49326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49327 ac_ext=c
49328 ac_cpp='$CPP $CPPFLAGS'
49329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49338 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49340 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49341 for ac_func in fabsf
49342 do :
49343 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49344 if test "x$ac_cv_func_fabsf" = xyes; then :
49345 cat >>confdefs.h <<_ACEOF
49346 #define HAVE_FABSF 1
49347 _ACEOF
49350 done
49352 else
49354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49355 $as_echo_n "checking for _fabsf declaration... " >&6; }
49356 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49357 if ${glibcxx_cv_func__fabsf_use+:} false; then :
49358 $as_echo_n "(cached) " >&6
49359 else
49362 ac_ext=cpp
49363 ac_cpp='$CXXCPP $CPPFLAGS'
49364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49369 /* end confdefs.h. */
49370 #include <math.h>
49371 #ifdef HAVE_IEEEFP_H
49372 #include <ieeefp.h>
49373 #endif
49376 main ()
49378 _fabsf(0);
49380 return 0;
49382 _ACEOF
49383 if ac_fn_cxx_try_compile "$LINENO"; then :
49384 glibcxx_cv_func__fabsf_use=yes
49385 else
49386 glibcxx_cv_func__fabsf_use=no
49388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49389 ac_ext=c
49390 ac_cpp='$CPP $CPPFLAGS'
49391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49400 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49402 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49403 for ac_func in _fabsf
49404 do :
49405 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49406 if test "x$ac_cv_func__fabsf" = xyes; then :
49407 cat >>confdefs.h <<_ACEOF
49408 #define HAVE__FABSF 1
49409 _ACEOF
49412 done
49421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49422 $as_echo_n "checking for fmodf declaration... " >&6; }
49423 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49424 if ${glibcxx_cv_func_fmodf_use+:} false; then :
49425 $as_echo_n "(cached) " >&6
49426 else
49429 ac_ext=cpp
49430 ac_cpp='$CXXCPP $CPPFLAGS'
49431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49436 /* end confdefs.h. */
49437 #include <math.h>
49439 main ()
49441 fmodf(0, 0);
49443 return 0;
49445 _ACEOF
49446 if ac_fn_cxx_try_compile "$LINENO"; then :
49447 glibcxx_cv_func_fmodf_use=yes
49448 else
49449 glibcxx_cv_func_fmodf_use=no
49451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49452 ac_ext=c
49453 ac_cpp='$CPP $CPPFLAGS'
49454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49463 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49465 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49466 for ac_func in fmodf
49467 do :
49468 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49469 if test "x$ac_cv_func_fmodf" = xyes; then :
49470 cat >>confdefs.h <<_ACEOF
49471 #define HAVE_FMODF 1
49472 _ACEOF
49475 done
49477 else
49479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49480 $as_echo_n "checking for _fmodf declaration... " >&6; }
49481 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49482 if ${glibcxx_cv_func__fmodf_use+:} false; then :
49483 $as_echo_n "(cached) " >&6
49484 else
49487 ac_ext=cpp
49488 ac_cpp='$CXXCPP $CPPFLAGS'
49489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49494 /* end confdefs.h. */
49495 #include <math.h>
49497 main ()
49499 _fmodf(0, 0);
49501 return 0;
49503 _ACEOF
49504 if ac_fn_cxx_try_compile "$LINENO"; then :
49505 glibcxx_cv_func__fmodf_use=yes
49506 else
49507 glibcxx_cv_func__fmodf_use=no
49509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49510 ac_ext=c
49511 ac_cpp='$CPP $CPPFLAGS'
49512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49521 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49523 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49524 for ac_func in _fmodf
49525 do :
49526 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49527 if test "x$ac_cv_func__fmodf" = xyes; then :
49528 cat >>confdefs.h <<_ACEOF
49529 #define HAVE__FMODF 1
49530 _ACEOF
49533 done
49542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49543 $as_echo_n "checking for frexpf declaration... " >&6; }
49544 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49545 if ${glibcxx_cv_func_frexpf_use+:} false; then :
49546 $as_echo_n "(cached) " >&6
49547 else
49550 ac_ext=cpp
49551 ac_cpp='$CXXCPP $CPPFLAGS'
49552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49557 /* end confdefs.h. */
49558 #include <math.h>
49560 main ()
49562 frexpf(0, 0);
49564 return 0;
49566 _ACEOF
49567 if ac_fn_cxx_try_compile "$LINENO"; then :
49568 glibcxx_cv_func_frexpf_use=yes
49569 else
49570 glibcxx_cv_func_frexpf_use=no
49572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49573 ac_ext=c
49574 ac_cpp='$CPP $CPPFLAGS'
49575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49584 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49586 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49587 for ac_func in frexpf
49588 do :
49589 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49590 if test "x$ac_cv_func_frexpf" = xyes; then :
49591 cat >>confdefs.h <<_ACEOF
49592 #define HAVE_FREXPF 1
49593 _ACEOF
49596 done
49598 else
49600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49601 $as_echo_n "checking for _frexpf declaration... " >&6; }
49602 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49603 if ${glibcxx_cv_func__frexpf_use+:} false; then :
49604 $as_echo_n "(cached) " >&6
49605 else
49608 ac_ext=cpp
49609 ac_cpp='$CXXCPP $CPPFLAGS'
49610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49615 /* end confdefs.h. */
49616 #include <math.h>
49618 main ()
49620 _frexpf(0, 0);
49622 return 0;
49624 _ACEOF
49625 if ac_fn_cxx_try_compile "$LINENO"; then :
49626 glibcxx_cv_func__frexpf_use=yes
49627 else
49628 glibcxx_cv_func__frexpf_use=no
49630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49631 ac_ext=c
49632 ac_cpp='$CPP $CPPFLAGS'
49633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49642 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49644 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49645 for ac_func in _frexpf
49646 do :
49647 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49648 if test "x$ac_cv_func__frexpf" = xyes; then :
49649 cat >>confdefs.h <<_ACEOF
49650 #define HAVE__FREXPF 1
49651 _ACEOF
49654 done
49663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49664 $as_echo_n "checking for hypotf declaration... " >&6; }
49665 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49666 if ${glibcxx_cv_func_hypotf_use+:} false; then :
49667 $as_echo_n "(cached) " >&6
49668 else
49671 ac_ext=cpp
49672 ac_cpp='$CXXCPP $CPPFLAGS'
49673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49678 /* end confdefs.h. */
49679 #include <math.h>
49681 main ()
49683 hypotf(0, 0);
49685 return 0;
49687 _ACEOF
49688 if ac_fn_cxx_try_compile "$LINENO"; then :
49689 glibcxx_cv_func_hypotf_use=yes
49690 else
49691 glibcxx_cv_func_hypotf_use=no
49693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49694 ac_ext=c
49695 ac_cpp='$CPP $CPPFLAGS'
49696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49705 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49707 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49708 for ac_func in hypotf
49709 do :
49710 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49711 if test "x$ac_cv_func_hypotf" = xyes; then :
49712 cat >>confdefs.h <<_ACEOF
49713 #define HAVE_HYPOTF 1
49714 _ACEOF
49717 done
49719 else
49721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49722 $as_echo_n "checking for _hypotf declaration... " >&6; }
49723 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49724 if ${glibcxx_cv_func__hypotf_use+:} false; then :
49725 $as_echo_n "(cached) " >&6
49726 else
49729 ac_ext=cpp
49730 ac_cpp='$CXXCPP $CPPFLAGS'
49731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49736 /* end confdefs.h. */
49737 #include <math.h>
49739 main ()
49741 _hypotf(0, 0);
49743 return 0;
49745 _ACEOF
49746 if ac_fn_cxx_try_compile "$LINENO"; then :
49747 glibcxx_cv_func__hypotf_use=yes
49748 else
49749 glibcxx_cv_func__hypotf_use=no
49751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49752 ac_ext=c
49753 ac_cpp='$CPP $CPPFLAGS'
49754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49763 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49765 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49766 for ac_func in _hypotf
49767 do :
49768 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49769 if test "x$ac_cv_func__hypotf" = xyes; then :
49770 cat >>confdefs.h <<_ACEOF
49771 #define HAVE__HYPOTF 1
49772 _ACEOF
49775 done
49784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49785 $as_echo_n "checking for ldexpf declaration... " >&6; }
49786 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49787 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
49788 $as_echo_n "(cached) " >&6
49789 else
49792 ac_ext=cpp
49793 ac_cpp='$CXXCPP $CPPFLAGS'
49794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49799 /* end confdefs.h. */
49800 #include <math.h>
49802 main ()
49804 ldexpf(0, 0);
49806 return 0;
49808 _ACEOF
49809 if ac_fn_cxx_try_compile "$LINENO"; then :
49810 glibcxx_cv_func_ldexpf_use=yes
49811 else
49812 glibcxx_cv_func_ldexpf_use=no
49814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49815 ac_ext=c
49816 ac_cpp='$CPP $CPPFLAGS'
49817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49826 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49828 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49829 for ac_func in ldexpf
49830 do :
49831 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49832 if test "x$ac_cv_func_ldexpf" = xyes; then :
49833 cat >>confdefs.h <<_ACEOF
49834 #define HAVE_LDEXPF 1
49835 _ACEOF
49838 done
49840 else
49842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49843 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49844 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49845 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
49846 $as_echo_n "(cached) " >&6
49847 else
49850 ac_ext=cpp
49851 ac_cpp='$CXXCPP $CPPFLAGS'
49852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49857 /* end confdefs.h. */
49858 #include <math.h>
49860 main ()
49862 _ldexpf(0, 0);
49864 return 0;
49866 _ACEOF
49867 if ac_fn_cxx_try_compile "$LINENO"; then :
49868 glibcxx_cv_func__ldexpf_use=yes
49869 else
49870 glibcxx_cv_func__ldexpf_use=no
49872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49873 ac_ext=c
49874 ac_cpp='$CPP $CPPFLAGS'
49875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49884 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49886 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49887 for ac_func in _ldexpf
49888 do :
49889 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49890 if test "x$ac_cv_func__ldexpf" = xyes; then :
49891 cat >>confdefs.h <<_ACEOF
49892 #define HAVE__LDEXPF 1
49893 _ACEOF
49896 done
49905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49906 $as_echo_n "checking for logf declaration... " >&6; }
49907 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49908 if ${glibcxx_cv_func_logf_use+:} false; then :
49909 $as_echo_n "(cached) " >&6
49910 else
49913 ac_ext=cpp
49914 ac_cpp='$CXXCPP $CPPFLAGS'
49915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49920 /* end confdefs.h. */
49921 #include <math.h>
49922 #ifdef HAVE_IEEEFP_H
49923 #include <ieeefp.h>
49924 #endif
49927 main ()
49929 logf(0);
49931 return 0;
49933 _ACEOF
49934 if ac_fn_cxx_try_compile "$LINENO"; then :
49935 glibcxx_cv_func_logf_use=yes
49936 else
49937 glibcxx_cv_func_logf_use=no
49939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49940 ac_ext=c
49941 ac_cpp='$CPP $CPPFLAGS'
49942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49951 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49953 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49954 for ac_func in logf
49955 do :
49956 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49957 if test "x$ac_cv_func_logf" = xyes; then :
49958 cat >>confdefs.h <<_ACEOF
49959 #define HAVE_LOGF 1
49960 _ACEOF
49963 done
49965 else
49967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49968 $as_echo_n "checking for _logf declaration... " >&6; }
49969 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49970 if ${glibcxx_cv_func__logf_use+:} false; then :
49971 $as_echo_n "(cached) " >&6
49972 else
49975 ac_ext=cpp
49976 ac_cpp='$CXXCPP $CPPFLAGS'
49977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49982 /* end confdefs.h. */
49983 #include <math.h>
49984 #ifdef HAVE_IEEEFP_H
49985 #include <ieeefp.h>
49986 #endif
49989 main ()
49991 _logf(0);
49993 return 0;
49995 _ACEOF
49996 if ac_fn_cxx_try_compile "$LINENO"; then :
49997 glibcxx_cv_func__logf_use=yes
49998 else
49999 glibcxx_cv_func__logf_use=no
50001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50002 ac_ext=c
50003 ac_cpp='$CPP $CPPFLAGS'
50004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
50013 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
50015 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50016 for ac_func in _logf
50017 do :
50018 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
50019 if test "x$ac_cv_func__logf" = xyes; then :
50020 cat >>confdefs.h <<_ACEOF
50021 #define HAVE__LOGF 1
50022 _ACEOF
50025 done
50034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
50035 $as_echo_n "checking for log10f declaration... " >&6; }
50036 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50037 if ${glibcxx_cv_func_log10f_use+:} false; then :
50038 $as_echo_n "(cached) " >&6
50039 else
50042 ac_ext=cpp
50043 ac_cpp='$CXXCPP $CPPFLAGS'
50044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50049 /* end confdefs.h. */
50050 #include <math.h>
50051 #ifdef HAVE_IEEEFP_H
50052 #include <ieeefp.h>
50053 #endif
50056 main ()
50058 log10f(0);
50060 return 0;
50062 _ACEOF
50063 if ac_fn_cxx_try_compile "$LINENO"; then :
50064 glibcxx_cv_func_log10f_use=yes
50065 else
50066 glibcxx_cv_func_log10f_use=no
50068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50069 ac_ext=c
50070 ac_cpp='$CPP $CPPFLAGS'
50071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
50080 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
50082 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50083 for ac_func in log10f
50084 do :
50085 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
50086 if test "x$ac_cv_func_log10f" = xyes; then :
50087 cat >>confdefs.h <<_ACEOF
50088 #define HAVE_LOG10F 1
50089 _ACEOF
50092 done
50094 else
50096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
50097 $as_echo_n "checking for _log10f declaration... " >&6; }
50098 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50099 if ${glibcxx_cv_func__log10f_use+:} false; then :
50100 $as_echo_n "(cached) " >&6
50101 else
50104 ac_ext=cpp
50105 ac_cpp='$CXXCPP $CPPFLAGS'
50106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50111 /* end confdefs.h. */
50112 #include <math.h>
50113 #ifdef HAVE_IEEEFP_H
50114 #include <ieeefp.h>
50115 #endif
50118 main ()
50120 _log10f(0);
50122 return 0;
50124 _ACEOF
50125 if ac_fn_cxx_try_compile "$LINENO"; then :
50126 glibcxx_cv_func__log10f_use=yes
50127 else
50128 glibcxx_cv_func__log10f_use=no
50130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50131 ac_ext=c
50132 ac_cpp='$CPP $CPPFLAGS'
50133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
50142 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
50144 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50145 for ac_func in _log10f
50146 do :
50147 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
50148 if test "x$ac_cv_func__log10f" = xyes; then :
50149 cat >>confdefs.h <<_ACEOF
50150 #define HAVE__LOG10F 1
50151 _ACEOF
50154 done
50163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
50164 $as_echo_n "checking for modff declaration... " >&6; }
50165 if test x${glibcxx_cv_func_modff_use+set} != xset; then
50166 if ${glibcxx_cv_func_modff_use+:} false; then :
50167 $as_echo_n "(cached) " >&6
50168 else
50171 ac_ext=cpp
50172 ac_cpp='$CXXCPP $CPPFLAGS'
50173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50178 /* end confdefs.h. */
50179 #include <math.h>
50181 main ()
50183 modff(0, 0);
50185 return 0;
50187 _ACEOF
50188 if ac_fn_cxx_try_compile "$LINENO"; then :
50189 glibcxx_cv_func_modff_use=yes
50190 else
50191 glibcxx_cv_func_modff_use=no
50193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50194 ac_ext=c
50195 ac_cpp='$CPP $CPPFLAGS'
50196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
50205 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
50207 if test x$glibcxx_cv_func_modff_use = x"yes"; then
50208 for ac_func in modff
50209 do :
50210 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
50211 if test "x$ac_cv_func_modff" = xyes; then :
50212 cat >>confdefs.h <<_ACEOF
50213 #define HAVE_MODFF 1
50214 _ACEOF
50217 done
50219 else
50221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
50222 $as_echo_n "checking for _modff declaration... " >&6; }
50223 if test x${glibcxx_cv_func__modff_use+set} != xset; then
50224 if ${glibcxx_cv_func__modff_use+:} false; then :
50225 $as_echo_n "(cached) " >&6
50226 else
50229 ac_ext=cpp
50230 ac_cpp='$CXXCPP $CPPFLAGS'
50231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50236 /* end confdefs.h. */
50237 #include <math.h>
50239 main ()
50241 _modff(0, 0);
50243 return 0;
50245 _ACEOF
50246 if ac_fn_cxx_try_compile "$LINENO"; then :
50247 glibcxx_cv_func__modff_use=yes
50248 else
50249 glibcxx_cv_func__modff_use=no
50251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50252 ac_ext=c
50253 ac_cpp='$CPP $CPPFLAGS'
50254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
50263 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
50265 if test x$glibcxx_cv_func__modff_use = x"yes"; then
50266 for ac_func in _modff
50267 do :
50268 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
50269 if test "x$ac_cv_func__modff" = xyes; then :
50270 cat >>confdefs.h <<_ACEOF
50271 #define HAVE__MODFF 1
50272 _ACEOF
50275 done
50284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50285 $as_echo_n "checking for modf declaration... " >&6; }
50286 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50287 if ${glibcxx_cv_func_modf_use+:} false; then :
50288 $as_echo_n "(cached) " >&6
50289 else
50292 ac_ext=cpp
50293 ac_cpp='$CXXCPP $CPPFLAGS'
50294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50299 /* end confdefs.h. */
50300 #include <math.h>
50302 main ()
50304 modf(0, 0);
50306 return 0;
50308 _ACEOF
50309 if ac_fn_cxx_try_compile "$LINENO"; then :
50310 glibcxx_cv_func_modf_use=yes
50311 else
50312 glibcxx_cv_func_modf_use=no
50314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50315 ac_ext=c
50316 ac_cpp='$CPP $CPPFLAGS'
50317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50326 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50328 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50329 for ac_func in modf
50330 do :
50331 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50332 if test "x$ac_cv_func_modf" = xyes; then :
50333 cat >>confdefs.h <<_ACEOF
50334 #define HAVE_MODF 1
50335 _ACEOF
50338 done
50340 else
50342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50343 $as_echo_n "checking for _modf declaration... " >&6; }
50344 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50345 if ${glibcxx_cv_func__modf_use+:} false; then :
50346 $as_echo_n "(cached) " >&6
50347 else
50350 ac_ext=cpp
50351 ac_cpp='$CXXCPP $CPPFLAGS'
50352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50357 /* end confdefs.h. */
50358 #include <math.h>
50360 main ()
50362 _modf(0, 0);
50364 return 0;
50366 _ACEOF
50367 if ac_fn_cxx_try_compile "$LINENO"; then :
50368 glibcxx_cv_func__modf_use=yes
50369 else
50370 glibcxx_cv_func__modf_use=no
50372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50373 ac_ext=c
50374 ac_cpp='$CPP $CPPFLAGS'
50375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50384 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50386 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50387 for ac_func in _modf
50388 do :
50389 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50390 if test "x$ac_cv_func__modf" = xyes; then :
50391 cat >>confdefs.h <<_ACEOF
50392 #define HAVE__MODF 1
50393 _ACEOF
50396 done
50405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50406 $as_echo_n "checking for powf declaration... " >&6; }
50407 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50408 if ${glibcxx_cv_func_powf_use+:} false; then :
50409 $as_echo_n "(cached) " >&6
50410 else
50413 ac_ext=cpp
50414 ac_cpp='$CXXCPP $CPPFLAGS'
50415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50420 /* end confdefs.h. */
50421 #include <math.h>
50423 main ()
50425 powf(0, 0);
50427 return 0;
50429 _ACEOF
50430 if ac_fn_cxx_try_compile "$LINENO"; then :
50431 glibcxx_cv_func_powf_use=yes
50432 else
50433 glibcxx_cv_func_powf_use=no
50435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50436 ac_ext=c
50437 ac_cpp='$CPP $CPPFLAGS'
50438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50447 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50449 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50450 for ac_func in powf
50451 do :
50452 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50453 if test "x$ac_cv_func_powf" = xyes; then :
50454 cat >>confdefs.h <<_ACEOF
50455 #define HAVE_POWF 1
50456 _ACEOF
50459 done
50461 else
50463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50464 $as_echo_n "checking for _powf declaration... " >&6; }
50465 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50466 if ${glibcxx_cv_func__powf_use+:} false; then :
50467 $as_echo_n "(cached) " >&6
50468 else
50471 ac_ext=cpp
50472 ac_cpp='$CXXCPP $CPPFLAGS'
50473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50478 /* end confdefs.h. */
50479 #include <math.h>
50481 main ()
50483 _powf(0, 0);
50485 return 0;
50487 _ACEOF
50488 if ac_fn_cxx_try_compile "$LINENO"; then :
50489 glibcxx_cv_func__powf_use=yes
50490 else
50491 glibcxx_cv_func__powf_use=no
50493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50494 ac_ext=c
50495 ac_cpp='$CPP $CPPFLAGS'
50496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50505 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50507 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50508 for ac_func in _powf
50509 do :
50510 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50511 if test "x$ac_cv_func__powf" = xyes; then :
50512 cat >>confdefs.h <<_ACEOF
50513 #define HAVE__POWF 1
50514 _ACEOF
50517 done
50526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50527 $as_echo_n "checking for sqrtf declaration... " >&6; }
50528 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50529 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
50530 $as_echo_n "(cached) " >&6
50531 else
50534 ac_ext=cpp
50535 ac_cpp='$CXXCPP $CPPFLAGS'
50536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50541 /* end confdefs.h. */
50542 #include <math.h>
50543 #ifdef HAVE_IEEEFP_H
50544 #include <ieeefp.h>
50545 #endif
50548 main ()
50550 sqrtf(0);
50552 return 0;
50554 _ACEOF
50555 if ac_fn_cxx_try_compile "$LINENO"; then :
50556 glibcxx_cv_func_sqrtf_use=yes
50557 else
50558 glibcxx_cv_func_sqrtf_use=no
50560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50561 ac_ext=c
50562 ac_cpp='$CPP $CPPFLAGS'
50563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50572 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50574 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50575 for ac_func in sqrtf
50576 do :
50577 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50578 if test "x$ac_cv_func_sqrtf" = xyes; then :
50579 cat >>confdefs.h <<_ACEOF
50580 #define HAVE_SQRTF 1
50581 _ACEOF
50584 done
50586 else
50588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50589 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50590 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50591 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
50592 $as_echo_n "(cached) " >&6
50593 else
50596 ac_ext=cpp
50597 ac_cpp='$CXXCPP $CPPFLAGS'
50598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50603 /* end confdefs.h. */
50604 #include <math.h>
50605 #ifdef HAVE_IEEEFP_H
50606 #include <ieeefp.h>
50607 #endif
50610 main ()
50612 _sqrtf(0);
50614 return 0;
50616 _ACEOF
50617 if ac_fn_cxx_try_compile "$LINENO"; then :
50618 glibcxx_cv_func__sqrtf_use=yes
50619 else
50620 glibcxx_cv_func__sqrtf_use=no
50622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50623 ac_ext=c
50624 ac_cpp='$CPP $CPPFLAGS'
50625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50634 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50636 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50637 for ac_func in _sqrtf
50638 do :
50639 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50640 if test "x$ac_cv_func__sqrtf" = xyes; then :
50641 cat >>confdefs.h <<_ACEOF
50642 #define HAVE__SQRTF 1
50643 _ACEOF
50646 done
50655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50656 $as_echo_n "checking for sincosf declaration... " >&6; }
50657 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50658 if ${glibcxx_cv_func_sincosf_use+:} false; then :
50659 $as_echo_n "(cached) " >&6
50660 else
50663 ac_ext=cpp
50664 ac_cpp='$CXXCPP $CPPFLAGS'
50665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50670 /* end confdefs.h. */
50671 #include <math.h>
50673 main ()
50675 sincosf(0, 0, 0);
50677 return 0;
50679 _ACEOF
50680 if ac_fn_cxx_try_compile "$LINENO"; then :
50681 glibcxx_cv_func_sincosf_use=yes
50682 else
50683 glibcxx_cv_func_sincosf_use=no
50685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50686 ac_ext=c
50687 ac_cpp='$CPP $CPPFLAGS'
50688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50697 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50699 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50700 for ac_func in sincosf
50701 do :
50702 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50703 if test "x$ac_cv_func_sincosf" = xyes; then :
50704 cat >>confdefs.h <<_ACEOF
50705 #define HAVE_SINCOSF 1
50706 _ACEOF
50709 done
50711 else
50713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50714 $as_echo_n "checking for _sincosf declaration... " >&6; }
50715 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50716 if ${glibcxx_cv_func__sincosf_use+:} false; then :
50717 $as_echo_n "(cached) " >&6
50718 else
50721 ac_ext=cpp
50722 ac_cpp='$CXXCPP $CPPFLAGS'
50723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50728 /* end confdefs.h. */
50729 #include <math.h>
50731 main ()
50733 _sincosf(0, 0, 0);
50735 return 0;
50737 _ACEOF
50738 if ac_fn_cxx_try_compile "$LINENO"; then :
50739 glibcxx_cv_func__sincosf_use=yes
50740 else
50741 glibcxx_cv_func__sincosf_use=no
50743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50744 ac_ext=c
50745 ac_cpp='$CPP $CPPFLAGS'
50746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50755 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50757 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50758 for ac_func in _sincosf
50759 do :
50760 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50761 if test "x$ac_cv_func__sincosf" = xyes; then :
50762 cat >>confdefs.h <<_ACEOF
50763 #define HAVE__SINCOSF 1
50764 _ACEOF
50767 done
50776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50777 $as_echo_n "checking for finitef declaration... " >&6; }
50778 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50779 if ${glibcxx_cv_func_finitef_use+:} false; then :
50780 $as_echo_n "(cached) " >&6
50781 else
50784 ac_ext=cpp
50785 ac_cpp='$CXXCPP $CPPFLAGS'
50786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50791 /* end confdefs.h. */
50792 #include <math.h>
50793 #ifdef HAVE_IEEEFP_H
50794 #include <ieeefp.h>
50795 #endif
50798 main ()
50800 finitef(0);
50802 return 0;
50804 _ACEOF
50805 if ac_fn_cxx_try_compile "$LINENO"; then :
50806 glibcxx_cv_func_finitef_use=yes
50807 else
50808 glibcxx_cv_func_finitef_use=no
50810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50811 ac_ext=c
50812 ac_cpp='$CPP $CPPFLAGS'
50813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50822 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50824 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50825 for ac_func in finitef
50826 do :
50827 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50828 if test "x$ac_cv_func_finitef" = xyes; then :
50829 cat >>confdefs.h <<_ACEOF
50830 #define HAVE_FINITEF 1
50831 _ACEOF
50834 done
50836 else
50838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50839 $as_echo_n "checking for _finitef declaration... " >&6; }
50840 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50841 if ${glibcxx_cv_func__finitef_use+:} false; then :
50842 $as_echo_n "(cached) " >&6
50843 else
50846 ac_ext=cpp
50847 ac_cpp='$CXXCPP $CPPFLAGS'
50848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50853 /* end confdefs.h. */
50854 #include <math.h>
50855 #ifdef HAVE_IEEEFP_H
50856 #include <ieeefp.h>
50857 #endif
50860 main ()
50862 _finitef(0);
50864 return 0;
50866 _ACEOF
50867 if ac_fn_cxx_try_compile "$LINENO"; then :
50868 glibcxx_cv_func__finitef_use=yes
50869 else
50870 glibcxx_cv_func__finitef_use=no
50872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50873 ac_ext=c
50874 ac_cpp='$CPP $CPPFLAGS'
50875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50884 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50886 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50887 for ac_func in _finitef
50888 do :
50889 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50890 if test "x$ac_cv_func__finitef" = xyes; then :
50891 cat >>confdefs.h <<_ACEOF
50892 #define HAVE__FINITEF 1
50893 _ACEOF
50896 done
50905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50906 $as_echo_n "checking for long double trig functions... " >&6; }
50907 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
50908 $as_echo_n "(cached) " >&6
50909 else
50912 ac_ext=cpp
50913 ac_cpp='$CXXCPP $CPPFLAGS'
50914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50919 /* end confdefs.h. */
50920 #include <math.h>
50922 main ()
50924 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50926 return 0;
50928 _ACEOF
50929 if ac_fn_cxx_try_compile "$LINENO"; then :
50930 glibcxx_cv_func_long_double_trig_use=yes
50931 else
50932 glibcxx_cv_func_long_double_trig_use=no
50934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50935 ac_ext=c
50936 ac_cpp='$CPP $CPPFLAGS'
50937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50944 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50945 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50946 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50947 do :
50948 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50949 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50950 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
50951 cat >>confdefs.h <<_ACEOF
50952 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50953 _ACEOF
50956 done
50958 else
50959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50960 $as_echo_n "checking for _long double trig functions... " >&6; }
50961 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
50962 $as_echo_n "(cached) " >&6
50963 else
50966 ac_ext=cpp
50967 ac_cpp='$CXXCPP $CPPFLAGS'
50968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50973 /* end confdefs.h. */
50974 #include <math.h>
50976 main ()
50978 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50980 return 0;
50982 _ACEOF
50983 if ac_fn_cxx_try_compile "$LINENO"; then :
50984 glibcxx_cv_func__long_double_trig_use=yes
50985 else
50986 glibcxx_cv_func__long_double_trig_use=no
50988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50989 ac_ext=c
50990 ac_cpp='$CPP $CPPFLAGS'
50991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50998 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50999 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
51000 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
51001 do :
51002 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51003 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51004 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51005 cat >>confdefs.h <<_ACEOF
51006 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51007 _ACEOF
51010 done
51019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
51020 $as_echo_n "checking for long double round functions... " >&6; }
51021 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
51022 $as_echo_n "(cached) " >&6
51023 else
51026 ac_ext=cpp
51027 ac_cpp='$CXXCPP $CPPFLAGS'
51028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51033 /* end confdefs.h. */
51034 #include <math.h>
51036 main ()
51038 ceill (0); floorl (0);
51040 return 0;
51042 _ACEOF
51043 if ac_fn_cxx_try_compile "$LINENO"; then :
51044 glibcxx_cv_func_long_double_round_use=yes
51045 else
51046 glibcxx_cv_func_long_double_round_use=no
51048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51049 ac_ext=c
51050 ac_cpp='$CPP $CPPFLAGS'
51051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
51058 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
51059 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
51060 for ac_func in ceill floorl
51061 do :
51062 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51063 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51064 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51065 cat >>confdefs.h <<_ACEOF
51066 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51067 _ACEOF
51070 done
51072 else
51073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
51074 $as_echo_n "checking for _long double round functions... " >&6; }
51075 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
51076 $as_echo_n "(cached) " >&6
51077 else
51080 ac_ext=cpp
51081 ac_cpp='$CXXCPP $CPPFLAGS'
51082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51087 /* end confdefs.h. */
51088 #include <math.h>
51090 main ()
51092 _ceill (0); _floorl (0);
51094 return 0;
51096 _ACEOF
51097 if ac_fn_cxx_try_compile "$LINENO"; then :
51098 glibcxx_cv_func__long_double_round_use=yes
51099 else
51100 glibcxx_cv_func__long_double_round_use=no
51102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51103 ac_ext=c
51104 ac_cpp='$CPP $CPPFLAGS'
51105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
51112 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
51113 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
51114 for ac_func in _ceill _floorl
51115 do :
51116 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51117 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51118 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51119 cat >>confdefs.h <<_ACEOF
51120 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51121 _ACEOF
51124 done
51134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
51135 $as_echo_n "checking for isnanl declaration... " >&6; }
51136 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
51137 if ${glibcxx_cv_func_isnanl_use+:} false; then :
51138 $as_echo_n "(cached) " >&6
51139 else
51142 ac_ext=cpp
51143 ac_cpp='$CXXCPP $CPPFLAGS'
51144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51149 /* end confdefs.h. */
51150 #include <math.h>
51151 #ifdef HAVE_IEEEFP_H
51152 #include <ieeefp.h>
51153 #endif
51156 main ()
51158 isnanl(0);
51160 return 0;
51162 _ACEOF
51163 if ac_fn_cxx_try_compile "$LINENO"; then :
51164 glibcxx_cv_func_isnanl_use=yes
51165 else
51166 glibcxx_cv_func_isnanl_use=no
51168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51169 ac_ext=c
51170 ac_cpp='$CPP $CPPFLAGS'
51171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
51180 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
51182 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
51183 for ac_func in isnanl
51184 do :
51185 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
51186 if test "x$ac_cv_func_isnanl" = xyes; then :
51187 cat >>confdefs.h <<_ACEOF
51188 #define HAVE_ISNANL 1
51189 _ACEOF
51192 done
51194 else
51196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
51197 $as_echo_n "checking for _isnanl declaration... " >&6; }
51198 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
51199 if ${glibcxx_cv_func__isnanl_use+:} false; then :
51200 $as_echo_n "(cached) " >&6
51201 else
51204 ac_ext=cpp
51205 ac_cpp='$CXXCPP $CPPFLAGS'
51206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51211 /* end confdefs.h. */
51212 #include <math.h>
51213 #ifdef HAVE_IEEEFP_H
51214 #include <ieeefp.h>
51215 #endif
51218 main ()
51220 _isnanl(0);
51222 return 0;
51224 _ACEOF
51225 if ac_fn_cxx_try_compile "$LINENO"; then :
51226 glibcxx_cv_func__isnanl_use=yes
51227 else
51228 glibcxx_cv_func__isnanl_use=no
51230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51231 ac_ext=c
51232 ac_cpp='$CPP $CPPFLAGS'
51233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
51242 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
51244 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
51245 for ac_func in _isnanl
51246 do :
51247 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
51248 if test "x$ac_cv_func__isnanl" = xyes; then :
51249 cat >>confdefs.h <<_ACEOF
51250 #define HAVE__ISNANL 1
51251 _ACEOF
51254 done
51263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
51264 $as_echo_n "checking for isinfl declaration... " >&6; }
51265 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
51266 if ${glibcxx_cv_func_isinfl_use+:} false; then :
51267 $as_echo_n "(cached) " >&6
51268 else
51271 ac_ext=cpp
51272 ac_cpp='$CXXCPP $CPPFLAGS'
51273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51278 /* end confdefs.h. */
51279 #include <math.h>
51280 #ifdef HAVE_IEEEFP_H
51281 #include <ieeefp.h>
51282 #endif
51285 main ()
51287 isinfl(0);
51289 return 0;
51291 _ACEOF
51292 if ac_fn_cxx_try_compile "$LINENO"; then :
51293 glibcxx_cv_func_isinfl_use=yes
51294 else
51295 glibcxx_cv_func_isinfl_use=no
51297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51298 ac_ext=c
51299 ac_cpp='$CPP $CPPFLAGS'
51300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51309 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51311 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51312 for ac_func in isinfl
51313 do :
51314 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51315 if test "x$ac_cv_func_isinfl" = xyes; then :
51316 cat >>confdefs.h <<_ACEOF
51317 #define HAVE_ISINFL 1
51318 _ACEOF
51321 done
51323 else
51325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51326 $as_echo_n "checking for _isinfl declaration... " >&6; }
51327 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51328 if ${glibcxx_cv_func__isinfl_use+:} false; then :
51329 $as_echo_n "(cached) " >&6
51330 else
51333 ac_ext=cpp
51334 ac_cpp='$CXXCPP $CPPFLAGS'
51335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51340 /* end confdefs.h. */
51341 #include <math.h>
51342 #ifdef HAVE_IEEEFP_H
51343 #include <ieeefp.h>
51344 #endif
51347 main ()
51349 _isinfl(0);
51351 return 0;
51353 _ACEOF
51354 if ac_fn_cxx_try_compile "$LINENO"; then :
51355 glibcxx_cv_func__isinfl_use=yes
51356 else
51357 glibcxx_cv_func__isinfl_use=no
51359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51360 ac_ext=c
51361 ac_cpp='$CPP $CPPFLAGS'
51362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51371 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51373 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51374 for ac_func in _isinfl
51375 do :
51376 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51377 if test "x$ac_cv_func__isinfl" = xyes; then :
51378 cat >>confdefs.h <<_ACEOF
51379 #define HAVE__ISINFL 1
51380 _ACEOF
51383 done
51392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51393 $as_echo_n "checking for atan2l declaration... " >&6; }
51394 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51395 if ${glibcxx_cv_func_atan2l_use+:} false; then :
51396 $as_echo_n "(cached) " >&6
51397 else
51400 ac_ext=cpp
51401 ac_cpp='$CXXCPP $CPPFLAGS'
51402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51407 /* end confdefs.h. */
51408 #include <math.h>
51410 main ()
51412 atan2l(0, 0);
51414 return 0;
51416 _ACEOF
51417 if ac_fn_cxx_try_compile "$LINENO"; then :
51418 glibcxx_cv_func_atan2l_use=yes
51419 else
51420 glibcxx_cv_func_atan2l_use=no
51422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51423 ac_ext=c
51424 ac_cpp='$CPP $CPPFLAGS'
51425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51434 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51436 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51437 for ac_func in atan2l
51438 do :
51439 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51440 if test "x$ac_cv_func_atan2l" = xyes; then :
51441 cat >>confdefs.h <<_ACEOF
51442 #define HAVE_ATAN2L 1
51443 _ACEOF
51446 done
51448 else
51450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51451 $as_echo_n "checking for _atan2l declaration... " >&6; }
51452 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51453 if ${glibcxx_cv_func__atan2l_use+:} false; then :
51454 $as_echo_n "(cached) " >&6
51455 else
51458 ac_ext=cpp
51459 ac_cpp='$CXXCPP $CPPFLAGS'
51460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51465 /* end confdefs.h. */
51466 #include <math.h>
51468 main ()
51470 _atan2l(0, 0);
51472 return 0;
51474 _ACEOF
51475 if ac_fn_cxx_try_compile "$LINENO"; then :
51476 glibcxx_cv_func__atan2l_use=yes
51477 else
51478 glibcxx_cv_func__atan2l_use=no
51480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51481 ac_ext=c
51482 ac_cpp='$CPP $CPPFLAGS'
51483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51492 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51494 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51495 for ac_func in _atan2l
51496 do :
51497 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51498 if test "x$ac_cv_func__atan2l" = xyes; then :
51499 cat >>confdefs.h <<_ACEOF
51500 #define HAVE__ATAN2L 1
51501 _ACEOF
51504 done
51513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51514 $as_echo_n "checking for expl declaration... " >&6; }
51515 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51516 if ${glibcxx_cv_func_expl_use+:} false; then :
51517 $as_echo_n "(cached) " >&6
51518 else
51521 ac_ext=cpp
51522 ac_cpp='$CXXCPP $CPPFLAGS'
51523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51528 /* end confdefs.h. */
51529 #include <math.h>
51530 #ifdef HAVE_IEEEFP_H
51531 #include <ieeefp.h>
51532 #endif
51535 main ()
51537 expl(0);
51539 return 0;
51541 _ACEOF
51542 if ac_fn_cxx_try_compile "$LINENO"; then :
51543 glibcxx_cv_func_expl_use=yes
51544 else
51545 glibcxx_cv_func_expl_use=no
51547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51548 ac_ext=c
51549 ac_cpp='$CPP $CPPFLAGS'
51550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51559 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51561 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51562 for ac_func in expl
51563 do :
51564 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51565 if test "x$ac_cv_func_expl" = xyes; then :
51566 cat >>confdefs.h <<_ACEOF
51567 #define HAVE_EXPL 1
51568 _ACEOF
51571 done
51573 else
51575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51576 $as_echo_n "checking for _expl declaration... " >&6; }
51577 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51578 if ${glibcxx_cv_func__expl_use+:} false; then :
51579 $as_echo_n "(cached) " >&6
51580 else
51583 ac_ext=cpp
51584 ac_cpp='$CXXCPP $CPPFLAGS'
51585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51590 /* end confdefs.h. */
51591 #include <math.h>
51592 #ifdef HAVE_IEEEFP_H
51593 #include <ieeefp.h>
51594 #endif
51597 main ()
51599 _expl(0);
51601 return 0;
51603 _ACEOF
51604 if ac_fn_cxx_try_compile "$LINENO"; then :
51605 glibcxx_cv_func__expl_use=yes
51606 else
51607 glibcxx_cv_func__expl_use=no
51609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51610 ac_ext=c
51611 ac_cpp='$CPP $CPPFLAGS'
51612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51621 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51623 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51624 for ac_func in _expl
51625 do :
51626 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51627 if test "x$ac_cv_func__expl" = xyes; then :
51628 cat >>confdefs.h <<_ACEOF
51629 #define HAVE__EXPL 1
51630 _ACEOF
51633 done
51642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51643 $as_echo_n "checking for fabsl declaration... " >&6; }
51644 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51645 if ${glibcxx_cv_func_fabsl_use+:} false; then :
51646 $as_echo_n "(cached) " >&6
51647 else
51650 ac_ext=cpp
51651 ac_cpp='$CXXCPP $CPPFLAGS'
51652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51657 /* end confdefs.h. */
51658 #include <math.h>
51659 #ifdef HAVE_IEEEFP_H
51660 #include <ieeefp.h>
51661 #endif
51664 main ()
51666 fabsl(0);
51668 return 0;
51670 _ACEOF
51671 if ac_fn_cxx_try_compile "$LINENO"; then :
51672 glibcxx_cv_func_fabsl_use=yes
51673 else
51674 glibcxx_cv_func_fabsl_use=no
51676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51677 ac_ext=c
51678 ac_cpp='$CPP $CPPFLAGS'
51679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51688 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51690 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51691 for ac_func in fabsl
51692 do :
51693 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51694 if test "x$ac_cv_func_fabsl" = xyes; then :
51695 cat >>confdefs.h <<_ACEOF
51696 #define HAVE_FABSL 1
51697 _ACEOF
51700 done
51702 else
51704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51705 $as_echo_n "checking for _fabsl declaration... " >&6; }
51706 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51707 if ${glibcxx_cv_func__fabsl_use+:} false; then :
51708 $as_echo_n "(cached) " >&6
51709 else
51712 ac_ext=cpp
51713 ac_cpp='$CXXCPP $CPPFLAGS'
51714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51719 /* end confdefs.h. */
51720 #include <math.h>
51721 #ifdef HAVE_IEEEFP_H
51722 #include <ieeefp.h>
51723 #endif
51726 main ()
51728 _fabsl(0);
51730 return 0;
51732 _ACEOF
51733 if ac_fn_cxx_try_compile "$LINENO"; then :
51734 glibcxx_cv_func__fabsl_use=yes
51735 else
51736 glibcxx_cv_func__fabsl_use=no
51738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51739 ac_ext=c
51740 ac_cpp='$CPP $CPPFLAGS'
51741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51750 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51752 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51753 for ac_func in _fabsl
51754 do :
51755 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51756 if test "x$ac_cv_func__fabsl" = xyes; then :
51757 cat >>confdefs.h <<_ACEOF
51758 #define HAVE__FABSL 1
51759 _ACEOF
51762 done
51771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51772 $as_echo_n "checking for fmodl declaration... " >&6; }
51773 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51774 if ${glibcxx_cv_func_fmodl_use+:} false; then :
51775 $as_echo_n "(cached) " >&6
51776 else
51779 ac_ext=cpp
51780 ac_cpp='$CXXCPP $CPPFLAGS'
51781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51786 /* end confdefs.h. */
51787 #include <math.h>
51789 main ()
51791 fmodl(0, 0);
51793 return 0;
51795 _ACEOF
51796 if ac_fn_cxx_try_compile "$LINENO"; then :
51797 glibcxx_cv_func_fmodl_use=yes
51798 else
51799 glibcxx_cv_func_fmodl_use=no
51801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51802 ac_ext=c
51803 ac_cpp='$CPP $CPPFLAGS'
51804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51813 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51815 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51816 for ac_func in fmodl
51817 do :
51818 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51819 if test "x$ac_cv_func_fmodl" = xyes; then :
51820 cat >>confdefs.h <<_ACEOF
51821 #define HAVE_FMODL 1
51822 _ACEOF
51825 done
51827 else
51829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51830 $as_echo_n "checking for _fmodl declaration... " >&6; }
51831 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51832 if ${glibcxx_cv_func__fmodl_use+:} false; then :
51833 $as_echo_n "(cached) " >&6
51834 else
51837 ac_ext=cpp
51838 ac_cpp='$CXXCPP $CPPFLAGS'
51839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51844 /* end confdefs.h. */
51845 #include <math.h>
51847 main ()
51849 _fmodl(0, 0);
51851 return 0;
51853 _ACEOF
51854 if ac_fn_cxx_try_compile "$LINENO"; then :
51855 glibcxx_cv_func__fmodl_use=yes
51856 else
51857 glibcxx_cv_func__fmodl_use=no
51859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51860 ac_ext=c
51861 ac_cpp='$CPP $CPPFLAGS'
51862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51871 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51873 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51874 for ac_func in _fmodl
51875 do :
51876 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51877 if test "x$ac_cv_func__fmodl" = xyes; then :
51878 cat >>confdefs.h <<_ACEOF
51879 #define HAVE__FMODL 1
51880 _ACEOF
51883 done
51892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51893 $as_echo_n "checking for frexpl declaration... " >&6; }
51894 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51895 if ${glibcxx_cv_func_frexpl_use+:} false; then :
51896 $as_echo_n "(cached) " >&6
51897 else
51900 ac_ext=cpp
51901 ac_cpp='$CXXCPP $CPPFLAGS'
51902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51907 /* end confdefs.h. */
51908 #include <math.h>
51910 main ()
51912 frexpl(0, 0);
51914 return 0;
51916 _ACEOF
51917 if ac_fn_cxx_try_compile "$LINENO"; then :
51918 glibcxx_cv_func_frexpl_use=yes
51919 else
51920 glibcxx_cv_func_frexpl_use=no
51922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51923 ac_ext=c
51924 ac_cpp='$CPP $CPPFLAGS'
51925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51934 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51936 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51937 for ac_func in frexpl
51938 do :
51939 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51940 if test "x$ac_cv_func_frexpl" = xyes; then :
51941 cat >>confdefs.h <<_ACEOF
51942 #define HAVE_FREXPL 1
51943 _ACEOF
51946 done
51948 else
51950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51951 $as_echo_n "checking for _frexpl declaration... " >&6; }
51952 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51953 if ${glibcxx_cv_func__frexpl_use+:} false; then :
51954 $as_echo_n "(cached) " >&6
51955 else
51958 ac_ext=cpp
51959 ac_cpp='$CXXCPP $CPPFLAGS'
51960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51965 /* end confdefs.h. */
51966 #include <math.h>
51968 main ()
51970 _frexpl(0, 0);
51972 return 0;
51974 _ACEOF
51975 if ac_fn_cxx_try_compile "$LINENO"; then :
51976 glibcxx_cv_func__frexpl_use=yes
51977 else
51978 glibcxx_cv_func__frexpl_use=no
51980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51981 ac_ext=c
51982 ac_cpp='$CPP $CPPFLAGS'
51983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51992 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51994 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51995 for ac_func in _frexpl
51996 do :
51997 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51998 if test "x$ac_cv_func__frexpl" = xyes; then :
51999 cat >>confdefs.h <<_ACEOF
52000 #define HAVE__FREXPL 1
52001 _ACEOF
52004 done
52013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
52014 $as_echo_n "checking for hypotl declaration... " >&6; }
52015 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
52016 if ${glibcxx_cv_func_hypotl_use+:} false; then :
52017 $as_echo_n "(cached) " >&6
52018 else
52021 ac_ext=cpp
52022 ac_cpp='$CXXCPP $CPPFLAGS'
52023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52028 /* end confdefs.h. */
52029 #include <math.h>
52031 main ()
52033 hypotl(0, 0);
52035 return 0;
52037 _ACEOF
52038 if ac_fn_cxx_try_compile "$LINENO"; then :
52039 glibcxx_cv_func_hypotl_use=yes
52040 else
52041 glibcxx_cv_func_hypotl_use=no
52043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52044 ac_ext=c
52045 ac_cpp='$CPP $CPPFLAGS'
52046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
52055 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
52057 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
52058 for ac_func in hypotl
52059 do :
52060 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
52061 if test "x$ac_cv_func_hypotl" = xyes; then :
52062 cat >>confdefs.h <<_ACEOF
52063 #define HAVE_HYPOTL 1
52064 _ACEOF
52067 done
52069 else
52071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
52072 $as_echo_n "checking for _hypotl declaration... " >&6; }
52073 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
52074 if ${glibcxx_cv_func__hypotl_use+:} false; then :
52075 $as_echo_n "(cached) " >&6
52076 else
52079 ac_ext=cpp
52080 ac_cpp='$CXXCPP $CPPFLAGS'
52081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52086 /* end confdefs.h. */
52087 #include <math.h>
52089 main ()
52091 _hypotl(0, 0);
52093 return 0;
52095 _ACEOF
52096 if ac_fn_cxx_try_compile "$LINENO"; then :
52097 glibcxx_cv_func__hypotl_use=yes
52098 else
52099 glibcxx_cv_func__hypotl_use=no
52101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52102 ac_ext=c
52103 ac_cpp='$CPP $CPPFLAGS'
52104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
52113 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
52115 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
52116 for ac_func in _hypotl
52117 do :
52118 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
52119 if test "x$ac_cv_func__hypotl" = xyes; then :
52120 cat >>confdefs.h <<_ACEOF
52121 #define HAVE__HYPOTL 1
52122 _ACEOF
52125 done
52134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
52135 $as_echo_n "checking for ldexpl declaration... " >&6; }
52136 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
52137 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
52138 $as_echo_n "(cached) " >&6
52139 else
52142 ac_ext=cpp
52143 ac_cpp='$CXXCPP $CPPFLAGS'
52144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52149 /* end confdefs.h. */
52150 #include <math.h>
52152 main ()
52154 ldexpl(0, 0);
52156 return 0;
52158 _ACEOF
52159 if ac_fn_cxx_try_compile "$LINENO"; then :
52160 glibcxx_cv_func_ldexpl_use=yes
52161 else
52162 glibcxx_cv_func_ldexpl_use=no
52164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52165 ac_ext=c
52166 ac_cpp='$CPP $CPPFLAGS'
52167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
52176 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
52178 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
52179 for ac_func in ldexpl
52180 do :
52181 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
52182 if test "x$ac_cv_func_ldexpl" = xyes; then :
52183 cat >>confdefs.h <<_ACEOF
52184 #define HAVE_LDEXPL 1
52185 _ACEOF
52188 done
52190 else
52192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
52193 $as_echo_n "checking for _ldexpl declaration... " >&6; }
52194 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
52195 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
52196 $as_echo_n "(cached) " >&6
52197 else
52200 ac_ext=cpp
52201 ac_cpp='$CXXCPP $CPPFLAGS'
52202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52207 /* end confdefs.h. */
52208 #include <math.h>
52210 main ()
52212 _ldexpl(0, 0);
52214 return 0;
52216 _ACEOF
52217 if ac_fn_cxx_try_compile "$LINENO"; then :
52218 glibcxx_cv_func__ldexpl_use=yes
52219 else
52220 glibcxx_cv_func__ldexpl_use=no
52222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52223 ac_ext=c
52224 ac_cpp='$CPP $CPPFLAGS'
52225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
52234 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
52236 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
52237 for ac_func in _ldexpl
52238 do :
52239 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
52240 if test "x$ac_cv_func__ldexpl" = xyes; then :
52241 cat >>confdefs.h <<_ACEOF
52242 #define HAVE__LDEXPL 1
52243 _ACEOF
52246 done
52255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
52256 $as_echo_n "checking for logl declaration... " >&6; }
52257 if test x${glibcxx_cv_func_logl_use+set} != xset; then
52258 if ${glibcxx_cv_func_logl_use+:} false; then :
52259 $as_echo_n "(cached) " >&6
52260 else
52263 ac_ext=cpp
52264 ac_cpp='$CXXCPP $CPPFLAGS'
52265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52270 /* end confdefs.h. */
52271 #include <math.h>
52272 #ifdef HAVE_IEEEFP_H
52273 #include <ieeefp.h>
52274 #endif
52277 main ()
52279 logl(0);
52281 return 0;
52283 _ACEOF
52284 if ac_fn_cxx_try_compile "$LINENO"; then :
52285 glibcxx_cv_func_logl_use=yes
52286 else
52287 glibcxx_cv_func_logl_use=no
52289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52290 ac_ext=c
52291 ac_cpp='$CPP $CPPFLAGS'
52292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52301 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52303 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52304 for ac_func in logl
52305 do :
52306 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52307 if test "x$ac_cv_func_logl" = xyes; then :
52308 cat >>confdefs.h <<_ACEOF
52309 #define HAVE_LOGL 1
52310 _ACEOF
52313 done
52315 else
52317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52318 $as_echo_n "checking for _logl declaration... " >&6; }
52319 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52320 if ${glibcxx_cv_func__logl_use+:} false; then :
52321 $as_echo_n "(cached) " >&6
52322 else
52325 ac_ext=cpp
52326 ac_cpp='$CXXCPP $CPPFLAGS'
52327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52332 /* end confdefs.h. */
52333 #include <math.h>
52334 #ifdef HAVE_IEEEFP_H
52335 #include <ieeefp.h>
52336 #endif
52339 main ()
52341 _logl(0);
52343 return 0;
52345 _ACEOF
52346 if ac_fn_cxx_try_compile "$LINENO"; then :
52347 glibcxx_cv_func__logl_use=yes
52348 else
52349 glibcxx_cv_func__logl_use=no
52351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52352 ac_ext=c
52353 ac_cpp='$CPP $CPPFLAGS'
52354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52363 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52365 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52366 for ac_func in _logl
52367 do :
52368 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52369 if test "x$ac_cv_func__logl" = xyes; then :
52370 cat >>confdefs.h <<_ACEOF
52371 #define HAVE__LOGL 1
52372 _ACEOF
52375 done
52384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52385 $as_echo_n "checking for log10l declaration... " >&6; }
52386 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52387 if ${glibcxx_cv_func_log10l_use+:} false; then :
52388 $as_echo_n "(cached) " >&6
52389 else
52392 ac_ext=cpp
52393 ac_cpp='$CXXCPP $CPPFLAGS'
52394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52399 /* end confdefs.h. */
52400 #include <math.h>
52401 #ifdef HAVE_IEEEFP_H
52402 #include <ieeefp.h>
52403 #endif
52406 main ()
52408 log10l(0);
52410 return 0;
52412 _ACEOF
52413 if ac_fn_cxx_try_compile "$LINENO"; then :
52414 glibcxx_cv_func_log10l_use=yes
52415 else
52416 glibcxx_cv_func_log10l_use=no
52418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52419 ac_ext=c
52420 ac_cpp='$CPP $CPPFLAGS'
52421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52430 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52432 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52433 for ac_func in log10l
52434 do :
52435 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52436 if test "x$ac_cv_func_log10l" = xyes; then :
52437 cat >>confdefs.h <<_ACEOF
52438 #define HAVE_LOG10L 1
52439 _ACEOF
52442 done
52444 else
52446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52447 $as_echo_n "checking for _log10l declaration... " >&6; }
52448 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52449 if ${glibcxx_cv_func__log10l_use+:} false; then :
52450 $as_echo_n "(cached) " >&6
52451 else
52454 ac_ext=cpp
52455 ac_cpp='$CXXCPP $CPPFLAGS'
52456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52461 /* end confdefs.h. */
52462 #include <math.h>
52463 #ifdef HAVE_IEEEFP_H
52464 #include <ieeefp.h>
52465 #endif
52468 main ()
52470 _log10l(0);
52472 return 0;
52474 _ACEOF
52475 if ac_fn_cxx_try_compile "$LINENO"; then :
52476 glibcxx_cv_func__log10l_use=yes
52477 else
52478 glibcxx_cv_func__log10l_use=no
52480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52481 ac_ext=c
52482 ac_cpp='$CPP $CPPFLAGS'
52483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52492 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52494 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52495 for ac_func in _log10l
52496 do :
52497 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52498 if test "x$ac_cv_func__log10l" = xyes; then :
52499 cat >>confdefs.h <<_ACEOF
52500 #define HAVE__LOG10L 1
52501 _ACEOF
52504 done
52513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52514 $as_echo_n "checking for modfl declaration... " >&6; }
52515 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52516 if ${glibcxx_cv_func_modfl_use+:} false; then :
52517 $as_echo_n "(cached) " >&6
52518 else
52521 ac_ext=cpp
52522 ac_cpp='$CXXCPP $CPPFLAGS'
52523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52528 /* end confdefs.h. */
52529 #include <math.h>
52531 main ()
52533 modfl(0, 0);
52535 return 0;
52537 _ACEOF
52538 if ac_fn_cxx_try_compile "$LINENO"; then :
52539 glibcxx_cv_func_modfl_use=yes
52540 else
52541 glibcxx_cv_func_modfl_use=no
52543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52544 ac_ext=c
52545 ac_cpp='$CPP $CPPFLAGS'
52546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52555 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52557 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52558 for ac_func in modfl
52559 do :
52560 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52561 if test "x$ac_cv_func_modfl" = xyes; then :
52562 cat >>confdefs.h <<_ACEOF
52563 #define HAVE_MODFL 1
52564 _ACEOF
52567 done
52569 else
52571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52572 $as_echo_n "checking for _modfl declaration... " >&6; }
52573 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52574 if ${glibcxx_cv_func__modfl_use+:} false; then :
52575 $as_echo_n "(cached) " >&6
52576 else
52579 ac_ext=cpp
52580 ac_cpp='$CXXCPP $CPPFLAGS'
52581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52586 /* end confdefs.h. */
52587 #include <math.h>
52589 main ()
52591 _modfl(0, 0);
52593 return 0;
52595 _ACEOF
52596 if ac_fn_cxx_try_compile "$LINENO"; then :
52597 glibcxx_cv_func__modfl_use=yes
52598 else
52599 glibcxx_cv_func__modfl_use=no
52601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52602 ac_ext=c
52603 ac_cpp='$CPP $CPPFLAGS'
52604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52613 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52615 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52616 for ac_func in _modfl
52617 do :
52618 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52619 if test "x$ac_cv_func__modfl" = xyes; then :
52620 cat >>confdefs.h <<_ACEOF
52621 #define HAVE__MODFL 1
52622 _ACEOF
52625 done
52634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52635 $as_echo_n "checking for powl declaration... " >&6; }
52636 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52637 if ${glibcxx_cv_func_powl_use+:} false; then :
52638 $as_echo_n "(cached) " >&6
52639 else
52642 ac_ext=cpp
52643 ac_cpp='$CXXCPP $CPPFLAGS'
52644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52649 /* end confdefs.h. */
52650 #include <math.h>
52652 main ()
52654 powl(0, 0);
52656 return 0;
52658 _ACEOF
52659 if ac_fn_cxx_try_compile "$LINENO"; then :
52660 glibcxx_cv_func_powl_use=yes
52661 else
52662 glibcxx_cv_func_powl_use=no
52664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52665 ac_ext=c
52666 ac_cpp='$CPP $CPPFLAGS'
52667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52676 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52678 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52679 for ac_func in powl
52680 do :
52681 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52682 if test "x$ac_cv_func_powl" = xyes; then :
52683 cat >>confdefs.h <<_ACEOF
52684 #define HAVE_POWL 1
52685 _ACEOF
52688 done
52690 else
52692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52693 $as_echo_n "checking for _powl declaration... " >&6; }
52694 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52695 if ${glibcxx_cv_func__powl_use+:} false; then :
52696 $as_echo_n "(cached) " >&6
52697 else
52700 ac_ext=cpp
52701 ac_cpp='$CXXCPP $CPPFLAGS'
52702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52707 /* end confdefs.h. */
52708 #include <math.h>
52710 main ()
52712 _powl(0, 0);
52714 return 0;
52716 _ACEOF
52717 if ac_fn_cxx_try_compile "$LINENO"; then :
52718 glibcxx_cv_func__powl_use=yes
52719 else
52720 glibcxx_cv_func__powl_use=no
52722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52723 ac_ext=c
52724 ac_cpp='$CPP $CPPFLAGS'
52725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52734 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52736 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52737 for ac_func in _powl
52738 do :
52739 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52740 if test "x$ac_cv_func__powl" = xyes; then :
52741 cat >>confdefs.h <<_ACEOF
52742 #define HAVE__POWL 1
52743 _ACEOF
52746 done
52755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52756 $as_echo_n "checking for sqrtl declaration... " >&6; }
52757 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52758 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
52759 $as_echo_n "(cached) " >&6
52760 else
52763 ac_ext=cpp
52764 ac_cpp='$CXXCPP $CPPFLAGS'
52765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52770 /* end confdefs.h. */
52771 #include <math.h>
52772 #ifdef HAVE_IEEEFP_H
52773 #include <ieeefp.h>
52774 #endif
52777 main ()
52779 sqrtl(0);
52781 return 0;
52783 _ACEOF
52784 if ac_fn_cxx_try_compile "$LINENO"; then :
52785 glibcxx_cv_func_sqrtl_use=yes
52786 else
52787 glibcxx_cv_func_sqrtl_use=no
52789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52790 ac_ext=c
52791 ac_cpp='$CPP $CPPFLAGS'
52792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52801 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52803 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52804 for ac_func in sqrtl
52805 do :
52806 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52807 if test "x$ac_cv_func_sqrtl" = xyes; then :
52808 cat >>confdefs.h <<_ACEOF
52809 #define HAVE_SQRTL 1
52810 _ACEOF
52813 done
52815 else
52817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52818 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52819 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52820 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
52821 $as_echo_n "(cached) " >&6
52822 else
52825 ac_ext=cpp
52826 ac_cpp='$CXXCPP $CPPFLAGS'
52827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52832 /* end confdefs.h. */
52833 #include <math.h>
52834 #ifdef HAVE_IEEEFP_H
52835 #include <ieeefp.h>
52836 #endif
52839 main ()
52841 _sqrtl(0);
52843 return 0;
52845 _ACEOF
52846 if ac_fn_cxx_try_compile "$LINENO"; then :
52847 glibcxx_cv_func__sqrtl_use=yes
52848 else
52849 glibcxx_cv_func__sqrtl_use=no
52851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52852 ac_ext=c
52853 ac_cpp='$CPP $CPPFLAGS'
52854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52863 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52865 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52866 for ac_func in _sqrtl
52867 do :
52868 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52869 if test "x$ac_cv_func__sqrtl" = xyes; then :
52870 cat >>confdefs.h <<_ACEOF
52871 #define HAVE__SQRTL 1
52872 _ACEOF
52875 done
52884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52885 $as_echo_n "checking for sincosl declaration... " >&6; }
52886 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52887 if ${glibcxx_cv_func_sincosl_use+:} false; then :
52888 $as_echo_n "(cached) " >&6
52889 else
52892 ac_ext=cpp
52893 ac_cpp='$CXXCPP $CPPFLAGS'
52894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52899 /* end confdefs.h. */
52900 #include <math.h>
52902 main ()
52904 sincosl(0, 0, 0);
52906 return 0;
52908 _ACEOF
52909 if ac_fn_cxx_try_compile "$LINENO"; then :
52910 glibcxx_cv_func_sincosl_use=yes
52911 else
52912 glibcxx_cv_func_sincosl_use=no
52914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52915 ac_ext=c
52916 ac_cpp='$CPP $CPPFLAGS'
52917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52926 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52928 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52929 for ac_func in sincosl
52930 do :
52931 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52932 if test "x$ac_cv_func_sincosl" = xyes; then :
52933 cat >>confdefs.h <<_ACEOF
52934 #define HAVE_SINCOSL 1
52935 _ACEOF
52938 done
52940 else
52942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52943 $as_echo_n "checking for _sincosl declaration... " >&6; }
52944 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52945 if ${glibcxx_cv_func__sincosl_use+:} false; then :
52946 $as_echo_n "(cached) " >&6
52947 else
52950 ac_ext=cpp
52951 ac_cpp='$CXXCPP $CPPFLAGS'
52952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52957 /* end confdefs.h. */
52958 #include <math.h>
52960 main ()
52962 _sincosl(0, 0, 0);
52964 return 0;
52966 _ACEOF
52967 if ac_fn_cxx_try_compile "$LINENO"; then :
52968 glibcxx_cv_func__sincosl_use=yes
52969 else
52970 glibcxx_cv_func__sincosl_use=no
52972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52973 ac_ext=c
52974 ac_cpp='$CPP $CPPFLAGS'
52975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52984 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52986 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52987 for ac_func in _sincosl
52988 do :
52989 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52990 if test "x$ac_cv_func__sincosl" = xyes; then :
52991 cat >>confdefs.h <<_ACEOF
52992 #define HAVE__SINCOSL 1
52993 _ACEOF
52996 done
53005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
53006 $as_echo_n "checking for finitel declaration... " >&6; }
53007 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
53008 if ${glibcxx_cv_func_finitel_use+:} false; then :
53009 $as_echo_n "(cached) " >&6
53010 else
53013 ac_ext=cpp
53014 ac_cpp='$CXXCPP $CPPFLAGS'
53015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53020 /* end confdefs.h. */
53021 #include <math.h>
53022 #ifdef HAVE_IEEEFP_H
53023 #include <ieeefp.h>
53024 #endif
53027 main ()
53029 finitel(0);
53031 return 0;
53033 _ACEOF
53034 if ac_fn_cxx_try_compile "$LINENO"; then :
53035 glibcxx_cv_func_finitel_use=yes
53036 else
53037 glibcxx_cv_func_finitel_use=no
53039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53040 ac_ext=c
53041 ac_cpp='$CPP $CPPFLAGS'
53042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
53051 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
53053 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
53054 for ac_func in finitel
53055 do :
53056 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
53057 if test "x$ac_cv_func_finitel" = xyes; then :
53058 cat >>confdefs.h <<_ACEOF
53059 #define HAVE_FINITEL 1
53060 _ACEOF
53063 done
53065 else
53067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
53068 $as_echo_n "checking for _finitel declaration... " >&6; }
53069 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
53070 if ${glibcxx_cv_func__finitel_use+:} false; then :
53071 $as_echo_n "(cached) " >&6
53072 else
53075 ac_ext=cpp
53076 ac_cpp='$CXXCPP $CPPFLAGS'
53077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53082 /* end confdefs.h. */
53083 #include <math.h>
53084 #ifdef HAVE_IEEEFP_H
53085 #include <ieeefp.h>
53086 #endif
53089 main ()
53091 _finitel(0);
53093 return 0;
53095 _ACEOF
53096 if ac_fn_cxx_try_compile "$LINENO"; then :
53097 glibcxx_cv_func__finitel_use=yes
53098 else
53099 glibcxx_cv_func__finitel_use=no
53101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53102 ac_ext=c
53103 ac_cpp='$CPP $CPPFLAGS'
53104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
53113 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
53115 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
53116 for ac_func in _finitel
53117 do :
53118 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
53119 if test "x$ac_cv_func__finitel" = xyes; then :
53120 cat >>confdefs.h <<_ACEOF
53121 #define HAVE__FINITEL 1
53122 _ACEOF
53125 done
53133 LIBS="$ac_save_LIBS"
53134 CXXFLAGS="$ac_save_CXXFLAGS"
53137 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53138 ac_save_CXXFLAGS="$CXXFLAGS"
53139 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
53143 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
53144 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
53145 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
53146 $as_echo_n "(cached) " >&6
53147 else
53150 ac_ext=cpp
53151 ac_cpp='$CXXCPP $CPPFLAGS'
53152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53157 /* end confdefs.h. */
53158 #include <stdlib.h>
53160 main ()
53162 at_quick_exit(0);
53164 return 0;
53166 _ACEOF
53167 if ac_fn_cxx_try_compile "$LINENO"; then :
53168 glibcxx_cv_func_at_quick_exit_use=yes
53169 else
53170 glibcxx_cv_func_at_quick_exit_use=no
53172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53173 ac_ext=c
53174 ac_cpp='$CPP $CPPFLAGS'
53175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
53184 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
53185 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
53186 for ac_func in at_quick_exit
53187 do :
53188 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
53189 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
53190 cat >>confdefs.h <<_ACEOF
53191 #define HAVE_AT_QUICK_EXIT 1
53192 _ACEOF
53195 done
53200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
53201 $as_echo_n "checking for quick_exit declaration... " >&6; }
53202 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
53203 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
53204 $as_echo_n "(cached) " >&6
53205 else
53208 ac_ext=cpp
53209 ac_cpp='$CXXCPP $CPPFLAGS'
53210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53215 /* end confdefs.h. */
53216 #include <stdlib.h>
53218 main ()
53220 quick_exit(0);
53222 return 0;
53224 _ACEOF
53225 if ac_fn_cxx_try_compile "$LINENO"; then :
53226 glibcxx_cv_func_quick_exit_use=yes
53227 else
53228 glibcxx_cv_func_quick_exit_use=no
53230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53231 ac_ext=c
53232 ac_cpp='$CPP $CPPFLAGS'
53233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
53242 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
53243 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
53244 for ac_func in quick_exit
53245 do :
53246 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
53247 if test "x$ac_cv_func_quick_exit" = xyes; then :
53248 cat >>confdefs.h <<_ACEOF
53249 #define HAVE_QUICK_EXIT 1
53250 _ACEOF
53253 done
53258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
53259 $as_echo_n "checking for strtold declaration... " >&6; }
53260 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53261 if ${glibcxx_cv_func_strtold_use+:} false; then :
53262 $as_echo_n "(cached) " >&6
53263 else
53266 ac_ext=cpp
53267 ac_cpp='$CXXCPP $CPPFLAGS'
53268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53273 /* end confdefs.h. */
53274 #include <stdlib.h>
53276 main ()
53278 strtold(0, 0);
53280 return 0;
53282 _ACEOF
53283 if ac_fn_cxx_try_compile "$LINENO"; then :
53284 glibcxx_cv_func_strtold_use=yes
53285 else
53286 glibcxx_cv_func_strtold_use=no
53288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53289 ac_ext=c
53290 ac_cpp='$CPP $CPPFLAGS'
53291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53300 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53301 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53302 for ac_func in strtold
53303 do :
53304 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53305 if test "x$ac_cv_func_strtold" = xyes; then :
53306 cat >>confdefs.h <<_ACEOF
53307 #define HAVE_STRTOLD 1
53308 _ACEOF
53311 done
53318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53319 $as_echo_n "checking for strtof declaration... " >&6; }
53320 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53321 if ${glibcxx_cv_func_strtof_use+:} false; then :
53322 $as_echo_n "(cached) " >&6
53323 else
53326 ac_ext=cpp
53327 ac_cpp='$CXXCPP $CPPFLAGS'
53328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53333 /* end confdefs.h. */
53334 #include <stdlib.h>
53336 main ()
53338 strtof(0, 0);
53340 return 0;
53342 _ACEOF
53343 if ac_fn_cxx_try_compile "$LINENO"; then :
53344 glibcxx_cv_func_strtof_use=yes
53345 else
53346 glibcxx_cv_func_strtof_use=no
53348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53349 ac_ext=c
53350 ac_cpp='$CPP $CPPFLAGS'
53351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53360 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53361 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53362 for ac_func in strtof
53363 do :
53364 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53365 if test "x$ac_cv_func_strtof" = xyes; then :
53366 cat >>confdefs.h <<_ACEOF
53367 #define HAVE_STRTOF 1
53368 _ACEOF
53371 done
53378 CXXFLAGS="$ac_save_CXXFLAGS"
53382 *djgpp)
53383 # GLIBCXX_CHECK_MATH_SUPPORT
53384 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53386 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53388 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53390 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
53392 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53396 *-freebsd*)
53397 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53400 # If we're not using GNU ld, then there's no point in even trying these
53401 # tests. Check for that first. We should have already tested for gld
53402 # by now (in libtool), but require it now just to be safe...
53403 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53404 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53408 # The name set by libtool depends on the version of libtool. Shame on us
53409 # for depending on an impl detail, but c'est la vie. Older versions used
53410 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53411 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53412 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53413 # set (hence we're using an older libtool), then set it.
53414 if test x${with_gnu_ld+set} != xset; then
53415 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53416 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53417 with_gnu_ld=no
53418 else
53419 with_gnu_ld=$ac_cv_prog_gnu_ld
53423 # Start by getting the version number. I think the libtool test already
53424 # does some of this, but throws away the result.
53425 glibcxx_ld_is_gold=no
53426 if test x"$with_gnu_ld" = x"yes"; then
53427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53428 $as_echo_n "checking for ld version... " >&6; }
53430 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53431 glibcxx_ld_is_gold=yes
53433 ldver=`$LD --version 2>/dev/null |
53434 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'`
53436 glibcxx_gnu_ld_version=`echo $ldver | \
53437 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53439 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53442 # Set --gc-sections.
53443 glibcxx_have_gc_sections=no
53444 if test "$glibcxx_ld_is_gold" = "yes"; then
53445 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53446 glibcxx_have_gc_sections=yes
53448 else
53449 glibcxx_gcsections_min_ld=21602
53450 if test x"$with_gnu_ld" = x"yes" &&
53451 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53452 glibcxx_have_gc_sections=yes
53455 if test "$glibcxx_have_gc_sections" = "yes"; then
53456 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53457 # NB: This flag only works reliably after 2.16.1. Configure tests
53458 # for this are difficult, so hard wire a value that should work.
53460 ac_test_CFLAGS="${CFLAGS+set}"
53461 ac_save_CFLAGS="$CFLAGS"
53462 CFLAGS='-Wl,--gc-sections'
53464 # Check for -Wl,--gc-sections
53465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53466 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53467 if test x$gcc_no_link = xyes; then
53468 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53471 /* end confdefs.h. */
53472 int one(void) { return 1; }
53473 int two(void) { return 2; }
53476 main ()
53478 two();
53480 return 0;
53482 _ACEOF
53483 if ac_fn_c_try_link "$LINENO"; then :
53484 ac_gcsections=yes
53485 else
53486 ac_gcsections=no
53488 rm -f core conftest.err conftest.$ac_objext \
53489 conftest$ac_exeext conftest.$ac_ext
53490 if test "$ac_gcsections" = "yes"; then
53491 rm -f conftest.c
53492 touch conftest.c
53493 if $CC -c conftest.c; then
53494 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53495 grep "Warning: gc-sections option ignored" > /dev/null; then
53496 ac_gcsections=no
53499 rm -f conftest.c conftest.o conftest
53501 if test "$ac_gcsections" = "yes"; then
53502 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53505 $as_echo "$ac_gcsections" >&6; }
53507 if test "$ac_test_CFLAGS" = set; then
53508 CFLAGS="$ac_save_CFLAGS"
53509 else
53510 # this is the suspicious part
53511 CFLAGS=''
53515 # Set -z,relro.
53516 # Note this is only for shared objects.
53517 ac_ld_relro=no
53518 if test x"$with_gnu_ld" = x"yes"; then
53519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53520 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53521 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53522 if test -n "$cxx_z_relo"; then
53523 OPT_LDFLAGS="-Wl,-z,relro"
53524 ac_ld_relro=yes
53526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53527 $as_echo "$ac_ld_relro" >&6; }
53530 # Set linker optimization flags.
53531 if test x"$with_gnu_ld" = x"yes"; then
53532 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53538 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53540 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53542 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53544 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53546 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53548 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53550 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53552 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53554 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53557 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53559 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53561 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53563 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53565 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53567 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53569 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53571 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53573 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53575 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53577 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53579 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53581 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53583 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53585 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53587 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53589 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53591 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53593 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53595 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53597 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53599 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53601 if test x"long_double_math_on_this_cpu" = x"yes"; then
53602 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53604 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53606 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53609 for ac_func in __cxa_thread_atexit
53610 do :
53611 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
53612 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
53613 cat >>confdefs.h <<_ACEOF
53614 #define HAVE___CXA_THREAD_ATEXIT 1
53615 _ACEOF
53618 done
53620 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
53621 do :
53622 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53623 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53624 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
53625 cat >>confdefs.h <<_ACEOF
53626 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53627 _ACEOF
53630 done
53632 for ac_func in timespec_get
53633 do :
53634 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
53635 if test "x$ac_cv_func_timespec_get" = xyes; then :
53636 cat >>confdefs.h <<_ACEOF
53637 #define HAVE_TIMESPEC_GET 1
53638 _ACEOF
53641 done
53645 *-fuchsia*)
53646 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53650 *-hpux*)
53651 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53654 # If we're not using GNU ld, then there's no point in even trying these
53655 # tests. Check for that first. We should have already tested for gld
53656 # by now (in libtool), but require it now just to be safe...
53657 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53658 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53662 # The name set by libtool depends on the version of libtool. Shame on us
53663 # for depending on an impl detail, but c'est la vie. Older versions used
53664 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53665 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53666 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53667 # set (hence we're using an older libtool), then set it.
53668 if test x${with_gnu_ld+set} != xset; then
53669 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53670 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53671 with_gnu_ld=no
53672 else
53673 with_gnu_ld=$ac_cv_prog_gnu_ld
53677 # Start by getting the version number. I think the libtool test already
53678 # does some of this, but throws away the result.
53679 glibcxx_ld_is_gold=no
53680 if test x"$with_gnu_ld" = x"yes"; then
53681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53682 $as_echo_n "checking for ld version... " >&6; }
53684 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53685 glibcxx_ld_is_gold=yes
53687 ldver=`$LD --version 2>/dev/null |
53688 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'`
53690 glibcxx_gnu_ld_version=`echo $ldver | \
53691 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53693 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53696 # Set --gc-sections.
53697 glibcxx_have_gc_sections=no
53698 if test "$glibcxx_ld_is_gold" = "yes"; then
53699 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53700 glibcxx_have_gc_sections=yes
53702 else
53703 glibcxx_gcsections_min_ld=21602
53704 if test x"$with_gnu_ld" = x"yes" &&
53705 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53706 glibcxx_have_gc_sections=yes
53709 if test "$glibcxx_have_gc_sections" = "yes"; then
53710 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53711 # NB: This flag only works reliably after 2.16.1. Configure tests
53712 # for this are difficult, so hard wire a value that should work.
53714 ac_test_CFLAGS="${CFLAGS+set}"
53715 ac_save_CFLAGS="$CFLAGS"
53716 CFLAGS='-Wl,--gc-sections'
53718 # Check for -Wl,--gc-sections
53719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53720 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53721 if test x$gcc_no_link = xyes; then
53722 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53725 /* end confdefs.h. */
53726 int one(void) { return 1; }
53727 int two(void) { return 2; }
53730 main ()
53732 two();
53734 return 0;
53736 _ACEOF
53737 if ac_fn_c_try_link "$LINENO"; then :
53738 ac_gcsections=yes
53739 else
53740 ac_gcsections=no
53742 rm -f core conftest.err conftest.$ac_objext \
53743 conftest$ac_exeext conftest.$ac_ext
53744 if test "$ac_gcsections" = "yes"; then
53745 rm -f conftest.c
53746 touch conftest.c
53747 if $CC -c conftest.c; then
53748 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53749 grep "Warning: gc-sections option ignored" > /dev/null; then
53750 ac_gcsections=no
53753 rm -f conftest.c conftest.o conftest
53755 if test "$ac_gcsections" = "yes"; then
53756 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53759 $as_echo "$ac_gcsections" >&6; }
53761 if test "$ac_test_CFLAGS" = set; then
53762 CFLAGS="$ac_save_CFLAGS"
53763 else
53764 # this is the suspicious part
53765 CFLAGS=''
53769 # Set -z,relro.
53770 # Note this is only for shared objects.
53771 ac_ld_relro=no
53772 if test x"$with_gnu_ld" = x"yes"; then
53773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53774 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53775 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53776 if test -n "$cxx_z_relo"; then
53777 OPT_LDFLAGS="-Wl,-z,relro"
53778 ac_ld_relro=yes
53780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53781 $as_echo "$ac_ld_relro" >&6; }
53784 # Set linker optimization flags.
53785 if test x"$with_gnu_ld" = x"yes"; then
53786 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53793 # GLIBCXX_CHECK_MATH_SUPPORT
53794 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53796 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53798 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53800 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53802 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53804 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53806 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53808 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53810 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53812 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53814 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53816 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53818 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53820 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53822 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53824 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53826 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53828 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53830 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53832 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53834 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53837 # GLIBCXX_CHECK_STDLIB_SUPPORT
53838 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53843 # Check whether --enable-tls was given.
53844 if test "${enable_tls+set}" = set; then :
53845 enableval=$enable_tls;
53846 case "$enableval" in
53847 yes|no) ;;
53848 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53849 esac
53851 else
53852 enable_tls=yes
53856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53857 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53858 if ${gcc_cv_have_tls+:} false; then :
53859 $as_echo_n "(cached) " >&6
53860 else
53862 if test "$cross_compiling" = yes; 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 main() { return a = b; }
53869 _ACEOF
53870 if ac_fn_c_try_link "$LINENO"; then :
53871 chktls_save_LDFLAGS="$LDFLAGS"
53872 case $host in
53873 *-*-linux*)
53874 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53876 esac
53877 chktls_save_CFLAGS="$CFLAGS"
53878 CFLAGS="-fPIC $CFLAGS"
53879 if test x$gcc_no_link = xyes; then
53880 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53883 /* end confdefs.h. */
53884 int f() { return 0; }
53885 _ACEOF
53886 if ac_fn_c_try_link "$LINENO"; then :
53887 if test x$gcc_no_link = xyes; then
53888 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53891 /* end confdefs.h. */
53892 __thread int a; int b; int f() { return a = b; }
53893 _ACEOF
53894 if ac_fn_c_try_link "$LINENO"; then :
53895 gcc_cv_have_tls=yes
53896 else
53897 gcc_cv_have_tls=no
53899 rm -f core conftest.err conftest.$ac_objext \
53900 conftest$ac_exeext conftest.$ac_ext
53901 else
53902 gcc_cv_have_tls=yes
53904 rm -f core conftest.err conftest.$ac_objext \
53905 conftest$ac_exeext conftest.$ac_ext
53906 CFLAGS="$chktls_save_CFLAGS"
53907 LDFLAGS="$chktls_save_LDFLAGS"
53908 else
53909 gcc_cv_have_tls=no
53911 rm -f core conftest.err conftest.$ac_objext \
53912 conftest$ac_exeext conftest.$ac_ext
53915 else
53916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53917 /* end confdefs.h. */
53918 __thread int a; int b; int main() { return a = b; }
53919 _ACEOF
53920 if ac_fn_c_try_run "$LINENO"; then :
53921 chktls_save_LDFLAGS="$LDFLAGS"
53922 LDFLAGS="-static $LDFLAGS"
53923 if test x$gcc_no_link = xyes; then
53924 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53927 /* end confdefs.h. */
53928 int main() { return 0; }
53929 _ACEOF
53930 if ac_fn_c_try_link "$LINENO"; then :
53931 if test "$cross_compiling" = yes; then :
53932 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53933 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53934 as_fn_error $? "cannot run test program while cross compiling
53935 See \`config.log' for more details" "$LINENO" 5; }
53936 else
53937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53938 /* end confdefs.h. */
53939 __thread int a; int b; int main() { return a = b; }
53940 _ACEOF
53941 if ac_fn_c_try_run "$LINENO"; then :
53942 gcc_cv_have_tls=yes
53943 else
53944 gcc_cv_have_tls=no
53946 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53947 conftest.$ac_objext conftest.beam conftest.$ac_ext
53950 else
53951 gcc_cv_have_tls=yes
53953 rm -f core conftest.err conftest.$ac_objext \
53954 conftest$ac_exeext conftest.$ac_ext
53955 LDFLAGS="$chktls_save_LDFLAGS"
53956 if test $gcc_cv_have_tls = yes; then
53957 chktls_save_CFLAGS="$CFLAGS"
53958 thread_CFLAGS=failed
53959 for flag in '' '-pthread' '-lpthread'; do
53960 CFLAGS="$flag $chktls_save_CFLAGS"
53961 if test x$gcc_no_link = xyes; then
53962 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53965 /* end confdefs.h. */
53966 #include <pthread.h>
53967 void *g(void *d) { return NULL; }
53969 main ()
53971 pthread_t t; pthread_create(&t,NULL,g,NULL);
53973 return 0;
53975 _ACEOF
53976 if ac_fn_c_try_link "$LINENO"; then :
53977 thread_CFLAGS="$flag"
53979 rm -f core conftest.err conftest.$ac_objext \
53980 conftest$ac_exeext conftest.$ac_ext
53981 if test "X$thread_CFLAGS" != Xfailed; then
53982 break
53984 done
53985 CFLAGS="$chktls_save_CFLAGS"
53986 if test "X$thread_CFLAGS" != Xfailed; then
53987 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53988 if test "$cross_compiling" = yes; then :
53989 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53990 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53991 as_fn_error $? "cannot run test program while cross compiling
53992 See \`config.log' for more details" "$LINENO" 5; }
53993 else
53994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53995 /* end confdefs.h. */
53996 #include <pthread.h>
53997 __thread int a;
53998 static int *volatile a_in_other_thread;
53999 static void *
54000 thread_func (void *arg)
54002 a_in_other_thread = &a;
54003 return (void *)0;
54006 main ()
54008 pthread_t thread;
54009 void *thread_retval;
54010 int *volatile a_in_main_thread;
54011 a_in_main_thread = &a;
54012 if (pthread_create (&thread, (pthread_attr_t *)0,
54013 thread_func, (void *)0))
54014 return 0;
54015 if (pthread_join (thread, &thread_retval))
54016 return 0;
54017 return (a_in_other_thread == a_in_main_thread);
54019 return 0;
54021 _ACEOF
54022 if ac_fn_c_try_run "$LINENO"; then :
54023 gcc_cv_have_tls=yes
54024 else
54025 gcc_cv_have_tls=no
54027 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54028 conftest.$ac_objext conftest.beam conftest.$ac_ext
54031 CFLAGS="$chktls_save_CFLAGS"
54034 else
54035 gcc_cv_have_tls=no
54037 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54038 conftest.$ac_objext conftest.beam conftest.$ac_ext
54042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
54043 $as_echo "$gcc_cv_have_tls" >&6; }
54044 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
54046 $as_echo "#define HAVE_TLS 1" >>confdefs.h
54049 case "$target" in
54050 *-hpux10*)
54051 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
54053 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
54055 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
54057 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
54059 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
54062 esac
54064 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
54066 # All these tests are for C++; save the language and the compiler flags.
54067 # The CXXFLAGS thing is suspicious, but based on similar bits previously
54068 # found in GLIBCXX_CONFIGURE.
54070 ac_ext=cpp
54071 ac_cpp='$CXXCPP $CPPFLAGS'
54072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54076 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54077 ac_save_CXXFLAGS="$CXXFLAGS"
54079 # Check for -ffunction-sections -fdata-sections
54080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
54081 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
54082 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
54083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54084 /* end confdefs.h. */
54085 int foo; void bar() { };
54087 main ()
54091 return 0;
54093 _ACEOF
54094 if ac_fn_cxx_try_compile "$LINENO"; then :
54095 ac_fdsections=yes
54096 else
54097 ac_fdsections=no
54099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54100 if test "$ac_test_CXXFLAGS" = set; then
54101 CXXFLAGS="$ac_save_CXXFLAGS"
54102 else
54103 # this is the suspicious part
54104 CXXFLAGS=''
54106 if test x"$ac_fdsections" = x"yes"; then
54107 SECTION_FLAGS='-ffunction-sections -fdata-sections'
54109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
54110 $as_echo "$ac_fdsections" >&6; }
54112 ac_ext=c
54113 ac_cpp='$CPP $CPPFLAGS'
54114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54121 # If we're not using GNU ld, then there's no point in even trying these
54122 # tests. Check for that first. We should have already tested for gld
54123 # by now (in libtool), but require it now just to be safe...
54124 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54125 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54129 # The name set by libtool depends on the version of libtool. Shame on us
54130 # for depending on an impl detail, but c'est la vie. Older versions used
54131 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54132 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54133 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54134 # set (hence we're using an older libtool), then set it.
54135 if test x${with_gnu_ld+set} != xset; then
54136 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54137 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54138 with_gnu_ld=no
54139 else
54140 with_gnu_ld=$ac_cv_prog_gnu_ld
54144 # Start by getting the version number. I think the libtool test already
54145 # does some of this, but throws away the result.
54146 glibcxx_ld_is_gold=no
54147 if test x"$with_gnu_ld" = x"yes"; then
54148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54149 $as_echo_n "checking for ld version... " >&6; }
54151 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54152 glibcxx_ld_is_gold=yes
54154 ldver=`$LD --version 2>/dev/null |
54155 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'`
54157 glibcxx_gnu_ld_version=`echo $ldver | \
54158 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54160 $as_echo "$glibcxx_gnu_ld_version" >&6; }
54163 # Set --gc-sections.
54164 glibcxx_have_gc_sections=no
54165 if test "$glibcxx_ld_is_gold" = "yes"; then
54166 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54167 glibcxx_have_gc_sections=yes
54169 else
54170 glibcxx_gcsections_min_ld=21602
54171 if test x"$with_gnu_ld" = x"yes" &&
54172 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54173 glibcxx_have_gc_sections=yes
54176 if test "$glibcxx_have_gc_sections" = "yes"; then
54177 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54178 # NB: This flag only works reliably after 2.16.1. Configure tests
54179 # for this are difficult, so hard wire a value that should work.
54181 ac_test_CFLAGS="${CFLAGS+set}"
54182 ac_save_CFLAGS="$CFLAGS"
54183 CFLAGS='-Wl,--gc-sections'
54185 # Check for -Wl,--gc-sections
54186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54187 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54188 if test x$gcc_no_link = xyes; then
54189 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54192 /* end confdefs.h. */
54193 int one(void) { return 1; }
54194 int two(void) { return 2; }
54197 main ()
54199 two();
54201 return 0;
54203 _ACEOF
54204 if ac_fn_c_try_link "$LINENO"; then :
54205 ac_gcsections=yes
54206 else
54207 ac_gcsections=no
54209 rm -f core conftest.err conftest.$ac_objext \
54210 conftest$ac_exeext conftest.$ac_ext
54211 if test "$ac_gcsections" = "yes"; then
54212 rm -f conftest.c
54213 touch conftest.c
54214 if $CC -c conftest.c; then
54215 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54216 grep "Warning: gc-sections option ignored" > /dev/null; then
54217 ac_gcsections=no
54220 rm -f conftest.c conftest.o conftest
54222 if test "$ac_gcsections" = "yes"; then
54223 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54226 $as_echo "$ac_gcsections" >&6; }
54228 if test "$ac_test_CFLAGS" = set; then
54229 CFLAGS="$ac_save_CFLAGS"
54230 else
54231 # this is the suspicious part
54232 CFLAGS=''
54236 # Set -z,relro.
54237 # Note this is only for shared objects.
54238 ac_ld_relro=no
54239 if test x"$with_gnu_ld" = x"yes"; then
54240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
54241 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
54242 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54243 if test -n "$cxx_z_relo"; then
54244 OPT_LDFLAGS="-Wl,-z,relro"
54245 ac_ld_relro=yes
54247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
54248 $as_echo "$ac_ld_relro" >&6; }
54251 # Set linker optimization flags.
54252 if test x"$with_gnu_ld" = x"yes"; then
54253 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54260 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54261 ac_save_CXXFLAGS="$CXXFLAGS"
54262 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
54265 $as_echo_n "checking for sin in -lm... " >&6; }
54266 if ${ac_cv_lib_m_sin+:} false; then :
54267 $as_echo_n "(cached) " >&6
54268 else
54269 ac_check_lib_save_LIBS=$LIBS
54270 LIBS="-lm $LIBS"
54271 if test x$gcc_no_link = xyes; then
54272 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54275 /* end confdefs.h. */
54277 /* Override any GCC internal prototype to avoid an error.
54278 Use char because int might match the return type of a GCC
54279 builtin and then its argument prototype would still apply. */
54280 #ifdef __cplusplus
54281 extern "C"
54282 #endif
54283 char sin ();
54285 main ()
54287 return sin ();
54289 return 0;
54291 _ACEOF
54292 if ac_fn_c_try_link "$LINENO"; then :
54293 ac_cv_lib_m_sin=yes
54294 else
54295 ac_cv_lib_m_sin=no
54297 rm -f core conftest.err conftest.$ac_objext \
54298 conftest$ac_exeext conftest.$ac_ext
54299 LIBS=$ac_check_lib_save_LIBS
54301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54302 $as_echo "$ac_cv_lib_m_sin" >&6; }
54303 if test "x$ac_cv_lib_m_sin" = xyes; then :
54304 libm="-lm"
54307 ac_save_LIBS="$LIBS"
54308 LIBS="$LIBS $libm"
54312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54313 $as_echo_n "checking for isinf declaration... " >&6; }
54314 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54315 if ${glibcxx_cv_func_isinf_use+:} false; then :
54316 $as_echo_n "(cached) " >&6
54317 else
54320 ac_ext=cpp
54321 ac_cpp='$CXXCPP $CPPFLAGS'
54322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54327 /* end confdefs.h. */
54328 #include <math.h>
54329 #ifdef HAVE_IEEEFP_H
54330 #include <ieeefp.h>
54331 #endif
54334 main ()
54336 isinf(0);
54338 return 0;
54340 _ACEOF
54341 if ac_fn_cxx_try_compile "$LINENO"; then :
54342 glibcxx_cv_func_isinf_use=yes
54343 else
54344 glibcxx_cv_func_isinf_use=no
54346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54347 ac_ext=c
54348 ac_cpp='$CPP $CPPFLAGS'
54349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54358 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54360 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54361 for ac_func in isinf
54362 do :
54363 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54364 if test "x$ac_cv_func_isinf" = xyes; then :
54365 cat >>confdefs.h <<_ACEOF
54366 #define HAVE_ISINF 1
54367 _ACEOF
54370 done
54372 else
54374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54375 $as_echo_n "checking for _isinf declaration... " >&6; }
54376 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54377 if ${glibcxx_cv_func__isinf_use+:} false; then :
54378 $as_echo_n "(cached) " >&6
54379 else
54382 ac_ext=cpp
54383 ac_cpp='$CXXCPP $CPPFLAGS'
54384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54389 /* end confdefs.h. */
54390 #include <math.h>
54391 #ifdef HAVE_IEEEFP_H
54392 #include <ieeefp.h>
54393 #endif
54396 main ()
54398 _isinf(0);
54400 return 0;
54402 _ACEOF
54403 if ac_fn_cxx_try_compile "$LINENO"; then :
54404 glibcxx_cv_func__isinf_use=yes
54405 else
54406 glibcxx_cv_func__isinf_use=no
54408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54409 ac_ext=c
54410 ac_cpp='$CPP $CPPFLAGS'
54411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54420 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54422 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54423 for ac_func in _isinf
54424 do :
54425 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54426 if test "x$ac_cv_func__isinf" = xyes; then :
54427 cat >>confdefs.h <<_ACEOF
54428 #define HAVE__ISINF 1
54429 _ACEOF
54432 done
54441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54442 $as_echo_n "checking for isnan declaration... " >&6; }
54443 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54444 if ${glibcxx_cv_func_isnan_use+:} false; then :
54445 $as_echo_n "(cached) " >&6
54446 else
54449 ac_ext=cpp
54450 ac_cpp='$CXXCPP $CPPFLAGS'
54451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54456 /* end confdefs.h. */
54457 #include <math.h>
54458 #ifdef HAVE_IEEEFP_H
54459 #include <ieeefp.h>
54460 #endif
54463 main ()
54465 isnan(0);
54467 return 0;
54469 _ACEOF
54470 if ac_fn_cxx_try_compile "$LINENO"; then :
54471 glibcxx_cv_func_isnan_use=yes
54472 else
54473 glibcxx_cv_func_isnan_use=no
54475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54476 ac_ext=c
54477 ac_cpp='$CPP $CPPFLAGS'
54478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54487 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54489 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54490 for ac_func in isnan
54491 do :
54492 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54493 if test "x$ac_cv_func_isnan" = xyes; then :
54494 cat >>confdefs.h <<_ACEOF
54495 #define HAVE_ISNAN 1
54496 _ACEOF
54499 done
54501 else
54503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54504 $as_echo_n "checking for _isnan declaration... " >&6; }
54505 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54506 if ${glibcxx_cv_func__isnan_use+:} false; then :
54507 $as_echo_n "(cached) " >&6
54508 else
54511 ac_ext=cpp
54512 ac_cpp='$CXXCPP $CPPFLAGS'
54513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54518 /* end confdefs.h. */
54519 #include <math.h>
54520 #ifdef HAVE_IEEEFP_H
54521 #include <ieeefp.h>
54522 #endif
54525 main ()
54527 _isnan(0);
54529 return 0;
54531 _ACEOF
54532 if ac_fn_cxx_try_compile "$LINENO"; then :
54533 glibcxx_cv_func__isnan_use=yes
54534 else
54535 glibcxx_cv_func__isnan_use=no
54537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54538 ac_ext=c
54539 ac_cpp='$CPP $CPPFLAGS'
54540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54549 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54551 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54552 for ac_func in _isnan
54553 do :
54554 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54555 if test "x$ac_cv_func__isnan" = xyes; then :
54556 cat >>confdefs.h <<_ACEOF
54557 #define HAVE__ISNAN 1
54558 _ACEOF
54561 done
54570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54571 $as_echo_n "checking for finite declaration... " >&6; }
54572 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54573 if ${glibcxx_cv_func_finite_use+:} false; then :
54574 $as_echo_n "(cached) " >&6
54575 else
54578 ac_ext=cpp
54579 ac_cpp='$CXXCPP $CPPFLAGS'
54580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54585 /* end confdefs.h. */
54586 #include <math.h>
54587 #ifdef HAVE_IEEEFP_H
54588 #include <ieeefp.h>
54589 #endif
54592 main ()
54594 finite(0);
54596 return 0;
54598 _ACEOF
54599 if ac_fn_cxx_try_compile "$LINENO"; then :
54600 glibcxx_cv_func_finite_use=yes
54601 else
54602 glibcxx_cv_func_finite_use=no
54604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54605 ac_ext=c
54606 ac_cpp='$CPP $CPPFLAGS'
54607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54616 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54618 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54619 for ac_func in finite
54620 do :
54621 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54622 if test "x$ac_cv_func_finite" = xyes; then :
54623 cat >>confdefs.h <<_ACEOF
54624 #define HAVE_FINITE 1
54625 _ACEOF
54628 done
54630 else
54632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54633 $as_echo_n "checking for _finite declaration... " >&6; }
54634 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54635 if ${glibcxx_cv_func__finite_use+:} false; then :
54636 $as_echo_n "(cached) " >&6
54637 else
54640 ac_ext=cpp
54641 ac_cpp='$CXXCPP $CPPFLAGS'
54642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54647 /* end confdefs.h. */
54648 #include <math.h>
54649 #ifdef HAVE_IEEEFP_H
54650 #include <ieeefp.h>
54651 #endif
54654 main ()
54656 _finite(0);
54658 return 0;
54660 _ACEOF
54661 if ac_fn_cxx_try_compile "$LINENO"; then :
54662 glibcxx_cv_func__finite_use=yes
54663 else
54664 glibcxx_cv_func__finite_use=no
54666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54667 ac_ext=c
54668 ac_cpp='$CPP $CPPFLAGS'
54669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54678 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54680 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54681 for ac_func in _finite
54682 do :
54683 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54684 if test "x$ac_cv_func__finite" = xyes; then :
54685 cat >>confdefs.h <<_ACEOF
54686 #define HAVE__FINITE 1
54687 _ACEOF
54690 done
54699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54700 $as_echo_n "checking for sincos declaration... " >&6; }
54701 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54702 if ${glibcxx_cv_func_sincos_use+:} false; then :
54703 $as_echo_n "(cached) " >&6
54704 else
54707 ac_ext=cpp
54708 ac_cpp='$CXXCPP $CPPFLAGS'
54709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54714 /* end confdefs.h. */
54715 #include <math.h>
54717 main ()
54719 sincos(0, 0, 0);
54721 return 0;
54723 _ACEOF
54724 if ac_fn_cxx_try_compile "$LINENO"; then :
54725 glibcxx_cv_func_sincos_use=yes
54726 else
54727 glibcxx_cv_func_sincos_use=no
54729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54730 ac_ext=c
54731 ac_cpp='$CPP $CPPFLAGS'
54732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54741 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54743 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54744 for ac_func in sincos
54745 do :
54746 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54747 if test "x$ac_cv_func_sincos" = xyes; then :
54748 cat >>confdefs.h <<_ACEOF
54749 #define HAVE_SINCOS 1
54750 _ACEOF
54753 done
54755 else
54757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54758 $as_echo_n "checking for _sincos declaration... " >&6; }
54759 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54760 if ${glibcxx_cv_func__sincos_use+:} false; then :
54761 $as_echo_n "(cached) " >&6
54762 else
54765 ac_ext=cpp
54766 ac_cpp='$CXXCPP $CPPFLAGS'
54767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54772 /* end confdefs.h. */
54773 #include <math.h>
54775 main ()
54777 _sincos(0, 0, 0);
54779 return 0;
54781 _ACEOF
54782 if ac_fn_cxx_try_compile "$LINENO"; then :
54783 glibcxx_cv_func__sincos_use=yes
54784 else
54785 glibcxx_cv_func__sincos_use=no
54787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54788 ac_ext=c
54789 ac_cpp='$CPP $CPPFLAGS'
54790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54799 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54801 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54802 for ac_func in _sincos
54803 do :
54804 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54805 if test "x$ac_cv_func__sincos" = xyes; then :
54806 cat >>confdefs.h <<_ACEOF
54807 #define HAVE__SINCOS 1
54808 _ACEOF
54811 done
54820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54821 $as_echo_n "checking for fpclass declaration... " >&6; }
54822 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54823 if ${glibcxx_cv_func_fpclass_use+:} false; then :
54824 $as_echo_n "(cached) " >&6
54825 else
54828 ac_ext=cpp
54829 ac_cpp='$CXXCPP $CPPFLAGS'
54830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54835 /* end confdefs.h. */
54836 #include <math.h>
54837 #ifdef HAVE_IEEEFP_H
54838 #include <ieeefp.h>
54839 #endif
54842 main ()
54844 fpclass(0);
54846 return 0;
54848 _ACEOF
54849 if ac_fn_cxx_try_compile "$LINENO"; then :
54850 glibcxx_cv_func_fpclass_use=yes
54851 else
54852 glibcxx_cv_func_fpclass_use=no
54854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54855 ac_ext=c
54856 ac_cpp='$CPP $CPPFLAGS'
54857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54866 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54868 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54869 for ac_func in fpclass
54870 do :
54871 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54872 if test "x$ac_cv_func_fpclass" = xyes; then :
54873 cat >>confdefs.h <<_ACEOF
54874 #define HAVE_FPCLASS 1
54875 _ACEOF
54878 done
54880 else
54882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54883 $as_echo_n "checking for _fpclass declaration... " >&6; }
54884 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54885 if ${glibcxx_cv_func__fpclass_use+:} false; then :
54886 $as_echo_n "(cached) " >&6
54887 else
54890 ac_ext=cpp
54891 ac_cpp='$CXXCPP $CPPFLAGS'
54892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54897 /* end confdefs.h. */
54898 #include <math.h>
54899 #ifdef HAVE_IEEEFP_H
54900 #include <ieeefp.h>
54901 #endif
54904 main ()
54906 _fpclass(0);
54908 return 0;
54910 _ACEOF
54911 if ac_fn_cxx_try_compile "$LINENO"; then :
54912 glibcxx_cv_func__fpclass_use=yes
54913 else
54914 glibcxx_cv_func__fpclass_use=no
54916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54917 ac_ext=c
54918 ac_cpp='$CPP $CPPFLAGS'
54919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54928 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54930 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54931 for ac_func in _fpclass
54932 do :
54933 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54934 if test "x$ac_cv_func__fpclass" = xyes; then :
54935 cat >>confdefs.h <<_ACEOF
54936 #define HAVE__FPCLASS 1
54937 _ACEOF
54940 done
54949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54950 $as_echo_n "checking for qfpclass declaration... " >&6; }
54951 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54952 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
54953 $as_echo_n "(cached) " >&6
54954 else
54957 ac_ext=cpp
54958 ac_cpp='$CXXCPP $CPPFLAGS'
54959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54964 /* end confdefs.h. */
54965 #include <math.h>
54966 #ifdef HAVE_IEEEFP_H
54967 #include <ieeefp.h>
54968 #endif
54971 main ()
54973 qfpclass(0);
54975 return 0;
54977 _ACEOF
54978 if ac_fn_cxx_try_compile "$LINENO"; then :
54979 glibcxx_cv_func_qfpclass_use=yes
54980 else
54981 glibcxx_cv_func_qfpclass_use=no
54983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54984 ac_ext=c
54985 ac_cpp='$CPP $CPPFLAGS'
54986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54995 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54997 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54998 for ac_func in qfpclass
54999 do :
55000 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55001 if test "x$ac_cv_func_qfpclass" = xyes; then :
55002 cat >>confdefs.h <<_ACEOF
55003 #define HAVE_QFPCLASS 1
55004 _ACEOF
55007 done
55009 else
55011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55012 $as_echo_n "checking for _qfpclass declaration... " >&6; }
55013 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55014 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55015 $as_echo_n "(cached) " >&6
55016 else
55019 ac_ext=cpp
55020 ac_cpp='$CXXCPP $CPPFLAGS'
55021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55026 /* end confdefs.h. */
55027 #include <math.h>
55028 #ifdef HAVE_IEEEFP_H
55029 #include <ieeefp.h>
55030 #endif
55033 main ()
55035 _qfpclass(0);
55037 return 0;
55039 _ACEOF
55040 if ac_fn_cxx_try_compile "$LINENO"; then :
55041 glibcxx_cv_func__qfpclass_use=yes
55042 else
55043 glibcxx_cv_func__qfpclass_use=no
55045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55046 ac_ext=c
55047 ac_cpp='$CPP $CPPFLAGS'
55048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55057 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55059 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55060 for ac_func in _qfpclass
55061 do :
55062 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55063 if test "x$ac_cv_func__qfpclass" = xyes; then :
55064 cat >>confdefs.h <<_ACEOF
55065 #define HAVE__QFPCLASS 1
55066 _ACEOF
55069 done
55078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55079 $as_echo_n "checking for hypot declaration... " >&6; }
55080 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55081 if ${glibcxx_cv_func_hypot_use+:} false; then :
55082 $as_echo_n "(cached) " >&6
55083 else
55086 ac_ext=cpp
55087 ac_cpp='$CXXCPP $CPPFLAGS'
55088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55093 /* end confdefs.h. */
55094 #include <math.h>
55096 main ()
55098 hypot(0, 0);
55100 return 0;
55102 _ACEOF
55103 if ac_fn_cxx_try_compile "$LINENO"; then :
55104 glibcxx_cv_func_hypot_use=yes
55105 else
55106 glibcxx_cv_func_hypot_use=no
55108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55109 ac_ext=c
55110 ac_cpp='$CPP $CPPFLAGS'
55111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55120 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55122 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55123 for ac_func in hypot
55124 do :
55125 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55126 if test "x$ac_cv_func_hypot" = xyes; then :
55127 cat >>confdefs.h <<_ACEOF
55128 #define HAVE_HYPOT 1
55129 _ACEOF
55132 done
55134 else
55136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55137 $as_echo_n "checking for _hypot declaration... " >&6; }
55138 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55139 if ${glibcxx_cv_func__hypot_use+:} false; then :
55140 $as_echo_n "(cached) " >&6
55141 else
55144 ac_ext=cpp
55145 ac_cpp='$CXXCPP $CPPFLAGS'
55146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55151 /* end confdefs.h. */
55152 #include <math.h>
55154 main ()
55156 _hypot(0, 0);
55158 return 0;
55160 _ACEOF
55161 if ac_fn_cxx_try_compile "$LINENO"; then :
55162 glibcxx_cv_func__hypot_use=yes
55163 else
55164 glibcxx_cv_func__hypot_use=no
55166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55167 ac_ext=c
55168 ac_cpp='$CPP $CPPFLAGS'
55169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55178 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55180 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55181 for ac_func in _hypot
55182 do :
55183 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55184 if test "x$ac_cv_func__hypot" = xyes; then :
55185 cat >>confdefs.h <<_ACEOF
55186 #define HAVE__HYPOT 1
55187 _ACEOF
55190 done
55199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55200 $as_echo_n "checking for float trig functions... " >&6; }
55201 if ${glibcxx_cv_func_float_trig_use+:} false; then :
55202 $as_echo_n "(cached) " >&6
55203 else
55206 ac_ext=cpp
55207 ac_cpp='$CXXCPP $CPPFLAGS'
55208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55213 /* end confdefs.h. */
55214 #include <math.h>
55216 main ()
55218 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55220 return 0;
55222 _ACEOF
55223 if ac_fn_cxx_try_compile "$LINENO"; then :
55224 glibcxx_cv_func_float_trig_use=yes
55225 else
55226 glibcxx_cv_func_float_trig_use=no
55228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55229 ac_ext=c
55230 ac_cpp='$CPP $CPPFLAGS'
55231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
55238 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
55239 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
55240 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
55241 do :
55242 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55243 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55244 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55245 cat >>confdefs.h <<_ACEOF
55246 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55247 _ACEOF
55250 done
55252 else
55253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
55254 $as_echo_n "checking for _float trig functions... " >&6; }
55255 if ${glibcxx_cv_func__float_trig_use+:} false; then :
55256 $as_echo_n "(cached) " >&6
55257 else
55260 ac_ext=cpp
55261 ac_cpp='$CXXCPP $CPPFLAGS'
55262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55267 /* end confdefs.h. */
55268 #include <math.h>
55270 main ()
55272 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55274 return 0;
55276 _ACEOF
55277 if ac_fn_cxx_try_compile "$LINENO"; then :
55278 glibcxx_cv_func__float_trig_use=yes
55279 else
55280 glibcxx_cv_func__float_trig_use=no
55282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55283 ac_ext=c
55284 ac_cpp='$CPP $CPPFLAGS'
55285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55292 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55293 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55294 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55295 do :
55296 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55297 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55298 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55299 cat >>confdefs.h <<_ACEOF
55300 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55301 _ACEOF
55304 done
55313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55314 $as_echo_n "checking for float round functions... " >&6; }
55315 if ${glibcxx_cv_func_float_round_use+:} false; then :
55316 $as_echo_n "(cached) " >&6
55317 else
55320 ac_ext=cpp
55321 ac_cpp='$CXXCPP $CPPFLAGS'
55322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55327 /* end confdefs.h. */
55328 #include <math.h>
55330 main ()
55332 ceilf (0); floorf (0);
55334 return 0;
55336 _ACEOF
55337 if ac_fn_cxx_try_compile "$LINENO"; then :
55338 glibcxx_cv_func_float_round_use=yes
55339 else
55340 glibcxx_cv_func_float_round_use=no
55342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55343 ac_ext=c
55344 ac_cpp='$CPP $CPPFLAGS'
55345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55352 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55353 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55354 for ac_func in ceilf floorf
55355 do :
55356 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55357 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55358 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55359 cat >>confdefs.h <<_ACEOF
55360 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55361 _ACEOF
55364 done
55366 else
55367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55368 $as_echo_n "checking for _float round functions... " >&6; }
55369 if ${glibcxx_cv_func__float_round_use+:} false; then :
55370 $as_echo_n "(cached) " >&6
55371 else
55374 ac_ext=cpp
55375 ac_cpp='$CXXCPP $CPPFLAGS'
55376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55381 /* end confdefs.h. */
55382 #include <math.h>
55384 main ()
55386 _ceilf (0); _floorf (0);
55388 return 0;
55390 _ACEOF
55391 if ac_fn_cxx_try_compile "$LINENO"; then :
55392 glibcxx_cv_func__float_round_use=yes
55393 else
55394 glibcxx_cv_func__float_round_use=no
55396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55397 ac_ext=c
55398 ac_cpp='$CPP $CPPFLAGS'
55399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55406 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55407 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55408 for ac_func in _ceilf _floorf
55409 do :
55410 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55411 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55412 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55413 cat >>confdefs.h <<_ACEOF
55414 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55415 _ACEOF
55418 done
55428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55429 $as_echo_n "checking for expf declaration... " >&6; }
55430 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55431 if ${glibcxx_cv_func_expf_use+:} false; then :
55432 $as_echo_n "(cached) " >&6
55433 else
55436 ac_ext=cpp
55437 ac_cpp='$CXXCPP $CPPFLAGS'
55438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55443 /* end confdefs.h. */
55444 #include <math.h>
55445 #ifdef HAVE_IEEEFP_H
55446 #include <ieeefp.h>
55447 #endif
55450 main ()
55452 expf(0);
55454 return 0;
55456 _ACEOF
55457 if ac_fn_cxx_try_compile "$LINENO"; then :
55458 glibcxx_cv_func_expf_use=yes
55459 else
55460 glibcxx_cv_func_expf_use=no
55462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55463 ac_ext=c
55464 ac_cpp='$CPP $CPPFLAGS'
55465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55474 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55476 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55477 for ac_func in expf
55478 do :
55479 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55480 if test "x$ac_cv_func_expf" = xyes; then :
55481 cat >>confdefs.h <<_ACEOF
55482 #define HAVE_EXPF 1
55483 _ACEOF
55486 done
55488 else
55490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55491 $as_echo_n "checking for _expf declaration... " >&6; }
55492 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55493 if ${glibcxx_cv_func__expf_use+:} false; then :
55494 $as_echo_n "(cached) " >&6
55495 else
55498 ac_ext=cpp
55499 ac_cpp='$CXXCPP $CPPFLAGS'
55500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55505 /* end confdefs.h. */
55506 #include <math.h>
55507 #ifdef HAVE_IEEEFP_H
55508 #include <ieeefp.h>
55509 #endif
55512 main ()
55514 _expf(0);
55516 return 0;
55518 _ACEOF
55519 if ac_fn_cxx_try_compile "$LINENO"; then :
55520 glibcxx_cv_func__expf_use=yes
55521 else
55522 glibcxx_cv_func__expf_use=no
55524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55525 ac_ext=c
55526 ac_cpp='$CPP $CPPFLAGS'
55527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55536 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55538 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55539 for ac_func in _expf
55540 do :
55541 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55542 if test "x$ac_cv_func__expf" = xyes; then :
55543 cat >>confdefs.h <<_ACEOF
55544 #define HAVE__EXPF 1
55545 _ACEOF
55548 done
55557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55558 $as_echo_n "checking for isnanf declaration... " >&6; }
55559 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55560 if ${glibcxx_cv_func_isnanf_use+:} false; then :
55561 $as_echo_n "(cached) " >&6
55562 else
55565 ac_ext=cpp
55566 ac_cpp='$CXXCPP $CPPFLAGS'
55567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55572 /* end confdefs.h. */
55573 #include <math.h>
55574 #ifdef HAVE_IEEEFP_H
55575 #include <ieeefp.h>
55576 #endif
55579 main ()
55581 isnanf(0);
55583 return 0;
55585 _ACEOF
55586 if ac_fn_cxx_try_compile "$LINENO"; then :
55587 glibcxx_cv_func_isnanf_use=yes
55588 else
55589 glibcxx_cv_func_isnanf_use=no
55591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55592 ac_ext=c
55593 ac_cpp='$CPP $CPPFLAGS'
55594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55603 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55605 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55606 for ac_func in isnanf
55607 do :
55608 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55609 if test "x$ac_cv_func_isnanf" = xyes; then :
55610 cat >>confdefs.h <<_ACEOF
55611 #define HAVE_ISNANF 1
55612 _ACEOF
55615 done
55617 else
55619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55620 $as_echo_n "checking for _isnanf declaration... " >&6; }
55621 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55622 if ${glibcxx_cv_func__isnanf_use+:} false; then :
55623 $as_echo_n "(cached) " >&6
55624 else
55627 ac_ext=cpp
55628 ac_cpp='$CXXCPP $CPPFLAGS'
55629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55634 /* end confdefs.h. */
55635 #include <math.h>
55636 #ifdef HAVE_IEEEFP_H
55637 #include <ieeefp.h>
55638 #endif
55641 main ()
55643 _isnanf(0);
55645 return 0;
55647 _ACEOF
55648 if ac_fn_cxx_try_compile "$LINENO"; then :
55649 glibcxx_cv_func__isnanf_use=yes
55650 else
55651 glibcxx_cv_func__isnanf_use=no
55653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55654 ac_ext=c
55655 ac_cpp='$CPP $CPPFLAGS'
55656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55665 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55667 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55668 for ac_func in _isnanf
55669 do :
55670 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55671 if test "x$ac_cv_func__isnanf" = xyes; then :
55672 cat >>confdefs.h <<_ACEOF
55673 #define HAVE__ISNANF 1
55674 _ACEOF
55677 done
55686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55687 $as_echo_n "checking for isinff declaration... " >&6; }
55688 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55689 if ${glibcxx_cv_func_isinff_use+:} false; then :
55690 $as_echo_n "(cached) " >&6
55691 else
55694 ac_ext=cpp
55695 ac_cpp='$CXXCPP $CPPFLAGS'
55696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55701 /* end confdefs.h. */
55702 #include <math.h>
55703 #ifdef HAVE_IEEEFP_H
55704 #include <ieeefp.h>
55705 #endif
55708 main ()
55710 isinff(0);
55712 return 0;
55714 _ACEOF
55715 if ac_fn_cxx_try_compile "$LINENO"; then :
55716 glibcxx_cv_func_isinff_use=yes
55717 else
55718 glibcxx_cv_func_isinff_use=no
55720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55721 ac_ext=c
55722 ac_cpp='$CPP $CPPFLAGS'
55723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55732 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55734 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55735 for ac_func in isinff
55736 do :
55737 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55738 if test "x$ac_cv_func_isinff" = xyes; then :
55739 cat >>confdefs.h <<_ACEOF
55740 #define HAVE_ISINFF 1
55741 _ACEOF
55744 done
55746 else
55748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55749 $as_echo_n "checking for _isinff declaration... " >&6; }
55750 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55751 if ${glibcxx_cv_func__isinff_use+:} false; then :
55752 $as_echo_n "(cached) " >&6
55753 else
55756 ac_ext=cpp
55757 ac_cpp='$CXXCPP $CPPFLAGS'
55758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55763 /* end confdefs.h. */
55764 #include <math.h>
55765 #ifdef HAVE_IEEEFP_H
55766 #include <ieeefp.h>
55767 #endif
55770 main ()
55772 _isinff(0);
55774 return 0;
55776 _ACEOF
55777 if ac_fn_cxx_try_compile "$LINENO"; then :
55778 glibcxx_cv_func__isinff_use=yes
55779 else
55780 glibcxx_cv_func__isinff_use=no
55782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55783 ac_ext=c
55784 ac_cpp='$CPP $CPPFLAGS'
55785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55794 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55796 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55797 for ac_func in _isinff
55798 do :
55799 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55800 if test "x$ac_cv_func__isinff" = xyes; then :
55801 cat >>confdefs.h <<_ACEOF
55802 #define HAVE__ISINFF 1
55803 _ACEOF
55806 done
55815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55816 $as_echo_n "checking for atan2f declaration... " >&6; }
55817 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55818 if ${glibcxx_cv_func_atan2f_use+:} false; then :
55819 $as_echo_n "(cached) " >&6
55820 else
55823 ac_ext=cpp
55824 ac_cpp='$CXXCPP $CPPFLAGS'
55825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55830 /* end confdefs.h. */
55831 #include <math.h>
55833 main ()
55835 atan2f(0, 0);
55837 return 0;
55839 _ACEOF
55840 if ac_fn_cxx_try_compile "$LINENO"; then :
55841 glibcxx_cv_func_atan2f_use=yes
55842 else
55843 glibcxx_cv_func_atan2f_use=no
55845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55846 ac_ext=c
55847 ac_cpp='$CPP $CPPFLAGS'
55848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55857 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55859 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55860 for ac_func in atan2f
55861 do :
55862 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55863 if test "x$ac_cv_func_atan2f" = xyes; then :
55864 cat >>confdefs.h <<_ACEOF
55865 #define HAVE_ATAN2F 1
55866 _ACEOF
55869 done
55871 else
55873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55874 $as_echo_n "checking for _atan2f declaration... " >&6; }
55875 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55876 if ${glibcxx_cv_func__atan2f_use+:} false; then :
55877 $as_echo_n "(cached) " >&6
55878 else
55881 ac_ext=cpp
55882 ac_cpp='$CXXCPP $CPPFLAGS'
55883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55888 /* end confdefs.h. */
55889 #include <math.h>
55891 main ()
55893 _atan2f(0, 0);
55895 return 0;
55897 _ACEOF
55898 if ac_fn_cxx_try_compile "$LINENO"; then :
55899 glibcxx_cv_func__atan2f_use=yes
55900 else
55901 glibcxx_cv_func__atan2f_use=no
55903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55904 ac_ext=c
55905 ac_cpp='$CPP $CPPFLAGS'
55906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55915 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55917 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55918 for ac_func in _atan2f
55919 do :
55920 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55921 if test "x$ac_cv_func__atan2f" = xyes; then :
55922 cat >>confdefs.h <<_ACEOF
55923 #define HAVE__ATAN2F 1
55924 _ACEOF
55927 done
55936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55937 $as_echo_n "checking for fabsf declaration... " >&6; }
55938 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55939 if ${glibcxx_cv_func_fabsf_use+:} false; then :
55940 $as_echo_n "(cached) " >&6
55941 else
55944 ac_ext=cpp
55945 ac_cpp='$CXXCPP $CPPFLAGS'
55946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55951 /* end confdefs.h. */
55952 #include <math.h>
55953 #ifdef HAVE_IEEEFP_H
55954 #include <ieeefp.h>
55955 #endif
55958 main ()
55960 fabsf(0);
55962 return 0;
55964 _ACEOF
55965 if ac_fn_cxx_try_compile "$LINENO"; then :
55966 glibcxx_cv_func_fabsf_use=yes
55967 else
55968 glibcxx_cv_func_fabsf_use=no
55970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55971 ac_ext=c
55972 ac_cpp='$CPP $CPPFLAGS'
55973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55982 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55984 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55985 for ac_func in fabsf
55986 do :
55987 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55988 if test "x$ac_cv_func_fabsf" = xyes; then :
55989 cat >>confdefs.h <<_ACEOF
55990 #define HAVE_FABSF 1
55991 _ACEOF
55994 done
55996 else
55998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55999 $as_echo_n "checking for _fabsf declaration... " >&6; }
56000 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56001 if ${glibcxx_cv_func__fabsf_use+:} false; then :
56002 $as_echo_n "(cached) " >&6
56003 else
56006 ac_ext=cpp
56007 ac_cpp='$CXXCPP $CPPFLAGS'
56008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56013 /* end confdefs.h. */
56014 #include <math.h>
56015 #ifdef HAVE_IEEEFP_H
56016 #include <ieeefp.h>
56017 #endif
56020 main ()
56022 _fabsf(0);
56024 return 0;
56026 _ACEOF
56027 if ac_fn_cxx_try_compile "$LINENO"; then :
56028 glibcxx_cv_func__fabsf_use=yes
56029 else
56030 glibcxx_cv_func__fabsf_use=no
56032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56033 ac_ext=c
56034 ac_cpp='$CPP $CPPFLAGS'
56035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56044 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56046 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56047 for ac_func in _fabsf
56048 do :
56049 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56050 if test "x$ac_cv_func__fabsf" = xyes; then :
56051 cat >>confdefs.h <<_ACEOF
56052 #define HAVE__FABSF 1
56053 _ACEOF
56056 done
56065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56066 $as_echo_n "checking for fmodf declaration... " >&6; }
56067 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56068 if ${glibcxx_cv_func_fmodf_use+:} false; then :
56069 $as_echo_n "(cached) " >&6
56070 else
56073 ac_ext=cpp
56074 ac_cpp='$CXXCPP $CPPFLAGS'
56075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56080 /* end confdefs.h. */
56081 #include <math.h>
56083 main ()
56085 fmodf(0, 0);
56087 return 0;
56089 _ACEOF
56090 if ac_fn_cxx_try_compile "$LINENO"; then :
56091 glibcxx_cv_func_fmodf_use=yes
56092 else
56093 glibcxx_cv_func_fmodf_use=no
56095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56096 ac_ext=c
56097 ac_cpp='$CPP $CPPFLAGS'
56098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56107 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56109 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56110 for ac_func in fmodf
56111 do :
56112 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56113 if test "x$ac_cv_func_fmodf" = xyes; then :
56114 cat >>confdefs.h <<_ACEOF
56115 #define HAVE_FMODF 1
56116 _ACEOF
56119 done
56121 else
56123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56124 $as_echo_n "checking for _fmodf declaration... " >&6; }
56125 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56126 if ${glibcxx_cv_func__fmodf_use+:} false; then :
56127 $as_echo_n "(cached) " >&6
56128 else
56131 ac_ext=cpp
56132 ac_cpp='$CXXCPP $CPPFLAGS'
56133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56138 /* end confdefs.h. */
56139 #include <math.h>
56141 main ()
56143 _fmodf(0, 0);
56145 return 0;
56147 _ACEOF
56148 if ac_fn_cxx_try_compile "$LINENO"; then :
56149 glibcxx_cv_func__fmodf_use=yes
56150 else
56151 glibcxx_cv_func__fmodf_use=no
56153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56154 ac_ext=c
56155 ac_cpp='$CPP $CPPFLAGS'
56156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56165 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56167 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56168 for ac_func in _fmodf
56169 do :
56170 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56171 if test "x$ac_cv_func__fmodf" = xyes; then :
56172 cat >>confdefs.h <<_ACEOF
56173 #define HAVE__FMODF 1
56174 _ACEOF
56177 done
56186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56187 $as_echo_n "checking for frexpf declaration... " >&6; }
56188 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56189 if ${glibcxx_cv_func_frexpf_use+:} false; then :
56190 $as_echo_n "(cached) " >&6
56191 else
56194 ac_ext=cpp
56195 ac_cpp='$CXXCPP $CPPFLAGS'
56196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56201 /* end confdefs.h. */
56202 #include <math.h>
56204 main ()
56206 frexpf(0, 0);
56208 return 0;
56210 _ACEOF
56211 if ac_fn_cxx_try_compile "$LINENO"; then :
56212 glibcxx_cv_func_frexpf_use=yes
56213 else
56214 glibcxx_cv_func_frexpf_use=no
56216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56217 ac_ext=c
56218 ac_cpp='$CPP $CPPFLAGS'
56219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56228 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
56230 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
56231 for ac_func in frexpf
56232 do :
56233 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
56234 if test "x$ac_cv_func_frexpf" = xyes; then :
56235 cat >>confdefs.h <<_ACEOF
56236 #define HAVE_FREXPF 1
56237 _ACEOF
56240 done
56242 else
56244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
56245 $as_echo_n "checking for _frexpf declaration... " >&6; }
56246 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
56247 if ${glibcxx_cv_func__frexpf_use+:} false; then :
56248 $as_echo_n "(cached) " >&6
56249 else
56252 ac_ext=cpp
56253 ac_cpp='$CXXCPP $CPPFLAGS'
56254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56259 /* end confdefs.h. */
56260 #include <math.h>
56262 main ()
56264 _frexpf(0, 0);
56266 return 0;
56268 _ACEOF
56269 if ac_fn_cxx_try_compile "$LINENO"; then :
56270 glibcxx_cv_func__frexpf_use=yes
56271 else
56272 glibcxx_cv_func__frexpf_use=no
56274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56275 ac_ext=c
56276 ac_cpp='$CPP $CPPFLAGS'
56277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56286 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56288 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56289 for ac_func in _frexpf
56290 do :
56291 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56292 if test "x$ac_cv_func__frexpf" = xyes; then :
56293 cat >>confdefs.h <<_ACEOF
56294 #define HAVE__FREXPF 1
56295 _ACEOF
56298 done
56307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56308 $as_echo_n "checking for hypotf declaration... " >&6; }
56309 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56310 if ${glibcxx_cv_func_hypotf_use+:} false; then :
56311 $as_echo_n "(cached) " >&6
56312 else
56315 ac_ext=cpp
56316 ac_cpp='$CXXCPP $CPPFLAGS'
56317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56322 /* end confdefs.h. */
56323 #include <math.h>
56325 main ()
56327 hypotf(0, 0);
56329 return 0;
56331 _ACEOF
56332 if ac_fn_cxx_try_compile "$LINENO"; then :
56333 glibcxx_cv_func_hypotf_use=yes
56334 else
56335 glibcxx_cv_func_hypotf_use=no
56337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56338 ac_ext=c
56339 ac_cpp='$CPP $CPPFLAGS'
56340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56349 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56351 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56352 for ac_func in hypotf
56353 do :
56354 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56355 if test "x$ac_cv_func_hypotf" = xyes; then :
56356 cat >>confdefs.h <<_ACEOF
56357 #define HAVE_HYPOTF 1
56358 _ACEOF
56361 done
56363 else
56365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56366 $as_echo_n "checking for _hypotf declaration... " >&6; }
56367 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56368 if ${glibcxx_cv_func__hypotf_use+:} false; then :
56369 $as_echo_n "(cached) " >&6
56370 else
56373 ac_ext=cpp
56374 ac_cpp='$CXXCPP $CPPFLAGS'
56375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56380 /* end confdefs.h. */
56381 #include <math.h>
56383 main ()
56385 _hypotf(0, 0);
56387 return 0;
56389 _ACEOF
56390 if ac_fn_cxx_try_compile "$LINENO"; then :
56391 glibcxx_cv_func__hypotf_use=yes
56392 else
56393 glibcxx_cv_func__hypotf_use=no
56395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56396 ac_ext=c
56397 ac_cpp='$CPP $CPPFLAGS'
56398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56407 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56409 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56410 for ac_func in _hypotf
56411 do :
56412 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56413 if test "x$ac_cv_func__hypotf" = xyes; then :
56414 cat >>confdefs.h <<_ACEOF
56415 #define HAVE__HYPOTF 1
56416 _ACEOF
56419 done
56428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56429 $as_echo_n "checking for ldexpf declaration... " >&6; }
56430 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56431 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
56432 $as_echo_n "(cached) " >&6
56433 else
56436 ac_ext=cpp
56437 ac_cpp='$CXXCPP $CPPFLAGS'
56438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56443 /* end confdefs.h. */
56444 #include <math.h>
56446 main ()
56448 ldexpf(0, 0);
56450 return 0;
56452 _ACEOF
56453 if ac_fn_cxx_try_compile "$LINENO"; then :
56454 glibcxx_cv_func_ldexpf_use=yes
56455 else
56456 glibcxx_cv_func_ldexpf_use=no
56458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56459 ac_ext=c
56460 ac_cpp='$CPP $CPPFLAGS'
56461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56470 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56472 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56473 for ac_func in ldexpf
56474 do :
56475 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56476 if test "x$ac_cv_func_ldexpf" = xyes; then :
56477 cat >>confdefs.h <<_ACEOF
56478 #define HAVE_LDEXPF 1
56479 _ACEOF
56482 done
56484 else
56486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56487 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56488 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56489 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
56490 $as_echo_n "(cached) " >&6
56491 else
56494 ac_ext=cpp
56495 ac_cpp='$CXXCPP $CPPFLAGS'
56496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56501 /* end confdefs.h. */
56502 #include <math.h>
56504 main ()
56506 _ldexpf(0, 0);
56508 return 0;
56510 _ACEOF
56511 if ac_fn_cxx_try_compile "$LINENO"; then :
56512 glibcxx_cv_func__ldexpf_use=yes
56513 else
56514 glibcxx_cv_func__ldexpf_use=no
56516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56517 ac_ext=c
56518 ac_cpp='$CPP $CPPFLAGS'
56519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56528 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56530 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56531 for ac_func in _ldexpf
56532 do :
56533 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56534 if test "x$ac_cv_func__ldexpf" = xyes; then :
56535 cat >>confdefs.h <<_ACEOF
56536 #define HAVE__LDEXPF 1
56537 _ACEOF
56540 done
56549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56550 $as_echo_n "checking for logf declaration... " >&6; }
56551 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56552 if ${glibcxx_cv_func_logf_use+:} false; then :
56553 $as_echo_n "(cached) " >&6
56554 else
56557 ac_ext=cpp
56558 ac_cpp='$CXXCPP $CPPFLAGS'
56559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56564 /* end confdefs.h. */
56565 #include <math.h>
56566 #ifdef HAVE_IEEEFP_H
56567 #include <ieeefp.h>
56568 #endif
56571 main ()
56573 logf(0);
56575 return 0;
56577 _ACEOF
56578 if ac_fn_cxx_try_compile "$LINENO"; then :
56579 glibcxx_cv_func_logf_use=yes
56580 else
56581 glibcxx_cv_func_logf_use=no
56583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56584 ac_ext=c
56585 ac_cpp='$CPP $CPPFLAGS'
56586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56595 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56597 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56598 for ac_func in logf
56599 do :
56600 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56601 if test "x$ac_cv_func_logf" = xyes; then :
56602 cat >>confdefs.h <<_ACEOF
56603 #define HAVE_LOGF 1
56604 _ACEOF
56607 done
56609 else
56611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56612 $as_echo_n "checking for _logf declaration... " >&6; }
56613 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56614 if ${glibcxx_cv_func__logf_use+:} false; then :
56615 $as_echo_n "(cached) " >&6
56616 else
56619 ac_ext=cpp
56620 ac_cpp='$CXXCPP $CPPFLAGS'
56621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56626 /* end confdefs.h. */
56627 #include <math.h>
56628 #ifdef HAVE_IEEEFP_H
56629 #include <ieeefp.h>
56630 #endif
56633 main ()
56635 _logf(0);
56637 return 0;
56639 _ACEOF
56640 if ac_fn_cxx_try_compile "$LINENO"; then :
56641 glibcxx_cv_func__logf_use=yes
56642 else
56643 glibcxx_cv_func__logf_use=no
56645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56646 ac_ext=c
56647 ac_cpp='$CPP $CPPFLAGS'
56648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56657 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56659 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56660 for ac_func in _logf
56661 do :
56662 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56663 if test "x$ac_cv_func__logf" = xyes; then :
56664 cat >>confdefs.h <<_ACEOF
56665 #define HAVE__LOGF 1
56666 _ACEOF
56669 done
56678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56679 $as_echo_n "checking for log10f declaration... " >&6; }
56680 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56681 if ${glibcxx_cv_func_log10f_use+:} false; then :
56682 $as_echo_n "(cached) " >&6
56683 else
56686 ac_ext=cpp
56687 ac_cpp='$CXXCPP $CPPFLAGS'
56688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56693 /* end confdefs.h. */
56694 #include <math.h>
56695 #ifdef HAVE_IEEEFP_H
56696 #include <ieeefp.h>
56697 #endif
56700 main ()
56702 log10f(0);
56704 return 0;
56706 _ACEOF
56707 if ac_fn_cxx_try_compile "$LINENO"; then :
56708 glibcxx_cv_func_log10f_use=yes
56709 else
56710 glibcxx_cv_func_log10f_use=no
56712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56713 ac_ext=c
56714 ac_cpp='$CPP $CPPFLAGS'
56715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56724 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56726 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56727 for ac_func in log10f
56728 do :
56729 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56730 if test "x$ac_cv_func_log10f" = xyes; then :
56731 cat >>confdefs.h <<_ACEOF
56732 #define HAVE_LOG10F 1
56733 _ACEOF
56736 done
56738 else
56740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56741 $as_echo_n "checking for _log10f declaration... " >&6; }
56742 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56743 if ${glibcxx_cv_func__log10f_use+:} false; then :
56744 $as_echo_n "(cached) " >&6
56745 else
56748 ac_ext=cpp
56749 ac_cpp='$CXXCPP $CPPFLAGS'
56750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56755 /* end confdefs.h. */
56756 #include <math.h>
56757 #ifdef HAVE_IEEEFP_H
56758 #include <ieeefp.h>
56759 #endif
56762 main ()
56764 _log10f(0);
56766 return 0;
56768 _ACEOF
56769 if ac_fn_cxx_try_compile "$LINENO"; then :
56770 glibcxx_cv_func__log10f_use=yes
56771 else
56772 glibcxx_cv_func__log10f_use=no
56774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56775 ac_ext=c
56776 ac_cpp='$CPP $CPPFLAGS'
56777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56786 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56788 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56789 for ac_func in _log10f
56790 do :
56791 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56792 if test "x$ac_cv_func__log10f" = xyes; then :
56793 cat >>confdefs.h <<_ACEOF
56794 #define HAVE__LOG10F 1
56795 _ACEOF
56798 done
56807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56808 $as_echo_n "checking for modff declaration... " >&6; }
56809 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56810 if ${glibcxx_cv_func_modff_use+:} false; then :
56811 $as_echo_n "(cached) " >&6
56812 else
56815 ac_ext=cpp
56816 ac_cpp='$CXXCPP $CPPFLAGS'
56817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56822 /* end confdefs.h. */
56823 #include <math.h>
56825 main ()
56827 modff(0, 0);
56829 return 0;
56831 _ACEOF
56832 if ac_fn_cxx_try_compile "$LINENO"; then :
56833 glibcxx_cv_func_modff_use=yes
56834 else
56835 glibcxx_cv_func_modff_use=no
56837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56838 ac_ext=c
56839 ac_cpp='$CPP $CPPFLAGS'
56840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56849 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56851 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56852 for ac_func in modff
56853 do :
56854 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56855 if test "x$ac_cv_func_modff" = xyes; then :
56856 cat >>confdefs.h <<_ACEOF
56857 #define HAVE_MODFF 1
56858 _ACEOF
56861 done
56863 else
56865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56866 $as_echo_n "checking for _modff declaration... " >&6; }
56867 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56868 if ${glibcxx_cv_func__modff_use+:} false; then :
56869 $as_echo_n "(cached) " >&6
56870 else
56873 ac_ext=cpp
56874 ac_cpp='$CXXCPP $CPPFLAGS'
56875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56880 /* end confdefs.h. */
56881 #include <math.h>
56883 main ()
56885 _modff(0, 0);
56887 return 0;
56889 _ACEOF
56890 if ac_fn_cxx_try_compile "$LINENO"; then :
56891 glibcxx_cv_func__modff_use=yes
56892 else
56893 glibcxx_cv_func__modff_use=no
56895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56896 ac_ext=c
56897 ac_cpp='$CPP $CPPFLAGS'
56898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56907 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56909 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56910 for ac_func in _modff
56911 do :
56912 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56913 if test "x$ac_cv_func__modff" = xyes; then :
56914 cat >>confdefs.h <<_ACEOF
56915 #define HAVE__MODFF 1
56916 _ACEOF
56919 done
56928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56929 $as_echo_n "checking for modf declaration... " >&6; }
56930 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56931 if ${glibcxx_cv_func_modf_use+:} false; then :
56932 $as_echo_n "(cached) " >&6
56933 else
56936 ac_ext=cpp
56937 ac_cpp='$CXXCPP $CPPFLAGS'
56938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56943 /* end confdefs.h. */
56944 #include <math.h>
56946 main ()
56948 modf(0, 0);
56950 return 0;
56952 _ACEOF
56953 if ac_fn_cxx_try_compile "$LINENO"; then :
56954 glibcxx_cv_func_modf_use=yes
56955 else
56956 glibcxx_cv_func_modf_use=no
56958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56959 ac_ext=c
56960 ac_cpp='$CPP $CPPFLAGS'
56961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56970 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56972 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56973 for ac_func in modf
56974 do :
56975 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56976 if test "x$ac_cv_func_modf" = xyes; then :
56977 cat >>confdefs.h <<_ACEOF
56978 #define HAVE_MODF 1
56979 _ACEOF
56982 done
56984 else
56986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56987 $as_echo_n "checking for _modf declaration... " >&6; }
56988 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56989 if ${glibcxx_cv_func__modf_use+:} false; then :
56990 $as_echo_n "(cached) " >&6
56991 else
56994 ac_ext=cpp
56995 ac_cpp='$CXXCPP $CPPFLAGS'
56996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57001 /* end confdefs.h. */
57002 #include <math.h>
57004 main ()
57006 _modf(0, 0);
57008 return 0;
57010 _ACEOF
57011 if ac_fn_cxx_try_compile "$LINENO"; then :
57012 glibcxx_cv_func__modf_use=yes
57013 else
57014 glibcxx_cv_func__modf_use=no
57016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57017 ac_ext=c
57018 ac_cpp='$CPP $CPPFLAGS'
57019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57028 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
57030 if test x$glibcxx_cv_func__modf_use = x"yes"; then
57031 for ac_func in _modf
57032 do :
57033 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57034 if test "x$ac_cv_func__modf" = xyes; then :
57035 cat >>confdefs.h <<_ACEOF
57036 #define HAVE__MODF 1
57037 _ACEOF
57040 done
57049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57050 $as_echo_n "checking for powf declaration... " >&6; }
57051 if test x${glibcxx_cv_func_powf_use+set} != xset; then
57052 if ${glibcxx_cv_func_powf_use+:} false; then :
57053 $as_echo_n "(cached) " >&6
57054 else
57057 ac_ext=cpp
57058 ac_cpp='$CXXCPP $CPPFLAGS'
57059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57064 /* end confdefs.h. */
57065 #include <math.h>
57067 main ()
57069 powf(0, 0);
57071 return 0;
57073 _ACEOF
57074 if ac_fn_cxx_try_compile "$LINENO"; then :
57075 glibcxx_cv_func_powf_use=yes
57076 else
57077 glibcxx_cv_func_powf_use=no
57079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57080 ac_ext=c
57081 ac_cpp='$CPP $CPPFLAGS'
57082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57091 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
57093 if test x$glibcxx_cv_func_powf_use = x"yes"; then
57094 for ac_func in powf
57095 do :
57096 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57097 if test "x$ac_cv_func_powf" = xyes; then :
57098 cat >>confdefs.h <<_ACEOF
57099 #define HAVE_POWF 1
57100 _ACEOF
57103 done
57105 else
57107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57108 $as_echo_n "checking for _powf declaration... " >&6; }
57109 if test x${glibcxx_cv_func__powf_use+set} != xset; then
57110 if ${glibcxx_cv_func__powf_use+:} false; then :
57111 $as_echo_n "(cached) " >&6
57112 else
57115 ac_ext=cpp
57116 ac_cpp='$CXXCPP $CPPFLAGS'
57117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57122 /* end confdefs.h. */
57123 #include <math.h>
57125 main ()
57127 _powf(0, 0);
57129 return 0;
57131 _ACEOF
57132 if ac_fn_cxx_try_compile "$LINENO"; then :
57133 glibcxx_cv_func__powf_use=yes
57134 else
57135 glibcxx_cv_func__powf_use=no
57137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57138 ac_ext=c
57139 ac_cpp='$CPP $CPPFLAGS'
57140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57149 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
57151 if test x$glibcxx_cv_func__powf_use = x"yes"; then
57152 for ac_func in _powf
57153 do :
57154 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57155 if test "x$ac_cv_func__powf" = xyes; then :
57156 cat >>confdefs.h <<_ACEOF
57157 #define HAVE__POWF 1
57158 _ACEOF
57161 done
57170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57171 $as_echo_n "checking for sqrtf declaration... " >&6; }
57172 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57173 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57174 $as_echo_n "(cached) " >&6
57175 else
57178 ac_ext=cpp
57179 ac_cpp='$CXXCPP $CPPFLAGS'
57180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57185 /* end confdefs.h. */
57186 #include <math.h>
57187 #ifdef HAVE_IEEEFP_H
57188 #include <ieeefp.h>
57189 #endif
57192 main ()
57194 sqrtf(0);
57196 return 0;
57198 _ACEOF
57199 if ac_fn_cxx_try_compile "$LINENO"; then :
57200 glibcxx_cv_func_sqrtf_use=yes
57201 else
57202 glibcxx_cv_func_sqrtf_use=no
57204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57205 ac_ext=c
57206 ac_cpp='$CPP $CPPFLAGS'
57207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57216 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57218 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57219 for ac_func in sqrtf
57220 do :
57221 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57222 if test "x$ac_cv_func_sqrtf" = xyes; then :
57223 cat >>confdefs.h <<_ACEOF
57224 #define HAVE_SQRTF 1
57225 _ACEOF
57228 done
57230 else
57232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
57233 $as_echo_n "checking for _sqrtf declaration... " >&6; }
57234 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
57235 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
57236 $as_echo_n "(cached) " >&6
57237 else
57240 ac_ext=cpp
57241 ac_cpp='$CXXCPP $CPPFLAGS'
57242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57247 /* end confdefs.h. */
57248 #include <math.h>
57249 #ifdef HAVE_IEEEFP_H
57250 #include <ieeefp.h>
57251 #endif
57254 main ()
57256 _sqrtf(0);
57258 return 0;
57260 _ACEOF
57261 if ac_fn_cxx_try_compile "$LINENO"; then :
57262 glibcxx_cv_func__sqrtf_use=yes
57263 else
57264 glibcxx_cv_func__sqrtf_use=no
57266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57267 ac_ext=c
57268 ac_cpp='$CPP $CPPFLAGS'
57269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57278 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57280 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57281 for ac_func in _sqrtf
57282 do :
57283 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57284 if test "x$ac_cv_func__sqrtf" = xyes; then :
57285 cat >>confdefs.h <<_ACEOF
57286 #define HAVE__SQRTF 1
57287 _ACEOF
57290 done
57299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57300 $as_echo_n "checking for sincosf declaration... " >&6; }
57301 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57302 if ${glibcxx_cv_func_sincosf_use+:} false; then :
57303 $as_echo_n "(cached) " >&6
57304 else
57307 ac_ext=cpp
57308 ac_cpp='$CXXCPP $CPPFLAGS'
57309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57314 /* end confdefs.h. */
57315 #include <math.h>
57317 main ()
57319 sincosf(0, 0, 0);
57321 return 0;
57323 _ACEOF
57324 if ac_fn_cxx_try_compile "$LINENO"; then :
57325 glibcxx_cv_func_sincosf_use=yes
57326 else
57327 glibcxx_cv_func_sincosf_use=no
57329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57330 ac_ext=c
57331 ac_cpp='$CPP $CPPFLAGS'
57332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57341 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57343 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57344 for ac_func in sincosf
57345 do :
57346 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57347 if test "x$ac_cv_func_sincosf" = xyes; then :
57348 cat >>confdefs.h <<_ACEOF
57349 #define HAVE_SINCOSF 1
57350 _ACEOF
57353 done
57355 else
57357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57358 $as_echo_n "checking for _sincosf declaration... " >&6; }
57359 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57360 if ${glibcxx_cv_func__sincosf_use+:} false; then :
57361 $as_echo_n "(cached) " >&6
57362 else
57365 ac_ext=cpp
57366 ac_cpp='$CXXCPP $CPPFLAGS'
57367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57372 /* end confdefs.h. */
57373 #include <math.h>
57375 main ()
57377 _sincosf(0, 0, 0);
57379 return 0;
57381 _ACEOF
57382 if ac_fn_cxx_try_compile "$LINENO"; then :
57383 glibcxx_cv_func__sincosf_use=yes
57384 else
57385 glibcxx_cv_func__sincosf_use=no
57387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57388 ac_ext=c
57389 ac_cpp='$CPP $CPPFLAGS'
57390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57399 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57401 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57402 for ac_func in _sincosf
57403 do :
57404 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57405 if test "x$ac_cv_func__sincosf" = xyes; then :
57406 cat >>confdefs.h <<_ACEOF
57407 #define HAVE__SINCOSF 1
57408 _ACEOF
57411 done
57420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57421 $as_echo_n "checking for finitef declaration... " >&6; }
57422 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57423 if ${glibcxx_cv_func_finitef_use+:} false; then :
57424 $as_echo_n "(cached) " >&6
57425 else
57428 ac_ext=cpp
57429 ac_cpp='$CXXCPP $CPPFLAGS'
57430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57435 /* end confdefs.h. */
57436 #include <math.h>
57437 #ifdef HAVE_IEEEFP_H
57438 #include <ieeefp.h>
57439 #endif
57442 main ()
57444 finitef(0);
57446 return 0;
57448 _ACEOF
57449 if ac_fn_cxx_try_compile "$LINENO"; then :
57450 glibcxx_cv_func_finitef_use=yes
57451 else
57452 glibcxx_cv_func_finitef_use=no
57454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57455 ac_ext=c
57456 ac_cpp='$CPP $CPPFLAGS'
57457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57466 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57468 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57469 for ac_func in finitef
57470 do :
57471 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57472 if test "x$ac_cv_func_finitef" = xyes; then :
57473 cat >>confdefs.h <<_ACEOF
57474 #define HAVE_FINITEF 1
57475 _ACEOF
57478 done
57480 else
57482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57483 $as_echo_n "checking for _finitef declaration... " >&6; }
57484 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57485 if ${glibcxx_cv_func__finitef_use+:} false; then :
57486 $as_echo_n "(cached) " >&6
57487 else
57490 ac_ext=cpp
57491 ac_cpp='$CXXCPP $CPPFLAGS'
57492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57497 /* end confdefs.h. */
57498 #include <math.h>
57499 #ifdef HAVE_IEEEFP_H
57500 #include <ieeefp.h>
57501 #endif
57504 main ()
57506 _finitef(0);
57508 return 0;
57510 _ACEOF
57511 if ac_fn_cxx_try_compile "$LINENO"; then :
57512 glibcxx_cv_func__finitef_use=yes
57513 else
57514 glibcxx_cv_func__finitef_use=no
57516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57517 ac_ext=c
57518 ac_cpp='$CPP $CPPFLAGS'
57519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57528 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57530 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57531 for ac_func in _finitef
57532 do :
57533 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57534 if test "x$ac_cv_func__finitef" = xyes; then :
57535 cat >>confdefs.h <<_ACEOF
57536 #define HAVE__FINITEF 1
57537 _ACEOF
57540 done
57549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57550 $as_echo_n "checking for long double trig functions... " >&6; }
57551 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
57552 $as_echo_n "(cached) " >&6
57553 else
57556 ac_ext=cpp
57557 ac_cpp='$CXXCPP $CPPFLAGS'
57558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57563 /* end confdefs.h. */
57564 #include <math.h>
57566 main ()
57568 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57570 return 0;
57572 _ACEOF
57573 if ac_fn_cxx_try_compile "$LINENO"; then :
57574 glibcxx_cv_func_long_double_trig_use=yes
57575 else
57576 glibcxx_cv_func_long_double_trig_use=no
57578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57579 ac_ext=c
57580 ac_cpp='$CPP $CPPFLAGS'
57581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57588 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57589 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57590 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57591 do :
57592 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57593 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57594 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57595 cat >>confdefs.h <<_ACEOF
57596 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57597 _ACEOF
57600 done
57602 else
57603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57604 $as_echo_n "checking for _long double trig functions... " >&6; }
57605 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
57606 $as_echo_n "(cached) " >&6
57607 else
57610 ac_ext=cpp
57611 ac_cpp='$CXXCPP $CPPFLAGS'
57612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57617 /* end confdefs.h. */
57618 #include <math.h>
57620 main ()
57622 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57624 return 0;
57626 _ACEOF
57627 if ac_fn_cxx_try_compile "$LINENO"; then :
57628 glibcxx_cv_func__long_double_trig_use=yes
57629 else
57630 glibcxx_cv_func__long_double_trig_use=no
57632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57633 ac_ext=c
57634 ac_cpp='$CPP $CPPFLAGS'
57635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57642 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57643 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57644 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57645 do :
57646 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57647 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57648 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57649 cat >>confdefs.h <<_ACEOF
57650 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57651 _ACEOF
57654 done
57663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57664 $as_echo_n "checking for long double round functions... " >&6; }
57665 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
57666 $as_echo_n "(cached) " >&6
57667 else
57670 ac_ext=cpp
57671 ac_cpp='$CXXCPP $CPPFLAGS'
57672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57677 /* end confdefs.h. */
57678 #include <math.h>
57680 main ()
57682 ceill (0); floorl (0);
57684 return 0;
57686 _ACEOF
57687 if ac_fn_cxx_try_compile "$LINENO"; then :
57688 glibcxx_cv_func_long_double_round_use=yes
57689 else
57690 glibcxx_cv_func_long_double_round_use=no
57692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57693 ac_ext=c
57694 ac_cpp='$CPP $CPPFLAGS'
57695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57702 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57703 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57704 for ac_func in ceill floorl
57705 do :
57706 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57707 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57708 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57709 cat >>confdefs.h <<_ACEOF
57710 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57711 _ACEOF
57714 done
57716 else
57717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57718 $as_echo_n "checking for _long double round functions... " >&6; }
57719 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
57720 $as_echo_n "(cached) " >&6
57721 else
57724 ac_ext=cpp
57725 ac_cpp='$CXXCPP $CPPFLAGS'
57726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57731 /* end confdefs.h. */
57732 #include <math.h>
57734 main ()
57736 _ceill (0); _floorl (0);
57738 return 0;
57740 _ACEOF
57741 if ac_fn_cxx_try_compile "$LINENO"; then :
57742 glibcxx_cv_func__long_double_round_use=yes
57743 else
57744 glibcxx_cv_func__long_double_round_use=no
57746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57747 ac_ext=c
57748 ac_cpp='$CPP $CPPFLAGS'
57749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57756 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57757 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57758 for ac_func in _ceill _floorl
57759 do :
57760 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57761 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57762 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57763 cat >>confdefs.h <<_ACEOF
57764 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57765 _ACEOF
57768 done
57778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57779 $as_echo_n "checking for isnanl declaration... " >&6; }
57780 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57781 if ${glibcxx_cv_func_isnanl_use+:} false; then :
57782 $as_echo_n "(cached) " >&6
57783 else
57786 ac_ext=cpp
57787 ac_cpp='$CXXCPP $CPPFLAGS'
57788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57793 /* end confdefs.h. */
57794 #include <math.h>
57795 #ifdef HAVE_IEEEFP_H
57796 #include <ieeefp.h>
57797 #endif
57800 main ()
57802 isnanl(0);
57804 return 0;
57806 _ACEOF
57807 if ac_fn_cxx_try_compile "$LINENO"; then :
57808 glibcxx_cv_func_isnanl_use=yes
57809 else
57810 glibcxx_cv_func_isnanl_use=no
57812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57813 ac_ext=c
57814 ac_cpp='$CPP $CPPFLAGS'
57815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57824 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57826 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57827 for ac_func in isnanl
57828 do :
57829 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57830 if test "x$ac_cv_func_isnanl" = xyes; then :
57831 cat >>confdefs.h <<_ACEOF
57832 #define HAVE_ISNANL 1
57833 _ACEOF
57836 done
57838 else
57840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57841 $as_echo_n "checking for _isnanl declaration... " >&6; }
57842 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57843 if ${glibcxx_cv_func__isnanl_use+:} false; then :
57844 $as_echo_n "(cached) " >&6
57845 else
57848 ac_ext=cpp
57849 ac_cpp='$CXXCPP $CPPFLAGS'
57850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57855 /* end confdefs.h. */
57856 #include <math.h>
57857 #ifdef HAVE_IEEEFP_H
57858 #include <ieeefp.h>
57859 #endif
57862 main ()
57864 _isnanl(0);
57866 return 0;
57868 _ACEOF
57869 if ac_fn_cxx_try_compile "$LINENO"; then :
57870 glibcxx_cv_func__isnanl_use=yes
57871 else
57872 glibcxx_cv_func__isnanl_use=no
57874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57875 ac_ext=c
57876 ac_cpp='$CPP $CPPFLAGS'
57877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57886 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57888 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57889 for ac_func in _isnanl
57890 do :
57891 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57892 if test "x$ac_cv_func__isnanl" = xyes; then :
57893 cat >>confdefs.h <<_ACEOF
57894 #define HAVE__ISNANL 1
57895 _ACEOF
57898 done
57907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57908 $as_echo_n "checking for isinfl declaration... " >&6; }
57909 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57910 if ${glibcxx_cv_func_isinfl_use+:} false; then :
57911 $as_echo_n "(cached) " >&6
57912 else
57915 ac_ext=cpp
57916 ac_cpp='$CXXCPP $CPPFLAGS'
57917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57922 /* end confdefs.h. */
57923 #include <math.h>
57924 #ifdef HAVE_IEEEFP_H
57925 #include <ieeefp.h>
57926 #endif
57929 main ()
57931 isinfl(0);
57933 return 0;
57935 _ACEOF
57936 if ac_fn_cxx_try_compile "$LINENO"; then :
57937 glibcxx_cv_func_isinfl_use=yes
57938 else
57939 glibcxx_cv_func_isinfl_use=no
57941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57942 ac_ext=c
57943 ac_cpp='$CPP $CPPFLAGS'
57944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57953 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57955 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57956 for ac_func in isinfl
57957 do :
57958 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57959 if test "x$ac_cv_func_isinfl" = xyes; then :
57960 cat >>confdefs.h <<_ACEOF
57961 #define HAVE_ISINFL 1
57962 _ACEOF
57965 done
57967 else
57969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57970 $as_echo_n "checking for _isinfl declaration... " >&6; }
57971 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57972 if ${glibcxx_cv_func__isinfl_use+:} false; then :
57973 $as_echo_n "(cached) " >&6
57974 else
57977 ac_ext=cpp
57978 ac_cpp='$CXXCPP $CPPFLAGS'
57979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57984 /* end confdefs.h. */
57985 #include <math.h>
57986 #ifdef HAVE_IEEEFP_H
57987 #include <ieeefp.h>
57988 #endif
57991 main ()
57993 _isinfl(0);
57995 return 0;
57997 _ACEOF
57998 if ac_fn_cxx_try_compile "$LINENO"; then :
57999 glibcxx_cv_func__isinfl_use=yes
58000 else
58001 glibcxx_cv_func__isinfl_use=no
58003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58004 ac_ext=c
58005 ac_cpp='$CPP $CPPFLAGS'
58006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
58015 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58017 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58018 for ac_func in _isinfl
58019 do :
58020 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58021 if test "x$ac_cv_func__isinfl" = xyes; then :
58022 cat >>confdefs.h <<_ACEOF
58023 #define HAVE__ISINFL 1
58024 _ACEOF
58027 done
58036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58037 $as_echo_n "checking for atan2l declaration... " >&6; }
58038 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58039 if ${glibcxx_cv_func_atan2l_use+:} false; then :
58040 $as_echo_n "(cached) " >&6
58041 else
58044 ac_ext=cpp
58045 ac_cpp='$CXXCPP $CPPFLAGS'
58046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58051 /* end confdefs.h. */
58052 #include <math.h>
58054 main ()
58056 atan2l(0, 0);
58058 return 0;
58060 _ACEOF
58061 if ac_fn_cxx_try_compile "$LINENO"; then :
58062 glibcxx_cv_func_atan2l_use=yes
58063 else
58064 glibcxx_cv_func_atan2l_use=no
58066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58067 ac_ext=c
58068 ac_cpp='$CPP $CPPFLAGS'
58069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58078 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58080 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58081 for ac_func in atan2l
58082 do :
58083 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58084 if test "x$ac_cv_func_atan2l" = xyes; then :
58085 cat >>confdefs.h <<_ACEOF
58086 #define HAVE_ATAN2L 1
58087 _ACEOF
58090 done
58092 else
58094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58095 $as_echo_n "checking for _atan2l declaration... " >&6; }
58096 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58097 if ${glibcxx_cv_func__atan2l_use+:} false; then :
58098 $as_echo_n "(cached) " >&6
58099 else
58102 ac_ext=cpp
58103 ac_cpp='$CXXCPP $CPPFLAGS'
58104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58109 /* end confdefs.h. */
58110 #include <math.h>
58112 main ()
58114 _atan2l(0, 0);
58116 return 0;
58118 _ACEOF
58119 if ac_fn_cxx_try_compile "$LINENO"; then :
58120 glibcxx_cv_func__atan2l_use=yes
58121 else
58122 glibcxx_cv_func__atan2l_use=no
58124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58125 ac_ext=c
58126 ac_cpp='$CPP $CPPFLAGS'
58127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58136 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58138 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58139 for ac_func in _atan2l
58140 do :
58141 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58142 if test "x$ac_cv_func__atan2l" = xyes; then :
58143 cat >>confdefs.h <<_ACEOF
58144 #define HAVE__ATAN2L 1
58145 _ACEOF
58148 done
58157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58158 $as_echo_n "checking for expl declaration... " >&6; }
58159 if test x${glibcxx_cv_func_expl_use+set} != xset; then
58160 if ${glibcxx_cv_func_expl_use+:} false; then :
58161 $as_echo_n "(cached) " >&6
58162 else
58165 ac_ext=cpp
58166 ac_cpp='$CXXCPP $CPPFLAGS'
58167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58172 /* end confdefs.h. */
58173 #include <math.h>
58174 #ifdef HAVE_IEEEFP_H
58175 #include <ieeefp.h>
58176 #endif
58179 main ()
58181 expl(0);
58183 return 0;
58185 _ACEOF
58186 if ac_fn_cxx_try_compile "$LINENO"; then :
58187 glibcxx_cv_func_expl_use=yes
58188 else
58189 glibcxx_cv_func_expl_use=no
58191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58192 ac_ext=c
58193 ac_cpp='$CPP $CPPFLAGS'
58194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58203 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
58205 if test x$glibcxx_cv_func_expl_use = x"yes"; then
58206 for ac_func in expl
58207 do :
58208 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58209 if test "x$ac_cv_func_expl" = xyes; then :
58210 cat >>confdefs.h <<_ACEOF
58211 #define HAVE_EXPL 1
58212 _ACEOF
58215 done
58217 else
58219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58220 $as_echo_n "checking for _expl declaration... " >&6; }
58221 if test x${glibcxx_cv_func__expl_use+set} != xset; then
58222 if ${glibcxx_cv_func__expl_use+:} false; then :
58223 $as_echo_n "(cached) " >&6
58224 else
58227 ac_ext=cpp
58228 ac_cpp='$CXXCPP $CPPFLAGS'
58229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58234 /* end confdefs.h. */
58235 #include <math.h>
58236 #ifdef HAVE_IEEEFP_H
58237 #include <ieeefp.h>
58238 #endif
58241 main ()
58243 _expl(0);
58245 return 0;
58247 _ACEOF
58248 if ac_fn_cxx_try_compile "$LINENO"; then :
58249 glibcxx_cv_func__expl_use=yes
58250 else
58251 glibcxx_cv_func__expl_use=no
58253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58254 ac_ext=c
58255 ac_cpp='$CPP $CPPFLAGS'
58256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58265 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
58267 if test x$glibcxx_cv_func__expl_use = x"yes"; then
58268 for ac_func in _expl
58269 do :
58270 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58271 if test "x$ac_cv_func__expl" = xyes; then :
58272 cat >>confdefs.h <<_ACEOF
58273 #define HAVE__EXPL 1
58274 _ACEOF
58277 done
58286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58287 $as_echo_n "checking for fabsl declaration... " >&6; }
58288 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58289 if ${glibcxx_cv_func_fabsl_use+:} false; then :
58290 $as_echo_n "(cached) " >&6
58291 else
58294 ac_ext=cpp
58295 ac_cpp='$CXXCPP $CPPFLAGS'
58296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58301 /* end confdefs.h. */
58302 #include <math.h>
58303 #ifdef HAVE_IEEEFP_H
58304 #include <ieeefp.h>
58305 #endif
58308 main ()
58310 fabsl(0);
58312 return 0;
58314 _ACEOF
58315 if ac_fn_cxx_try_compile "$LINENO"; then :
58316 glibcxx_cv_func_fabsl_use=yes
58317 else
58318 glibcxx_cv_func_fabsl_use=no
58320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58321 ac_ext=c
58322 ac_cpp='$CPP $CPPFLAGS'
58323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58332 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58334 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58335 for ac_func in fabsl
58336 do :
58337 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58338 if test "x$ac_cv_func_fabsl" = xyes; then :
58339 cat >>confdefs.h <<_ACEOF
58340 #define HAVE_FABSL 1
58341 _ACEOF
58344 done
58346 else
58348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58349 $as_echo_n "checking for _fabsl declaration... " >&6; }
58350 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58351 if ${glibcxx_cv_func__fabsl_use+:} false; then :
58352 $as_echo_n "(cached) " >&6
58353 else
58356 ac_ext=cpp
58357 ac_cpp='$CXXCPP $CPPFLAGS'
58358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58363 /* end confdefs.h. */
58364 #include <math.h>
58365 #ifdef HAVE_IEEEFP_H
58366 #include <ieeefp.h>
58367 #endif
58370 main ()
58372 _fabsl(0);
58374 return 0;
58376 _ACEOF
58377 if ac_fn_cxx_try_compile "$LINENO"; then :
58378 glibcxx_cv_func__fabsl_use=yes
58379 else
58380 glibcxx_cv_func__fabsl_use=no
58382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58383 ac_ext=c
58384 ac_cpp='$CPP $CPPFLAGS'
58385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58394 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58396 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58397 for ac_func in _fabsl
58398 do :
58399 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58400 if test "x$ac_cv_func__fabsl" = xyes; then :
58401 cat >>confdefs.h <<_ACEOF
58402 #define HAVE__FABSL 1
58403 _ACEOF
58406 done
58415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58416 $as_echo_n "checking for fmodl declaration... " >&6; }
58417 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58418 if ${glibcxx_cv_func_fmodl_use+:} false; then :
58419 $as_echo_n "(cached) " >&6
58420 else
58423 ac_ext=cpp
58424 ac_cpp='$CXXCPP $CPPFLAGS'
58425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58430 /* end confdefs.h. */
58431 #include <math.h>
58433 main ()
58435 fmodl(0, 0);
58437 return 0;
58439 _ACEOF
58440 if ac_fn_cxx_try_compile "$LINENO"; then :
58441 glibcxx_cv_func_fmodl_use=yes
58442 else
58443 glibcxx_cv_func_fmodl_use=no
58445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58446 ac_ext=c
58447 ac_cpp='$CPP $CPPFLAGS'
58448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58457 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58459 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58460 for ac_func in fmodl
58461 do :
58462 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58463 if test "x$ac_cv_func_fmodl" = xyes; then :
58464 cat >>confdefs.h <<_ACEOF
58465 #define HAVE_FMODL 1
58466 _ACEOF
58469 done
58471 else
58473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58474 $as_echo_n "checking for _fmodl declaration... " >&6; }
58475 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58476 if ${glibcxx_cv_func__fmodl_use+:} false; then :
58477 $as_echo_n "(cached) " >&6
58478 else
58481 ac_ext=cpp
58482 ac_cpp='$CXXCPP $CPPFLAGS'
58483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58488 /* end confdefs.h. */
58489 #include <math.h>
58491 main ()
58493 _fmodl(0, 0);
58495 return 0;
58497 _ACEOF
58498 if ac_fn_cxx_try_compile "$LINENO"; then :
58499 glibcxx_cv_func__fmodl_use=yes
58500 else
58501 glibcxx_cv_func__fmodl_use=no
58503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58504 ac_ext=c
58505 ac_cpp='$CPP $CPPFLAGS'
58506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58515 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58517 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58518 for ac_func in _fmodl
58519 do :
58520 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58521 if test "x$ac_cv_func__fmodl" = xyes; then :
58522 cat >>confdefs.h <<_ACEOF
58523 #define HAVE__FMODL 1
58524 _ACEOF
58527 done
58536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58537 $as_echo_n "checking for frexpl declaration... " >&6; }
58538 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58539 if ${glibcxx_cv_func_frexpl_use+:} false; then :
58540 $as_echo_n "(cached) " >&6
58541 else
58544 ac_ext=cpp
58545 ac_cpp='$CXXCPP $CPPFLAGS'
58546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58551 /* end confdefs.h. */
58552 #include <math.h>
58554 main ()
58556 frexpl(0, 0);
58558 return 0;
58560 _ACEOF
58561 if ac_fn_cxx_try_compile "$LINENO"; then :
58562 glibcxx_cv_func_frexpl_use=yes
58563 else
58564 glibcxx_cv_func_frexpl_use=no
58566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58567 ac_ext=c
58568 ac_cpp='$CPP $CPPFLAGS'
58569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58578 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58580 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58581 for ac_func in frexpl
58582 do :
58583 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58584 if test "x$ac_cv_func_frexpl" = xyes; then :
58585 cat >>confdefs.h <<_ACEOF
58586 #define HAVE_FREXPL 1
58587 _ACEOF
58590 done
58592 else
58594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58595 $as_echo_n "checking for _frexpl declaration... " >&6; }
58596 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58597 if ${glibcxx_cv_func__frexpl_use+:} false; then :
58598 $as_echo_n "(cached) " >&6
58599 else
58602 ac_ext=cpp
58603 ac_cpp='$CXXCPP $CPPFLAGS'
58604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58609 /* end confdefs.h. */
58610 #include <math.h>
58612 main ()
58614 _frexpl(0, 0);
58616 return 0;
58618 _ACEOF
58619 if ac_fn_cxx_try_compile "$LINENO"; then :
58620 glibcxx_cv_func__frexpl_use=yes
58621 else
58622 glibcxx_cv_func__frexpl_use=no
58624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58625 ac_ext=c
58626 ac_cpp='$CPP $CPPFLAGS'
58627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58636 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58638 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58639 for ac_func in _frexpl
58640 do :
58641 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58642 if test "x$ac_cv_func__frexpl" = xyes; then :
58643 cat >>confdefs.h <<_ACEOF
58644 #define HAVE__FREXPL 1
58645 _ACEOF
58648 done
58657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58658 $as_echo_n "checking for hypotl declaration... " >&6; }
58659 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58660 if ${glibcxx_cv_func_hypotl_use+:} false; then :
58661 $as_echo_n "(cached) " >&6
58662 else
58665 ac_ext=cpp
58666 ac_cpp='$CXXCPP $CPPFLAGS'
58667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58672 /* end confdefs.h. */
58673 #include <math.h>
58675 main ()
58677 hypotl(0, 0);
58679 return 0;
58681 _ACEOF
58682 if ac_fn_cxx_try_compile "$LINENO"; then :
58683 glibcxx_cv_func_hypotl_use=yes
58684 else
58685 glibcxx_cv_func_hypotl_use=no
58687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58688 ac_ext=c
58689 ac_cpp='$CPP $CPPFLAGS'
58690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58699 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58701 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58702 for ac_func in hypotl
58703 do :
58704 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58705 if test "x$ac_cv_func_hypotl" = xyes; then :
58706 cat >>confdefs.h <<_ACEOF
58707 #define HAVE_HYPOTL 1
58708 _ACEOF
58711 done
58713 else
58715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58716 $as_echo_n "checking for _hypotl declaration... " >&6; }
58717 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58718 if ${glibcxx_cv_func__hypotl_use+:} false; then :
58719 $as_echo_n "(cached) " >&6
58720 else
58723 ac_ext=cpp
58724 ac_cpp='$CXXCPP $CPPFLAGS'
58725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58730 /* end confdefs.h. */
58731 #include <math.h>
58733 main ()
58735 _hypotl(0, 0);
58737 return 0;
58739 _ACEOF
58740 if ac_fn_cxx_try_compile "$LINENO"; then :
58741 glibcxx_cv_func__hypotl_use=yes
58742 else
58743 glibcxx_cv_func__hypotl_use=no
58745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58746 ac_ext=c
58747 ac_cpp='$CPP $CPPFLAGS'
58748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58757 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58759 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58760 for ac_func in _hypotl
58761 do :
58762 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58763 if test "x$ac_cv_func__hypotl" = xyes; then :
58764 cat >>confdefs.h <<_ACEOF
58765 #define HAVE__HYPOTL 1
58766 _ACEOF
58769 done
58778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58779 $as_echo_n "checking for ldexpl declaration... " >&6; }
58780 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58781 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
58782 $as_echo_n "(cached) " >&6
58783 else
58786 ac_ext=cpp
58787 ac_cpp='$CXXCPP $CPPFLAGS'
58788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58793 /* end confdefs.h. */
58794 #include <math.h>
58796 main ()
58798 ldexpl(0, 0);
58800 return 0;
58802 _ACEOF
58803 if ac_fn_cxx_try_compile "$LINENO"; then :
58804 glibcxx_cv_func_ldexpl_use=yes
58805 else
58806 glibcxx_cv_func_ldexpl_use=no
58808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58809 ac_ext=c
58810 ac_cpp='$CPP $CPPFLAGS'
58811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58820 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58822 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58823 for ac_func in ldexpl
58824 do :
58825 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58826 if test "x$ac_cv_func_ldexpl" = xyes; then :
58827 cat >>confdefs.h <<_ACEOF
58828 #define HAVE_LDEXPL 1
58829 _ACEOF
58832 done
58834 else
58836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58837 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58838 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58839 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
58840 $as_echo_n "(cached) " >&6
58841 else
58844 ac_ext=cpp
58845 ac_cpp='$CXXCPP $CPPFLAGS'
58846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58851 /* end confdefs.h. */
58852 #include <math.h>
58854 main ()
58856 _ldexpl(0, 0);
58858 return 0;
58860 _ACEOF
58861 if ac_fn_cxx_try_compile "$LINENO"; then :
58862 glibcxx_cv_func__ldexpl_use=yes
58863 else
58864 glibcxx_cv_func__ldexpl_use=no
58866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58867 ac_ext=c
58868 ac_cpp='$CPP $CPPFLAGS'
58869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58878 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58880 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58881 for ac_func in _ldexpl
58882 do :
58883 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58884 if test "x$ac_cv_func__ldexpl" = xyes; then :
58885 cat >>confdefs.h <<_ACEOF
58886 #define HAVE__LDEXPL 1
58887 _ACEOF
58890 done
58899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58900 $as_echo_n "checking for logl declaration... " >&6; }
58901 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58902 if ${glibcxx_cv_func_logl_use+:} false; then :
58903 $as_echo_n "(cached) " >&6
58904 else
58907 ac_ext=cpp
58908 ac_cpp='$CXXCPP $CPPFLAGS'
58909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58914 /* end confdefs.h. */
58915 #include <math.h>
58916 #ifdef HAVE_IEEEFP_H
58917 #include <ieeefp.h>
58918 #endif
58921 main ()
58923 logl(0);
58925 return 0;
58927 _ACEOF
58928 if ac_fn_cxx_try_compile "$LINENO"; then :
58929 glibcxx_cv_func_logl_use=yes
58930 else
58931 glibcxx_cv_func_logl_use=no
58933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58934 ac_ext=c
58935 ac_cpp='$CPP $CPPFLAGS'
58936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58945 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58947 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58948 for ac_func in logl
58949 do :
58950 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58951 if test "x$ac_cv_func_logl" = xyes; then :
58952 cat >>confdefs.h <<_ACEOF
58953 #define HAVE_LOGL 1
58954 _ACEOF
58957 done
58959 else
58961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58962 $as_echo_n "checking for _logl declaration... " >&6; }
58963 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58964 if ${glibcxx_cv_func__logl_use+:} false; then :
58965 $as_echo_n "(cached) " >&6
58966 else
58969 ac_ext=cpp
58970 ac_cpp='$CXXCPP $CPPFLAGS'
58971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58976 /* end confdefs.h. */
58977 #include <math.h>
58978 #ifdef HAVE_IEEEFP_H
58979 #include <ieeefp.h>
58980 #endif
58983 main ()
58985 _logl(0);
58987 return 0;
58989 _ACEOF
58990 if ac_fn_cxx_try_compile "$LINENO"; then :
58991 glibcxx_cv_func__logl_use=yes
58992 else
58993 glibcxx_cv_func__logl_use=no
58995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58996 ac_ext=c
58997 ac_cpp='$CPP $CPPFLAGS'
58998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59007 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
59009 if test x$glibcxx_cv_func__logl_use = x"yes"; then
59010 for ac_func in _logl
59011 do :
59012 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59013 if test "x$ac_cv_func__logl" = xyes; then :
59014 cat >>confdefs.h <<_ACEOF
59015 #define HAVE__LOGL 1
59016 _ACEOF
59019 done
59028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59029 $as_echo_n "checking for log10l declaration... " >&6; }
59030 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59031 if ${glibcxx_cv_func_log10l_use+:} false; then :
59032 $as_echo_n "(cached) " >&6
59033 else
59036 ac_ext=cpp
59037 ac_cpp='$CXXCPP $CPPFLAGS'
59038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59043 /* end confdefs.h. */
59044 #include <math.h>
59045 #ifdef HAVE_IEEEFP_H
59046 #include <ieeefp.h>
59047 #endif
59050 main ()
59052 log10l(0);
59054 return 0;
59056 _ACEOF
59057 if ac_fn_cxx_try_compile "$LINENO"; then :
59058 glibcxx_cv_func_log10l_use=yes
59059 else
59060 glibcxx_cv_func_log10l_use=no
59062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59063 ac_ext=c
59064 ac_cpp='$CPP $CPPFLAGS'
59065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59074 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59076 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59077 for ac_func in log10l
59078 do :
59079 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59080 if test "x$ac_cv_func_log10l" = xyes; then :
59081 cat >>confdefs.h <<_ACEOF
59082 #define HAVE_LOG10L 1
59083 _ACEOF
59086 done
59088 else
59090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59091 $as_echo_n "checking for _log10l declaration... " >&6; }
59092 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59093 if ${glibcxx_cv_func__log10l_use+:} false; then :
59094 $as_echo_n "(cached) " >&6
59095 else
59098 ac_ext=cpp
59099 ac_cpp='$CXXCPP $CPPFLAGS'
59100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59105 /* end confdefs.h. */
59106 #include <math.h>
59107 #ifdef HAVE_IEEEFP_H
59108 #include <ieeefp.h>
59109 #endif
59112 main ()
59114 _log10l(0);
59116 return 0;
59118 _ACEOF
59119 if ac_fn_cxx_try_compile "$LINENO"; then :
59120 glibcxx_cv_func__log10l_use=yes
59121 else
59122 glibcxx_cv_func__log10l_use=no
59124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59125 ac_ext=c
59126 ac_cpp='$CPP $CPPFLAGS'
59127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59136 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59138 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59139 for ac_func in _log10l
59140 do :
59141 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59142 if test "x$ac_cv_func__log10l" = xyes; then :
59143 cat >>confdefs.h <<_ACEOF
59144 #define HAVE__LOG10L 1
59145 _ACEOF
59148 done
59157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59158 $as_echo_n "checking for modfl declaration... " >&6; }
59159 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59160 if ${glibcxx_cv_func_modfl_use+:} false; then :
59161 $as_echo_n "(cached) " >&6
59162 else
59165 ac_ext=cpp
59166 ac_cpp='$CXXCPP $CPPFLAGS'
59167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59172 /* end confdefs.h. */
59173 #include <math.h>
59175 main ()
59177 modfl(0, 0);
59179 return 0;
59181 _ACEOF
59182 if ac_fn_cxx_try_compile "$LINENO"; then :
59183 glibcxx_cv_func_modfl_use=yes
59184 else
59185 glibcxx_cv_func_modfl_use=no
59187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59188 ac_ext=c
59189 ac_cpp='$CPP $CPPFLAGS'
59190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59199 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59201 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59202 for ac_func in modfl
59203 do :
59204 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59205 if test "x$ac_cv_func_modfl" = xyes; then :
59206 cat >>confdefs.h <<_ACEOF
59207 #define HAVE_MODFL 1
59208 _ACEOF
59211 done
59213 else
59215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59216 $as_echo_n "checking for _modfl declaration... " >&6; }
59217 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59218 if ${glibcxx_cv_func__modfl_use+:} false; then :
59219 $as_echo_n "(cached) " >&6
59220 else
59223 ac_ext=cpp
59224 ac_cpp='$CXXCPP $CPPFLAGS'
59225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59230 /* end confdefs.h. */
59231 #include <math.h>
59233 main ()
59235 _modfl(0, 0);
59237 return 0;
59239 _ACEOF
59240 if ac_fn_cxx_try_compile "$LINENO"; then :
59241 glibcxx_cv_func__modfl_use=yes
59242 else
59243 glibcxx_cv_func__modfl_use=no
59245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59246 ac_ext=c
59247 ac_cpp='$CPP $CPPFLAGS'
59248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
59257 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
59259 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59260 for ac_func in _modfl
59261 do :
59262 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59263 if test "x$ac_cv_func__modfl" = xyes; then :
59264 cat >>confdefs.h <<_ACEOF
59265 #define HAVE__MODFL 1
59266 _ACEOF
59269 done
59278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59279 $as_echo_n "checking for powl declaration... " >&6; }
59280 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59281 if ${glibcxx_cv_func_powl_use+:} false; then :
59282 $as_echo_n "(cached) " >&6
59283 else
59286 ac_ext=cpp
59287 ac_cpp='$CXXCPP $CPPFLAGS'
59288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59293 /* end confdefs.h. */
59294 #include <math.h>
59296 main ()
59298 powl(0, 0);
59300 return 0;
59302 _ACEOF
59303 if ac_fn_cxx_try_compile "$LINENO"; then :
59304 glibcxx_cv_func_powl_use=yes
59305 else
59306 glibcxx_cv_func_powl_use=no
59308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59309 ac_ext=c
59310 ac_cpp='$CPP $CPPFLAGS'
59311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59320 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59322 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59323 for ac_func in powl
59324 do :
59325 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59326 if test "x$ac_cv_func_powl" = xyes; then :
59327 cat >>confdefs.h <<_ACEOF
59328 #define HAVE_POWL 1
59329 _ACEOF
59332 done
59334 else
59336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59337 $as_echo_n "checking for _powl declaration... " >&6; }
59338 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59339 if ${glibcxx_cv_func__powl_use+:} false; then :
59340 $as_echo_n "(cached) " >&6
59341 else
59344 ac_ext=cpp
59345 ac_cpp='$CXXCPP $CPPFLAGS'
59346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59351 /* end confdefs.h. */
59352 #include <math.h>
59354 main ()
59356 _powl(0, 0);
59358 return 0;
59360 _ACEOF
59361 if ac_fn_cxx_try_compile "$LINENO"; then :
59362 glibcxx_cv_func__powl_use=yes
59363 else
59364 glibcxx_cv_func__powl_use=no
59366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59367 ac_ext=c
59368 ac_cpp='$CPP $CPPFLAGS'
59369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59378 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59380 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59381 for ac_func in _powl
59382 do :
59383 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59384 if test "x$ac_cv_func__powl" = xyes; then :
59385 cat >>confdefs.h <<_ACEOF
59386 #define HAVE__POWL 1
59387 _ACEOF
59390 done
59399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59400 $as_echo_n "checking for sqrtl declaration... " >&6; }
59401 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59402 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
59403 $as_echo_n "(cached) " >&6
59404 else
59407 ac_ext=cpp
59408 ac_cpp='$CXXCPP $CPPFLAGS'
59409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59414 /* end confdefs.h. */
59415 #include <math.h>
59416 #ifdef HAVE_IEEEFP_H
59417 #include <ieeefp.h>
59418 #endif
59421 main ()
59423 sqrtl(0);
59425 return 0;
59427 _ACEOF
59428 if ac_fn_cxx_try_compile "$LINENO"; then :
59429 glibcxx_cv_func_sqrtl_use=yes
59430 else
59431 glibcxx_cv_func_sqrtl_use=no
59433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59434 ac_ext=c
59435 ac_cpp='$CPP $CPPFLAGS'
59436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59445 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59447 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59448 for ac_func in sqrtl
59449 do :
59450 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59451 if test "x$ac_cv_func_sqrtl" = xyes; then :
59452 cat >>confdefs.h <<_ACEOF
59453 #define HAVE_SQRTL 1
59454 _ACEOF
59457 done
59459 else
59461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59462 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59463 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59464 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
59465 $as_echo_n "(cached) " >&6
59466 else
59469 ac_ext=cpp
59470 ac_cpp='$CXXCPP $CPPFLAGS'
59471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59476 /* end confdefs.h. */
59477 #include <math.h>
59478 #ifdef HAVE_IEEEFP_H
59479 #include <ieeefp.h>
59480 #endif
59483 main ()
59485 _sqrtl(0);
59487 return 0;
59489 _ACEOF
59490 if ac_fn_cxx_try_compile "$LINENO"; then :
59491 glibcxx_cv_func__sqrtl_use=yes
59492 else
59493 glibcxx_cv_func__sqrtl_use=no
59495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59496 ac_ext=c
59497 ac_cpp='$CPP $CPPFLAGS'
59498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59507 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59509 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59510 for ac_func in _sqrtl
59511 do :
59512 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59513 if test "x$ac_cv_func__sqrtl" = xyes; then :
59514 cat >>confdefs.h <<_ACEOF
59515 #define HAVE__SQRTL 1
59516 _ACEOF
59519 done
59528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59529 $as_echo_n "checking for sincosl declaration... " >&6; }
59530 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59531 if ${glibcxx_cv_func_sincosl_use+:} false; then :
59532 $as_echo_n "(cached) " >&6
59533 else
59536 ac_ext=cpp
59537 ac_cpp='$CXXCPP $CPPFLAGS'
59538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59543 /* end confdefs.h. */
59544 #include <math.h>
59546 main ()
59548 sincosl(0, 0, 0);
59550 return 0;
59552 _ACEOF
59553 if ac_fn_cxx_try_compile "$LINENO"; then :
59554 glibcxx_cv_func_sincosl_use=yes
59555 else
59556 glibcxx_cv_func_sincosl_use=no
59558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59559 ac_ext=c
59560 ac_cpp='$CPP $CPPFLAGS'
59561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59570 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59572 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59573 for ac_func in sincosl
59574 do :
59575 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59576 if test "x$ac_cv_func_sincosl" = xyes; then :
59577 cat >>confdefs.h <<_ACEOF
59578 #define HAVE_SINCOSL 1
59579 _ACEOF
59582 done
59584 else
59586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59587 $as_echo_n "checking for _sincosl declaration... " >&6; }
59588 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59589 if ${glibcxx_cv_func__sincosl_use+:} false; then :
59590 $as_echo_n "(cached) " >&6
59591 else
59594 ac_ext=cpp
59595 ac_cpp='$CXXCPP $CPPFLAGS'
59596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59601 /* end confdefs.h. */
59602 #include <math.h>
59604 main ()
59606 _sincosl(0, 0, 0);
59608 return 0;
59610 _ACEOF
59611 if ac_fn_cxx_try_compile "$LINENO"; then :
59612 glibcxx_cv_func__sincosl_use=yes
59613 else
59614 glibcxx_cv_func__sincosl_use=no
59616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59617 ac_ext=c
59618 ac_cpp='$CPP $CPPFLAGS'
59619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59628 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59630 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59631 for ac_func in _sincosl
59632 do :
59633 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59634 if test "x$ac_cv_func__sincosl" = xyes; then :
59635 cat >>confdefs.h <<_ACEOF
59636 #define HAVE__SINCOSL 1
59637 _ACEOF
59640 done
59649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59650 $as_echo_n "checking for finitel declaration... " >&6; }
59651 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59652 if ${glibcxx_cv_func_finitel_use+:} false; then :
59653 $as_echo_n "(cached) " >&6
59654 else
59657 ac_ext=cpp
59658 ac_cpp='$CXXCPP $CPPFLAGS'
59659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59664 /* end confdefs.h. */
59665 #include <math.h>
59666 #ifdef HAVE_IEEEFP_H
59667 #include <ieeefp.h>
59668 #endif
59671 main ()
59673 finitel(0);
59675 return 0;
59677 _ACEOF
59678 if ac_fn_cxx_try_compile "$LINENO"; then :
59679 glibcxx_cv_func_finitel_use=yes
59680 else
59681 glibcxx_cv_func_finitel_use=no
59683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59684 ac_ext=c
59685 ac_cpp='$CPP $CPPFLAGS'
59686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59695 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59697 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59698 for ac_func in finitel
59699 do :
59700 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59701 if test "x$ac_cv_func_finitel" = xyes; then :
59702 cat >>confdefs.h <<_ACEOF
59703 #define HAVE_FINITEL 1
59704 _ACEOF
59707 done
59709 else
59711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59712 $as_echo_n "checking for _finitel declaration... " >&6; }
59713 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59714 if ${glibcxx_cv_func__finitel_use+:} false; then :
59715 $as_echo_n "(cached) " >&6
59716 else
59719 ac_ext=cpp
59720 ac_cpp='$CXXCPP $CPPFLAGS'
59721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59726 /* end confdefs.h. */
59727 #include <math.h>
59728 #ifdef HAVE_IEEEFP_H
59729 #include <ieeefp.h>
59730 #endif
59733 main ()
59735 _finitel(0);
59737 return 0;
59739 _ACEOF
59740 if ac_fn_cxx_try_compile "$LINENO"; then :
59741 glibcxx_cv_func__finitel_use=yes
59742 else
59743 glibcxx_cv_func__finitel_use=no
59745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59746 ac_ext=c
59747 ac_cpp='$CPP $CPPFLAGS'
59748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59757 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59759 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59760 for ac_func in _finitel
59761 do :
59762 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59763 if test "x$ac_cv_func__finitel" = xyes; then :
59764 cat >>confdefs.h <<_ACEOF
59765 #define HAVE__FINITEL 1
59766 _ACEOF
59769 done
59777 LIBS="$ac_save_LIBS"
59778 CXXFLAGS="$ac_save_CXXFLAGS"
59781 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59782 ac_save_CXXFLAGS="$CXXFLAGS"
59783 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59787 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59788 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59789 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
59790 $as_echo_n "(cached) " >&6
59791 else
59794 ac_ext=cpp
59795 ac_cpp='$CXXCPP $CPPFLAGS'
59796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59801 /* end confdefs.h. */
59802 #include <stdlib.h>
59804 main ()
59806 at_quick_exit(0);
59808 return 0;
59810 _ACEOF
59811 if ac_fn_cxx_try_compile "$LINENO"; then :
59812 glibcxx_cv_func_at_quick_exit_use=yes
59813 else
59814 glibcxx_cv_func_at_quick_exit_use=no
59816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59817 ac_ext=c
59818 ac_cpp='$CPP $CPPFLAGS'
59819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59828 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59829 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59830 for ac_func in at_quick_exit
59831 do :
59832 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59833 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
59834 cat >>confdefs.h <<_ACEOF
59835 #define HAVE_AT_QUICK_EXIT 1
59836 _ACEOF
59839 done
59844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59845 $as_echo_n "checking for quick_exit declaration... " >&6; }
59846 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59847 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
59848 $as_echo_n "(cached) " >&6
59849 else
59852 ac_ext=cpp
59853 ac_cpp='$CXXCPP $CPPFLAGS'
59854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59859 /* end confdefs.h. */
59860 #include <stdlib.h>
59862 main ()
59864 quick_exit(0);
59866 return 0;
59868 _ACEOF
59869 if ac_fn_cxx_try_compile "$LINENO"; then :
59870 glibcxx_cv_func_quick_exit_use=yes
59871 else
59872 glibcxx_cv_func_quick_exit_use=no
59874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59875 ac_ext=c
59876 ac_cpp='$CPP $CPPFLAGS'
59877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59886 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59887 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59888 for ac_func in quick_exit
59889 do :
59890 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59891 if test "x$ac_cv_func_quick_exit" = xyes; then :
59892 cat >>confdefs.h <<_ACEOF
59893 #define HAVE_QUICK_EXIT 1
59894 _ACEOF
59897 done
59902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59903 $as_echo_n "checking for strtold declaration... " >&6; }
59904 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59905 if ${glibcxx_cv_func_strtold_use+:} false; then :
59906 $as_echo_n "(cached) " >&6
59907 else
59910 ac_ext=cpp
59911 ac_cpp='$CXXCPP $CPPFLAGS'
59912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59917 /* end confdefs.h. */
59918 #include <stdlib.h>
59920 main ()
59922 strtold(0, 0);
59924 return 0;
59926 _ACEOF
59927 if ac_fn_cxx_try_compile "$LINENO"; then :
59928 glibcxx_cv_func_strtold_use=yes
59929 else
59930 glibcxx_cv_func_strtold_use=no
59932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59933 ac_ext=c
59934 ac_cpp='$CPP $CPPFLAGS'
59935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59944 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59945 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59946 for ac_func in strtold
59947 do :
59948 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59949 if test "x$ac_cv_func_strtold" = xyes; then :
59950 cat >>confdefs.h <<_ACEOF
59951 #define HAVE_STRTOLD 1
59952 _ACEOF
59955 done
59962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59963 $as_echo_n "checking for strtof declaration... " >&6; }
59964 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59965 if ${glibcxx_cv_func_strtof_use+:} false; then :
59966 $as_echo_n "(cached) " >&6
59967 else
59970 ac_ext=cpp
59971 ac_cpp='$CXXCPP $CPPFLAGS'
59972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59977 /* end confdefs.h. */
59978 #include <stdlib.h>
59980 main ()
59982 strtof(0, 0);
59984 return 0;
59986 _ACEOF
59987 if ac_fn_cxx_try_compile "$LINENO"; then :
59988 glibcxx_cv_func_strtof_use=yes
59989 else
59990 glibcxx_cv_func_strtof_use=no
59992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59993 ac_ext=c
59994 ac_cpp='$CPP $CPPFLAGS'
59995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60004 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60005 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60006 for ac_func in strtof
60007 do :
60008 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60009 if test "x$ac_cv_func_strtof" = xyes; then :
60010 cat >>confdefs.h <<_ACEOF
60011 #define HAVE_STRTOF 1
60012 _ACEOF
60015 done
60022 CXXFLAGS="$ac_save_CXXFLAGS"
60024 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
60026 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
60030 # Check whether --enable-tls was given.
60031 if test "${enable_tls+set}" = set; then :
60032 enableval=$enable_tls;
60033 case "$enableval" in
60034 yes|no) ;;
60035 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
60036 esac
60038 else
60039 enable_tls=yes
60043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
60044 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
60045 if ${gcc_cv_have_tls+:} false; then :
60046 $as_echo_n "(cached) " >&6
60047 else
60049 if test "$cross_compiling" = yes; 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 main() { return a = b; }
60056 _ACEOF
60057 if ac_fn_c_try_link "$LINENO"; then :
60058 chktls_save_LDFLAGS="$LDFLAGS"
60059 case $host in
60060 *-*-linux*)
60061 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
60063 esac
60064 chktls_save_CFLAGS="$CFLAGS"
60065 CFLAGS="-fPIC $CFLAGS"
60066 if test x$gcc_no_link = xyes; then
60067 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60070 /* end confdefs.h. */
60071 int f() { return 0; }
60072 _ACEOF
60073 if ac_fn_c_try_link "$LINENO"; then :
60074 if test x$gcc_no_link = xyes; then
60075 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60078 /* end confdefs.h. */
60079 __thread int a; int b; int f() { return a = b; }
60080 _ACEOF
60081 if ac_fn_c_try_link "$LINENO"; then :
60082 gcc_cv_have_tls=yes
60083 else
60084 gcc_cv_have_tls=no
60086 rm -f core conftest.err conftest.$ac_objext \
60087 conftest$ac_exeext conftest.$ac_ext
60088 else
60089 gcc_cv_have_tls=yes
60091 rm -f core conftest.err conftest.$ac_objext \
60092 conftest$ac_exeext conftest.$ac_ext
60093 CFLAGS="$chktls_save_CFLAGS"
60094 LDFLAGS="$chktls_save_LDFLAGS"
60095 else
60096 gcc_cv_have_tls=no
60098 rm -f core conftest.err conftest.$ac_objext \
60099 conftest$ac_exeext conftest.$ac_ext
60102 else
60103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60104 /* end confdefs.h. */
60105 __thread int a; int b; int main() { return a = b; }
60106 _ACEOF
60107 if ac_fn_c_try_run "$LINENO"; then :
60108 chktls_save_LDFLAGS="$LDFLAGS"
60109 LDFLAGS="-static $LDFLAGS"
60110 if test x$gcc_no_link = xyes; then
60111 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60114 /* end confdefs.h. */
60115 int main() { return 0; }
60116 _ACEOF
60117 if ac_fn_c_try_link "$LINENO"; then :
60118 if test "$cross_compiling" = yes; then :
60119 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60121 as_fn_error $? "cannot run test program while cross compiling
60122 See \`config.log' for more details" "$LINENO" 5; }
60123 else
60124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60125 /* end confdefs.h. */
60126 __thread int a; int b; int main() { return a = b; }
60127 _ACEOF
60128 if ac_fn_c_try_run "$LINENO"; then :
60129 gcc_cv_have_tls=yes
60130 else
60131 gcc_cv_have_tls=no
60133 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60134 conftest.$ac_objext conftest.beam conftest.$ac_ext
60137 else
60138 gcc_cv_have_tls=yes
60140 rm -f core conftest.err conftest.$ac_objext \
60141 conftest$ac_exeext conftest.$ac_ext
60142 LDFLAGS="$chktls_save_LDFLAGS"
60143 if test $gcc_cv_have_tls = yes; then
60144 chktls_save_CFLAGS="$CFLAGS"
60145 thread_CFLAGS=failed
60146 for flag in '' '-pthread' '-lpthread'; do
60147 CFLAGS="$flag $chktls_save_CFLAGS"
60148 if test x$gcc_no_link = xyes; then
60149 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60152 /* end confdefs.h. */
60153 #include <pthread.h>
60154 void *g(void *d) { return NULL; }
60156 main ()
60158 pthread_t t; pthread_create(&t,NULL,g,NULL);
60160 return 0;
60162 _ACEOF
60163 if ac_fn_c_try_link "$LINENO"; then :
60164 thread_CFLAGS="$flag"
60166 rm -f core conftest.err conftest.$ac_objext \
60167 conftest$ac_exeext conftest.$ac_ext
60168 if test "X$thread_CFLAGS" != Xfailed; then
60169 break
60171 done
60172 CFLAGS="$chktls_save_CFLAGS"
60173 if test "X$thread_CFLAGS" != Xfailed; then
60174 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
60175 if test "$cross_compiling" = yes; then :
60176 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60178 as_fn_error $? "cannot run test program while cross compiling
60179 See \`config.log' for more details" "$LINENO" 5; }
60180 else
60181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60182 /* end confdefs.h. */
60183 #include <pthread.h>
60184 __thread int a;
60185 static int *volatile a_in_other_thread;
60186 static void *
60187 thread_func (void *arg)
60189 a_in_other_thread = &a;
60190 return (void *)0;
60193 main ()
60195 pthread_t thread;
60196 void *thread_retval;
60197 int *volatile a_in_main_thread;
60198 a_in_main_thread = &a;
60199 if (pthread_create (&thread, (pthread_attr_t *)0,
60200 thread_func, (void *)0))
60201 return 0;
60202 if (pthread_join (thread, &thread_retval))
60203 return 0;
60204 return (a_in_other_thread == a_in_main_thread);
60206 return 0;
60208 _ACEOF
60209 if ac_fn_c_try_run "$LINENO"; then :
60210 gcc_cv_have_tls=yes
60211 else
60212 gcc_cv_have_tls=no
60214 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60215 conftest.$ac_objext conftest.beam conftest.$ac_ext
60218 CFLAGS="$chktls_save_CFLAGS"
60221 else
60222 gcc_cv_have_tls=no
60224 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60225 conftest.$ac_objext conftest.beam conftest.$ac_ext
60229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
60230 $as_echo "$gcc_cv_have_tls" >&6; }
60231 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
60233 $as_echo "#define HAVE_TLS 1" >>confdefs.h
60236 for ac_func in __cxa_thread_atexit_impl
60237 do :
60238 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
60239 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
60240 cat >>confdefs.h <<_ACEOF
60241 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
60242 _ACEOF
60245 done
60247 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60248 do :
60249 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60250 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60251 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60252 cat >>confdefs.h <<_ACEOF
60253 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60254 _ACEOF
60257 done
60259 for ac_func in timespec_get
60260 do :
60261 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
60262 if test "x$ac_cv_func_timespec_get" = xyes; then :
60263 cat >>confdefs.h <<_ACEOF
60264 #define HAVE_TIMESPEC_GET 1
60265 _ACEOF
60268 done
60275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
60276 $as_echo_n "checking for iconv... " >&6; }
60277 if ${am_cv_func_iconv+:} false; then :
60278 $as_echo_n "(cached) " >&6
60279 else
60281 am_cv_func_iconv="no, consider installing GNU libiconv"
60282 am_cv_lib_iconv=no
60283 am_save_CPPFLAGS="$CPPFLAGS"
60284 CPPFLAGS="$CPPFLAGS $INCICONV"
60285 if test x$gcc_no_link = xyes; then
60286 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60289 /* end confdefs.h. */
60290 #include <stdlib.h>
60291 #include <iconv.h>
60293 main ()
60295 iconv_t cd = iconv_open("","");
60296 iconv(cd,NULL,NULL,NULL,NULL);
60297 iconv_close(cd);
60299 return 0;
60301 _ACEOF
60302 if ac_fn_c_try_link "$LINENO"; then :
60303 am_cv_func_iconv=yes
60305 rm -f core conftest.err conftest.$ac_objext \
60306 conftest$ac_exeext conftest.$ac_ext
60307 CPPFLAGS="$am_save_CPPFLAGS"
60309 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
60310 for _libs in .libs _libs; do
60311 am_save_CPPFLAGS="$CPPFLAGS"
60312 am_save_LIBS="$LIBS"
60313 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
60314 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
60315 if test x$gcc_no_link = xyes; then
60316 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60319 /* end confdefs.h. */
60320 #include <stdlib.h>
60321 #include <iconv.h>
60323 main ()
60325 iconv_t cd = iconv_open("","");
60326 iconv(cd,NULL,NULL,NULL,NULL);
60327 iconv_close(cd);
60329 return 0;
60331 _ACEOF
60332 if ac_fn_c_try_link "$LINENO"; then :
60333 INCICONV="-I../libiconv/include"
60334 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
60335 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
60336 am_cv_lib_iconv=yes
60337 am_cv_func_iconv=yes
60339 rm -f core conftest.err conftest.$ac_objext \
60340 conftest$ac_exeext conftest.$ac_ext
60341 CPPFLAGS="$am_save_CPPFLAGS"
60342 LIBS="$am_save_LIBS"
60343 if test "$am_cv_func_iconv" = "yes"; then
60344 break
60346 done
60349 if test "$am_cv_func_iconv" != yes; then
60350 am_save_CPPFLAGS="$CPPFLAGS"
60351 am_save_LIBS="$LIBS"
60352 CPPFLAGS="$CPPFLAGS $INCICONV"
60353 LIBS="$LIBS $LIBICONV"
60354 if test x$gcc_no_link = xyes; then
60355 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60358 /* end confdefs.h. */
60359 #include <stdlib.h>
60360 #include <iconv.h>
60362 main ()
60364 iconv_t cd = iconv_open("","");
60365 iconv(cd,NULL,NULL,NULL,NULL);
60366 iconv_close(cd);
60368 return 0;
60370 _ACEOF
60371 if ac_fn_c_try_link "$LINENO"; then :
60372 am_cv_lib_iconv=yes
60373 am_cv_func_iconv=yes
60375 rm -f core conftest.err conftest.$ac_objext \
60376 conftest$ac_exeext conftest.$ac_ext
60377 CPPFLAGS="$am_save_CPPFLAGS"
60378 LIBS="$am_save_LIBS"
60382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
60383 $as_echo "$am_cv_func_iconv" >&6; }
60384 if test "$am_cv_func_iconv" = yes; then
60386 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
60389 if test "$am_cv_lib_iconv" = yes; then
60391 for element in $INCICONV; do
60392 haveit=
60393 for x in $CPPFLAGS; do
60395 acl_save_prefix="$prefix"
60396 prefix="$acl_final_prefix"
60397 acl_save_exec_prefix="$exec_prefix"
60398 exec_prefix="$acl_final_exec_prefix"
60399 eval x=\"$x\"
60400 exec_prefix="$acl_save_exec_prefix"
60401 prefix="$acl_save_prefix"
60403 if test "X$x" = "X$element"; then
60404 haveit=yes
60405 break
60407 done
60408 if test -z "$haveit"; then
60409 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
60411 done
60413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
60414 $as_echo_n "checking how to link with libiconv... " >&6; }
60415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
60416 $as_echo "$LIBICONV" >&6; }
60417 else
60418 LIBICONV=
60419 LTLIBICONV=
60424 if test "$am_cv_func_iconv" = yes; then
60425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
60426 $as_echo_n "checking for iconv declaration... " >&6; }
60427 if ${am_cv_proto_iconv+:} false; then :
60428 $as_echo_n "(cached) " >&6
60429 else
60431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60432 /* end confdefs.h. */
60434 #include <stdlib.h>
60435 #include <iconv.h>
60436 extern
60437 #ifdef __cplusplus
60439 #endif
60440 #if defined(__STDC__) || defined(__cplusplus)
60441 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
60442 #else
60443 size_t iconv();
60444 #endif
60447 main ()
60451 return 0;
60453 _ACEOF
60454 if ac_fn_c_try_compile "$LINENO"; then :
60455 am_cv_proto_iconv_arg1=""
60456 else
60457 am_cv_proto_iconv_arg1="const"
60459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60460 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);"
60463 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
60464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
60465 }$am_cv_proto_iconv" >&5
60466 $as_echo "${ac_t:-
60467 }$am_cv_proto_iconv" >&6; }
60469 cat >>confdefs.h <<_ACEOF
60470 #define ICONV_CONST $am_cv_proto_iconv_arg1
60471 _ACEOF
60476 *-mingw32*)
60478 # If we're not using GNU ld, then there's no point in even trying these
60479 # tests. Check for that first. We should have already tested for gld
60480 # by now (in libtool), but require it now just to be safe...
60481 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60482 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60486 # The name set by libtool depends on the version of libtool. Shame on us
60487 # for depending on an impl detail, but c'est la vie. Older versions used
60488 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60489 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60490 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60491 # set (hence we're using an older libtool), then set it.
60492 if test x${with_gnu_ld+set} != xset; then
60493 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60494 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60495 with_gnu_ld=no
60496 else
60497 with_gnu_ld=$ac_cv_prog_gnu_ld
60501 # Start by getting the version number. I think the libtool test already
60502 # does some of this, but throws away the result.
60503 glibcxx_ld_is_gold=no
60504 if test x"$with_gnu_ld" = x"yes"; then
60505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60506 $as_echo_n "checking for ld version... " >&6; }
60508 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60509 glibcxx_ld_is_gold=yes
60511 ldver=`$LD --version 2>/dev/null |
60512 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'`
60514 glibcxx_gnu_ld_version=`echo $ldver | \
60515 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60517 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60520 # Set --gc-sections.
60521 glibcxx_have_gc_sections=no
60522 if test "$glibcxx_ld_is_gold" = "yes"; then
60523 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60524 glibcxx_have_gc_sections=yes
60526 else
60527 glibcxx_gcsections_min_ld=21602
60528 if test x"$with_gnu_ld" = x"yes" &&
60529 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60530 glibcxx_have_gc_sections=yes
60533 if test "$glibcxx_have_gc_sections" = "yes"; then
60534 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60535 # NB: This flag only works reliably after 2.16.1. Configure tests
60536 # for this are difficult, so hard wire a value that should work.
60538 ac_test_CFLAGS="${CFLAGS+set}"
60539 ac_save_CFLAGS="$CFLAGS"
60540 CFLAGS='-Wl,--gc-sections'
60542 # Check for -Wl,--gc-sections
60543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60544 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60545 if test x$gcc_no_link = xyes; then
60546 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60549 /* end confdefs.h. */
60550 int one(void) { return 1; }
60551 int two(void) { return 2; }
60554 main ()
60556 two();
60558 return 0;
60560 _ACEOF
60561 if ac_fn_c_try_link "$LINENO"; then :
60562 ac_gcsections=yes
60563 else
60564 ac_gcsections=no
60566 rm -f core conftest.err conftest.$ac_objext \
60567 conftest$ac_exeext conftest.$ac_ext
60568 if test "$ac_gcsections" = "yes"; then
60569 rm -f conftest.c
60570 touch conftest.c
60571 if $CC -c conftest.c; then
60572 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60573 grep "Warning: gc-sections option ignored" > /dev/null; then
60574 ac_gcsections=no
60577 rm -f conftest.c conftest.o conftest
60579 if test "$ac_gcsections" = "yes"; then
60580 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60583 $as_echo "$ac_gcsections" >&6; }
60585 if test "$ac_test_CFLAGS" = set; then
60586 CFLAGS="$ac_save_CFLAGS"
60587 else
60588 # this is the suspicious part
60589 CFLAGS=''
60593 # Set -z,relro.
60594 # Note this is only for shared objects.
60595 ac_ld_relro=no
60596 if test x"$with_gnu_ld" = x"yes"; then
60597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60598 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60599 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60600 if test -n "$cxx_z_relo"; then
60601 OPT_LDFLAGS="-Wl,-z,relro"
60602 ac_ld_relro=yes
60604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60605 $as_echo "$ac_ld_relro" >&6; }
60608 # Set linker optimization flags.
60609 if test x"$with_gnu_ld" = x"yes"; then
60610 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60617 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60618 ac_save_CXXFLAGS="$CXXFLAGS"
60619 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60622 $as_echo_n "checking for sin in -lm... " >&6; }
60623 if ${ac_cv_lib_m_sin+:} false; then :
60624 $as_echo_n "(cached) " >&6
60625 else
60626 ac_check_lib_save_LIBS=$LIBS
60627 LIBS="-lm $LIBS"
60628 if test x$gcc_no_link = xyes; then
60629 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60632 /* end confdefs.h. */
60634 /* Override any GCC internal prototype to avoid an error.
60635 Use char because int might match the return type of a GCC
60636 builtin and then its argument prototype would still apply. */
60637 #ifdef __cplusplus
60638 extern "C"
60639 #endif
60640 char sin ();
60642 main ()
60644 return sin ();
60646 return 0;
60648 _ACEOF
60649 if ac_fn_c_try_link "$LINENO"; then :
60650 ac_cv_lib_m_sin=yes
60651 else
60652 ac_cv_lib_m_sin=no
60654 rm -f core conftest.err conftest.$ac_objext \
60655 conftest$ac_exeext conftest.$ac_ext
60656 LIBS=$ac_check_lib_save_LIBS
60658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60659 $as_echo "$ac_cv_lib_m_sin" >&6; }
60660 if test "x$ac_cv_lib_m_sin" = xyes; then :
60661 libm="-lm"
60664 ac_save_LIBS="$LIBS"
60665 LIBS="$LIBS $libm"
60669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60670 $as_echo_n "checking for isinf declaration... " >&6; }
60671 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60672 if ${glibcxx_cv_func_isinf_use+:} false; then :
60673 $as_echo_n "(cached) " >&6
60674 else
60677 ac_ext=cpp
60678 ac_cpp='$CXXCPP $CPPFLAGS'
60679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60684 /* end confdefs.h. */
60685 #include <math.h>
60686 #ifdef HAVE_IEEEFP_H
60687 #include <ieeefp.h>
60688 #endif
60691 main ()
60693 isinf(0);
60695 return 0;
60697 _ACEOF
60698 if ac_fn_cxx_try_compile "$LINENO"; then :
60699 glibcxx_cv_func_isinf_use=yes
60700 else
60701 glibcxx_cv_func_isinf_use=no
60703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60704 ac_ext=c
60705 ac_cpp='$CPP $CPPFLAGS'
60706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60715 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60717 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60718 for ac_func in isinf
60719 do :
60720 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60721 if test "x$ac_cv_func_isinf" = xyes; then :
60722 cat >>confdefs.h <<_ACEOF
60723 #define HAVE_ISINF 1
60724 _ACEOF
60727 done
60729 else
60731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60732 $as_echo_n "checking for _isinf declaration... " >&6; }
60733 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60734 if ${glibcxx_cv_func__isinf_use+:} false; then :
60735 $as_echo_n "(cached) " >&6
60736 else
60739 ac_ext=cpp
60740 ac_cpp='$CXXCPP $CPPFLAGS'
60741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60746 /* end confdefs.h. */
60747 #include <math.h>
60748 #ifdef HAVE_IEEEFP_H
60749 #include <ieeefp.h>
60750 #endif
60753 main ()
60755 _isinf(0);
60757 return 0;
60759 _ACEOF
60760 if ac_fn_cxx_try_compile "$LINENO"; then :
60761 glibcxx_cv_func__isinf_use=yes
60762 else
60763 glibcxx_cv_func__isinf_use=no
60765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60766 ac_ext=c
60767 ac_cpp='$CPP $CPPFLAGS'
60768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60777 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60779 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60780 for ac_func in _isinf
60781 do :
60782 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60783 if test "x$ac_cv_func__isinf" = xyes; then :
60784 cat >>confdefs.h <<_ACEOF
60785 #define HAVE__ISINF 1
60786 _ACEOF
60789 done
60798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60799 $as_echo_n "checking for isnan declaration... " >&6; }
60800 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60801 if ${glibcxx_cv_func_isnan_use+:} false; then :
60802 $as_echo_n "(cached) " >&6
60803 else
60806 ac_ext=cpp
60807 ac_cpp='$CXXCPP $CPPFLAGS'
60808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60813 /* end confdefs.h. */
60814 #include <math.h>
60815 #ifdef HAVE_IEEEFP_H
60816 #include <ieeefp.h>
60817 #endif
60820 main ()
60822 isnan(0);
60824 return 0;
60826 _ACEOF
60827 if ac_fn_cxx_try_compile "$LINENO"; then :
60828 glibcxx_cv_func_isnan_use=yes
60829 else
60830 glibcxx_cv_func_isnan_use=no
60832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60833 ac_ext=c
60834 ac_cpp='$CPP $CPPFLAGS'
60835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60844 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60846 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60847 for ac_func in isnan
60848 do :
60849 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60850 if test "x$ac_cv_func_isnan" = xyes; then :
60851 cat >>confdefs.h <<_ACEOF
60852 #define HAVE_ISNAN 1
60853 _ACEOF
60856 done
60858 else
60860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60861 $as_echo_n "checking for _isnan declaration... " >&6; }
60862 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60863 if ${glibcxx_cv_func__isnan_use+:} false; then :
60864 $as_echo_n "(cached) " >&6
60865 else
60868 ac_ext=cpp
60869 ac_cpp='$CXXCPP $CPPFLAGS'
60870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60875 /* end confdefs.h. */
60876 #include <math.h>
60877 #ifdef HAVE_IEEEFP_H
60878 #include <ieeefp.h>
60879 #endif
60882 main ()
60884 _isnan(0);
60886 return 0;
60888 _ACEOF
60889 if ac_fn_cxx_try_compile "$LINENO"; then :
60890 glibcxx_cv_func__isnan_use=yes
60891 else
60892 glibcxx_cv_func__isnan_use=no
60894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60895 ac_ext=c
60896 ac_cpp='$CPP $CPPFLAGS'
60897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60906 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60908 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60909 for ac_func in _isnan
60910 do :
60911 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60912 if test "x$ac_cv_func__isnan" = xyes; then :
60913 cat >>confdefs.h <<_ACEOF
60914 #define HAVE__ISNAN 1
60915 _ACEOF
60918 done
60927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60928 $as_echo_n "checking for finite declaration... " >&6; }
60929 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60930 if ${glibcxx_cv_func_finite_use+:} false; then :
60931 $as_echo_n "(cached) " >&6
60932 else
60935 ac_ext=cpp
60936 ac_cpp='$CXXCPP $CPPFLAGS'
60937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60942 /* end confdefs.h. */
60943 #include <math.h>
60944 #ifdef HAVE_IEEEFP_H
60945 #include <ieeefp.h>
60946 #endif
60949 main ()
60951 finite(0);
60953 return 0;
60955 _ACEOF
60956 if ac_fn_cxx_try_compile "$LINENO"; then :
60957 glibcxx_cv_func_finite_use=yes
60958 else
60959 glibcxx_cv_func_finite_use=no
60961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60962 ac_ext=c
60963 ac_cpp='$CPP $CPPFLAGS'
60964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60973 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60975 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60976 for ac_func in finite
60977 do :
60978 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60979 if test "x$ac_cv_func_finite" = xyes; then :
60980 cat >>confdefs.h <<_ACEOF
60981 #define HAVE_FINITE 1
60982 _ACEOF
60985 done
60987 else
60989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60990 $as_echo_n "checking for _finite declaration... " >&6; }
60991 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60992 if ${glibcxx_cv_func__finite_use+:} false; then :
60993 $as_echo_n "(cached) " >&6
60994 else
60997 ac_ext=cpp
60998 ac_cpp='$CXXCPP $CPPFLAGS'
60999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61004 /* end confdefs.h. */
61005 #include <math.h>
61006 #ifdef HAVE_IEEEFP_H
61007 #include <ieeefp.h>
61008 #endif
61011 main ()
61013 _finite(0);
61015 return 0;
61017 _ACEOF
61018 if ac_fn_cxx_try_compile "$LINENO"; then :
61019 glibcxx_cv_func__finite_use=yes
61020 else
61021 glibcxx_cv_func__finite_use=no
61023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61024 ac_ext=c
61025 ac_cpp='$CPP $CPPFLAGS'
61026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61035 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
61037 if test x$glibcxx_cv_func__finite_use = x"yes"; then
61038 for ac_func in _finite
61039 do :
61040 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61041 if test "x$ac_cv_func__finite" = xyes; then :
61042 cat >>confdefs.h <<_ACEOF
61043 #define HAVE__FINITE 1
61044 _ACEOF
61047 done
61056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61057 $as_echo_n "checking for sincos declaration... " >&6; }
61058 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61059 if ${glibcxx_cv_func_sincos_use+:} false; then :
61060 $as_echo_n "(cached) " >&6
61061 else
61064 ac_ext=cpp
61065 ac_cpp='$CXXCPP $CPPFLAGS'
61066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61071 /* end confdefs.h. */
61072 #include <math.h>
61074 main ()
61076 sincos(0, 0, 0);
61078 return 0;
61080 _ACEOF
61081 if ac_fn_cxx_try_compile "$LINENO"; then :
61082 glibcxx_cv_func_sincos_use=yes
61083 else
61084 glibcxx_cv_func_sincos_use=no
61086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61087 ac_ext=c
61088 ac_cpp='$CPP $CPPFLAGS'
61089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61098 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61100 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61101 for ac_func in sincos
61102 do :
61103 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61104 if test "x$ac_cv_func_sincos" = xyes; then :
61105 cat >>confdefs.h <<_ACEOF
61106 #define HAVE_SINCOS 1
61107 _ACEOF
61110 done
61112 else
61114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61115 $as_echo_n "checking for _sincos declaration... " >&6; }
61116 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61117 if ${glibcxx_cv_func__sincos_use+:} false; then :
61118 $as_echo_n "(cached) " >&6
61119 else
61122 ac_ext=cpp
61123 ac_cpp='$CXXCPP $CPPFLAGS'
61124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61129 /* end confdefs.h. */
61130 #include <math.h>
61132 main ()
61134 _sincos(0, 0, 0);
61136 return 0;
61138 _ACEOF
61139 if ac_fn_cxx_try_compile "$LINENO"; then :
61140 glibcxx_cv_func__sincos_use=yes
61141 else
61142 glibcxx_cv_func__sincos_use=no
61144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61145 ac_ext=c
61146 ac_cpp='$CPP $CPPFLAGS'
61147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61156 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61158 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61159 for ac_func in _sincos
61160 do :
61161 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61162 if test "x$ac_cv_func__sincos" = xyes; then :
61163 cat >>confdefs.h <<_ACEOF
61164 #define HAVE__SINCOS 1
61165 _ACEOF
61168 done
61177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61178 $as_echo_n "checking for fpclass declaration... " >&6; }
61179 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61180 if ${glibcxx_cv_func_fpclass_use+:} false; then :
61181 $as_echo_n "(cached) " >&6
61182 else
61185 ac_ext=cpp
61186 ac_cpp='$CXXCPP $CPPFLAGS'
61187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61192 /* end confdefs.h. */
61193 #include <math.h>
61194 #ifdef HAVE_IEEEFP_H
61195 #include <ieeefp.h>
61196 #endif
61199 main ()
61201 fpclass(0);
61203 return 0;
61205 _ACEOF
61206 if ac_fn_cxx_try_compile "$LINENO"; then :
61207 glibcxx_cv_func_fpclass_use=yes
61208 else
61209 glibcxx_cv_func_fpclass_use=no
61211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61212 ac_ext=c
61213 ac_cpp='$CPP $CPPFLAGS'
61214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61223 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61225 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61226 for ac_func in fpclass
61227 do :
61228 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61229 if test "x$ac_cv_func_fpclass" = xyes; then :
61230 cat >>confdefs.h <<_ACEOF
61231 #define HAVE_FPCLASS 1
61232 _ACEOF
61235 done
61237 else
61239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
61240 $as_echo_n "checking for _fpclass declaration... " >&6; }
61241 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61242 if ${glibcxx_cv_func__fpclass_use+:} false; then :
61243 $as_echo_n "(cached) " >&6
61244 else
61247 ac_ext=cpp
61248 ac_cpp='$CXXCPP $CPPFLAGS'
61249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61254 /* end confdefs.h. */
61255 #include <math.h>
61256 #ifdef HAVE_IEEEFP_H
61257 #include <ieeefp.h>
61258 #endif
61261 main ()
61263 _fpclass(0);
61265 return 0;
61267 _ACEOF
61268 if ac_fn_cxx_try_compile "$LINENO"; then :
61269 glibcxx_cv_func__fpclass_use=yes
61270 else
61271 glibcxx_cv_func__fpclass_use=no
61273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61274 ac_ext=c
61275 ac_cpp='$CPP $CPPFLAGS'
61276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61285 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61287 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61288 for ac_func in _fpclass
61289 do :
61290 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61291 if test "x$ac_cv_func__fpclass" = xyes; then :
61292 cat >>confdefs.h <<_ACEOF
61293 #define HAVE__FPCLASS 1
61294 _ACEOF
61297 done
61306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61307 $as_echo_n "checking for qfpclass declaration... " >&6; }
61308 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61309 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
61310 $as_echo_n "(cached) " >&6
61311 else
61314 ac_ext=cpp
61315 ac_cpp='$CXXCPP $CPPFLAGS'
61316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61321 /* end confdefs.h. */
61322 #include <math.h>
61323 #ifdef HAVE_IEEEFP_H
61324 #include <ieeefp.h>
61325 #endif
61328 main ()
61330 qfpclass(0);
61332 return 0;
61334 _ACEOF
61335 if ac_fn_cxx_try_compile "$LINENO"; then :
61336 glibcxx_cv_func_qfpclass_use=yes
61337 else
61338 glibcxx_cv_func_qfpclass_use=no
61340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61341 ac_ext=c
61342 ac_cpp='$CPP $CPPFLAGS'
61343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61352 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61354 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61355 for ac_func in qfpclass
61356 do :
61357 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61358 if test "x$ac_cv_func_qfpclass" = xyes; then :
61359 cat >>confdefs.h <<_ACEOF
61360 #define HAVE_QFPCLASS 1
61361 _ACEOF
61364 done
61366 else
61368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61369 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61370 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61371 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
61372 $as_echo_n "(cached) " >&6
61373 else
61376 ac_ext=cpp
61377 ac_cpp='$CXXCPP $CPPFLAGS'
61378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61383 /* end confdefs.h. */
61384 #include <math.h>
61385 #ifdef HAVE_IEEEFP_H
61386 #include <ieeefp.h>
61387 #endif
61390 main ()
61392 _qfpclass(0);
61394 return 0;
61396 _ACEOF
61397 if ac_fn_cxx_try_compile "$LINENO"; then :
61398 glibcxx_cv_func__qfpclass_use=yes
61399 else
61400 glibcxx_cv_func__qfpclass_use=no
61402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61403 ac_ext=c
61404 ac_cpp='$CPP $CPPFLAGS'
61405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61414 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61416 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61417 for ac_func in _qfpclass
61418 do :
61419 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61420 if test "x$ac_cv_func__qfpclass" = xyes; then :
61421 cat >>confdefs.h <<_ACEOF
61422 #define HAVE__QFPCLASS 1
61423 _ACEOF
61426 done
61435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61436 $as_echo_n "checking for hypot declaration... " >&6; }
61437 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61438 if ${glibcxx_cv_func_hypot_use+:} false; then :
61439 $as_echo_n "(cached) " >&6
61440 else
61443 ac_ext=cpp
61444 ac_cpp='$CXXCPP $CPPFLAGS'
61445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61450 /* end confdefs.h. */
61451 #include <math.h>
61453 main ()
61455 hypot(0, 0);
61457 return 0;
61459 _ACEOF
61460 if ac_fn_cxx_try_compile "$LINENO"; then :
61461 glibcxx_cv_func_hypot_use=yes
61462 else
61463 glibcxx_cv_func_hypot_use=no
61465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61466 ac_ext=c
61467 ac_cpp='$CPP $CPPFLAGS'
61468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61477 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61479 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61480 for ac_func in hypot
61481 do :
61482 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61483 if test "x$ac_cv_func_hypot" = xyes; then :
61484 cat >>confdefs.h <<_ACEOF
61485 #define HAVE_HYPOT 1
61486 _ACEOF
61489 done
61491 else
61493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61494 $as_echo_n "checking for _hypot declaration... " >&6; }
61495 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61496 if ${glibcxx_cv_func__hypot_use+:} false; then :
61497 $as_echo_n "(cached) " >&6
61498 else
61501 ac_ext=cpp
61502 ac_cpp='$CXXCPP $CPPFLAGS'
61503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61508 /* end confdefs.h. */
61509 #include <math.h>
61511 main ()
61513 _hypot(0, 0);
61515 return 0;
61517 _ACEOF
61518 if ac_fn_cxx_try_compile "$LINENO"; then :
61519 glibcxx_cv_func__hypot_use=yes
61520 else
61521 glibcxx_cv_func__hypot_use=no
61523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61524 ac_ext=c
61525 ac_cpp='$CPP $CPPFLAGS'
61526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61535 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61537 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61538 for ac_func in _hypot
61539 do :
61540 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61541 if test "x$ac_cv_func__hypot" = xyes; then :
61542 cat >>confdefs.h <<_ACEOF
61543 #define HAVE__HYPOT 1
61544 _ACEOF
61547 done
61556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61557 $as_echo_n "checking for float trig functions... " >&6; }
61558 if ${glibcxx_cv_func_float_trig_use+:} false; then :
61559 $as_echo_n "(cached) " >&6
61560 else
61563 ac_ext=cpp
61564 ac_cpp='$CXXCPP $CPPFLAGS'
61565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61570 /* end confdefs.h. */
61571 #include <math.h>
61573 main ()
61575 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61577 return 0;
61579 _ACEOF
61580 if ac_fn_cxx_try_compile "$LINENO"; then :
61581 glibcxx_cv_func_float_trig_use=yes
61582 else
61583 glibcxx_cv_func_float_trig_use=no
61585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61586 ac_ext=c
61587 ac_cpp='$CPP $CPPFLAGS'
61588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61595 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61596 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61597 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61598 do :
61599 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61600 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61601 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61602 cat >>confdefs.h <<_ACEOF
61603 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61604 _ACEOF
61607 done
61609 else
61610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61611 $as_echo_n "checking for _float trig functions... " >&6; }
61612 if ${glibcxx_cv_func__float_trig_use+:} false; then :
61613 $as_echo_n "(cached) " >&6
61614 else
61617 ac_ext=cpp
61618 ac_cpp='$CXXCPP $CPPFLAGS'
61619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61624 /* end confdefs.h. */
61625 #include <math.h>
61627 main ()
61629 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61631 return 0;
61633 _ACEOF
61634 if ac_fn_cxx_try_compile "$LINENO"; then :
61635 glibcxx_cv_func__float_trig_use=yes
61636 else
61637 glibcxx_cv_func__float_trig_use=no
61639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61640 ac_ext=c
61641 ac_cpp='$CPP $CPPFLAGS'
61642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61649 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61650 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61651 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61652 do :
61653 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61654 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61655 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61656 cat >>confdefs.h <<_ACEOF
61657 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61658 _ACEOF
61661 done
61670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61671 $as_echo_n "checking for float round functions... " >&6; }
61672 if ${glibcxx_cv_func_float_round_use+:} false; then :
61673 $as_echo_n "(cached) " >&6
61674 else
61677 ac_ext=cpp
61678 ac_cpp='$CXXCPP $CPPFLAGS'
61679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61684 /* end confdefs.h. */
61685 #include <math.h>
61687 main ()
61689 ceilf (0); floorf (0);
61691 return 0;
61693 _ACEOF
61694 if ac_fn_cxx_try_compile "$LINENO"; then :
61695 glibcxx_cv_func_float_round_use=yes
61696 else
61697 glibcxx_cv_func_float_round_use=no
61699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61700 ac_ext=c
61701 ac_cpp='$CPP $CPPFLAGS'
61702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61709 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61710 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61711 for ac_func in ceilf floorf
61712 do :
61713 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61714 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61715 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61716 cat >>confdefs.h <<_ACEOF
61717 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61718 _ACEOF
61721 done
61723 else
61724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61725 $as_echo_n "checking for _float round functions... " >&6; }
61726 if ${glibcxx_cv_func__float_round_use+:} false; then :
61727 $as_echo_n "(cached) " >&6
61728 else
61731 ac_ext=cpp
61732 ac_cpp='$CXXCPP $CPPFLAGS'
61733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61738 /* end confdefs.h. */
61739 #include <math.h>
61741 main ()
61743 _ceilf (0); _floorf (0);
61745 return 0;
61747 _ACEOF
61748 if ac_fn_cxx_try_compile "$LINENO"; then :
61749 glibcxx_cv_func__float_round_use=yes
61750 else
61751 glibcxx_cv_func__float_round_use=no
61753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61754 ac_ext=c
61755 ac_cpp='$CPP $CPPFLAGS'
61756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61763 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61764 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61765 for ac_func in _ceilf _floorf
61766 do :
61767 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61768 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61769 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61770 cat >>confdefs.h <<_ACEOF
61771 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61772 _ACEOF
61775 done
61785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61786 $as_echo_n "checking for expf declaration... " >&6; }
61787 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61788 if ${glibcxx_cv_func_expf_use+:} false; then :
61789 $as_echo_n "(cached) " >&6
61790 else
61793 ac_ext=cpp
61794 ac_cpp='$CXXCPP $CPPFLAGS'
61795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61800 /* end confdefs.h. */
61801 #include <math.h>
61802 #ifdef HAVE_IEEEFP_H
61803 #include <ieeefp.h>
61804 #endif
61807 main ()
61809 expf(0);
61811 return 0;
61813 _ACEOF
61814 if ac_fn_cxx_try_compile "$LINENO"; then :
61815 glibcxx_cv_func_expf_use=yes
61816 else
61817 glibcxx_cv_func_expf_use=no
61819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61820 ac_ext=c
61821 ac_cpp='$CPP $CPPFLAGS'
61822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61831 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61833 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61834 for ac_func in expf
61835 do :
61836 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61837 if test "x$ac_cv_func_expf" = xyes; then :
61838 cat >>confdefs.h <<_ACEOF
61839 #define HAVE_EXPF 1
61840 _ACEOF
61843 done
61845 else
61847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61848 $as_echo_n "checking for _expf declaration... " >&6; }
61849 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61850 if ${glibcxx_cv_func__expf_use+:} false; then :
61851 $as_echo_n "(cached) " >&6
61852 else
61855 ac_ext=cpp
61856 ac_cpp='$CXXCPP $CPPFLAGS'
61857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61862 /* end confdefs.h. */
61863 #include <math.h>
61864 #ifdef HAVE_IEEEFP_H
61865 #include <ieeefp.h>
61866 #endif
61869 main ()
61871 _expf(0);
61873 return 0;
61875 _ACEOF
61876 if ac_fn_cxx_try_compile "$LINENO"; then :
61877 glibcxx_cv_func__expf_use=yes
61878 else
61879 glibcxx_cv_func__expf_use=no
61881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61882 ac_ext=c
61883 ac_cpp='$CPP $CPPFLAGS'
61884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61893 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61895 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61896 for ac_func in _expf
61897 do :
61898 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61899 if test "x$ac_cv_func__expf" = xyes; then :
61900 cat >>confdefs.h <<_ACEOF
61901 #define HAVE__EXPF 1
61902 _ACEOF
61905 done
61914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61915 $as_echo_n "checking for isnanf declaration... " >&6; }
61916 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61917 if ${glibcxx_cv_func_isnanf_use+:} false; then :
61918 $as_echo_n "(cached) " >&6
61919 else
61922 ac_ext=cpp
61923 ac_cpp='$CXXCPP $CPPFLAGS'
61924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61929 /* end confdefs.h. */
61930 #include <math.h>
61931 #ifdef HAVE_IEEEFP_H
61932 #include <ieeefp.h>
61933 #endif
61936 main ()
61938 isnanf(0);
61940 return 0;
61942 _ACEOF
61943 if ac_fn_cxx_try_compile "$LINENO"; then :
61944 glibcxx_cv_func_isnanf_use=yes
61945 else
61946 glibcxx_cv_func_isnanf_use=no
61948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61949 ac_ext=c
61950 ac_cpp='$CPP $CPPFLAGS'
61951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61960 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61962 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61963 for ac_func in isnanf
61964 do :
61965 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61966 if test "x$ac_cv_func_isnanf" = xyes; then :
61967 cat >>confdefs.h <<_ACEOF
61968 #define HAVE_ISNANF 1
61969 _ACEOF
61972 done
61974 else
61976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61977 $as_echo_n "checking for _isnanf declaration... " >&6; }
61978 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61979 if ${glibcxx_cv_func__isnanf_use+:} false; then :
61980 $as_echo_n "(cached) " >&6
61981 else
61984 ac_ext=cpp
61985 ac_cpp='$CXXCPP $CPPFLAGS'
61986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61991 /* end confdefs.h. */
61992 #include <math.h>
61993 #ifdef HAVE_IEEEFP_H
61994 #include <ieeefp.h>
61995 #endif
61998 main ()
62000 _isnanf(0);
62002 return 0;
62004 _ACEOF
62005 if ac_fn_cxx_try_compile "$LINENO"; then :
62006 glibcxx_cv_func__isnanf_use=yes
62007 else
62008 glibcxx_cv_func__isnanf_use=no
62010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62011 ac_ext=c
62012 ac_cpp='$CPP $CPPFLAGS'
62013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62022 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62024 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62025 for ac_func in _isnanf
62026 do :
62027 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62028 if test "x$ac_cv_func__isnanf" = xyes; then :
62029 cat >>confdefs.h <<_ACEOF
62030 #define HAVE__ISNANF 1
62031 _ACEOF
62034 done
62043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62044 $as_echo_n "checking for isinff declaration... " >&6; }
62045 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62046 if ${glibcxx_cv_func_isinff_use+:} false; then :
62047 $as_echo_n "(cached) " >&6
62048 else
62051 ac_ext=cpp
62052 ac_cpp='$CXXCPP $CPPFLAGS'
62053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62058 /* end confdefs.h. */
62059 #include <math.h>
62060 #ifdef HAVE_IEEEFP_H
62061 #include <ieeefp.h>
62062 #endif
62065 main ()
62067 isinff(0);
62069 return 0;
62071 _ACEOF
62072 if ac_fn_cxx_try_compile "$LINENO"; then :
62073 glibcxx_cv_func_isinff_use=yes
62074 else
62075 glibcxx_cv_func_isinff_use=no
62077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62078 ac_ext=c
62079 ac_cpp='$CPP $CPPFLAGS'
62080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62089 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62091 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62092 for ac_func in isinff
62093 do :
62094 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62095 if test "x$ac_cv_func_isinff" = xyes; then :
62096 cat >>confdefs.h <<_ACEOF
62097 #define HAVE_ISINFF 1
62098 _ACEOF
62101 done
62103 else
62105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62106 $as_echo_n "checking for _isinff declaration... " >&6; }
62107 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62108 if ${glibcxx_cv_func__isinff_use+:} false; then :
62109 $as_echo_n "(cached) " >&6
62110 else
62113 ac_ext=cpp
62114 ac_cpp='$CXXCPP $CPPFLAGS'
62115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62120 /* end confdefs.h. */
62121 #include <math.h>
62122 #ifdef HAVE_IEEEFP_H
62123 #include <ieeefp.h>
62124 #endif
62127 main ()
62129 _isinff(0);
62131 return 0;
62133 _ACEOF
62134 if ac_fn_cxx_try_compile "$LINENO"; then :
62135 glibcxx_cv_func__isinff_use=yes
62136 else
62137 glibcxx_cv_func__isinff_use=no
62139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62140 ac_ext=c
62141 ac_cpp='$CPP $CPPFLAGS'
62142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62151 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62153 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62154 for ac_func in _isinff
62155 do :
62156 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62157 if test "x$ac_cv_func__isinff" = xyes; then :
62158 cat >>confdefs.h <<_ACEOF
62159 #define HAVE__ISINFF 1
62160 _ACEOF
62163 done
62172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62173 $as_echo_n "checking for atan2f declaration... " >&6; }
62174 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62175 if ${glibcxx_cv_func_atan2f_use+:} false; then :
62176 $as_echo_n "(cached) " >&6
62177 else
62180 ac_ext=cpp
62181 ac_cpp='$CXXCPP $CPPFLAGS'
62182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62187 /* end confdefs.h. */
62188 #include <math.h>
62190 main ()
62192 atan2f(0, 0);
62194 return 0;
62196 _ACEOF
62197 if ac_fn_cxx_try_compile "$LINENO"; then :
62198 glibcxx_cv_func_atan2f_use=yes
62199 else
62200 glibcxx_cv_func_atan2f_use=no
62202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62203 ac_ext=c
62204 ac_cpp='$CPP $CPPFLAGS'
62205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62214 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62216 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62217 for ac_func in atan2f
62218 do :
62219 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62220 if test "x$ac_cv_func_atan2f" = xyes; then :
62221 cat >>confdefs.h <<_ACEOF
62222 #define HAVE_ATAN2F 1
62223 _ACEOF
62226 done
62228 else
62230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62231 $as_echo_n "checking for _atan2f declaration... " >&6; }
62232 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62233 if ${glibcxx_cv_func__atan2f_use+:} false; then :
62234 $as_echo_n "(cached) " >&6
62235 else
62238 ac_ext=cpp
62239 ac_cpp='$CXXCPP $CPPFLAGS'
62240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62245 /* end confdefs.h. */
62246 #include <math.h>
62248 main ()
62250 _atan2f(0, 0);
62252 return 0;
62254 _ACEOF
62255 if ac_fn_cxx_try_compile "$LINENO"; then :
62256 glibcxx_cv_func__atan2f_use=yes
62257 else
62258 glibcxx_cv_func__atan2f_use=no
62260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62261 ac_ext=c
62262 ac_cpp='$CPP $CPPFLAGS'
62263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62272 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62274 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62275 for ac_func in _atan2f
62276 do :
62277 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62278 if test "x$ac_cv_func__atan2f" = xyes; then :
62279 cat >>confdefs.h <<_ACEOF
62280 #define HAVE__ATAN2F 1
62281 _ACEOF
62284 done
62293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62294 $as_echo_n "checking for fabsf declaration... " >&6; }
62295 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62296 if ${glibcxx_cv_func_fabsf_use+:} false; then :
62297 $as_echo_n "(cached) " >&6
62298 else
62301 ac_ext=cpp
62302 ac_cpp='$CXXCPP $CPPFLAGS'
62303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62308 /* end confdefs.h. */
62309 #include <math.h>
62310 #ifdef HAVE_IEEEFP_H
62311 #include <ieeefp.h>
62312 #endif
62315 main ()
62317 fabsf(0);
62319 return 0;
62321 _ACEOF
62322 if ac_fn_cxx_try_compile "$LINENO"; then :
62323 glibcxx_cv_func_fabsf_use=yes
62324 else
62325 glibcxx_cv_func_fabsf_use=no
62327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62328 ac_ext=c
62329 ac_cpp='$CPP $CPPFLAGS'
62330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62339 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62341 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62342 for ac_func in fabsf
62343 do :
62344 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62345 if test "x$ac_cv_func_fabsf" = xyes; then :
62346 cat >>confdefs.h <<_ACEOF
62347 #define HAVE_FABSF 1
62348 _ACEOF
62351 done
62353 else
62355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62356 $as_echo_n "checking for _fabsf declaration... " >&6; }
62357 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62358 if ${glibcxx_cv_func__fabsf_use+:} false; then :
62359 $as_echo_n "(cached) " >&6
62360 else
62363 ac_ext=cpp
62364 ac_cpp='$CXXCPP $CPPFLAGS'
62365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62370 /* end confdefs.h. */
62371 #include <math.h>
62372 #ifdef HAVE_IEEEFP_H
62373 #include <ieeefp.h>
62374 #endif
62377 main ()
62379 _fabsf(0);
62381 return 0;
62383 _ACEOF
62384 if ac_fn_cxx_try_compile "$LINENO"; then :
62385 glibcxx_cv_func__fabsf_use=yes
62386 else
62387 glibcxx_cv_func__fabsf_use=no
62389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62390 ac_ext=c
62391 ac_cpp='$CPP $CPPFLAGS'
62392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62401 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62403 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62404 for ac_func in _fabsf
62405 do :
62406 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62407 if test "x$ac_cv_func__fabsf" = xyes; then :
62408 cat >>confdefs.h <<_ACEOF
62409 #define HAVE__FABSF 1
62410 _ACEOF
62413 done
62422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62423 $as_echo_n "checking for fmodf declaration... " >&6; }
62424 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62425 if ${glibcxx_cv_func_fmodf_use+:} false; then :
62426 $as_echo_n "(cached) " >&6
62427 else
62430 ac_ext=cpp
62431 ac_cpp='$CXXCPP $CPPFLAGS'
62432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62437 /* end confdefs.h. */
62438 #include <math.h>
62440 main ()
62442 fmodf(0, 0);
62444 return 0;
62446 _ACEOF
62447 if ac_fn_cxx_try_compile "$LINENO"; then :
62448 glibcxx_cv_func_fmodf_use=yes
62449 else
62450 glibcxx_cv_func_fmodf_use=no
62452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62453 ac_ext=c
62454 ac_cpp='$CPP $CPPFLAGS'
62455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62464 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62466 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62467 for ac_func in fmodf
62468 do :
62469 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62470 if test "x$ac_cv_func_fmodf" = xyes; then :
62471 cat >>confdefs.h <<_ACEOF
62472 #define HAVE_FMODF 1
62473 _ACEOF
62476 done
62478 else
62480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62481 $as_echo_n "checking for _fmodf declaration... " >&6; }
62482 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62483 if ${glibcxx_cv_func__fmodf_use+:} false; then :
62484 $as_echo_n "(cached) " >&6
62485 else
62488 ac_ext=cpp
62489 ac_cpp='$CXXCPP $CPPFLAGS'
62490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62495 /* end confdefs.h. */
62496 #include <math.h>
62498 main ()
62500 _fmodf(0, 0);
62502 return 0;
62504 _ACEOF
62505 if ac_fn_cxx_try_compile "$LINENO"; then :
62506 glibcxx_cv_func__fmodf_use=yes
62507 else
62508 glibcxx_cv_func__fmodf_use=no
62510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62511 ac_ext=c
62512 ac_cpp='$CPP $CPPFLAGS'
62513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62522 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62524 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62525 for ac_func in _fmodf
62526 do :
62527 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62528 if test "x$ac_cv_func__fmodf" = xyes; then :
62529 cat >>confdefs.h <<_ACEOF
62530 #define HAVE__FMODF 1
62531 _ACEOF
62534 done
62543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62544 $as_echo_n "checking for frexpf declaration... " >&6; }
62545 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62546 if ${glibcxx_cv_func_frexpf_use+:} false; then :
62547 $as_echo_n "(cached) " >&6
62548 else
62551 ac_ext=cpp
62552 ac_cpp='$CXXCPP $CPPFLAGS'
62553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62558 /* end confdefs.h. */
62559 #include <math.h>
62561 main ()
62563 frexpf(0, 0);
62565 return 0;
62567 _ACEOF
62568 if ac_fn_cxx_try_compile "$LINENO"; then :
62569 glibcxx_cv_func_frexpf_use=yes
62570 else
62571 glibcxx_cv_func_frexpf_use=no
62573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62574 ac_ext=c
62575 ac_cpp='$CPP $CPPFLAGS'
62576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62585 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62587 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62588 for ac_func in frexpf
62589 do :
62590 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62591 if test "x$ac_cv_func_frexpf" = xyes; then :
62592 cat >>confdefs.h <<_ACEOF
62593 #define HAVE_FREXPF 1
62594 _ACEOF
62597 done
62599 else
62601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62602 $as_echo_n "checking for _frexpf declaration... " >&6; }
62603 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62604 if ${glibcxx_cv_func__frexpf_use+:} false; then :
62605 $as_echo_n "(cached) " >&6
62606 else
62609 ac_ext=cpp
62610 ac_cpp='$CXXCPP $CPPFLAGS'
62611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62616 /* end confdefs.h. */
62617 #include <math.h>
62619 main ()
62621 _frexpf(0, 0);
62623 return 0;
62625 _ACEOF
62626 if ac_fn_cxx_try_compile "$LINENO"; then :
62627 glibcxx_cv_func__frexpf_use=yes
62628 else
62629 glibcxx_cv_func__frexpf_use=no
62631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62632 ac_ext=c
62633 ac_cpp='$CPP $CPPFLAGS'
62634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62643 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62645 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62646 for ac_func in _frexpf
62647 do :
62648 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62649 if test "x$ac_cv_func__frexpf" = xyes; then :
62650 cat >>confdefs.h <<_ACEOF
62651 #define HAVE__FREXPF 1
62652 _ACEOF
62655 done
62664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62665 $as_echo_n "checking for hypotf declaration... " >&6; }
62666 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62667 if ${glibcxx_cv_func_hypotf_use+:} false; then :
62668 $as_echo_n "(cached) " >&6
62669 else
62672 ac_ext=cpp
62673 ac_cpp='$CXXCPP $CPPFLAGS'
62674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62679 /* end confdefs.h. */
62680 #include <math.h>
62682 main ()
62684 hypotf(0, 0);
62686 return 0;
62688 _ACEOF
62689 if ac_fn_cxx_try_compile "$LINENO"; then :
62690 glibcxx_cv_func_hypotf_use=yes
62691 else
62692 glibcxx_cv_func_hypotf_use=no
62694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62695 ac_ext=c
62696 ac_cpp='$CPP $CPPFLAGS'
62697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62706 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62708 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62709 for ac_func in hypotf
62710 do :
62711 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62712 if test "x$ac_cv_func_hypotf" = xyes; then :
62713 cat >>confdefs.h <<_ACEOF
62714 #define HAVE_HYPOTF 1
62715 _ACEOF
62718 done
62720 else
62722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62723 $as_echo_n "checking for _hypotf declaration... " >&6; }
62724 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62725 if ${glibcxx_cv_func__hypotf_use+:} false; then :
62726 $as_echo_n "(cached) " >&6
62727 else
62730 ac_ext=cpp
62731 ac_cpp='$CXXCPP $CPPFLAGS'
62732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62737 /* end confdefs.h. */
62738 #include <math.h>
62740 main ()
62742 _hypotf(0, 0);
62744 return 0;
62746 _ACEOF
62747 if ac_fn_cxx_try_compile "$LINENO"; then :
62748 glibcxx_cv_func__hypotf_use=yes
62749 else
62750 glibcxx_cv_func__hypotf_use=no
62752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62753 ac_ext=c
62754 ac_cpp='$CPP $CPPFLAGS'
62755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62764 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62766 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62767 for ac_func in _hypotf
62768 do :
62769 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62770 if test "x$ac_cv_func__hypotf" = xyes; then :
62771 cat >>confdefs.h <<_ACEOF
62772 #define HAVE__HYPOTF 1
62773 _ACEOF
62776 done
62785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62786 $as_echo_n "checking for ldexpf declaration... " >&6; }
62787 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62788 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
62789 $as_echo_n "(cached) " >&6
62790 else
62793 ac_ext=cpp
62794 ac_cpp='$CXXCPP $CPPFLAGS'
62795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62800 /* end confdefs.h. */
62801 #include <math.h>
62803 main ()
62805 ldexpf(0, 0);
62807 return 0;
62809 _ACEOF
62810 if ac_fn_cxx_try_compile "$LINENO"; then :
62811 glibcxx_cv_func_ldexpf_use=yes
62812 else
62813 glibcxx_cv_func_ldexpf_use=no
62815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62816 ac_ext=c
62817 ac_cpp='$CPP $CPPFLAGS'
62818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62827 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62829 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62830 for ac_func in ldexpf
62831 do :
62832 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62833 if test "x$ac_cv_func_ldexpf" = xyes; then :
62834 cat >>confdefs.h <<_ACEOF
62835 #define HAVE_LDEXPF 1
62836 _ACEOF
62839 done
62841 else
62843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62844 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62845 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62846 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
62847 $as_echo_n "(cached) " >&6
62848 else
62851 ac_ext=cpp
62852 ac_cpp='$CXXCPP $CPPFLAGS'
62853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62858 /* end confdefs.h. */
62859 #include <math.h>
62861 main ()
62863 _ldexpf(0, 0);
62865 return 0;
62867 _ACEOF
62868 if ac_fn_cxx_try_compile "$LINENO"; then :
62869 glibcxx_cv_func__ldexpf_use=yes
62870 else
62871 glibcxx_cv_func__ldexpf_use=no
62873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62874 ac_ext=c
62875 ac_cpp='$CPP $CPPFLAGS'
62876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62885 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62887 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62888 for ac_func in _ldexpf
62889 do :
62890 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62891 if test "x$ac_cv_func__ldexpf" = xyes; then :
62892 cat >>confdefs.h <<_ACEOF
62893 #define HAVE__LDEXPF 1
62894 _ACEOF
62897 done
62906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62907 $as_echo_n "checking for logf declaration... " >&6; }
62908 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62909 if ${glibcxx_cv_func_logf_use+:} false; then :
62910 $as_echo_n "(cached) " >&6
62911 else
62914 ac_ext=cpp
62915 ac_cpp='$CXXCPP $CPPFLAGS'
62916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62921 /* end confdefs.h. */
62922 #include <math.h>
62923 #ifdef HAVE_IEEEFP_H
62924 #include <ieeefp.h>
62925 #endif
62928 main ()
62930 logf(0);
62932 return 0;
62934 _ACEOF
62935 if ac_fn_cxx_try_compile "$LINENO"; then :
62936 glibcxx_cv_func_logf_use=yes
62937 else
62938 glibcxx_cv_func_logf_use=no
62940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62941 ac_ext=c
62942 ac_cpp='$CPP $CPPFLAGS'
62943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62952 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62954 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62955 for ac_func in logf
62956 do :
62957 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62958 if test "x$ac_cv_func_logf" = xyes; then :
62959 cat >>confdefs.h <<_ACEOF
62960 #define HAVE_LOGF 1
62961 _ACEOF
62964 done
62966 else
62968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62969 $as_echo_n "checking for _logf declaration... " >&6; }
62970 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62971 if ${glibcxx_cv_func__logf_use+:} false; then :
62972 $as_echo_n "(cached) " >&6
62973 else
62976 ac_ext=cpp
62977 ac_cpp='$CXXCPP $CPPFLAGS'
62978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62983 /* end confdefs.h. */
62984 #include <math.h>
62985 #ifdef HAVE_IEEEFP_H
62986 #include <ieeefp.h>
62987 #endif
62990 main ()
62992 _logf(0);
62994 return 0;
62996 _ACEOF
62997 if ac_fn_cxx_try_compile "$LINENO"; then :
62998 glibcxx_cv_func__logf_use=yes
62999 else
63000 glibcxx_cv_func__logf_use=no
63002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63003 ac_ext=c
63004 ac_cpp='$CPP $CPPFLAGS'
63005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63014 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
63016 if test x$glibcxx_cv_func__logf_use = x"yes"; then
63017 for ac_func in _logf
63018 do :
63019 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63020 if test "x$ac_cv_func__logf" = xyes; then :
63021 cat >>confdefs.h <<_ACEOF
63022 #define HAVE__LOGF 1
63023 _ACEOF
63026 done
63035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63036 $as_echo_n "checking for log10f declaration... " >&6; }
63037 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63038 if ${glibcxx_cv_func_log10f_use+:} false; then :
63039 $as_echo_n "(cached) " >&6
63040 else
63043 ac_ext=cpp
63044 ac_cpp='$CXXCPP $CPPFLAGS'
63045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63050 /* end confdefs.h. */
63051 #include <math.h>
63052 #ifdef HAVE_IEEEFP_H
63053 #include <ieeefp.h>
63054 #endif
63057 main ()
63059 log10f(0);
63061 return 0;
63063 _ACEOF
63064 if ac_fn_cxx_try_compile "$LINENO"; then :
63065 glibcxx_cv_func_log10f_use=yes
63066 else
63067 glibcxx_cv_func_log10f_use=no
63069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63070 ac_ext=c
63071 ac_cpp='$CPP $CPPFLAGS'
63072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63081 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63083 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63084 for ac_func in log10f
63085 do :
63086 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63087 if test "x$ac_cv_func_log10f" = xyes; then :
63088 cat >>confdefs.h <<_ACEOF
63089 #define HAVE_LOG10F 1
63090 _ACEOF
63093 done
63095 else
63097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63098 $as_echo_n "checking for _log10f declaration... " >&6; }
63099 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63100 if ${glibcxx_cv_func__log10f_use+:} false; then :
63101 $as_echo_n "(cached) " >&6
63102 else
63105 ac_ext=cpp
63106 ac_cpp='$CXXCPP $CPPFLAGS'
63107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63112 /* end confdefs.h. */
63113 #include <math.h>
63114 #ifdef HAVE_IEEEFP_H
63115 #include <ieeefp.h>
63116 #endif
63119 main ()
63121 _log10f(0);
63123 return 0;
63125 _ACEOF
63126 if ac_fn_cxx_try_compile "$LINENO"; then :
63127 glibcxx_cv_func__log10f_use=yes
63128 else
63129 glibcxx_cv_func__log10f_use=no
63131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63132 ac_ext=c
63133 ac_cpp='$CPP $CPPFLAGS'
63134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63143 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63145 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63146 for ac_func in _log10f
63147 do :
63148 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63149 if test "x$ac_cv_func__log10f" = xyes; then :
63150 cat >>confdefs.h <<_ACEOF
63151 #define HAVE__LOG10F 1
63152 _ACEOF
63155 done
63164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63165 $as_echo_n "checking for modff declaration... " >&6; }
63166 if test x${glibcxx_cv_func_modff_use+set} != xset; then
63167 if ${glibcxx_cv_func_modff_use+:} false; then :
63168 $as_echo_n "(cached) " >&6
63169 else
63172 ac_ext=cpp
63173 ac_cpp='$CXXCPP $CPPFLAGS'
63174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63179 /* end confdefs.h. */
63180 #include <math.h>
63182 main ()
63184 modff(0, 0);
63186 return 0;
63188 _ACEOF
63189 if ac_fn_cxx_try_compile "$LINENO"; then :
63190 glibcxx_cv_func_modff_use=yes
63191 else
63192 glibcxx_cv_func_modff_use=no
63194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63195 ac_ext=c
63196 ac_cpp='$CPP $CPPFLAGS'
63197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63206 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
63208 if test x$glibcxx_cv_func_modff_use = x"yes"; then
63209 for ac_func in modff
63210 do :
63211 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63212 if test "x$ac_cv_func_modff" = xyes; then :
63213 cat >>confdefs.h <<_ACEOF
63214 #define HAVE_MODFF 1
63215 _ACEOF
63218 done
63220 else
63222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63223 $as_echo_n "checking for _modff declaration... " >&6; }
63224 if test x${glibcxx_cv_func__modff_use+set} != xset; then
63225 if ${glibcxx_cv_func__modff_use+:} false; then :
63226 $as_echo_n "(cached) " >&6
63227 else
63230 ac_ext=cpp
63231 ac_cpp='$CXXCPP $CPPFLAGS'
63232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63237 /* end confdefs.h. */
63238 #include <math.h>
63240 main ()
63242 _modff(0, 0);
63244 return 0;
63246 _ACEOF
63247 if ac_fn_cxx_try_compile "$LINENO"; then :
63248 glibcxx_cv_func__modff_use=yes
63249 else
63250 glibcxx_cv_func__modff_use=no
63252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63253 ac_ext=c
63254 ac_cpp='$CPP $CPPFLAGS'
63255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
63264 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
63266 if test x$glibcxx_cv_func__modff_use = x"yes"; then
63267 for ac_func in _modff
63268 do :
63269 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63270 if test "x$ac_cv_func__modff" = xyes; then :
63271 cat >>confdefs.h <<_ACEOF
63272 #define HAVE__MODFF 1
63273 _ACEOF
63276 done
63285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63286 $as_echo_n "checking for modf declaration... " >&6; }
63287 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63288 if ${glibcxx_cv_func_modf_use+:} false; then :
63289 $as_echo_n "(cached) " >&6
63290 else
63293 ac_ext=cpp
63294 ac_cpp='$CXXCPP $CPPFLAGS'
63295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63300 /* end confdefs.h. */
63301 #include <math.h>
63303 main ()
63305 modf(0, 0);
63307 return 0;
63309 _ACEOF
63310 if ac_fn_cxx_try_compile "$LINENO"; then :
63311 glibcxx_cv_func_modf_use=yes
63312 else
63313 glibcxx_cv_func_modf_use=no
63315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63316 ac_ext=c
63317 ac_cpp='$CPP $CPPFLAGS'
63318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63327 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63329 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63330 for ac_func in modf
63331 do :
63332 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63333 if test "x$ac_cv_func_modf" = xyes; then :
63334 cat >>confdefs.h <<_ACEOF
63335 #define HAVE_MODF 1
63336 _ACEOF
63339 done
63341 else
63343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63344 $as_echo_n "checking for _modf declaration... " >&6; }
63345 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63346 if ${glibcxx_cv_func__modf_use+:} false; then :
63347 $as_echo_n "(cached) " >&6
63348 else
63351 ac_ext=cpp
63352 ac_cpp='$CXXCPP $CPPFLAGS'
63353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63358 /* end confdefs.h. */
63359 #include <math.h>
63361 main ()
63363 _modf(0, 0);
63365 return 0;
63367 _ACEOF
63368 if ac_fn_cxx_try_compile "$LINENO"; then :
63369 glibcxx_cv_func__modf_use=yes
63370 else
63371 glibcxx_cv_func__modf_use=no
63373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63374 ac_ext=c
63375 ac_cpp='$CPP $CPPFLAGS'
63376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63385 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63387 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63388 for ac_func in _modf
63389 do :
63390 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63391 if test "x$ac_cv_func__modf" = xyes; then :
63392 cat >>confdefs.h <<_ACEOF
63393 #define HAVE__MODF 1
63394 _ACEOF
63397 done
63406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63407 $as_echo_n "checking for powf declaration... " >&6; }
63408 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63409 if ${glibcxx_cv_func_powf_use+:} false; then :
63410 $as_echo_n "(cached) " >&6
63411 else
63414 ac_ext=cpp
63415 ac_cpp='$CXXCPP $CPPFLAGS'
63416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63421 /* end confdefs.h. */
63422 #include <math.h>
63424 main ()
63426 powf(0, 0);
63428 return 0;
63430 _ACEOF
63431 if ac_fn_cxx_try_compile "$LINENO"; then :
63432 glibcxx_cv_func_powf_use=yes
63433 else
63434 glibcxx_cv_func_powf_use=no
63436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63437 ac_ext=c
63438 ac_cpp='$CPP $CPPFLAGS'
63439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63448 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63450 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63451 for ac_func in powf
63452 do :
63453 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63454 if test "x$ac_cv_func_powf" = xyes; then :
63455 cat >>confdefs.h <<_ACEOF
63456 #define HAVE_POWF 1
63457 _ACEOF
63460 done
63462 else
63464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63465 $as_echo_n "checking for _powf declaration... " >&6; }
63466 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63467 if ${glibcxx_cv_func__powf_use+:} false; then :
63468 $as_echo_n "(cached) " >&6
63469 else
63472 ac_ext=cpp
63473 ac_cpp='$CXXCPP $CPPFLAGS'
63474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63479 /* end confdefs.h. */
63480 #include <math.h>
63482 main ()
63484 _powf(0, 0);
63486 return 0;
63488 _ACEOF
63489 if ac_fn_cxx_try_compile "$LINENO"; then :
63490 glibcxx_cv_func__powf_use=yes
63491 else
63492 glibcxx_cv_func__powf_use=no
63494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63495 ac_ext=c
63496 ac_cpp='$CPP $CPPFLAGS'
63497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63506 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63508 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63509 for ac_func in _powf
63510 do :
63511 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63512 if test "x$ac_cv_func__powf" = xyes; then :
63513 cat >>confdefs.h <<_ACEOF
63514 #define HAVE__POWF 1
63515 _ACEOF
63518 done
63527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63528 $as_echo_n "checking for sqrtf declaration... " >&6; }
63529 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63530 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
63531 $as_echo_n "(cached) " >&6
63532 else
63535 ac_ext=cpp
63536 ac_cpp='$CXXCPP $CPPFLAGS'
63537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63542 /* end confdefs.h. */
63543 #include <math.h>
63544 #ifdef HAVE_IEEEFP_H
63545 #include <ieeefp.h>
63546 #endif
63549 main ()
63551 sqrtf(0);
63553 return 0;
63555 _ACEOF
63556 if ac_fn_cxx_try_compile "$LINENO"; then :
63557 glibcxx_cv_func_sqrtf_use=yes
63558 else
63559 glibcxx_cv_func_sqrtf_use=no
63561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63562 ac_ext=c
63563 ac_cpp='$CPP $CPPFLAGS'
63564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63573 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63575 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63576 for ac_func in sqrtf
63577 do :
63578 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63579 if test "x$ac_cv_func_sqrtf" = xyes; then :
63580 cat >>confdefs.h <<_ACEOF
63581 #define HAVE_SQRTF 1
63582 _ACEOF
63585 done
63587 else
63589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63590 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63591 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63592 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
63593 $as_echo_n "(cached) " >&6
63594 else
63597 ac_ext=cpp
63598 ac_cpp='$CXXCPP $CPPFLAGS'
63599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63604 /* end confdefs.h. */
63605 #include <math.h>
63606 #ifdef HAVE_IEEEFP_H
63607 #include <ieeefp.h>
63608 #endif
63611 main ()
63613 _sqrtf(0);
63615 return 0;
63617 _ACEOF
63618 if ac_fn_cxx_try_compile "$LINENO"; then :
63619 glibcxx_cv_func__sqrtf_use=yes
63620 else
63621 glibcxx_cv_func__sqrtf_use=no
63623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63624 ac_ext=c
63625 ac_cpp='$CPP $CPPFLAGS'
63626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63635 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63637 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63638 for ac_func in _sqrtf
63639 do :
63640 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63641 if test "x$ac_cv_func__sqrtf" = xyes; then :
63642 cat >>confdefs.h <<_ACEOF
63643 #define HAVE__SQRTF 1
63644 _ACEOF
63647 done
63656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63657 $as_echo_n "checking for sincosf declaration... " >&6; }
63658 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63659 if ${glibcxx_cv_func_sincosf_use+:} false; then :
63660 $as_echo_n "(cached) " >&6
63661 else
63664 ac_ext=cpp
63665 ac_cpp='$CXXCPP $CPPFLAGS'
63666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63671 /* end confdefs.h. */
63672 #include <math.h>
63674 main ()
63676 sincosf(0, 0, 0);
63678 return 0;
63680 _ACEOF
63681 if ac_fn_cxx_try_compile "$LINENO"; then :
63682 glibcxx_cv_func_sincosf_use=yes
63683 else
63684 glibcxx_cv_func_sincosf_use=no
63686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63687 ac_ext=c
63688 ac_cpp='$CPP $CPPFLAGS'
63689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63698 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63700 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63701 for ac_func in sincosf
63702 do :
63703 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63704 if test "x$ac_cv_func_sincosf" = xyes; then :
63705 cat >>confdefs.h <<_ACEOF
63706 #define HAVE_SINCOSF 1
63707 _ACEOF
63710 done
63712 else
63714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63715 $as_echo_n "checking for _sincosf declaration... " >&6; }
63716 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63717 if ${glibcxx_cv_func__sincosf_use+:} false; then :
63718 $as_echo_n "(cached) " >&6
63719 else
63722 ac_ext=cpp
63723 ac_cpp='$CXXCPP $CPPFLAGS'
63724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63729 /* end confdefs.h. */
63730 #include <math.h>
63732 main ()
63734 _sincosf(0, 0, 0);
63736 return 0;
63738 _ACEOF
63739 if ac_fn_cxx_try_compile "$LINENO"; then :
63740 glibcxx_cv_func__sincosf_use=yes
63741 else
63742 glibcxx_cv_func__sincosf_use=no
63744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63745 ac_ext=c
63746 ac_cpp='$CPP $CPPFLAGS'
63747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63756 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63758 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63759 for ac_func in _sincosf
63760 do :
63761 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63762 if test "x$ac_cv_func__sincosf" = xyes; then :
63763 cat >>confdefs.h <<_ACEOF
63764 #define HAVE__SINCOSF 1
63765 _ACEOF
63768 done
63777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63778 $as_echo_n "checking for finitef declaration... " >&6; }
63779 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63780 if ${glibcxx_cv_func_finitef_use+:} false; then :
63781 $as_echo_n "(cached) " >&6
63782 else
63785 ac_ext=cpp
63786 ac_cpp='$CXXCPP $CPPFLAGS'
63787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63792 /* end confdefs.h. */
63793 #include <math.h>
63794 #ifdef HAVE_IEEEFP_H
63795 #include <ieeefp.h>
63796 #endif
63799 main ()
63801 finitef(0);
63803 return 0;
63805 _ACEOF
63806 if ac_fn_cxx_try_compile "$LINENO"; then :
63807 glibcxx_cv_func_finitef_use=yes
63808 else
63809 glibcxx_cv_func_finitef_use=no
63811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63812 ac_ext=c
63813 ac_cpp='$CPP $CPPFLAGS'
63814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63823 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63825 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63826 for ac_func in finitef
63827 do :
63828 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63829 if test "x$ac_cv_func_finitef" = xyes; then :
63830 cat >>confdefs.h <<_ACEOF
63831 #define HAVE_FINITEF 1
63832 _ACEOF
63835 done
63837 else
63839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63840 $as_echo_n "checking for _finitef declaration... " >&6; }
63841 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63842 if ${glibcxx_cv_func__finitef_use+:} false; then :
63843 $as_echo_n "(cached) " >&6
63844 else
63847 ac_ext=cpp
63848 ac_cpp='$CXXCPP $CPPFLAGS'
63849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63854 /* end confdefs.h. */
63855 #include <math.h>
63856 #ifdef HAVE_IEEEFP_H
63857 #include <ieeefp.h>
63858 #endif
63861 main ()
63863 _finitef(0);
63865 return 0;
63867 _ACEOF
63868 if ac_fn_cxx_try_compile "$LINENO"; then :
63869 glibcxx_cv_func__finitef_use=yes
63870 else
63871 glibcxx_cv_func__finitef_use=no
63873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63874 ac_ext=c
63875 ac_cpp='$CPP $CPPFLAGS'
63876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63885 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63887 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63888 for ac_func in _finitef
63889 do :
63890 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63891 if test "x$ac_cv_func__finitef" = xyes; then :
63892 cat >>confdefs.h <<_ACEOF
63893 #define HAVE__FINITEF 1
63894 _ACEOF
63897 done
63906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63907 $as_echo_n "checking for long double trig functions... " >&6; }
63908 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
63909 $as_echo_n "(cached) " >&6
63910 else
63913 ac_ext=cpp
63914 ac_cpp='$CXXCPP $CPPFLAGS'
63915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63920 /* end confdefs.h. */
63921 #include <math.h>
63923 main ()
63925 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63927 return 0;
63929 _ACEOF
63930 if ac_fn_cxx_try_compile "$LINENO"; then :
63931 glibcxx_cv_func_long_double_trig_use=yes
63932 else
63933 glibcxx_cv_func_long_double_trig_use=no
63935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63936 ac_ext=c
63937 ac_cpp='$CPP $CPPFLAGS'
63938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63945 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63946 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63947 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63948 do :
63949 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63950 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63951 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
63952 cat >>confdefs.h <<_ACEOF
63953 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63954 _ACEOF
63957 done
63959 else
63960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63961 $as_echo_n "checking for _long double trig functions... " >&6; }
63962 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
63963 $as_echo_n "(cached) " >&6
63964 else
63967 ac_ext=cpp
63968 ac_cpp='$CXXCPP $CPPFLAGS'
63969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63974 /* end confdefs.h. */
63975 #include <math.h>
63977 main ()
63979 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63981 return 0;
63983 _ACEOF
63984 if ac_fn_cxx_try_compile "$LINENO"; then :
63985 glibcxx_cv_func__long_double_trig_use=yes
63986 else
63987 glibcxx_cv_func__long_double_trig_use=no
63989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63990 ac_ext=c
63991 ac_cpp='$CPP $CPPFLAGS'
63992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63999 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64000 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64001 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64002 do :
64003 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64004 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64005 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64006 cat >>confdefs.h <<_ACEOF
64007 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64008 _ACEOF
64011 done
64020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64021 $as_echo_n "checking for long double round functions... " >&6; }
64022 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
64023 $as_echo_n "(cached) " >&6
64024 else
64027 ac_ext=cpp
64028 ac_cpp='$CXXCPP $CPPFLAGS'
64029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64034 /* end confdefs.h. */
64035 #include <math.h>
64037 main ()
64039 ceill (0); floorl (0);
64041 return 0;
64043 _ACEOF
64044 if ac_fn_cxx_try_compile "$LINENO"; then :
64045 glibcxx_cv_func_long_double_round_use=yes
64046 else
64047 glibcxx_cv_func_long_double_round_use=no
64049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64050 ac_ext=c
64051 ac_cpp='$CPP $CPPFLAGS'
64052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64059 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64060 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64061 for ac_func in ceill floorl
64062 do :
64063 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64064 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64065 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64066 cat >>confdefs.h <<_ACEOF
64067 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64068 _ACEOF
64071 done
64073 else
64074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64075 $as_echo_n "checking for _long double round functions... " >&6; }
64076 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
64077 $as_echo_n "(cached) " >&6
64078 else
64081 ac_ext=cpp
64082 ac_cpp='$CXXCPP $CPPFLAGS'
64083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64088 /* end confdefs.h. */
64089 #include <math.h>
64091 main ()
64093 _ceill (0); _floorl (0);
64095 return 0;
64097 _ACEOF
64098 if ac_fn_cxx_try_compile "$LINENO"; then :
64099 glibcxx_cv_func__long_double_round_use=yes
64100 else
64101 glibcxx_cv_func__long_double_round_use=no
64103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64104 ac_ext=c
64105 ac_cpp='$CPP $CPPFLAGS'
64106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64113 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64114 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64115 for ac_func in _ceill _floorl
64116 do :
64117 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64118 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64119 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64120 cat >>confdefs.h <<_ACEOF
64121 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64122 _ACEOF
64125 done
64135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64136 $as_echo_n "checking for isnanl declaration... " >&6; }
64137 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64138 if ${glibcxx_cv_func_isnanl_use+:} false; then :
64139 $as_echo_n "(cached) " >&6
64140 else
64143 ac_ext=cpp
64144 ac_cpp='$CXXCPP $CPPFLAGS'
64145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64150 /* end confdefs.h. */
64151 #include <math.h>
64152 #ifdef HAVE_IEEEFP_H
64153 #include <ieeefp.h>
64154 #endif
64157 main ()
64159 isnanl(0);
64161 return 0;
64163 _ACEOF
64164 if ac_fn_cxx_try_compile "$LINENO"; then :
64165 glibcxx_cv_func_isnanl_use=yes
64166 else
64167 glibcxx_cv_func_isnanl_use=no
64169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64170 ac_ext=c
64171 ac_cpp='$CPP $CPPFLAGS'
64172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64181 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64183 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64184 for ac_func in isnanl
64185 do :
64186 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64187 if test "x$ac_cv_func_isnanl" = xyes; then :
64188 cat >>confdefs.h <<_ACEOF
64189 #define HAVE_ISNANL 1
64190 _ACEOF
64193 done
64195 else
64197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64198 $as_echo_n "checking for _isnanl declaration... " >&6; }
64199 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64200 if ${glibcxx_cv_func__isnanl_use+:} false; then :
64201 $as_echo_n "(cached) " >&6
64202 else
64205 ac_ext=cpp
64206 ac_cpp='$CXXCPP $CPPFLAGS'
64207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64212 /* end confdefs.h. */
64213 #include <math.h>
64214 #ifdef HAVE_IEEEFP_H
64215 #include <ieeefp.h>
64216 #endif
64219 main ()
64221 _isnanl(0);
64223 return 0;
64225 _ACEOF
64226 if ac_fn_cxx_try_compile "$LINENO"; then :
64227 glibcxx_cv_func__isnanl_use=yes
64228 else
64229 glibcxx_cv_func__isnanl_use=no
64231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64232 ac_ext=c
64233 ac_cpp='$CPP $CPPFLAGS'
64234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
64243 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
64245 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64246 for ac_func in _isnanl
64247 do :
64248 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
64249 if test "x$ac_cv_func__isnanl" = xyes; then :
64250 cat >>confdefs.h <<_ACEOF
64251 #define HAVE__ISNANL 1
64252 _ACEOF
64255 done
64264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64265 $as_echo_n "checking for isinfl declaration... " >&6; }
64266 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64267 if ${glibcxx_cv_func_isinfl_use+:} false; then :
64268 $as_echo_n "(cached) " >&6
64269 else
64272 ac_ext=cpp
64273 ac_cpp='$CXXCPP $CPPFLAGS'
64274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64279 /* end confdefs.h. */
64280 #include <math.h>
64281 #ifdef HAVE_IEEEFP_H
64282 #include <ieeefp.h>
64283 #endif
64286 main ()
64288 isinfl(0);
64290 return 0;
64292 _ACEOF
64293 if ac_fn_cxx_try_compile "$LINENO"; then :
64294 glibcxx_cv_func_isinfl_use=yes
64295 else
64296 glibcxx_cv_func_isinfl_use=no
64298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64299 ac_ext=c
64300 ac_cpp='$CPP $CPPFLAGS'
64301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64310 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64312 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64313 for ac_func in isinfl
64314 do :
64315 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64316 if test "x$ac_cv_func_isinfl" = xyes; then :
64317 cat >>confdefs.h <<_ACEOF
64318 #define HAVE_ISINFL 1
64319 _ACEOF
64322 done
64324 else
64326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64327 $as_echo_n "checking for _isinfl declaration... " >&6; }
64328 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64329 if ${glibcxx_cv_func__isinfl_use+:} false; then :
64330 $as_echo_n "(cached) " >&6
64331 else
64334 ac_ext=cpp
64335 ac_cpp='$CXXCPP $CPPFLAGS'
64336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64341 /* end confdefs.h. */
64342 #include <math.h>
64343 #ifdef HAVE_IEEEFP_H
64344 #include <ieeefp.h>
64345 #endif
64348 main ()
64350 _isinfl(0);
64352 return 0;
64354 _ACEOF
64355 if ac_fn_cxx_try_compile "$LINENO"; then :
64356 glibcxx_cv_func__isinfl_use=yes
64357 else
64358 glibcxx_cv_func__isinfl_use=no
64360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64361 ac_ext=c
64362 ac_cpp='$CPP $CPPFLAGS'
64363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64372 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64374 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64375 for ac_func in _isinfl
64376 do :
64377 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64378 if test "x$ac_cv_func__isinfl" = xyes; then :
64379 cat >>confdefs.h <<_ACEOF
64380 #define HAVE__ISINFL 1
64381 _ACEOF
64384 done
64393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64394 $as_echo_n "checking for atan2l declaration... " >&6; }
64395 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64396 if ${glibcxx_cv_func_atan2l_use+:} false; then :
64397 $as_echo_n "(cached) " >&6
64398 else
64401 ac_ext=cpp
64402 ac_cpp='$CXXCPP $CPPFLAGS'
64403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64408 /* end confdefs.h. */
64409 #include <math.h>
64411 main ()
64413 atan2l(0, 0);
64415 return 0;
64417 _ACEOF
64418 if ac_fn_cxx_try_compile "$LINENO"; then :
64419 glibcxx_cv_func_atan2l_use=yes
64420 else
64421 glibcxx_cv_func_atan2l_use=no
64423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64424 ac_ext=c
64425 ac_cpp='$CPP $CPPFLAGS'
64426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64435 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64437 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64438 for ac_func in atan2l
64439 do :
64440 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64441 if test "x$ac_cv_func_atan2l" = xyes; then :
64442 cat >>confdefs.h <<_ACEOF
64443 #define HAVE_ATAN2L 1
64444 _ACEOF
64447 done
64449 else
64451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64452 $as_echo_n "checking for _atan2l declaration... " >&6; }
64453 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64454 if ${glibcxx_cv_func__atan2l_use+:} false; then :
64455 $as_echo_n "(cached) " >&6
64456 else
64459 ac_ext=cpp
64460 ac_cpp='$CXXCPP $CPPFLAGS'
64461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64466 /* end confdefs.h. */
64467 #include <math.h>
64469 main ()
64471 _atan2l(0, 0);
64473 return 0;
64475 _ACEOF
64476 if ac_fn_cxx_try_compile "$LINENO"; then :
64477 glibcxx_cv_func__atan2l_use=yes
64478 else
64479 glibcxx_cv_func__atan2l_use=no
64481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64482 ac_ext=c
64483 ac_cpp='$CPP $CPPFLAGS'
64484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64493 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64495 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64496 for ac_func in _atan2l
64497 do :
64498 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64499 if test "x$ac_cv_func__atan2l" = xyes; then :
64500 cat >>confdefs.h <<_ACEOF
64501 #define HAVE__ATAN2L 1
64502 _ACEOF
64505 done
64514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64515 $as_echo_n "checking for expl declaration... " >&6; }
64516 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64517 if ${glibcxx_cv_func_expl_use+:} false; then :
64518 $as_echo_n "(cached) " >&6
64519 else
64522 ac_ext=cpp
64523 ac_cpp='$CXXCPP $CPPFLAGS'
64524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64529 /* end confdefs.h. */
64530 #include <math.h>
64531 #ifdef HAVE_IEEEFP_H
64532 #include <ieeefp.h>
64533 #endif
64536 main ()
64538 expl(0);
64540 return 0;
64542 _ACEOF
64543 if ac_fn_cxx_try_compile "$LINENO"; then :
64544 glibcxx_cv_func_expl_use=yes
64545 else
64546 glibcxx_cv_func_expl_use=no
64548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64549 ac_ext=c
64550 ac_cpp='$CPP $CPPFLAGS'
64551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64560 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64562 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64563 for ac_func in expl
64564 do :
64565 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64566 if test "x$ac_cv_func_expl" = xyes; then :
64567 cat >>confdefs.h <<_ACEOF
64568 #define HAVE_EXPL 1
64569 _ACEOF
64572 done
64574 else
64576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64577 $as_echo_n "checking for _expl declaration... " >&6; }
64578 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64579 if ${glibcxx_cv_func__expl_use+:} false; then :
64580 $as_echo_n "(cached) " >&6
64581 else
64584 ac_ext=cpp
64585 ac_cpp='$CXXCPP $CPPFLAGS'
64586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64591 /* end confdefs.h. */
64592 #include <math.h>
64593 #ifdef HAVE_IEEEFP_H
64594 #include <ieeefp.h>
64595 #endif
64598 main ()
64600 _expl(0);
64602 return 0;
64604 _ACEOF
64605 if ac_fn_cxx_try_compile "$LINENO"; then :
64606 glibcxx_cv_func__expl_use=yes
64607 else
64608 glibcxx_cv_func__expl_use=no
64610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64611 ac_ext=c
64612 ac_cpp='$CPP $CPPFLAGS'
64613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64622 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64624 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64625 for ac_func in _expl
64626 do :
64627 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64628 if test "x$ac_cv_func__expl" = xyes; then :
64629 cat >>confdefs.h <<_ACEOF
64630 #define HAVE__EXPL 1
64631 _ACEOF
64634 done
64643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64644 $as_echo_n "checking for fabsl declaration... " >&6; }
64645 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64646 if ${glibcxx_cv_func_fabsl_use+:} false; then :
64647 $as_echo_n "(cached) " >&6
64648 else
64651 ac_ext=cpp
64652 ac_cpp='$CXXCPP $CPPFLAGS'
64653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64658 /* end confdefs.h. */
64659 #include <math.h>
64660 #ifdef HAVE_IEEEFP_H
64661 #include <ieeefp.h>
64662 #endif
64665 main ()
64667 fabsl(0);
64669 return 0;
64671 _ACEOF
64672 if ac_fn_cxx_try_compile "$LINENO"; then :
64673 glibcxx_cv_func_fabsl_use=yes
64674 else
64675 glibcxx_cv_func_fabsl_use=no
64677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64678 ac_ext=c
64679 ac_cpp='$CPP $CPPFLAGS'
64680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64689 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64691 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64692 for ac_func in fabsl
64693 do :
64694 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64695 if test "x$ac_cv_func_fabsl" = xyes; then :
64696 cat >>confdefs.h <<_ACEOF
64697 #define HAVE_FABSL 1
64698 _ACEOF
64701 done
64703 else
64705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64706 $as_echo_n "checking for _fabsl declaration... " >&6; }
64707 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64708 if ${glibcxx_cv_func__fabsl_use+:} false; then :
64709 $as_echo_n "(cached) " >&6
64710 else
64713 ac_ext=cpp
64714 ac_cpp='$CXXCPP $CPPFLAGS'
64715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64720 /* end confdefs.h. */
64721 #include <math.h>
64722 #ifdef HAVE_IEEEFP_H
64723 #include <ieeefp.h>
64724 #endif
64727 main ()
64729 _fabsl(0);
64731 return 0;
64733 _ACEOF
64734 if ac_fn_cxx_try_compile "$LINENO"; then :
64735 glibcxx_cv_func__fabsl_use=yes
64736 else
64737 glibcxx_cv_func__fabsl_use=no
64739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64740 ac_ext=c
64741 ac_cpp='$CPP $CPPFLAGS'
64742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64751 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64753 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64754 for ac_func in _fabsl
64755 do :
64756 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64757 if test "x$ac_cv_func__fabsl" = xyes; then :
64758 cat >>confdefs.h <<_ACEOF
64759 #define HAVE__FABSL 1
64760 _ACEOF
64763 done
64772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64773 $as_echo_n "checking for fmodl declaration... " >&6; }
64774 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64775 if ${glibcxx_cv_func_fmodl_use+:} false; then :
64776 $as_echo_n "(cached) " >&6
64777 else
64780 ac_ext=cpp
64781 ac_cpp='$CXXCPP $CPPFLAGS'
64782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64787 /* end confdefs.h. */
64788 #include <math.h>
64790 main ()
64792 fmodl(0, 0);
64794 return 0;
64796 _ACEOF
64797 if ac_fn_cxx_try_compile "$LINENO"; then :
64798 glibcxx_cv_func_fmodl_use=yes
64799 else
64800 glibcxx_cv_func_fmodl_use=no
64802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64803 ac_ext=c
64804 ac_cpp='$CPP $CPPFLAGS'
64805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64814 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64816 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64817 for ac_func in fmodl
64818 do :
64819 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64820 if test "x$ac_cv_func_fmodl" = xyes; then :
64821 cat >>confdefs.h <<_ACEOF
64822 #define HAVE_FMODL 1
64823 _ACEOF
64826 done
64828 else
64830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64831 $as_echo_n "checking for _fmodl declaration... " >&6; }
64832 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64833 if ${glibcxx_cv_func__fmodl_use+:} false; then :
64834 $as_echo_n "(cached) " >&6
64835 else
64838 ac_ext=cpp
64839 ac_cpp='$CXXCPP $CPPFLAGS'
64840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64845 /* end confdefs.h. */
64846 #include <math.h>
64848 main ()
64850 _fmodl(0, 0);
64852 return 0;
64854 _ACEOF
64855 if ac_fn_cxx_try_compile "$LINENO"; then :
64856 glibcxx_cv_func__fmodl_use=yes
64857 else
64858 glibcxx_cv_func__fmodl_use=no
64860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64861 ac_ext=c
64862 ac_cpp='$CPP $CPPFLAGS'
64863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64872 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64874 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64875 for ac_func in _fmodl
64876 do :
64877 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64878 if test "x$ac_cv_func__fmodl" = xyes; then :
64879 cat >>confdefs.h <<_ACEOF
64880 #define HAVE__FMODL 1
64881 _ACEOF
64884 done
64893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64894 $as_echo_n "checking for frexpl declaration... " >&6; }
64895 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64896 if ${glibcxx_cv_func_frexpl_use+:} false; then :
64897 $as_echo_n "(cached) " >&6
64898 else
64901 ac_ext=cpp
64902 ac_cpp='$CXXCPP $CPPFLAGS'
64903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64908 /* end confdefs.h. */
64909 #include <math.h>
64911 main ()
64913 frexpl(0, 0);
64915 return 0;
64917 _ACEOF
64918 if ac_fn_cxx_try_compile "$LINENO"; then :
64919 glibcxx_cv_func_frexpl_use=yes
64920 else
64921 glibcxx_cv_func_frexpl_use=no
64923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64924 ac_ext=c
64925 ac_cpp='$CPP $CPPFLAGS'
64926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64935 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64937 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64938 for ac_func in frexpl
64939 do :
64940 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64941 if test "x$ac_cv_func_frexpl" = xyes; then :
64942 cat >>confdefs.h <<_ACEOF
64943 #define HAVE_FREXPL 1
64944 _ACEOF
64947 done
64949 else
64951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64952 $as_echo_n "checking for _frexpl declaration... " >&6; }
64953 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64954 if ${glibcxx_cv_func__frexpl_use+:} false; then :
64955 $as_echo_n "(cached) " >&6
64956 else
64959 ac_ext=cpp
64960 ac_cpp='$CXXCPP $CPPFLAGS'
64961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64966 /* end confdefs.h. */
64967 #include <math.h>
64969 main ()
64971 _frexpl(0, 0);
64973 return 0;
64975 _ACEOF
64976 if ac_fn_cxx_try_compile "$LINENO"; then :
64977 glibcxx_cv_func__frexpl_use=yes
64978 else
64979 glibcxx_cv_func__frexpl_use=no
64981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64982 ac_ext=c
64983 ac_cpp='$CPP $CPPFLAGS'
64984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64993 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64995 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64996 for ac_func in _frexpl
64997 do :
64998 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64999 if test "x$ac_cv_func__frexpl" = xyes; then :
65000 cat >>confdefs.h <<_ACEOF
65001 #define HAVE__FREXPL 1
65002 _ACEOF
65005 done
65014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
65015 $as_echo_n "checking for hypotl declaration... " >&6; }
65016 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65017 if ${glibcxx_cv_func_hypotl_use+:} false; then :
65018 $as_echo_n "(cached) " >&6
65019 else
65022 ac_ext=cpp
65023 ac_cpp='$CXXCPP $CPPFLAGS'
65024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65029 /* end confdefs.h. */
65030 #include <math.h>
65032 main ()
65034 hypotl(0, 0);
65036 return 0;
65038 _ACEOF
65039 if ac_fn_cxx_try_compile "$LINENO"; then :
65040 glibcxx_cv_func_hypotl_use=yes
65041 else
65042 glibcxx_cv_func_hypotl_use=no
65044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65045 ac_ext=c
65046 ac_cpp='$CPP $CPPFLAGS'
65047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65056 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65058 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65059 for ac_func in hypotl
65060 do :
65061 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65062 if test "x$ac_cv_func_hypotl" = xyes; then :
65063 cat >>confdefs.h <<_ACEOF
65064 #define HAVE_HYPOTL 1
65065 _ACEOF
65068 done
65070 else
65072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65073 $as_echo_n "checking for _hypotl declaration... " >&6; }
65074 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65075 if ${glibcxx_cv_func__hypotl_use+:} false; then :
65076 $as_echo_n "(cached) " >&6
65077 else
65080 ac_ext=cpp
65081 ac_cpp='$CXXCPP $CPPFLAGS'
65082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65087 /* end confdefs.h. */
65088 #include <math.h>
65090 main ()
65092 _hypotl(0, 0);
65094 return 0;
65096 _ACEOF
65097 if ac_fn_cxx_try_compile "$LINENO"; then :
65098 glibcxx_cv_func__hypotl_use=yes
65099 else
65100 glibcxx_cv_func__hypotl_use=no
65102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65103 ac_ext=c
65104 ac_cpp='$CPP $CPPFLAGS'
65105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65114 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65116 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65117 for ac_func in _hypotl
65118 do :
65119 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65120 if test "x$ac_cv_func__hypotl" = xyes; then :
65121 cat >>confdefs.h <<_ACEOF
65122 #define HAVE__HYPOTL 1
65123 _ACEOF
65126 done
65135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65136 $as_echo_n "checking for ldexpl declaration... " >&6; }
65137 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65138 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65139 $as_echo_n "(cached) " >&6
65140 else
65143 ac_ext=cpp
65144 ac_cpp='$CXXCPP $CPPFLAGS'
65145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65150 /* end confdefs.h. */
65151 #include <math.h>
65153 main ()
65155 ldexpl(0, 0);
65157 return 0;
65159 _ACEOF
65160 if ac_fn_cxx_try_compile "$LINENO"; then :
65161 glibcxx_cv_func_ldexpl_use=yes
65162 else
65163 glibcxx_cv_func_ldexpl_use=no
65165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65166 ac_ext=c
65167 ac_cpp='$CPP $CPPFLAGS'
65168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65177 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65179 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65180 for ac_func in ldexpl
65181 do :
65182 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65183 if test "x$ac_cv_func_ldexpl" = xyes; then :
65184 cat >>confdefs.h <<_ACEOF
65185 #define HAVE_LDEXPL 1
65186 _ACEOF
65189 done
65191 else
65193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65194 $as_echo_n "checking for _ldexpl declaration... " >&6; }
65195 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65196 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
65197 $as_echo_n "(cached) " >&6
65198 else
65201 ac_ext=cpp
65202 ac_cpp='$CXXCPP $CPPFLAGS'
65203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65208 /* end confdefs.h. */
65209 #include <math.h>
65211 main ()
65213 _ldexpl(0, 0);
65215 return 0;
65217 _ACEOF
65218 if ac_fn_cxx_try_compile "$LINENO"; then :
65219 glibcxx_cv_func__ldexpl_use=yes
65220 else
65221 glibcxx_cv_func__ldexpl_use=no
65223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65224 ac_ext=c
65225 ac_cpp='$CPP $CPPFLAGS'
65226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
65235 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
65237 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65238 for ac_func in _ldexpl
65239 do :
65240 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
65241 if test "x$ac_cv_func__ldexpl" = xyes; then :
65242 cat >>confdefs.h <<_ACEOF
65243 #define HAVE__LDEXPL 1
65244 _ACEOF
65247 done
65256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
65257 $as_echo_n "checking for logl declaration... " >&6; }
65258 if test x${glibcxx_cv_func_logl_use+set} != xset; then
65259 if ${glibcxx_cv_func_logl_use+:} false; then :
65260 $as_echo_n "(cached) " >&6
65261 else
65264 ac_ext=cpp
65265 ac_cpp='$CXXCPP $CPPFLAGS'
65266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65271 /* end confdefs.h. */
65272 #include <math.h>
65273 #ifdef HAVE_IEEEFP_H
65274 #include <ieeefp.h>
65275 #endif
65278 main ()
65280 logl(0);
65282 return 0;
65284 _ACEOF
65285 if ac_fn_cxx_try_compile "$LINENO"; then :
65286 glibcxx_cv_func_logl_use=yes
65287 else
65288 glibcxx_cv_func_logl_use=no
65290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65291 ac_ext=c
65292 ac_cpp='$CPP $CPPFLAGS'
65293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65302 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65304 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65305 for ac_func in logl
65306 do :
65307 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65308 if test "x$ac_cv_func_logl" = xyes; then :
65309 cat >>confdefs.h <<_ACEOF
65310 #define HAVE_LOGL 1
65311 _ACEOF
65314 done
65316 else
65318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65319 $as_echo_n "checking for _logl declaration... " >&6; }
65320 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65321 if ${glibcxx_cv_func__logl_use+:} false; then :
65322 $as_echo_n "(cached) " >&6
65323 else
65326 ac_ext=cpp
65327 ac_cpp='$CXXCPP $CPPFLAGS'
65328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65333 /* end confdefs.h. */
65334 #include <math.h>
65335 #ifdef HAVE_IEEEFP_H
65336 #include <ieeefp.h>
65337 #endif
65340 main ()
65342 _logl(0);
65344 return 0;
65346 _ACEOF
65347 if ac_fn_cxx_try_compile "$LINENO"; then :
65348 glibcxx_cv_func__logl_use=yes
65349 else
65350 glibcxx_cv_func__logl_use=no
65352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65353 ac_ext=c
65354 ac_cpp='$CPP $CPPFLAGS'
65355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65364 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65366 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65367 for ac_func in _logl
65368 do :
65369 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65370 if test "x$ac_cv_func__logl" = xyes; then :
65371 cat >>confdefs.h <<_ACEOF
65372 #define HAVE__LOGL 1
65373 _ACEOF
65376 done
65385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65386 $as_echo_n "checking for log10l declaration... " >&6; }
65387 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65388 if ${glibcxx_cv_func_log10l_use+:} false; then :
65389 $as_echo_n "(cached) " >&6
65390 else
65393 ac_ext=cpp
65394 ac_cpp='$CXXCPP $CPPFLAGS'
65395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65400 /* end confdefs.h. */
65401 #include <math.h>
65402 #ifdef HAVE_IEEEFP_H
65403 #include <ieeefp.h>
65404 #endif
65407 main ()
65409 log10l(0);
65411 return 0;
65413 _ACEOF
65414 if ac_fn_cxx_try_compile "$LINENO"; then :
65415 glibcxx_cv_func_log10l_use=yes
65416 else
65417 glibcxx_cv_func_log10l_use=no
65419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65420 ac_ext=c
65421 ac_cpp='$CPP $CPPFLAGS'
65422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65431 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65433 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65434 for ac_func in log10l
65435 do :
65436 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65437 if test "x$ac_cv_func_log10l" = xyes; then :
65438 cat >>confdefs.h <<_ACEOF
65439 #define HAVE_LOG10L 1
65440 _ACEOF
65443 done
65445 else
65447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65448 $as_echo_n "checking for _log10l declaration... " >&6; }
65449 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65450 if ${glibcxx_cv_func__log10l_use+:} false; then :
65451 $as_echo_n "(cached) " >&6
65452 else
65455 ac_ext=cpp
65456 ac_cpp='$CXXCPP $CPPFLAGS'
65457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65462 /* end confdefs.h. */
65463 #include <math.h>
65464 #ifdef HAVE_IEEEFP_H
65465 #include <ieeefp.h>
65466 #endif
65469 main ()
65471 _log10l(0);
65473 return 0;
65475 _ACEOF
65476 if ac_fn_cxx_try_compile "$LINENO"; then :
65477 glibcxx_cv_func__log10l_use=yes
65478 else
65479 glibcxx_cv_func__log10l_use=no
65481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65482 ac_ext=c
65483 ac_cpp='$CPP $CPPFLAGS'
65484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65493 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65495 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65496 for ac_func in _log10l
65497 do :
65498 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65499 if test "x$ac_cv_func__log10l" = xyes; then :
65500 cat >>confdefs.h <<_ACEOF
65501 #define HAVE__LOG10L 1
65502 _ACEOF
65505 done
65514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65515 $as_echo_n "checking for modfl declaration... " >&6; }
65516 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65517 if ${glibcxx_cv_func_modfl_use+:} false; then :
65518 $as_echo_n "(cached) " >&6
65519 else
65522 ac_ext=cpp
65523 ac_cpp='$CXXCPP $CPPFLAGS'
65524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65529 /* end confdefs.h. */
65530 #include <math.h>
65532 main ()
65534 modfl(0, 0);
65536 return 0;
65538 _ACEOF
65539 if ac_fn_cxx_try_compile "$LINENO"; then :
65540 glibcxx_cv_func_modfl_use=yes
65541 else
65542 glibcxx_cv_func_modfl_use=no
65544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65545 ac_ext=c
65546 ac_cpp='$CPP $CPPFLAGS'
65547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65556 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65558 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65559 for ac_func in modfl
65560 do :
65561 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65562 if test "x$ac_cv_func_modfl" = xyes; then :
65563 cat >>confdefs.h <<_ACEOF
65564 #define HAVE_MODFL 1
65565 _ACEOF
65568 done
65570 else
65572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65573 $as_echo_n "checking for _modfl declaration... " >&6; }
65574 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65575 if ${glibcxx_cv_func__modfl_use+:} false; then :
65576 $as_echo_n "(cached) " >&6
65577 else
65580 ac_ext=cpp
65581 ac_cpp='$CXXCPP $CPPFLAGS'
65582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65587 /* end confdefs.h. */
65588 #include <math.h>
65590 main ()
65592 _modfl(0, 0);
65594 return 0;
65596 _ACEOF
65597 if ac_fn_cxx_try_compile "$LINENO"; then :
65598 glibcxx_cv_func__modfl_use=yes
65599 else
65600 glibcxx_cv_func__modfl_use=no
65602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65603 ac_ext=c
65604 ac_cpp='$CPP $CPPFLAGS'
65605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65614 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65616 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65617 for ac_func in _modfl
65618 do :
65619 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65620 if test "x$ac_cv_func__modfl" = xyes; then :
65621 cat >>confdefs.h <<_ACEOF
65622 #define HAVE__MODFL 1
65623 _ACEOF
65626 done
65635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65636 $as_echo_n "checking for powl declaration... " >&6; }
65637 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65638 if ${glibcxx_cv_func_powl_use+:} false; then :
65639 $as_echo_n "(cached) " >&6
65640 else
65643 ac_ext=cpp
65644 ac_cpp='$CXXCPP $CPPFLAGS'
65645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65650 /* end confdefs.h. */
65651 #include <math.h>
65653 main ()
65655 powl(0, 0);
65657 return 0;
65659 _ACEOF
65660 if ac_fn_cxx_try_compile "$LINENO"; then :
65661 glibcxx_cv_func_powl_use=yes
65662 else
65663 glibcxx_cv_func_powl_use=no
65665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65666 ac_ext=c
65667 ac_cpp='$CPP $CPPFLAGS'
65668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65677 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65679 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65680 for ac_func in powl
65681 do :
65682 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65683 if test "x$ac_cv_func_powl" = xyes; then :
65684 cat >>confdefs.h <<_ACEOF
65685 #define HAVE_POWL 1
65686 _ACEOF
65689 done
65691 else
65693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65694 $as_echo_n "checking for _powl declaration... " >&6; }
65695 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65696 if ${glibcxx_cv_func__powl_use+:} false; then :
65697 $as_echo_n "(cached) " >&6
65698 else
65701 ac_ext=cpp
65702 ac_cpp='$CXXCPP $CPPFLAGS'
65703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65708 /* end confdefs.h. */
65709 #include <math.h>
65711 main ()
65713 _powl(0, 0);
65715 return 0;
65717 _ACEOF
65718 if ac_fn_cxx_try_compile "$LINENO"; then :
65719 glibcxx_cv_func__powl_use=yes
65720 else
65721 glibcxx_cv_func__powl_use=no
65723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65724 ac_ext=c
65725 ac_cpp='$CPP $CPPFLAGS'
65726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65735 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65737 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65738 for ac_func in _powl
65739 do :
65740 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65741 if test "x$ac_cv_func__powl" = xyes; then :
65742 cat >>confdefs.h <<_ACEOF
65743 #define HAVE__POWL 1
65744 _ACEOF
65747 done
65756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65757 $as_echo_n "checking for sqrtl declaration... " >&6; }
65758 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65759 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
65760 $as_echo_n "(cached) " >&6
65761 else
65764 ac_ext=cpp
65765 ac_cpp='$CXXCPP $CPPFLAGS'
65766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65771 /* end confdefs.h. */
65772 #include <math.h>
65773 #ifdef HAVE_IEEEFP_H
65774 #include <ieeefp.h>
65775 #endif
65778 main ()
65780 sqrtl(0);
65782 return 0;
65784 _ACEOF
65785 if ac_fn_cxx_try_compile "$LINENO"; then :
65786 glibcxx_cv_func_sqrtl_use=yes
65787 else
65788 glibcxx_cv_func_sqrtl_use=no
65790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65791 ac_ext=c
65792 ac_cpp='$CPP $CPPFLAGS'
65793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65802 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65804 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65805 for ac_func in sqrtl
65806 do :
65807 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65808 if test "x$ac_cv_func_sqrtl" = xyes; then :
65809 cat >>confdefs.h <<_ACEOF
65810 #define HAVE_SQRTL 1
65811 _ACEOF
65814 done
65816 else
65818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65819 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65820 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65821 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
65822 $as_echo_n "(cached) " >&6
65823 else
65826 ac_ext=cpp
65827 ac_cpp='$CXXCPP $CPPFLAGS'
65828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65833 /* end confdefs.h. */
65834 #include <math.h>
65835 #ifdef HAVE_IEEEFP_H
65836 #include <ieeefp.h>
65837 #endif
65840 main ()
65842 _sqrtl(0);
65844 return 0;
65846 _ACEOF
65847 if ac_fn_cxx_try_compile "$LINENO"; then :
65848 glibcxx_cv_func__sqrtl_use=yes
65849 else
65850 glibcxx_cv_func__sqrtl_use=no
65852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65853 ac_ext=c
65854 ac_cpp='$CPP $CPPFLAGS'
65855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65864 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65866 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65867 for ac_func in _sqrtl
65868 do :
65869 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65870 if test "x$ac_cv_func__sqrtl" = xyes; then :
65871 cat >>confdefs.h <<_ACEOF
65872 #define HAVE__SQRTL 1
65873 _ACEOF
65876 done
65885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65886 $as_echo_n "checking for sincosl declaration... " >&6; }
65887 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65888 if ${glibcxx_cv_func_sincosl_use+:} false; then :
65889 $as_echo_n "(cached) " >&6
65890 else
65893 ac_ext=cpp
65894 ac_cpp='$CXXCPP $CPPFLAGS'
65895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65900 /* end confdefs.h. */
65901 #include <math.h>
65903 main ()
65905 sincosl(0, 0, 0);
65907 return 0;
65909 _ACEOF
65910 if ac_fn_cxx_try_compile "$LINENO"; then :
65911 glibcxx_cv_func_sincosl_use=yes
65912 else
65913 glibcxx_cv_func_sincosl_use=no
65915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65916 ac_ext=c
65917 ac_cpp='$CPP $CPPFLAGS'
65918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65927 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65929 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65930 for ac_func in sincosl
65931 do :
65932 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65933 if test "x$ac_cv_func_sincosl" = xyes; then :
65934 cat >>confdefs.h <<_ACEOF
65935 #define HAVE_SINCOSL 1
65936 _ACEOF
65939 done
65941 else
65943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65944 $as_echo_n "checking for _sincosl declaration... " >&6; }
65945 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65946 if ${glibcxx_cv_func__sincosl_use+:} false; then :
65947 $as_echo_n "(cached) " >&6
65948 else
65951 ac_ext=cpp
65952 ac_cpp='$CXXCPP $CPPFLAGS'
65953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65958 /* end confdefs.h. */
65959 #include <math.h>
65961 main ()
65963 _sincosl(0, 0, 0);
65965 return 0;
65967 _ACEOF
65968 if ac_fn_cxx_try_compile "$LINENO"; then :
65969 glibcxx_cv_func__sincosl_use=yes
65970 else
65971 glibcxx_cv_func__sincosl_use=no
65973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65974 ac_ext=c
65975 ac_cpp='$CPP $CPPFLAGS'
65976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65985 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65987 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65988 for ac_func in _sincosl
65989 do :
65990 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65991 if test "x$ac_cv_func__sincosl" = xyes; then :
65992 cat >>confdefs.h <<_ACEOF
65993 #define HAVE__SINCOSL 1
65994 _ACEOF
65997 done
66006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66007 $as_echo_n "checking for finitel declaration... " >&6; }
66008 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66009 if ${glibcxx_cv_func_finitel_use+:} false; then :
66010 $as_echo_n "(cached) " >&6
66011 else
66014 ac_ext=cpp
66015 ac_cpp='$CXXCPP $CPPFLAGS'
66016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66021 /* end confdefs.h. */
66022 #include <math.h>
66023 #ifdef HAVE_IEEEFP_H
66024 #include <ieeefp.h>
66025 #endif
66028 main ()
66030 finitel(0);
66032 return 0;
66034 _ACEOF
66035 if ac_fn_cxx_try_compile "$LINENO"; then :
66036 glibcxx_cv_func_finitel_use=yes
66037 else
66038 glibcxx_cv_func_finitel_use=no
66040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66041 ac_ext=c
66042 ac_cpp='$CPP $CPPFLAGS'
66043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66052 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66054 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66055 for ac_func in finitel
66056 do :
66057 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66058 if test "x$ac_cv_func_finitel" = xyes; then :
66059 cat >>confdefs.h <<_ACEOF
66060 #define HAVE_FINITEL 1
66061 _ACEOF
66064 done
66066 else
66068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66069 $as_echo_n "checking for _finitel declaration... " >&6; }
66070 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66071 if ${glibcxx_cv_func__finitel_use+:} false; then :
66072 $as_echo_n "(cached) " >&6
66073 else
66076 ac_ext=cpp
66077 ac_cpp='$CXXCPP $CPPFLAGS'
66078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66083 /* end confdefs.h. */
66084 #include <math.h>
66085 #ifdef HAVE_IEEEFP_H
66086 #include <ieeefp.h>
66087 #endif
66090 main ()
66092 _finitel(0);
66094 return 0;
66096 _ACEOF
66097 if ac_fn_cxx_try_compile "$LINENO"; then :
66098 glibcxx_cv_func__finitel_use=yes
66099 else
66100 glibcxx_cv_func__finitel_use=no
66102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66103 ac_ext=c
66104 ac_cpp='$CPP $CPPFLAGS'
66105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66114 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66116 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66117 for ac_func in _finitel
66118 do :
66119 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66120 if test "x$ac_cv_func__finitel" = xyes; then :
66121 cat >>confdefs.h <<_ACEOF
66122 #define HAVE__FINITEL 1
66123 _ACEOF
66126 done
66134 LIBS="$ac_save_LIBS"
66135 CXXFLAGS="$ac_save_CXXFLAGS"
66138 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66139 ac_save_CXXFLAGS="$CXXFLAGS"
66140 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66144 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
66145 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66146 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
66147 $as_echo_n "(cached) " >&6
66148 else
66151 ac_ext=cpp
66152 ac_cpp='$CXXCPP $CPPFLAGS'
66153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66158 /* end confdefs.h. */
66159 #include <stdlib.h>
66161 main ()
66163 at_quick_exit(0);
66165 return 0;
66167 _ACEOF
66168 if ac_fn_cxx_try_compile "$LINENO"; then :
66169 glibcxx_cv_func_at_quick_exit_use=yes
66170 else
66171 glibcxx_cv_func_at_quick_exit_use=no
66173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66174 ac_ext=c
66175 ac_cpp='$CPP $CPPFLAGS'
66176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66185 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66186 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66187 for ac_func in at_quick_exit
66188 do :
66189 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66190 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66191 cat >>confdefs.h <<_ACEOF
66192 #define HAVE_AT_QUICK_EXIT 1
66193 _ACEOF
66196 done
66201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66202 $as_echo_n "checking for quick_exit declaration... " >&6; }
66203 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66204 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66205 $as_echo_n "(cached) " >&6
66206 else
66209 ac_ext=cpp
66210 ac_cpp='$CXXCPP $CPPFLAGS'
66211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66216 /* end confdefs.h. */
66217 #include <stdlib.h>
66219 main ()
66221 quick_exit(0);
66223 return 0;
66225 _ACEOF
66226 if ac_fn_cxx_try_compile "$LINENO"; then :
66227 glibcxx_cv_func_quick_exit_use=yes
66228 else
66229 glibcxx_cv_func_quick_exit_use=no
66231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66232 ac_ext=c
66233 ac_cpp='$CPP $CPPFLAGS'
66234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
66243 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
66244 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
66245 for ac_func in quick_exit
66246 do :
66247 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
66248 if test "x$ac_cv_func_quick_exit" = xyes; then :
66249 cat >>confdefs.h <<_ACEOF
66250 #define HAVE_QUICK_EXIT 1
66251 _ACEOF
66254 done
66259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
66260 $as_echo_n "checking for strtold declaration... " >&6; }
66261 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
66262 if ${glibcxx_cv_func_strtold_use+:} false; then :
66263 $as_echo_n "(cached) " >&6
66264 else
66267 ac_ext=cpp
66268 ac_cpp='$CXXCPP $CPPFLAGS'
66269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66274 /* end confdefs.h. */
66275 #include <stdlib.h>
66277 main ()
66279 strtold(0, 0);
66281 return 0;
66283 _ACEOF
66284 if ac_fn_cxx_try_compile "$LINENO"; then :
66285 glibcxx_cv_func_strtold_use=yes
66286 else
66287 glibcxx_cv_func_strtold_use=no
66289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66290 ac_ext=c
66291 ac_cpp='$CPP $CPPFLAGS'
66292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66301 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66302 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66303 for ac_func in strtold
66304 do :
66305 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66306 if test "x$ac_cv_func_strtold" = xyes; then :
66307 cat >>confdefs.h <<_ACEOF
66308 #define HAVE_STRTOLD 1
66309 _ACEOF
66312 done
66319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66320 $as_echo_n "checking for strtof declaration... " >&6; }
66321 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66322 if ${glibcxx_cv_func_strtof_use+:} false; then :
66323 $as_echo_n "(cached) " >&6
66324 else
66327 ac_ext=cpp
66328 ac_cpp='$CXXCPP $CPPFLAGS'
66329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66334 /* end confdefs.h. */
66335 #include <stdlib.h>
66337 main ()
66339 strtof(0, 0);
66341 return 0;
66343 _ACEOF
66344 if ac_fn_cxx_try_compile "$LINENO"; then :
66345 glibcxx_cv_func_strtof_use=yes
66346 else
66347 glibcxx_cv_func_strtof_use=no
66349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66350 ac_ext=c
66351 ac_cpp='$CPP $CPPFLAGS'
66352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66361 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66362 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66363 for ac_func in strtof
66364 do :
66365 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66366 if test "x$ac_cv_func_strtof" = xyes; then :
66367 cat >>confdefs.h <<_ACEOF
66368 #define HAVE_STRTOF 1
66369 _ACEOF
66372 done
66379 CXXFLAGS="$ac_save_CXXFLAGS"
66381 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66382 do :
66383 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66384 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66385 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66386 cat >>confdefs.h <<_ACEOF
66387 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66388 _ACEOF
66391 done
66393 for ac_func in _wfopen
66394 do :
66395 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
66396 if test "x$ac_cv_func__wfopen" = xyes; then :
66397 cat >>confdefs.h <<_ACEOF
66398 #define HAVE__WFOPEN 1
66399 _ACEOF
66402 done
66405 *-netbsd* | *-openbsd*)
66406 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66409 # If we're not using GNU ld, then there's no point in even trying these
66410 # tests. Check for that first. We should have already tested for gld
66411 # by now (in libtool), but require it now just to be safe...
66412 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66413 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66417 # The name set by libtool depends on the version of libtool. Shame on us
66418 # for depending on an impl detail, but c'est la vie. Older versions used
66419 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66420 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66421 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66422 # set (hence we're using an older libtool), then set it.
66423 if test x${with_gnu_ld+set} != xset; then
66424 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66425 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66426 with_gnu_ld=no
66427 else
66428 with_gnu_ld=$ac_cv_prog_gnu_ld
66432 # Start by getting the version number. I think the libtool test already
66433 # does some of this, but throws away the result.
66434 glibcxx_ld_is_gold=no
66435 if test x"$with_gnu_ld" = x"yes"; then
66436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66437 $as_echo_n "checking for ld version... " >&6; }
66439 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66440 glibcxx_ld_is_gold=yes
66442 ldver=`$LD --version 2>/dev/null |
66443 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'`
66445 glibcxx_gnu_ld_version=`echo $ldver | \
66446 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66448 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66451 # Set --gc-sections.
66452 glibcxx_have_gc_sections=no
66453 if test "$glibcxx_ld_is_gold" = "yes"; then
66454 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66455 glibcxx_have_gc_sections=yes
66457 else
66458 glibcxx_gcsections_min_ld=21602
66459 if test x"$with_gnu_ld" = x"yes" &&
66460 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66461 glibcxx_have_gc_sections=yes
66464 if test "$glibcxx_have_gc_sections" = "yes"; then
66465 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66466 # NB: This flag only works reliably after 2.16.1. Configure tests
66467 # for this are difficult, so hard wire a value that should work.
66469 ac_test_CFLAGS="${CFLAGS+set}"
66470 ac_save_CFLAGS="$CFLAGS"
66471 CFLAGS='-Wl,--gc-sections'
66473 # Check for -Wl,--gc-sections
66474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66475 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66476 if test x$gcc_no_link = xyes; then
66477 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66480 /* end confdefs.h. */
66481 int one(void) { return 1; }
66482 int two(void) { return 2; }
66485 main ()
66487 two();
66489 return 0;
66491 _ACEOF
66492 if ac_fn_c_try_link "$LINENO"; then :
66493 ac_gcsections=yes
66494 else
66495 ac_gcsections=no
66497 rm -f core conftest.err conftest.$ac_objext \
66498 conftest$ac_exeext conftest.$ac_ext
66499 if test "$ac_gcsections" = "yes"; then
66500 rm -f conftest.c
66501 touch conftest.c
66502 if $CC -c conftest.c; then
66503 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66504 grep "Warning: gc-sections option ignored" > /dev/null; then
66505 ac_gcsections=no
66508 rm -f conftest.c conftest.o conftest
66510 if test "$ac_gcsections" = "yes"; then
66511 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66514 $as_echo "$ac_gcsections" >&6; }
66516 if test "$ac_test_CFLAGS" = set; then
66517 CFLAGS="$ac_save_CFLAGS"
66518 else
66519 # this is the suspicious part
66520 CFLAGS=''
66524 # Set -z,relro.
66525 # Note this is only for shared objects.
66526 ac_ld_relro=no
66527 if test x"$with_gnu_ld" = x"yes"; then
66528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66529 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66530 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66531 if test -n "$cxx_z_relo"; then
66532 OPT_LDFLAGS="-Wl,-z,relro"
66533 ac_ld_relro=yes
66535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66536 $as_echo "$ac_ld_relro" >&6; }
66539 # Set linker optimization flags.
66540 if test x"$with_gnu_ld" = x"yes"; then
66541 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66547 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66549 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66551 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66553 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66555 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66557 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66559 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66561 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66563 if test x"long_double_math_on_this_cpu" = x"yes"; then
66564 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66566 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66568 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66571 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66572 do :
66573 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66574 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66575 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66576 cat >>confdefs.h <<_ACEOF
66577 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66578 _ACEOF
66581 done
66583 for ac_func in timespec_get
66584 do :
66585 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
66586 if test "x$ac_cv_func_timespec_get" = xyes; then :
66587 cat >>confdefs.h <<_ACEOF
66588 #define HAVE_TIMESPEC_GET 1
66589 _ACEOF
66592 done
66595 *-qnx6.1* | *-qnx6.2*)
66596 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66599 # If we're not using GNU ld, then there's no point in even trying these
66600 # tests. Check for that first. We should have already tested for gld
66601 # by now (in libtool), but require it now just to be safe...
66602 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66603 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66607 # The name set by libtool depends on the version of libtool. Shame on us
66608 # for depending on an impl detail, but c'est la vie. Older versions used
66609 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66610 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66611 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66612 # set (hence we're using an older libtool), then set it.
66613 if test x${with_gnu_ld+set} != xset; then
66614 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66615 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66616 with_gnu_ld=no
66617 else
66618 with_gnu_ld=$ac_cv_prog_gnu_ld
66622 # Start by getting the version number. I think the libtool test already
66623 # does some of this, but throws away the result.
66624 glibcxx_ld_is_gold=no
66625 if test x"$with_gnu_ld" = x"yes"; then
66626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66627 $as_echo_n "checking for ld version... " >&6; }
66629 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66630 glibcxx_ld_is_gold=yes
66632 ldver=`$LD --version 2>/dev/null |
66633 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'`
66635 glibcxx_gnu_ld_version=`echo $ldver | \
66636 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66638 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66641 # Set --gc-sections.
66642 glibcxx_have_gc_sections=no
66643 if test "$glibcxx_ld_is_gold" = "yes"; then
66644 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66645 glibcxx_have_gc_sections=yes
66647 else
66648 glibcxx_gcsections_min_ld=21602
66649 if test x"$with_gnu_ld" = x"yes" &&
66650 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66651 glibcxx_have_gc_sections=yes
66654 if test "$glibcxx_have_gc_sections" = "yes"; then
66655 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66656 # NB: This flag only works reliably after 2.16.1. Configure tests
66657 # for this are difficult, so hard wire a value that should work.
66659 ac_test_CFLAGS="${CFLAGS+set}"
66660 ac_save_CFLAGS="$CFLAGS"
66661 CFLAGS='-Wl,--gc-sections'
66663 # Check for -Wl,--gc-sections
66664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66665 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66666 if test x$gcc_no_link = xyes; then
66667 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66670 /* end confdefs.h. */
66671 int one(void) { return 1; }
66672 int two(void) { return 2; }
66675 main ()
66677 two();
66679 return 0;
66681 _ACEOF
66682 if ac_fn_c_try_link "$LINENO"; then :
66683 ac_gcsections=yes
66684 else
66685 ac_gcsections=no
66687 rm -f core conftest.err conftest.$ac_objext \
66688 conftest$ac_exeext conftest.$ac_ext
66689 if test "$ac_gcsections" = "yes"; then
66690 rm -f conftest.c
66691 touch conftest.c
66692 if $CC -c conftest.c; then
66693 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66694 grep "Warning: gc-sections option ignored" > /dev/null; then
66695 ac_gcsections=no
66698 rm -f conftest.c conftest.o conftest
66700 if test "$ac_gcsections" = "yes"; then
66701 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66704 $as_echo "$ac_gcsections" >&6; }
66706 if test "$ac_test_CFLAGS" = set; then
66707 CFLAGS="$ac_save_CFLAGS"
66708 else
66709 # this is the suspicious part
66710 CFLAGS=''
66714 # Set -z,relro.
66715 # Note this is only for shared objects.
66716 ac_ld_relro=no
66717 if test x"$with_gnu_ld" = x"yes"; then
66718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66719 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66720 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66721 if test -n "$cxx_z_relo"; then
66722 OPT_LDFLAGS="-Wl,-z,relro"
66723 ac_ld_relro=yes
66725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66726 $as_echo "$ac_ld_relro" >&6; }
66729 # Set linker optimization flags.
66730 if test x"$with_gnu_ld" = x"yes"; then
66731 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66737 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66739 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66741 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66743 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66745 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66747 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66749 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66751 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66753 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66755 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66757 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66759 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66762 *-rtems*)
66764 # All these tests are for C++; save the language and the compiler flags.
66765 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66766 # found in GLIBCXX_CONFIGURE.
66768 ac_ext=cpp
66769 ac_cpp='$CXXCPP $CPPFLAGS'
66770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66774 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66775 ac_save_CXXFLAGS="$CXXFLAGS"
66777 # Check for -ffunction-sections -fdata-sections
66778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66779 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66780 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66782 /* end confdefs.h. */
66783 int foo; void bar() { };
66785 main ()
66789 return 0;
66791 _ACEOF
66792 if ac_fn_cxx_try_compile "$LINENO"; then :
66793 ac_fdsections=yes
66794 else
66795 ac_fdsections=no
66797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66798 if test "$ac_test_CXXFLAGS" = set; then
66799 CXXFLAGS="$ac_save_CXXFLAGS"
66800 else
66801 # this is the suspicious part
66802 CXXFLAGS=''
66804 if test x"$ac_fdsections" = x"yes"; then
66805 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66808 $as_echo "$ac_fdsections" >&6; }
66810 ac_ext=c
66811 ac_cpp='$CPP $CPPFLAGS'
66812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66819 # If we're not using GNU ld, then there's no point in even trying these
66820 # tests. Check for that first. We should have already tested for gld
66821 # by now (in libtool), but require it now just to be safe...
66822 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66823 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66827 # The name set by libtool depends on the version of libtool. Shame on us
66828 # for depending on an impl detail, but c'est la vie. Older versions used
66829 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66830 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66831 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66832 # set (hence we're using an older libtool), then set it.
66833 if test x${with_gnu_ld+set} != xset; then
66834 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66835 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66836 with_gnu_ld=no
66837 else
66838 with_gnu_ld=$ac_cv_prog_gnu_ld
66842 # Start by getting the version number. I think the libtool test already
66843 # does some of this, but throws away the result.
66844 glibcxx_ld_is_gold=no
66845 if test x"$with_gnu_ld" = x"yes"; then
66846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66847 $as_echo_n "checking for ld version... " >&6; }
66849 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66850 glibcxx_ld_is_gold=yes
66852 ldver=`$LD --version 2>/dev/null |
66853 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'`
66855 glibcxx_gnu_ld_version=`echo $ldver | \
66856 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66858 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66861 # Set --gc-sections.
66862 glibcxx_have_gc_sections=no
66863 if test "$glibcxx_ld_is_gold" = "yes"; then
66864 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66865 glibcxx_have_gc_sections=yes
66867 else
66868 glibcxx_gcsections_min_ld=21602
66869 if test x"$with_gnu_ld" = x"yes" &&
66870 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66871 glibcxx_have_gc_sections=yes
66874 if test "$glibcxx_have_gc_sections" = "yes"; then
66875 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66876 # NB: This flag only works reliably after 2.16.1. Configure tests
66877 # for this are difficult, so hard wire a value that should work.
66879 ac_test_CFLAGS="${CFLAGS+set}"
66880 ac_save_CFLAGS="$CFLAGS"
66881 CFLAGS='-Wl,--gc-sections'
66883 # Check for -Wl,--gc-sections
66884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66885 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66886 if test x$gcc_no_link = xyes; then
66887 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66890 /* end confdefs.h. */
66891 int one(void) { return 1; }
66892 int two(void) { return 2; }
66895 main ()
66897 two();
66899 return 0;
66901 _ACEOF
66902 if ac_fn_c_try_link "$LINENO"; then :
66903 ac_gcsections=yes
66904 else
66905 ac_gcsections=no
66907 rm -f core conftest.err conftest.$ac_objext \
66908 conftest$ac_exeext conftest.$ac_ext
66909 if test "$ac_gcsections" = "yes"; then
66910 rm -f conftest.c
66911 touch conftest.c
66912 if $CC -c conftest.c; then
66913 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66914 grep "Warning: gc-sections option ignored" > /dev/null; then
66915 ac_gcsections=no
66918 rm -f conftest.c conftest.o conftest
66920 if test "$ac_gcsections" = "yes"; then
66921 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66924 $as_echo "$ac_gcsections" >&6; }
66926 if test "$ac_test_CFLAGS" = set; then
66927 CFLAGS="$ac_save_CFLAGS"
66928 else
66929 # this is the suspicious part
66930 CFLAGS=''
66934 # Set -z,relro.
66935 # Note this is only for shared objects.
66936 ac_ld_relro=no
66937 if test x"$with_gnu_ld" = x"yes"; then
66938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66939 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66940 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66941 if test -n "$cxx_z_relo"; then
66942 OPT_LDFLAGS="-Wl,-z,relro"
66943 ac_ld_relro=yes
66945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66946 $as_echo "$ac_ld_relro" >&6; }
66949 # Set linker optimization flags.
66950 if test x"$with_gnu_ld" = x"yes"; then
66951 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66958 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66959 ac_save_CXXFLAGS="$CXXFLAGS"
66960 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66963 $as_echo_n "checking for sin in -lm... " >&6; }
66964 if ${ac_cv_lib_m_sin+:} false; then :
66965 $as_echo_n "(cached) " >&6
66966 else
66967 ac_check_lib_save_LIBS=$LIBS
66968 LIBS="-lm $LIBS"
66969 if test x$gcc_no_link = xyes; then
66970 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66973 /* end confdefs.h. */
66975 /* Override any GCC internal prototype to avoid an error.
66976 Use char because int might match the return type of a GCC
66977 builtin and then its argument prototype would still apply. */
66978 #ifdef __cplusplus
66979 extern "C"
66980 #endif
66981 char sin ();
66983 main ()
66985 return sin ();
66987 return 0;
66989 _ACEOF
66990 if ac_fn_c_try_link "$LINENO"; then :
66991 ac_cv_lib_m_sin=yes
66992 else
66993 ac_cv_lib_m_sin=no
66995 rm -f core conftest.err conftest.$ac_objext \
66996 conftest$ac_exeext conftest.$ac_ext
66997 LIBS=$ac_check_lib_save_LIBS
66999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
67000 $as_echo "$ac_cv_lib_m_sin" >&6; }
67001 if test "x$ac_cv_lib_m_sin" = xyes; then :
67002 libm="-lm"
67005 ac_save_LIBS="$LIBS"
67006 LIBS="$LIBS $libm"
67010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
67011 $as_echo_n "checking for isinf declaration... " >&6; }
67012 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
67013 if ${glibcxx_cv_func_isinf_use+:} false; then :
67014 $as_echo_n "(cached) " >&6
67015 else
67018 ac_ext=cpp
67019 ac_cpp='$CXXCPP $CPPFLAGS'
67020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67025 /* end confdefs.h. */
67026 #include <math.h>
67027 #ifdef HAVE_IEEEFP_H
67028 #include <ieeefp.h>
67029 #endif
67032 main ()
67034 isinf(0);
67036 return 0;
67038 _ACEOF
67039 if ac_fn_cxx_try_compile "$LINENO"; then :
67040 glibcxx_cv_func_isinf_use=yes
67041 else
67042 glibcxx_cv_func_isinf_use=no
67044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67045 ac_ext=c
67046 ac_cpp='$CPP $CPPFLAGS'
67047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
67056 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
67058 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
67059 for ac_func in isinf
67060 do :
67061 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
67062 if test "x$ac_cv_func_isinf" = xyes; then :
67063 cat >>confdefs.h <<_ACEOF
67064 #define HAVE_ISINF 1
67065 _ACEOF
67068 done
67070 else
67072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
67073 $as_echo_n "checking for _isinf declaration... " >&6; }
67074 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
67075 if ${glibcxx_cv_func__isinf_use+:} false; then :
67076 $as_echo_n "(cached) " >&6
67077 else
67080 ac_ext=cpp
67081 ac_cpp='$CXXCPP $CPPFLAGS'
67082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67087 /* end confdefs.h. */
67088 #include <math.h>
67089 #ifdef HAVE_IEEEFP_H
67090 #include <ieeefp.h>
67091 #endif
67094 main ()
67096 _isinf(0);
67098 return 0;
67100 _ACEOF
67101 if ac_fn_cxx_try_compile "$LINENO"; then :
67102 glibcxx_cv_func__isinf_use=yes
67103 else
67104 glibcxx_cv_func__isinf_use=no
67106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67107 ac_ext=c
67108 ac_cpp='$CPP $CPPFLAGS'
67109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
67118 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
67120 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
67121 for ac_func in _isinf
67122 do :
67123 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
67124 if test "x$ac_cv_func__isinf" = xyes; then :
67125 cat >>confdefs.h <<_ACEOF
67126 #define HAVE__ISINF 1
67127 _ACEOF
67130 done
67139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
67140 $as_echo_n "checking for isnan declaration... " >&6; }
67141 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
67142 if ${glibcxx_cv_func_isnan_use+:} false; then :
67143 $as_echo_n "(cached) " >&6
67144 else
67147 ac_ext=cpp
67148 ac_cpp='$CXXCPP $CPPFLAGS'
67149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67154 /* end confdefs.h. */
67155 #include <math.h>
67156 #ifdef HAVE_IEEEFP_H
67157 #include <ieeefp.h>
67158 #endif
67161 main ()
67163 isnan(0);
67165 return 0;
67167 _ACEOF
67168 if ac_fn_cxx_try_compile "$LINENO"; then :
67169 glibcxx_cv_func_isnan_use=yes
67170 else
67171 glibcxx_cv_func_isnan_use=no
67173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67174 ac_ext=c
67175 ac_cpp='$CPP $CPPFLAGS'
67176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
67185 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
67187 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
67188 for ac_func in isnan
67189 do :
67190 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
67191 if test "x$ac_cv_func_isnan" = xyes; then :
67192 cat >>confdefs.h <<_ACEOF
67193 #define HAVE_ISNAN 1
67194 _ACEOF
67197 done
67199 else
67201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
67202 $as_echo_n "checking for _isnan declaration... " >&6; }
67203 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
67204 if ${glibcxx_cv_func__isnan_use+:} false; then :
67205 $as_echo_n "(cached) " >&6
67206 else
67209 ac_ext=cpp
67210 ac_cpp='$CXXCPP $CPPFLAGS'
67211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67216 /* end confdefs.h. */
67217 #include <math.h>
67218 #ifdef HAVE_IEEEFP_H
67219 #include <ieeefp.h>
67220 #endif
67223 main ()
67225 _isnan(0);
67227 return 0;
67229 _ACEOF
67230 if ac_fn_cxx_try_compile "$LINENO"; then :
67231 glibcxx_cv_func__isnan_use=yes
67232 else
67233 glibcxx_cv_func__isnan_use=no
67235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67236 ac_ext=c
67237 ac_cpp='$CPP $CPPFLAGS'
67238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
67247 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
67249 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
67250 for ac_func in _isnan
67251 do :
67252 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
67253 if test "x$ac_cv_func__isnan" = xyes; then :
67254 cat >>confdefs.h <<_ACEOF
67255 #define HAVE__ISNAN 1
67256 _ACEOF
67259 done
67268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
67269 $as_echo_n "checking for finite declaration... " >&6; }
67270 if test x${glibcxx_cv_func_finite_use+set} != xset; then
67271 if ${glibcxx_cv_func_finite_use+:} false; then :
67272 $as_echo_n "(cached) " >&6
67273 else
67276 ac_ext=cpp
67277 ac_cpp='$CXXCPP $CPPFLAGS'
67278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67283 /* end confdefs.h. */
67284 #include <math.h>
67285 #ifdef HAVE_IEEEFP_H
67286 #include <ieeefp.h>
67287 #endif
67290 main ()
67292 finite(0);
67294 return 0;
67296 _ACEOF
67297 if ac_fn_cxx_try_compile "$LINENO"; then :
67298 glibcxx_cv_func_finite_use=yes
67299 else
67300 glibcxx_cv_func_finite_use=no
67302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67303 ac_ext=c
67304 ac_cpp='$CPP $CPPFLAGS'
67305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67314 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67316 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67317 for ac_func in finite
67318 do :
67319 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67320 if test "x$ac_cv_func_finite" = xyes; then :
67321 cat >>confdefs.h <<_ACEOF
67322 #define HAVE_FINITE 1
67323 _ACEOF
67326 done
67328 else
67330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67331 $as_echo_n "checking for _finite declaration... " >&6; }
67332 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67333 if ${glibcxx_cv_func__finite_use+:} false; then :
67334 $as_echo_n "(cached) " >&6
67335 else
67338 ac_ext=cpp
67339 ac_cpp='$CXXCPP $CPPFLAGS'
67340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67345 /* end confdefs.h. */
67346 #include <math.h>
67347 #ifdef HAVE_IEEEFP_H
67348 #include <ieeefp.h>
67349 #endif
67352 main ()
67354 _finite(0);
67356 return 0;
67358 _ACEOF
67359 if ac_fn_cxx_try_compile "$LINENO"; then :
67360 glibcxx_cv_func__finite_use=yes
67361 else
67362 glibcxx_cv_func__finite_use=no
67364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67365 ac_ext=c
67366 ac_cpp='$CPP $CPPFLAGS'
67367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67376 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67378 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67379 for ac_func in _finite
67380 do :
67381 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67382 if test "x$ac_cv_func__finite" = xyes; then :
67383 cat >>confdefs.h <<_ACEOF
67384 #define HAVE__FINITE 1
67385 _ACEOF
67388 done
67397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67398 $as_echo_n "checking for sincos declaration... " >&6; }
67399 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67400 if ${glibcxx_cv_func_sincos_use+:} false; then :
67401 $as_echo_n "(cached) " >&6
67402 else
67405 ac_ext=cpp
67406 ac_cpp='$CXXCPP $CPPFLAGS'
67407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67412 /* end confdefs.h. */
67413 #include <math.h>
67415 main ()
67417 sincos(0, 0, 0);
67419 return 0;
67421 _ACEOF
67422 if ac_fn_cxx_try_compile "$LINENO"; then :
67423 glibcxx_cv_func_sincos_use=yes
67424 else
67425 glibcxx_cv_func_sincos_use=no
67427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67428 ac_ext=c
67429 ac_cpp='$CPP $CPPFLAGS'
67430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67439 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67441 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67442 for ac_func in sincos
67443 do :
67444 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67445 if test "x$ac_cv_func_sincos" = xyes; then :
67446 cat >>confdefs.h <<_ACEOF
67447 #define HAVE_SINCOS 1
67448 _ACEOF
67451 done
67453 else
67455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67456 $as_echo_n "checking for _sincos declaration... " >&6; }
67457 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67458 if ${glibcxx_cv_func__sincos_use+:} false; then :
67459 $as_echo_n "(cached) " >&6
67460 else
67463 ac_ext=cpp
67464 ac_cpp='$CXXCPP $CPPFLAGS'
67465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67470 /* end confdefs.h. */
67471 #include <math.h>
67473 main ()
67475 _sincos(0, 0, 0);
67477 return 0;
67479 _ACEOF
67480 if ac_fn_cxx_try_compile "$LINENO"; then :
67481 glibcxx_cv_func__sincos_use=yes
67482 else
67483 glibcxx_cv_func__sincos_use=no
67485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67486 ac_ext=c
67487 ac_cpp='$CPP $CPPFLAGS'
67488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67497 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67499 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67500 for ac_func in _sincos
67501 do :
67502 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67503 if test "x$ac_cv_func__sincos" = xyes; then :
67504 cat >>confdefs.h <<_ACEOF
67505 #define HAVE__SINCOS 1
67506 _ACEOF
67509 done
67518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67519 $as_echo_n "checking for fpclass declaration... " >&6; }
67520 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67521 if ${glibcxx_cv_func_fpclass_use+:} false; then :
67522 $as_echo_n "(cached) " >&6
67523 else
67526 ac_ext=cpp
67527 ac_cpp='$CXXCPP $CPPFLAGS'
67528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67533 /* end confdefs.h. */
67534 #include <math.h>
67535 #ifdef HAVE_IEEEFP_H
67536 #include <ieeefp.h>
67537 #endif
67540 main ()
67542 fpclass(0);
67544 return 0;
67546 _ACEOF
67547 if ac_fn_cxx_try_compile "$LINENO"; then :
67548 glibcxx_cv_func_fpclass_use=yes
67549 else
67550 glibcxx_cv_func_fpclass_use=no
67552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67553 ac_ext=c
67554 ac_cpp='$CPP $CPPFLAGS'
67555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67564 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67566 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67567 for ac_func in fpclass
67568 do :
67569 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67570 if test "x$ac_cv_func_fpclass" = xyes; then :
67571 cat >>confdefs.h <<_ACEOF
67572 #define HAVE_FPCLASS 1
67573 _ACEOF
67576 done
67578 else
67580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67581 $as_echo_n "checking for _fpclass declaration... " >&6; }
67582 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67583 if ${glibcxx_cv_func__fpclass_use+:} false; then :
67584 $as_echo_n "(cached) " >&6
67585 else
67588 ac_ext=cpp
67589 ac_cpp='$CXXCPP $CPPFLAGS'
67590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67595 /* end confdefs.h. */
67596 #include <math.h>
67597 #ifdef HAVE_IEEEFP_H
67598 #include <ieeefp.h>
67599 #endif
67602 main ()
67604 _fpclass(0);
67606 return 0;
67608 _ACEOF
67609 if ac_fn_cxx_try_compile "$LINENO"; then :
67610 glibcxx_cv_func__fpclass_use=yes
67611 else
67612 glibcxx_cv_func__fpclass_use=no
67614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67615 ac_ext=c
67616 ac_cpp='$CPP $CPPFLAGS'
67617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67626 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67628 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67629 for ac_func in _fpclass
67630 do :
67631 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67632 if test "x$ac_cv_func__fpclass" = xyes; then :
67633 cat >>confdefs.h <<_ACEOF
67634 #define HAVE__FPCLASS 1
67635 _ACEOF
67638 done
67647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67648 $as_echo_n "checking for qfpclass declaration... " >&6; }
67649 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67650 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
67651 $as_echo_n "(cached) " >&6
67652 else
67655 ac_ext=cpp
67656 ac_cpp='$CXXCPP $CPPFLAGS'
67657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67662 /* end confdefs.h. */
67663 #include <math.h>
67664 #ifdef HAVE_IEEEFP_H
67665 #include <ieeefp.h>
67666 #endif
67669 main ()
67671 qfpclass(0);
67673 return 0;
67675 _ACEOF
67676 if ac_fn_cxx_try_compile "$LINENO"; then :
67677 glibcxx_cv_func_qfpclass_use=yes
67678 else
67679 glibcxx_cv_func_qfpclass_use=no
67681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67682 ac_ext=c
67683 ac_cpp='$CPP $CPPFLAGS'
67684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67693 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67695 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67696 for ac_func in qfpclass
67697 do :
67698 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67699 if test "x$ac_cv_func_qfpclass" = xyes; then :
67700 cat >>confdefs.h <<_ACEOF
67701 #define HAVE_QFPCLASS 1
67702 _ACEOF
67705 done
67707 else
67709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67710 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67711 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67712 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
67713 $as_echo_n "(cached) " >&6
67714 else
67717 ac_ext=cpp
67718 ac_cpp='$CXXCPP $CPPFLAGS'
67719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67724 /* end confdefs.h. */
67725 #include <math.h>
67726 #ifdef HAVE_IEEEFP_H
67727 #include <ieeefp.h>
67728 #endif
67731 main ()
67733 _qfpclass(0);
67735 return 0;
67737 _ACEOF
67738 if ac_fn_cxx_try_compile "$LINENO"; then :
67739 glibcxx_cv_func__qfpclass_use=yes
67740 else
67741 glibcxx_cv_func__qfpclass_use=no
67743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67744 ac_ext=c
67745 ac_cpp='$CPP $CPPFLAGS'
67746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67755 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67757 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67758 for ac_func in _qfpclass
67759 do :
67760 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67761 if test "x$ac_cv_func__qfpclass" = xyes; then :
67762 cat >>confdefs.h <<_ACEOF
67763 #define HAVE__QFPCLASS 1
67764 _ACEOF
67767 done
67776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67777 $as_echo_n "checking for hypot declaration... " >&6; }
67778 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67779 if ${glibcxx_cv_func_hypot_use+:} false; then :
67780 $as_echo_n "(cached) " >&6
67781 else
67784 ac_ext=cpp
67785 ac_cpp='$CXXCPP $CPPFLAGS'
67786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67791 /* end confdefs.h. */
67792 #include <math.h>
67794 main ()
67796 hypot(0, 0);
67798 return 0;
67800 _ACEOF
67801 if ac_fn_cxx_try_compile "$LINENO"; then :
67802 glibcxx_cv_func_hypot_use=yes
67803 else
67804 glibcxx_cv_func_hypot_use=no
67806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67807 ac_ext=c
67808 ac_cpp='$CPP $CPPFLAGS'
67809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67818 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67820 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67821 for ac_func in hypot
67822 do :
67823 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67824 if test "x$ac_cv_func_hypot" = xyes; then :
67825 cat >>confdefs.h <<_ACEOF
67826 #define HAVE_HYPOT 1
67827 _ACEOF
67830 done
67832 else
67834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67835 $as_echo_n "checking for _hypot declaration... " >&6; }
67836 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67837 if ${glibcxx_cv_func__hypot_use+:} false; then :
67838 $as_echo_n "(cached) " >&6
67839 else
67842 ac_ext=cpp
67843 ac_cpp='$CXXCPP $CPPFLAGS'
67844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67849 /* end confdefs.h. */
67850 #include <math.h>
67852 main ()
67854 _hypot(0, 0);
67856 return 0;
67858 _ACEOF
67859 if ac_fn_cxx_try_compile "$LINENO"; then :
67860 glibcxx_cv_func__hypot_use=yes
67861 else
67862 glibcxx_cv_func__hypot_use=no
67864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67865 ac_ext=c
67866 ac_cpp='$CPP $CPPFLAGS'
67867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67876 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67878 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67879 for ac_func in _hypot
67880 do :
67881 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67882 if test "x$ac_cv_func__hypot" = xyes; then :
67883 cat >>confdefs.h <<_ACEOF
67884 #define HAVE__HYPOT 1
67885 _ACEOF
67888 done
67897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67898 $as_echo_n "checking for float trig functions... " >&6; }
67899 if ${glibcxx_cv_func_float_trig_use+:} false; then :
67900 $as_echo_n "(cached) " >&6
67901 else
67904 ac_ext=cpp
67905 ac_cpp='$CXXCPP $CPPFLAGS'
67906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67911 /* end confdefs.h. */
67912 #include <math.h>
67914 main ()
67916 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67918 return 0;
67920 _ACEOF
67921 if ac_fn_cxx_try_compile "$LINENO"; then :
67922 glibcxx_cv_func_float_trig_use=yes
67923 else
67924 glibcxx_cv_func_float_trig_use=no
67926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67927 ac_ext=c
67928 ac_cpp='$CPP $CPPFLAGS'
67929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67936 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67937 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67938 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67939 do :
67940 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67941 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67942 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67943 cat >>confdefs.h <<_ACEOF
67944 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67945 _ACEOF
67948 done
67950 else
67951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67952 $as_echo_n "checking for _float trig functions... " >&6; }
67953 if ${glibcxx_cv_func__float_trig_use+:} false; then :
67954 $as_echo_n "(cached) " >&6
67955 else
67958 ac_ext=cpp
67959 ac_cpp='$CXXCPP $CPPFLAGS'
67960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67965 /* end confdefs.h. */
67966 #include <math.h>
67968 main ()
67970 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67972 return 0;
67974 _ACEOF
67975 if ac_fn_cxx_try_compile "$LINENO"; then :
67976 glibcxx_cv_func__float_trig_use=yes
67977 else
67978 glibcxx_cv_func__float_trig_use=no
67980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67981 ac_ext=c
67982 ac_cpp='$CPP $CPPFLAGS'
67983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67990 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67991 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67992 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67993 do :
67994 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67995 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67996 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67997 cat >>confdefs.h <<_ACEOF
67998 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67999 _ACEOF
68002 done
68011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
68012 $as_echo_n "checking for float round functions... " >&6; }
68013 if ${glibcxx_cv_func_float_round_use+:} false; then :
68014 $as_echo_n "(cached) " >&6
68015 else
68018 ac_ext=cpp
68019 ac_cpp='$CXXCPP $CPPFLAGS'
68020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68025 /* end confdefs.h. */
68026 #include <math.h>
68028 main ()
68030 ceilf (0); floorf (0);
68032 return 0;
68034 _ACEOF
68035 if ac_fn_cxx_try_compile "$LINENO"; then :
68036 glibcxx_cv_func_float_round_use=yes
68037 else
68038 glibcxx_cv_func_float_round_use=no
68040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68041 ac_ext=c
68042 ac_cpp='$CPP $CPPFLAGS'
68043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
68050 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
68051 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
68052 for ac_func in ceilf floorf
68053 do :
68054 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68055 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68056 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68057 cat >>confdefs.h <<_ACEOF
68058 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68059 _ACEOF
68062 done
68064 else
68065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
68066 $as_echo_n "checking for _float round functions... " >&6; }
68067 if ${glibcxx_cv_func__float_round_use+:} false; then :
68068 $as_echo_n "(cached) " >&6
68069 else
68072 ac_ext=cpp
68073 ac_cpp='$CXXCPP $CPPFLAGS'
68074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68079 /* end confdefs.h. */
68080 #include <math.h>
68082 main ()
68084 _ceilf (0); _floorf (0);
68086 return 0;
68088 _ACEOF
68089 if ac_fn_cxx_try_compile "$LINENO"; then :
68090 glibcxx_cv_func__float_round_use=yes
68091 else
68092 glibcxx_cv_func__float_round_use=no
68094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68095 ac_ext=c
68096 ac_cpp='$CPP $CPPFLAGS'
68097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
68104 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
68105 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
68106 for ac_func in _ceilf _floorf
68107 do :
68108 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68109 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68110 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68111 cat >>confdefs.h <<_ACEOF
68112 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68113 _ACEOF
68116 done
68126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
68127 $as_echo_n "checking for expf declaration... " >&6; }
68128 if test x${glibcxx_cv_func_expf_use+set} != xset; then
68129 if ${glibcxx_cv_func_expf_use+:} false; then :
68130 $as_echo_n "(cached) " >&6
68131 else
68134 ac_ext=cpp
68135 ac_cpp='$CXXCPP $CPPFLAGS'
68136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68141 /* end confdefs.h. */
68142 #include <math.h>
68143 #ifdef HAVE_IEEEFP_H
68144 #include <ieeefp.h>
68145 #endif
68148 main ()
68150 expf(0);
68152 return 0;
68154 _ACEOF
68155 if ac_fn_cxx_try_compile "$LINENO"; then :
68156 glibcxx_cv_func_expf_use=yes
68157 else
68158 glibcxx_cv_func_expf_use=no
68160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68161 ac_ext=c
68162 ac_cpp='$CPP $CPPFLAGS'
68163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
68172 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
68174 if test x$glibcxx_cv_func_expf_use = x"yes"; then
68175 for ac_func in expf
68176 do :
68177 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
68178 if test "x$ac_cv_func_expf" = xyes; then :
68179 cat >>confdefs.h <<_ACEOF
68180 #define HAVE_EXPF 1
68181 _ACEOF
68184 done
68186 else
68188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
68189 $as_echo_n "checking for _expf declaration... " >&6; }
68190 if test x${glibcxx_cv_func__expf_use+set} != xset; then
68191 if ${glibcxx_cv_func__expf_use+:} false; then :
68192 $as_echo_n "(cached) " >&6
68193 else
68196 ac_ext=cpp
68197 ac_cpp='$CXXCPP $CPPFLAGS'
68198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68203 /* end confdefs.h. */
68204 #include <math.h>
68205 #ifdef HAVE_IEEEFP_H
68206 #include <ieeefp.h>
68207 #endif
68210 main ()
68212 _expf(0);
68214 return 0;
68216 _ACEOF
68217 if ac_fn_cxx_try_compile "$LINENO"; then :
68218 glibcxx_cv_func__expf_use=yes
68219 else
68220 glibcxx_cv_func__expf_use=no
68222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68223 ac_ext=c
68224 ac_cpp='$CPP $CPPFLAGS'
68225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
68234 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
68236 if test x$glibcxx_cv_func__expf_use = x"yes"; then
68237 for ac_func in _expf
68238 do :
68239 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
68240 if test "x$ac_cv_func__expf" = xyes; then :
68241 cat >>confdefs.h <<_ACEOF
68242 #define HAVE__EXPF 1
68243 _ACEOF
68246 done
68255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
68256 $as_echo_n "checking for isnanf declaration... " >&6; }
68257 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68258 if ${glibcxx_cv_func_isnanf_use+:} false; then :
68259 $as_echo_n "(cached) " >&6
68260 else
68263 ac_ext=cpp
68264 ac_cpp='$CXXCPP $CPPFLAGS'
68265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68270 /* end confdefs.h. */
68271 #include <math.h>
68272 #ifdef HAVE_IEEEFP_H
68273 #include <ieeefp.h>
68274 #endif
68277 main ()
68279 isnanf(0);
68281 return 0;
68283 _ACEOF
68284 if ac_fn_cxx_try_compile "$LINENO"; then :
68285 glibcxx_cv_func_isnanf_use=yes
68286 else
68287 glibcxx_cv_func_isnanf_use=no
68289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68290 ac_ext=c
68291 ac_cpp='$CPP $CPPFLAGS'
68292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68301 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68303 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68304 for ac_func in isnanf
68305 do :
68306 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68307 if test "x$ac_cv_func_isnanf" = xyes; then :
68308 cat >>confdefs.h <<_ACEOF
68309 #define HAVE_ISNANF 1
68310 _ACEOF
68313 done
68315 else
68317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68318 $as_echo_n "checking for _isnanf declaration... " >&6; }
68319 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68320 if ${glibcxx_cv_func__isnanf_use+:} false; then :
68321 $as_echo_n "(cached) " >&6
68322 else
68325 ac_ext=cpp
68326 ac_cpp='$CXXCPP $CPPFLAGS'
68327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68332 /* end confdefs.h. */
68333 #include <math.h>
68334 #ifdef HAVE_IEEEFP_H
68335 #include <ieeefp.h>
68336 #endif
68339 main ()
68341 _isnanf(0);
68343 return 0;
68345 _ACEOF
68346 if ac_fn_cxx_try_compile "$LINENO"; then :
68347 glibcxx_cv_func__isnanf_use=yes
68348 else
68349 glibcxx_cv_func__isnanf_use=no
68351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68352 ac_ext=c
68353 ac_cpp='$CPP $CPPFLAGS'
68354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68363 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68365 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68366 for ac_func in _isnanf
68367 do :
68368 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68369 if test "x$ac_cv_func__isnanf" = xyes; then :
68370 cat >>confdefs.h <<_ACEOF
68371 #define HAVE__ISNANF 1
68372 _ACEOF
68375 done
68384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68385 $as_echo_n "checking for isinff declaration... " >&6; }
68386 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68387 if ${glibcxx_cv_func_isinff_use+:} false; then :
68388 $as_echo_n "(cached) " >&6
68389 else
68392 ac_ext=cpp
68393 ac_cpp='$CXXCPP $CPPFLAGS'
68394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68399 /* end confdefs.h. */
68400 #include <math.h>
68401 #ifdef HAVE_IEEEFP_H
68402 #include <ieeefp.h>
68403 #endif
68406 main ()
68408 isinff(0);
68410 return 0;
68412 _ACEOF
68413 if ac_fn_cxx_try_compile "$LINENO"; then :
68414 glibcxx_cv_func_isinff_use=yes
68415 else
68416 glibcxx_cv_func_isinff_use=no
68418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68419 ac_ext=c
68420 ac_cpp='$CPP $CPPFLAGS'
68421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68430 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68432 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68433 for ac_func in isinff
68434 do :
68435 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68436 if test "x$ac_cv_func_isinff" = xyes; then :
68437 cat >>confdefs.h <<_ACEOF
68438 #define HAVE_ISINFF 1
68439 _ACEOF
68442 done
68444 else
68446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68447 $as_echo_n "checking for _isinff declaration... " >&6; }
68448 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68449 if ${glibcxx_cv_func__isinff_use+:} false; then :
68450 $as_echo_n "(cached) " >&6
68451 else
68454 ac_ext=cpp
68455 ac_cpp='$CXXCPP $CPPFLAGS'
68456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68461 /* end confdefs.h. */
68462 #include <math.h>
68463 #ifdef HAVE_IEEEFP_H
68464 #include <ieeefp.h>
68465 #endif
68468 main ()
68470 _isinff(0);
68472 return 0;
68474 _ACEOF
68475 if ac_fn_cxx_try_compile "$LINENO"; then :
68476 glibcxx_cv_func__isinff_use=yes
68477 else
68478 glibcxx_cv_func__isinff_use=no
68480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68481 ac_ext=c
68482 ac_cpp='$CPP $CPPFLAGS'
68483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68492 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68494 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68495 for ac_func in _isinff
68496 do :
68497 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68498 if test "x$ac_cv_func__isinff" = xyes; then :
68499 cat >>confdefs.h <<_ACEOF
68500 #define HAVE__ISINFF 1
68501 _ACEOF
68504 done
68513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68514 $as_echo_n "checking for atan2f declaration... " >&6; }
68515 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68516 if ${glibcxx_cv_func_atan2f_use+:} false; then :
68517 $as_echo_n "(cached) " >&6
68518 else
68521 ac_ext=cpp
68522 ac_cpp='$CXXCPP $CPPFLAGS'
68523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68528 /* end confdefs.h. */
68529 #include <math.h>
68531 main ()
68533 atan2f(0, 0);
68535 return 0;
68537 _ACEOF
68538 if ac_fn_cxx_try_compile "$LINENO"; then :
68539 glibcxx_cv_func_atan2f_use=yes
68540 else
68541 glibcxx_cv_func_atan2f_use=no
68543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68544 ac_ext=c
68545 ac_cpp='$CPP $CPPFLAGS'
68546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68555 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68557 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68558 for ac_func in atan2f
68559 do :
68560 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68561 if test "x$ac_cv_func_atan2f" = xyes; then :
68562 cat >>confdefs.h <<_ACEOF
68563 #define HAVE_ATAN2F 1
68564 _ACEOF
68567 done
68569 else
68571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68572 $as_echo_n "checking for _atan2f declaration... " >&6; }
68573 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68574 if ${glibcxx_cv_func__atan2f_use+:} false; then :
68575 $as_echo_n "(cached) " >&6
68576 else
68579 ac_ext=cpp
68580 ac_cpp='$CXXCPP $CPPFLAGS'
68581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68586 /* end confdefs.h. */
68587 #include <math.h>
68589 main ()
68591 _atan2f(0, 0);
68593 return 0;
68595 _ACEOF
68596 if ac_fn_cxx_try_compile "$LINENO"; then :
68597 glibcxx_cv_func__atan2f_use=yes
68598 else
68599 glibcxx_cv_func__atan2f_use=no
68601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68602 ac_ext=c
68603 ac_cpp='$CPP $CPPFLAGS'
68604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68613 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68615 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68616 for ac_func in _atan2f
68617 do :
68618 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68619 if test "x$ac_cv_func__atan2f" = xyes; then :
68620 cat >>confdefs.h <<_ACEOF
68621 #define HAVE__ATAN2F 1
68622 _ACEOF
68625 done
68634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68635 $as_echo_n "checking for fabsf declaration... " >&6; }
68636 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68637 if ${glibcxx_cv_func_fabsf_use+:} false; then :
68638 $as_echo_n "(cached) " >&6
68639 else
68642 ac_ext=cpp
68643 ac_cpp='$CXXCPP $CPPFLAGS'
68644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68649 /* end confdefs.h. */
68650 #include <math.h>
68651 #ifdef HAVE_IEEEFP_H
68652 #include <ieeefp.h>
68653 #endif
68656 main ()
68658 fabsf(0);
68660 return 0;
68662 _ACEOF
68663 if ac_fn_cxx_try_compile "$LINENO"; then :
68664 glibcxx_cv_func_fabsf_use=yes
68665 else
68666 glibcxx_cv_func_fabsf_use=no
68668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68669 ac_ext=c
68670 ac_cpp='$CPP $CPPFLAGS'
68671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68680 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68682 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68683 for ac_func in fabsf
68684 do :
68685 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68686 if test "x$ac_cv_func_fabsf" = xyes; then :
68687 cat >>confdefs.h <<_ACEOF
68688 #define HAVE_FABSF 1
68689 _ACEOF
68692 done
68694 else
68696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68697 $as_echo_n "checking for _fabsf declaration... " >&6; }
68698 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68699 if ${glibcxx_cv_func__fabsf_use+:} false; then :
68700 $as_echo_n "(cached) " >&6
68701 else
68704 ac_ext=cpp
68705 ac_cpp='$CXXCPP $CPPFLAGS'
68706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68711 /* end confdefs.h. */
68712 #include <math.h>
68713 #ifdef HAVE_IEEEFP_H
68714 #include <ieeefp.h>
68715 #endif
68718 main ()
68720 _fabsf(0);
68722 return 0;
68724 _ACEOF
68725 if ac_fn_cxx_try_compile "$LINENO"; then :
68726 glibcxx_cv_func__fabsf_use=yes
68727 else
68728 glibcxx_cv_func__fabsf_use=no
68730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68731 ac_ext=c
68732 ac_cpp='$CPP $CPPFLAGS'
68733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68742 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68744 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68745 for ac_func in _fabsf
68746 do :
68747 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68748 if test "x$ac_cv_func__fabsf" = xyes; then :
68749 cat >>confdefs.h <<_ACEOF
68750 #define HAVE__FABSF 1
68751 _ACEOF
68754 done
68763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68764 $as_echo_n "checking for fmodf declaration... " >&6; }
68765 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68766 if ${glibcxx_cv_func_fmodf_use+:} false; then :
68767 $as_echo_n "(cached) " >&6
68768 else
68771 ac_ext=cpp
68772 ac_cpp='$CXXCPP $CPPFLAGS'
68773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68778 /* end confdefs.h. */
68779 #include <math.h>
68781 main ()
68783 fmodf(0, 0);
68785 return 0;
68787 _ACEOF
68788 if ac_fn_cxx_try_compile "$LINENO"; then :
68789 glibcxx_cv_func_fmodf_use=yes
68790 else
68791 glibcxx_cv_func_fmodf_use=no
68793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68794 ac_ext=c
68795 ac_cpp='$CPP $CPPFLAGS'
68796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68805 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68807 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68808 for ac_func in fmodf
68809 do :
68810 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68811 if test "x$ac_cv_func_fmodf" = xyes; then :
68812 cat >>confdefs.h <<_ACEOF
68813 #define HAVE_FMODF 1
68814 _ACEOF
68817 done
68819 else
68821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68822 $as_echo_n "checking for _fmodf declaration... " >&6; }
68823 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68824 if ${glibcxx_cv_func__fmodf_use+:} false; then :
68825 $as_echo_n "(cached) " >&6
68826 else
68829 ac_ext=cpp
68830 ac_cpp='$CXXCPP $CPPFLAGS'
68831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68836 /* end confdefs.h. */
68837 #include <math.h>
68839 main ()
68841 _fmodf(0, 0);
68843 return 0;
68845 _ACEOF
68846 if ac_fn_cxx_try_compile "$LINENO"; then :
68847 glibcxx_cv_func__fmodf_use=yes
68848 else
68849 glibcxx_cv_func__fmodf_use=no
68851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68852 ac_ext=c
68853 ac_cpp='$CPP $CPPFLAGS'
68854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68863 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68865 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68866 for ac_func in _fmodf
68867 do :
68868 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68869 if test "x$ac_cv_func__fmodf" = xyes; then :
68870 cat >>confdefs.h <<_ACEOF
68871 #define HAVE__FMODF 1
68872 _ACEOF
68875 done
68884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68885 $as_echo_n "checking for frexpf declaration... " >&6; }
68886 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68887 if ${glibcxx_cv_func_frexpf_use+:} false; then :
68888 $as_echo_n "(cached) " >&6
68889 else
68892 ac_ext=cpp
68893 ac_cpp='$CXXCPP $CPPFLAGS'
68894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68899 /* end confdefs.h. */
68900 #include <math.h>
68902 main ()
68904 frexpf(0, 0);
68906 return 0;
68908 _ACEOF
68909 if ac_fn_cxx_try_compile "$LINENO"; then :
68910 glibcxx_cv_func_frexpf_use=yes
68911 else
68912 glibcxx_cv_func_frexpf_use=no
68914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68915 ac_ext=c
68916 ac_cpp='$CPP $CPPFLAGS'
68917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68926 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68928 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68929 for ac_func in frexpf
68930 do :
68931 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68932 if test "x$ac_cv_func_frexpf" = xyes; then :
68933 cat >>confdefs.h <<_ACEOF
68934 #define HAVE_FREXPF 1
68935 _ACEOF
68938 done
68940 else
68942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68943 $as_echo_n "checking for _frexpf declaration... " >&6; }
68944 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68945 if ${glibcxx_cv_func__frexpf_use+:} false; then :
68946 $as_echo_n "(cached) " >&6
68947 else
68950 ac_ext=cpp
68951 ac_cpp='$CXXCPP $CPPFLAGS'
68952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68957 /* end confdefs.h. */
68958 #include <math.h>
68960 main ()
68962 _frexpf(0, 0);
68964 return 0;
68966 _ACEOF
68967 if ac_fn_cxx_try_compile "$LINENO"; then :
68968 glibcxx_cv_func__frexpf_use=yes
68969 else
68970 glibcxx_cv_func__frexpf_use=no
68972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68973 ac_ext=c
68974 ac_cpp='$CPP $CPPFLAGS'
68975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68984 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68986 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68987 for ac_func in _frexpf
68988 do :
68989 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68990 if test "x$ac_cv_func__frexpf" = xyes; then :
68991 cat >>confdefs.h <<_ACEOF
68992 #define HAVE__FREXPF 1
68993 _ACEOF
68996 done
69005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
69006 $as_echo_n "checking for hypotf declaration... " >&6; }
69007 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
69008 if ${glibcxx_cv_func_hypotf_use+:} false; then :
69009 $as_echo_n "(cached) " >&6
69010 else
69013 ac_ext=cpp
69014 ac_cpp='$CXXCPP $CPPFLAGS'
69015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69020 /* end confdefs.h. */
69021 #include <math.h>
69023 main ()
69025 hypotf(0, 0);
69027 return 0;
69029 _ACEOF
69030 if ac_fn_cxx_try_compile "$LINENO"; then :
69031 glibcxx_cv_func_hypotf_use=yes
69032 else
69033 glibcxx_cv_func_hypotf_use=no
69035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69036 ac_ext=c
69037 ac_cpp='$CPP $CPPFLAGS'
69038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
69047 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
69049 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
69050 for ac_func in hypotf
69051 do :
69052 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
69053 if test "x$ac_cv_func_hypotf" = xyes; then :
69054 cat >>confdefs.h <<_ACEOF
69055 #define HAVE_HYPOTF 1
69056 _ACEOF
69059 done
69061 else
69063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
69064 $as_echo_n "checking for _hypotf declaration... " >&6; }
69065 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
69066 if ${glibcxx_cv_func__hypotf_use+:} false; then :
69067 $as_echo_n "(cached) " >&6
69068 else
69071 ac_ext=cpp
69072 ac_cpp='$CXXCPP $CPPFLAGS'
69073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69078 /* end confdefs.h. */
69079 #include <math.h>
69081 main ()
69083 _hypotf(0, 0);
69085 return 0;
69087 _ACEOF
69088 if ac_fn_cxx_try_compile "$LINENO"; then :
69089 glibcxx_cv_func__hypotf_use=yes
69090 else
69091 glibcxx_cv_func__hypotf_use=no
69093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69094 ac_ext=c
69095 ac_cpp='$CPP $CPPFLAGS'
69096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
69105 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
69107 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
69108 for ac_func in _hypotf
69109 do :
69110 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
69111 if test "x$ac_cv_func__hypotf" = xyes; then :
69112 cat >>confdefs.h <<_ACEOF
69113 #define HAVE__HYPOTF 1
69114 _ACEOF
69117 done
69126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
69127 $as_echo_n "checking for ldexpf declaration... " >&6; }
69128 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
69129 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
69130 $as_echo_n "(cached) " >&6
69131 else
69134 ac_ext=cpp
69135 ac_cpp='$CXXCPP $CPPFLAGS'
69136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69141 /* end confdefs.h. */
69142 #include <math.h>
69144 main ()
69146 ldexpf(0, 0);
69148 return 0;
69150 _ACEOF
69151 if ac_fn_cxx_try_compile "$LINENO"; then :
69152 glibcxx_cv_func_ldexpf_use=yes
69153 else
69154 glibcxx_cv_func_ldexpf_use=no
69156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69157 ac_ext=c
69158 ac_cpp='$CPP $CPPFLAGS'
69159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
69168 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
69170 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
69171 for ac_func in ldexpf
69172 do :
69173 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
69174 if test "x$ac_cv_func_ldexpf" = xyes; then :
69175 cat >>confdefs.h <<_ACEOF
69176 #define HAVE_LDEXPF 1
69177 _ACEOF
69180 done
69182 else
69184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
69185 $as_echo_n "checking for _ldexpf declaration... " >&6; }
69186 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
69187 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
69188 $as_echo_n "(cached) " >&6
69189 else
69192 ac_ext=cpp
69193 ac_cpp='$CXXCPP $CPPFLAGS'
69194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69199 /* end confdefs.h. */
69200 #include <math.h>
69202 main ()
69204 _ldexpf(0, 0);
69206 return 0;
69208 _ACEOF
69209 if ac_fn_cxx_try_compile "$LINENO"; then :
69210 glibcxx_cv_func__ldexpf_use=yes
69211 else
69212 glibcxx_cv_func__ldexpf_use=no
69214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69215 ac_ext=c
69216 ac_cpp='$CPP $CPPFLAGS'
69217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
69226 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
69228 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
69229 for ac_func in _ldexpf
69230 do :
69231 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
69232 if test "x$ac_cv_func__ldexpf" = xyes; then :
69233 cat >>confdefs.h <<_ACEOF
69234 #define HAVE__LDEXPF 1
69235 _ACEOF
69238 done
69247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
69248 $as_echo_n "checking for logf declaration... " >&6; }
69249 if test x${glibcxx_cv_func_logf_use+set} != xset; then
69250 if ${glibcxx_cv_func_logf_use+:} false; then :
69251 $as_echo_n "(cached) " >&6
69252 else
69255 ac_ext=cpp
69256 ac_cpp='$CXXCPP $CPPFLAGS'
69257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69262 /* end confdefs.h. */
69263 #include <math.h>
69264 #ifdef HAVE_IEEEFP_H
69265 #include <ieeefp.h>
69266 #endif
69269 main ()
69271 logf(0);
69273 return 0;
69275 _ACEOF
69276 if ac_fn_cxx_try_compile "$LINENO"; then :
69277 glibcxx_cv_func_logf_use=yes
69278 else
69279 glibcxx_cv_func_logf_use=no
69281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69282 ac_ext=c
69283 ac_cpp='$CPP $CPPFLAGS'
69284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69293 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
69295 if test x$glibcxx_cv_func_logf_use = x"yes"; then
69296 for ac_func in logf
69297 do :
69298 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69299 if test "x$ac_cv_func_logf" = xyes; then :
69300 cat >>confdefs.h <<_ACEOF
69301 #define HAVE_LOGF 1
69302 _ACEOF
69305 done
69307 else
69309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69310 $as_echo_n "checking for _logf declaration... " >&6; }
69311 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69312 if ${glibcxx_cv_func__logf_use+:} false; then :
69313 $as_echo_n "(cached) " >&6
69314 else
69317 ac_ext=cpp
69318 ac_cpp='$CXXCPP $CPPFLAGS'
69319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69324 /* end confdefs.h. */
69325 #include <math.h>
69326 #ifdef HAVE_IEEEFP_H
69327 #include <ieeefp.h>
69328 #endif
69331 main ()
69333 _logf(0);
69335 return 0;
69337 _ACEOF
69338 if ac_fn_cxx_try_compile "$LINENO"; then :
69339 glibcxx_cv_func__logf_use=yes
69340 else
69341 glibcxx_cv_func__logf_use=no
69343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69344 ac_ext=c
69345 ac_cpp='$CPP $CPPFLAGS'
69346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69355 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69357 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69358 for ac_func in _logf
69359 do :
69360 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69361 if test "x$ac_cv_func__logf" = xyes; then :
69362 cat >>confdefs.h <<_ACEOF
69363 #define HAVE__LOGF 1
69364 _ACEOF
69367 done
69376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69377 $as_echo_n "checking for log10f declaration... " >&6; }
69378 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69379 if ${glibcxx_cv_func_log10f_use+:} false; then :
69380 $as_echo_n "(cached) " >&6
69381 else
69384 ac_ext=cpp
69385 ac_cpp='$CXXCPP $CPPFLAGS'
69386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69391 /* end confdefs.h. */
69392 #include <math.h>
69393 #ifdef HAVE_IEEEFP_H
69394 #include <ieeefp.h>
69395 #endif
69398 main ()
69400 log10f(0);
69402 return 0;
69404 _ACEOF
69405 if ac_fn_cxx_try_compile "$LINENO"; then :
69406 glibcxx_cv_func_log10f_use=yes
69407 else
69408 glibcxx_cv_func_log10f_use=no
69410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69411 ac_ext=c
69412 ac_cpp='$CPP $CPPFLAGS'
69413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69422 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69424 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69425 for ac_func in log10f
69426 do :
69427 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69428 if test "x$ac_cv_func_log10f" = xyes; then :
69429 cat >>confdefs.h <<_ACEOF
69430 #define HAVE_LOG10F 1
69431 _ACEOF
69434 done
69436 else
69438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69439 $as_echo_n "checking for _log10f declaration... " >&6; }
69440 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69441 if ${glibcxx_cv_func__log10f_use+:} false; then :
69442 $as_echo_n "(cached) " >&6
69443 else
69446 ac_ext=cpp
69447 ac_cpp='$CXXCPP $CPPFLAGS'
69448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69453 /* end confdefs.h. */
69454 #include <math.h>
69455 #ifdef HAVE_IEEEFP_H
69456 #include <ieeefp.h>
69457 #endif
69460 main ()
69462 _log10f(0);
69464 return 0;
69466 _ACEOF
69467 if ac_fn_cxx_try_compile "$LINENO"; then :
69468 glibcxx_cv_func__log10f_use=yes
69469 else
69470 glibcxx_cv_func__log10f_use=no
69472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69473 ac_ext=c
69474 ac_cpp='$CPP $CPPFLAGS'
69475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69484 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69486 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69487 for ac_func in _log10f
69488 do :
69489 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69490 if test "x$ac_cv_func__log10f" = xyes; then :
69491 cat >>confdefs.h <<_ACEOF
69492 #define HAVE__LOG10F 1
69493 _ACEOF
69496 done
69505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69506 $as_echo_n "checking for modff declaration... " >&6; }
69507 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69508 if ${glibcxx_cv_func_modff_use+:} false; then :
69509 $as_echo_n "(cached) " >&6
69510 else
69513 ac_ext=cpp
69514 ac_cpp='$CXXCPP $CPPFLAGS'
69515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69520 /* end confdefs.h. */
69521 #include <math.h>
69523 main ()
69525 modff(0, 0);
69527 return 0;
69529 _ACEOF
69530 if ac_fn_cxx_try_compile "$LINENO"; then :
69531 glibcxx_cv_func_modff_use=yes
69532 else
69533 glibcxx_cv_func_modff_use=no
69535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69536 ac_ext=c
69537 ac_cpp='$CPP $CPPFLAGS'
69538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69547 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69549 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69550 for ac_func in modff
69551 do :
69552 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69553 if test "x$ac_cv_func_modff" = xyes; then :
69554 cat >>confdefs.h <<_ACEOF
69555 #define HAVE_MODFF 1
69556 _ACEOF
69559 done
69561 else
69563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69564 $as_echo_n "checking for _modff declaration... " >&6; }
69565 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69566 if ${glibcxx_cv_func__modff_use+:} false; then :
69567 $as_echo_n "(cached) " >&6
69568 else
69571 ac_ext=cpp
69572 ac_cpp='$CXXCPP $CPPFLAGS'
69573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69578 /* end confdefs.h. */
69579 #include <math.h>
69581 main ()
69583 _modff(0, 0);
69585 return 0;
69587 _ACEOF
69588 if ac_fn_cxx_try_compile "$LINENO"; then :
69589 glibcxx_cv_func__modff_use=yes
69590 else
69591 glibcxx_cv_func__modff_use=no
69593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69594 ac_ext=c
69595 ac_cpp='$CPP $CPPFLAGS'
69596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69605 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69607 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69608 for ac_func in _modff
69609 do :
69610 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69611 if test "x$ac_cv_func__modff" = xyes; then :
69612 cat >>confdefs.h <<_ACEOF
69613 #define HAVE__MODFF 1
69614 _ACEOF
69617 done
69626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69627 $as_echo_n "checking for modf declaration... " >&6; }
69628 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69629 if ${glibcxx_cv_func_modf_use+:} false; then :
69630 $as_echo_n "(cached) " >&6
69631 else
69634 ac_ext=cpp
69635 ac_cpp='$CXXCPP $CPPFLAGS'
69636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69641 /* end confdefs.h. */
69642 #include <math.h>
69644 main ()
69646 modf(0, 0);
69648 return 0;
69650 _ACEOF
69651 if ac_fn_cxx_try_compile "$LINENO"; then :
69652 glibcxx_cv_func_modf_use=yes
69653 else
69654 glibcxx_cv_func_modf_use=no
69656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69657 ac_ext=c
69658 ac_cpp='$CPP $CPPFLAGS'
69659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69668 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69670 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69671 for ac_func in modf
69672 do :
69673 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69674 if test "x$ac_cv_func_modf" = xyes; then :
69675 cat >>confdefs.h <<_ACEOF
69676 #define HAVE_MODF 1
69677 _ACEOF
69680 done
69682 else
69684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69685 $as_echo_n "checking for _modf declaration... " >&6; }
69686 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69687 if ${glibcxx_cv_func__modf_use+:} false; then :
69688 $as_echo_n "(cached) " >&6
69689 else
69692 ac_ext=cpp
69693 ac_cpp='$CXXCPP $CPPFLAGS'
69694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69699 /* end confdefs.h. */
69700 #include <math.h>
69702 main ()
69704 _modf(0, 0);
69706 return 0;
69708 _ACEOF
69709 if ac_fn_cxx_try_compile "$LINENO"; then :
69710 glibcxx_cv_func__modf_use=yes
69711 else
69712 glibcxx_cv_func__modf_use=no
69714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69715 ac_ext=c
69716 ac_cpp='$CPP $CPPFLAGS'
69717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69726 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69728 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69729 for ac_func in _modf
69730 do :
69731 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69732 if test "x$ac_cv_func__modf" = xyes; then :
69733 cat >>confdefs.h <<_ACEOF
69734 #define HAVE__MODF 1
69735 _ACEOF
69738 done
69747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69748 $as_echo_n "checking for powf declaration... " >&6; }
69749 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69750 if ${glibcxx_cv_func_powf_use+:} false; then :
69751 $as_echo_n "(cached) " >&6
69752 else
69755 ac_ext=cpp
69756 ac_cpp='$CXXCPP $CPPFLAGS'
69757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69762 /* end confdefs.h. */
69763 #include <math.h>
69765 main ()
69767 powf(0, 0);
69769 return 0;
69771 _ACEOF
69772 if ac_fn_cxx_try_compile "$LINENO"; then :
69773 glibcxx_cv_func_powf_use=yes
69774 else
69775 glibcxx_cv_func_powf_use=no
69777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69778 ac_ext=c
69779 ac_cpp='$CPP $CPPFLAGS'
69780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69789 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69791 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69792 for ac_func in powf
69793 do :
69794 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69795 if test "x$ac_cv_func_powf" = xyes; then :
69796 cat >>confdefs.h <<_ACEOF
69797 #define HAVE_POWF 1
69798 _ACEOF
69801 done
69803 else
69805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69806 $as_echo_n "checking for _powf declaration... " >&6; }
69807 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69808 if ${glibcxx_cv_func__powf_use+:} false; then :
69809 $as_echo_n "(cached) " >&6
69810 else
69813 ac_ext=cpp
69814 ac_cpp='$CXXCPP $CPPFLAGS'
69815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69820 /* end confdefs.h. */
69821 #include <math.h>
69823 main ()
69825 _powf(0, 0);
69827 return 0;
69829 _ACEOF
69830 if ac_fn_cxx_try_compile "$LINENO"; then :
69831 glibcxx_cv_func__powf_use=yes
69832 else
69833 glibcxx_cv_func__powf_use=no
69835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69836 ac_ext=c
69837 ac_cpp='$CPP $CPPFLAGS'
69838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69847 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69849 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69850 for ac_func in _powf
69851 do :
69852 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69853 if test "x$ac_cv_func__powf" = xyes; then :
69854 cat >>confdefs.h <<_ACEOF
69855 #define HAVE__POWF 1
69856 _ACEOF
69859 done
69868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69869 $as_echo_n "checking for sqrtf declaration... " >&6; }
69870 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69871 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
69872 $as_echo_n "(cached) " >&6
69873 else
69876 ac_ext=cpp
69877 ac_cpp='$CXXCPP $CPPFLAGS'
69878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69883 /* end confdefs.h. */
69884 #include <math.h>
69885 #ifdef HAVE_IEEEFP_H
69886 #include <ieeefp.h>
69887 #endif
69890 main ()
69892 sqrtf(0);
69894 return 0;
69896 _ACEOF
69897 if ac_fn_cxx_try_compile "$LINENO"; then :
69898 glibcxx_cv_func_sqrtf_use=yes
69899 else
69900 glibcxx_cv_func_sqrtf_use=no
69902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69903 ac_ext=c
69904 ac_cpp='$CPP $CPPFLAGS'
69905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69914 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69916 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69917 for ac_func in sqrtf
69918 do :
69919 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69920 if test "x$ac_cv_func_sqrtf" = xyes; then :
69921 cat >>confdefs.h <<_ACEOF
69922 #define HAVE_SQRTF 1
69923 _ACEOF
69926 done
69928 else
69930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69931 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69932 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69933 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
69934 $as_echo_n "(cached) " >&6
69935 else
69938 ac_ext=cpp
69939 ac_cpp='$CXXCPP $CPPFLAGS'
69940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69945 /* end confdefs.h. */
69946 #include <math.h>
69947 #ifdef HAVE_IEEEFP_H
69948 #include <ieeefp.h>
69949 #endif
69952 main ()
69954 _sqrtf(0);
69956 return 0;
69958 _ACEOF
69959 if ac_fn_cxx_try_compile "$LINENO"; then :
69960 glibcxx_cv_func__sqrtf_use=yes
69961 else
69962 glibcxx_cv_func__sqrtf_use=no
69964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69965 ac_ext=c
69966 ac_cpp='$CPP $CPPFLAGS'
69967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69976 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69978 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69979 for ac_func in _sqrtf
69980 do :
69981 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69982 if test "x$ac_cv_func__sqrtf" = xyes; then :
69983 cat >>confdefs.h <<_ACEOF
69984 #define HAVE__SQRTF 1
69985 _ACEOF
69988 done
69997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69998 $as_echo_n "checking for sincosf declaration... " >&6; }
69999 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
70000 if ${glibcxx_cv_func_sincosf_use+:} false; then :
70001 $as_echo_n "(cached) " >&6
70002 else
70005 ac_ext=cpp
70006 ac_cpp='$CXXCPP $CPPFLAGS'
70007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70012 /* end confdefs.h. */
70013 #include <math.h>
70015 main ()
70017 sincosf(0, 0, 0);
70019 return 0;
70021 _ACEOF
70022 if ac_fn_cxx_try_compile "$LINENO"; then :
70023 glibcxx_cv_func_sincosf_use=yes
70024 else
70025 glibcxx_cv_func_sincosf_use=no
70027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70028 ac_ext=c
70029 ac_cpp='$CPP $CPPFLAGS'
70030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
70039 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
70041 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
70042 for ac_func in sincosf
70043 do :
70044 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
70045 if test "x$ac_cv_func_sincosf" = xyes; then :
70046 cat >>confdefs.h <<_ACEOF
70047 #define HAVE_SINCOSF 1
70048 _ACEOF
70051 done
70053 else
70055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
70056 $as_echo_n "checking for _sincosf declaration... " >&6; }
70057 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
70058 if ${glibcxx_cv_func__sincosf_use+:} false; then :
70059 $as_echo_n "(cached) " >&6
70060 else
70063 ac_ext=cpp
70064 ac_cpp='$CXXCPP $CPPFLAGS'
70065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70070 /* end confdefs.h. */
70071 #include <math.h>
70073 main ()
70075 _sincosf(0, 0, 0);
70077 return 0;
70079 _ACEOF
70080 if ac_fn_cxx_try_compile "$LINENO"; then :
70081 glibcxx_cv_func__sincosf_use=yes
70082 else
70083 glibcxx_cv_func__sincosf_use=no
70085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70086 ac_ext=c
70087 ac_cpp='$CPP $CPPFLAGS'
70088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
70097 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
70099 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
70100 for ac_func in _sincosf
70101 do :
70102 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
70103 if test "x$ac_cv_func__sincosf" = xyes; then :
70104 cat >>confdefs.h <<_ACEOF
70105 #define HAVE__SINCOSF 1
70106 _ACEOF
70109 done
70118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
70119 $as_echo_n "checking for finitef declaration... " >&6; }
70120 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
70121 if ${glibcxx_cv_func_finitef_use+:} false; then :
70122 $as_echo_n "(cached) " >&6
70123 else
70126 ac_ext=cpp
70127 ac_cpp='$CXXCPP $CPPFLAGS'
70128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70133 /* end confdefs.h. */
70134 #include <math.h>
70135 #ifdef HAVE_IEEEFP_H
70136 #include <ieeefp.h>
70137 #endif
70140 main ()
70142 finitef(0);
70144 return 0;
70146 _ACEOF
70147 if ac_fn_cxx_try_compile "$LINENO"; then :
70148 glibcxx_cv_func_finitef_use=yes
70149 else
70150 glibcxx_cv_func_finitef_use=no
70152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70153 ac_ext=c
70154 ac_cpp='$CPP $CPPFLAGS'
70155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
70164 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
70166 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
70167 for ac_func in finitef
70168 do :
70169 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
70170 if test "x$ac_cv_func_finitef" = xyes; then :
70171 cat >>confdefs.h <<_ACEOF
70172 #define HAVE_FINITEF 1
70173 _ACEOF
70176 done
70178 else
70180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
70181 $as_echo_n "checking for _finitef declaration... " >&6; }
70182 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
70183 if ${glibcxx_cv_func__finitef_use+:} false; then :
70184 $as_echo_n "(cached) " >&6
70185 else
70188 ac_ext=cpp
70189 ac_cpp='$CXXCPP $CPPFLAGS'
70190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70195 /* end confdefs.h. */
70196 #include <math.h>
70197 #ifdef HAVE_IEEEFP_H
70198 #include <ieeefp.h>
70199 #endif
70202 main ()
70204 _finitef(0);
70206 return 0;
70208 _ACEOF
70209 if ac_fn_cxx_try_compile "$LINENO"; then :
70210 glibcxx_cv_func__finitef_use=yes
70211 else
70212 glibcxx_cv_func__finitef_use=no
70214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70215 ac_ext=c
70216 ac_cpp='$CPP $CPPFLAGS'
70217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
70226 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
70228 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
70229 for ac_func in _finitef
70230 do :
70231 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
70232 if test "x$ac_cv_func__finitef" = xyes; then :
70233 cat >>confdefs.h <<_ACEOF
70234 #define HAVE__FINITEF 1
70235 _ACEOF
70238 done
70247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
70248 $as_echo_n "checking for long double trig functions... " >&6; }
70249 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
70250 $as_echo_n "(cached) " >&6
70251 else
70254 ac_ext=cpp
70255 ac_cpp='$CXXCPP $CPPFLAGS'
70256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70261 /* end confdefs.h. */
70262 #include <math.h>
70264 main ()
70266 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
70268 return 0;
70270 _ACEOF
70271 if ac_fn_cxx_try_compile "$LINENO"; then :
70272 glibcxx_cv_func_long_double_trig_use=yes
70273 else
70274 glibcxx_cv_func_long_double_trig_use=no
70276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70277 ac_ext=c
70278 ac_cpp='$CPP $CPPFLAGS'
70279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70286 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70287 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70288 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70289 do :
70290 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70291 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70292 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70293 cat >>confdefs.h <<_ACEOF
70294 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70295 _ACEOF
70298 done
70300 else
70301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70302 $as_echo_n "checking for _long double trig functions... " >&6; }
70303 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
70304 $as_echo_n "(cached) " >&6
70305 else
70308 ac_ext=cpp
70309 ac_cpp='$CXXCPP $CPPFLAGS'
70310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70315 /* end confdefs.h. */
70316 #include <math.h>
70318 main ()
70320 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70322 return 0;
70324 _ACEOF
70325 if ac_fn_cxx_try_compile "$LINENO"; then :
70326 glibcxx_cv_func__long_double_trig_use=yes
70327 else
70328 glibcxx_cv_func__long_double_trig_use=no
70330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70331 ac_ext=c
70332 ac_cpp='$CPP $CPPFLAGS'
70333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70340 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70341 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70342 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70343 do :
70344 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70345 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70346 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70347 cat >>confdefs.h <<_ACEOF
70348 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70349 _ACEOF
70352 done
70361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70362 $as_echo_n "checking for long double round functions... " >&6; }
70363 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
70364 $as_echo_n "(cached) " >&6
70365 else
70368 ac_ext=cpp
70369 ac_cpp='$CXXCPP $CPPFLAGS'
70370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70375 /* end confdefs.h. */
70376 #include <math.h>
70378 main ()
70380 ceill (0); floorl (0);
70382 return 0;
70384 _ACEOF
70385 if ac_fn_cxx_try_compile "$LINENO"; then :
70386 glibcxx_cv_func_long_double_round_use=yes
70387 else
70388 glibcxx_cv_func_long_double_round_use=no
70390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70391 ac_ext=c
70392 ac_cpp='$CPP $CPPFLAGS'
70393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70400 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70401 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70402 for ac_func in ceill floorl
70403 do :
70404 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70405 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70406 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70407 cat >>confdefs.h <<_ACEOF
70408 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70409 _ACEOF
70412 done
70414 else
70415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70416 $as_echo_n "checking for _long double round functions... " >&6; }
70417 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
70418 $as_echo_n "(cached) " >&6
70419 else
70422 ac_ext=cpp
70423 ac_cpp='$CXXCPP $CPPFLAGS'
70424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70429 /* end confdefs.h. */
70430 #include <math.h>
70432 main ()
70434 _ceill (0); _floorl (0);
70436 return 0;
70438 _ACEOF
70439 if ac_fn_cxx_try_compile "$LINENO"; then :
70440 glibcxx_cv_func__long_double_round_use=yes
70441 else
70442 glibcxx_cv_func__long_double_round_use=no
70444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70445 ac_ext=c
70446 ac_cpp='$CPP $CPPFLAGS'
70447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70454 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70455 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70456 for ac_func in _ceill _floorl
70457 do :
70458 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70459 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70460 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70461 cat >>confdefs.h <<_ACEOF
70462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70463 _ACEOF
70466 done
70476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70477 $as_echo_n "checking for isnanl declaration... " >&6; }
70478 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70479 if ${glibcxx_cv_func_isnanl_use+:} false; then :
70480 $as_echo_n "(cached) " >&6
70481 else
70484 ac_ext=cpp
70485 ac_cpp='$CXXCPP $CPPFLAGS'
70486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70491 /* end confdefs.h. */
70492 #include <math.h>
70493 #ifdef HAVE_IEEEFP_H
70494 #include <ieeefp.h>
70495 #endif
70498 main ()
70500 isnanl(0);
70502 return 0;
70504 _ACEOF
70505 if ac_fn_cxx_try_compile "$LINENO"; then :
70506 glibcxx_cv_func_isnanl_use=yes
70507 else
70508 glibcxx_cv_func_isnanl_use=no
70510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70511 ac_ext=c
70512 ac_cpp='$CPP $CPPFLAGS'
70513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70522 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70524 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70525 for ac_func in isnanl
70526 do :
70527 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70528 if test "x$ac_cv_func_isnanl" = xyes; then :
70529 cat >>confdefs.h <<_ACEOF
70530 #define HAVE_ISNANL 1
70531 _ACEOF
70534 done
70536 else
70538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70539 $as_echo_n "checking for _isnanl declaration... " >&6; }
70540 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70541 if ${glibcxx_cv_func__isnanl_use+:} false; then :
70542 $as_echo_n "(cached) " >&6
70543 else
70546 ac_ext=cpp
70547 ac_cpp='$CXXCPP $CPPFLAGS'
70548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70553 /* end confdefs.h. */
70554 #include <math.h>
70555 #ifdef HAVE_IEEEFP_H
70556 #include <ieeefp.h>
70557 #endif
70560 main ()
70562 _isnanl(0);
70564 return 0;
70566 _ACEOF
70567 if ac_fn_cxx_try_compile "$LINENO"; then :
70568 glibcxx_cv_func__isnanl_use=yes
70569 else
70570 glibcxx_cv_func__isnanl_use=no
70572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70573 ac_ext=c
70574 ac_cpp='$CPP $CPPFLAGS'
70575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70584 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70586 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70587 for ac_func in _isnanl
70588 do :
70589 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70590 if test "x$ac_cv_func__isnanl" = xyes; then :
70591 cat >>confdefs.h <<_ACEOF
70592 #define HAVE__ISNANL 1
70593 _ACEOF
70596 done
70605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70606 $as_echo_n "checking for isinfl declaration... " >&6; }
70607 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70608 if ${glibcxx_cv_func_isinfl_use+:} false; then :
70609 $as_echo_n "(cached) " >&6
70610 else
70613 ac_ext=cpp
70614 ac_cpp='$CXXCPP $CPPFLAGS'
70615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70620 /* end confdefs.h. */
70621 #include <math.h>
70622 #ifdef HAVE_IEEEFP_H
70623 #include <ieeefp.h>
70624 #endif
70627 main ()
70629 isinfl(0);
70631 return 0;
70633 _ACEOF
70634 if ac_fn_cxx_try_compile "$LINENO"; then :
70635 glibcxx_cv_func_isinfl_use=yes
70636 else
70637 glibcxx_cv_func_isinfl_use=no
70639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70640 ac_ext=c
70641 ac_cpp='$CPP $CPPFLAGS'
70642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70651 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70653 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70654 for ac_func in isinfl
70655 do :
70656 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70657 if test "x$ac_cv_func_isinfl" = xyes; then :
70658 cat >>confdefs.h <<_ACEOF
70659 #define HAVE_ISINFL 1
70660 _ACEOF
70663 done
70665 else
70667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70668 $as_echo_n "checking for _isinfl declaration... " >&6; }
70669 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70670 if ${glibcxx_cv_func__isinfl_use+:} false; then :
70671 $as_echo_n "(cached) " >&6
70672 else
70675 ac_ext=cpp
70676 ac_cpp='$CXXCPP $CPPFLAGS'
70677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70682 /* end confdefs.h. */
70683 #include <math.h>
70684 #ifdef HAVE_IEEEFP_H
70685 #include <ieeefp.h>
70686 #endif
70689 main ()
70691 _isinfl(0);
70693 return 0;
70695 _ACEOF
70696 if ac_fn_cxx_try_compile "$LINENO"; then :
70697 glibcxx_cv_func__isinfl_use=yes
70698 else
70699 glibcxx_cv_func__isinfl_use=no
70701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70702 ac_ext=c
70703 ac_cpp='$CPP $CPPFLAGS'
70704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70713 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70715 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70716 for ac_func in _isinfl
70717 do :
70718 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70719 if test "x$ac_cv_func__isinfl" = xyes; then :
70720 cat >>confdefs.h <<_ACEOF
70721 #define HAVE__ISINFL 1
70722 _ACEOF
70725 done
70734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70735 $as_echo_n "checking for atan2l declaration... " >&6; }
70736 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70737 if ${glibcxx_cv_func_atan2l_use+:} false; then :
70738 $as_echo_n "(cached) " >&6
70739 else
70742 ac_ext=cpp
70743 ac_cpp='$CXXCPP $CPPFLAGS'
70744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70749 /* end confdefs.h. */
70750 #include <math.h>
70752 main ()
70754 atan2l(0, 0);
70756 return 0;
70758 _ACEOF
70759 if ac_fn_cxx_try_compile "$LINENO"; then :
70760 glibcxx_cv_func_atan2l_use=yes
70761 else
70762 glibcxx_cv_func_atan2l_use=no
70764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70765 ac_ext=c
70766 ac_cpp='$CPP $CPPFLAGS'
70767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70776 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70778 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70779 for ac_func in atan2l
70780 do :
70781 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70782 if test "x$ac_cv_func_atan2l" = xyes; then :
70783 cat >>confdefs.h <<_ACEOF
70784 #define HAVE_ATAN2L 1
70785 _ACEOF
70788 done
70790 else
70792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70793 $as_echo_n "checking for _atan2l declaration... " >&6; }
70794 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70795 if ${glibcxx_cv_func__atan2l_use+:} false; then :
70796 $as_echo_n "(cached) " >&6
70797 else
70800 ac_ext=cpp
70801 ac_cpp='$CXXCPP $CPPFLAGS'
70802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70807 /* end confdefs.h. */
70808 #include <math.h>
70810 main ()
70812 _atan2l(0, 0);
70814 return 0;
70816 _ACEOF
70817 if ac_fn_cxx_try_compile "$LINENO"; then :
70818 glibcxx_cv_func__atan2l_use=yes
70819 else
70820 glibcxx_cv_func__atan2l_use=no
70822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70823 ac_ext=c
70824 ac_cpp='$CPP $CPPFLAGS'
70825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70834 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70836 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70837 for ac_func in _atan2l
70838 do :
70839 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70840 if test "x$ac_cv_func__atan2l" = xyes; then :
70841 cat >>confdefs.h <<_ACEOF
70842 #define HAVE__ATAN2L 1
70843 _ACEOF
70846 done
70855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70856 $as_echo_n "checking for expl declaration... " >&6; }
70857 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70858 if ${glibcxx_cv_func_expl_use+:} false; then :
70859 $as_echo_n "(cached) " >&6
70860 else
70863 ac_ext=cpp
70864 ac_cpp='$CXXCPP $CPPFLAGS'
70865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70870 /* end confdefs.h. */
70871 #include <math.h>
70872 #ifdef HAVE_IEEEFP_H
70873 #include <ieeefp.h>
70874 #endif
70877 main ()
70879 expl(0);
70881 return 0;
70883 _ACEOF
70884 if ac_fn_cxx_try_compile "$LINENO"; then :
70885 glibcxx_cv_func_expl_use=yes
70886 else
70887 glibcxx_cv_func_expl_use=no
70889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70890 ac_ext=c
70891 ac_cpp='$CPP $CPPFLAGS'
70892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70901 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70903 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70904 for ac_func in expl
70905 do :
70906 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70907 if test "x$ac_cv_func_expl" = xyes; then :
70908 cat >>confdefs.h <<_ACEOF
70909 #define HAVE_EXPL 1
70910 _ACEOF
70913 done
70915 else
70917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70918 $as_echo_n "checking for _expl declaration... " >&6; }
70919 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70920 if ${glibcxx_cv_func__expl_use+:} false; then :
70921 $as_echo_n "(cached) " >&6
70922 else
70925 ac_ext=cpp
70926 ac_cpp='$CXXCPP $CPPFLAGS'
70927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70932 /* end confdefs.h. */
70933 #include <math.h>
70934 #ifdef HAVE_IEEEFP_H
70935 #include <ieeefp.h>
70936 #endif
70939 main ()
70941 _expl(0);
70943 return 0;
70945 _ACEOF
70946 if ac_fn_cxx_try_compile "$LINENO"; then :
70947 glibcxx_cv_func__expl_use=yes
70948 else
70949 glibcxx_cv_func__expl_use=no
70951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70952 ac_ext=c
70953 ac_cpp='$CPP $CPPFLAGS'
70954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70963 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70965 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70966 for ac_func in _expl
70967 do :
70968 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70969 if test "x$ac_cv_func__expl" = xyes; then :
70970 cat >>confdefs.h <<_ACEOF
70971 #define HAVE__EXPL 1
70972 _ACEOF
70975 done
70984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70985 $as_echo_n "checking for fabsl declaration... " >&6; }
70986 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70987 if ${glibcxx_cv_func_fabsl_use+:} false; then :
70988 $as_echo_n "(cached) " >&6
70989 else
70992 ac_ext=cpp
70993 ac_cpp='$CXXCPP $CPPFLAGS'
70994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70999 /* end confdefs.h. */
71000 #include <math.h>
71001 #ifdef HAVE_IEEEFP_H
71002 #include <ieeefp.h>
71003 #endif
71006 main ()
71008 fabsl(0);
71010 return 0;
71012 _ACEOF
71013 if ac_fn_cxx_try_compile "$LINENO"; then :
71014 glibcxx_cv_func_fabsl_use=yes
71015 else
71016 glibcxx_cv_func_fabsl_use=no
71018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71019 ac_ext=c
71020 ac_cpp='$CPP $CPPFLAGS'
71021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
71030 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
71032 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
71033 for ac_func in fabsl
71034 do :
71035 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
71036 if test "x$ac_cv_func_fabsl" = xyes; then :
71037 cat >>confdefs.h <<_ACEOF
71038 #define HAVE_FABSL 1
71039 _ACEOF
71042 done
71044 else
71046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
71047 $as_echo_n "checking for _fabsl declaration... " >&6; }
71048 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
71049 if ${glibcxx_cv_func__fabsl_use+:} false; then :
71050 $as_echo_n "(cached) " >&6
71051 else
71054 ac_ext=cpp
71055 ac_cpp='$CXXCPP $CPPFLAGS'
71056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71061 /* end confdefs.h. */
71062 #include <math.h>
71063 #ifdef HAVE_IEEEFP_H
71064 #include <ieeefp.h>
71065 #endif
71068 main ()
71070 _fabsl(0);
71072 return 0;
71074 _ACEOF
71075 if ac_fn_cxx_try_compile "$LINENO"; then :
71076 glibcxx_cv_func__fabsl_use=yes
71077 else
71078 glibcxx_cv_func__fabsl_use=no
71080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71081 ac_ext=c
71082 ac_cpp='$CPP $CPPFLAGS'
71083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
71092 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
71094 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
71095 for ac_func in _fabsl
71096 do :
71097 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
71098 if test "x$ac_cv_func__fabsl" = xyes; then :
71099 cat >>confdefs.h <<_ACEOF
71100 #define HAVE__FABSL 1
71101 _ACEOF
71104 done
71113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
71114 $as_echo_n "checking for fmodl declaration... " >&6; }
71115 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
71116 if ${glibcxx_cv_func_fmodl_use+:} false; then :
71117 $as_echo_n "(cached) " >&6
71118 else
71121 ac_ext=cpp
71122 ac_cpp='$CXXCPP $CPPFLAGS'
71123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71128 /* end confdefs.h. */
71129 #include <math.h>
71131 main ()
71133 fmodl(0, 0);
71135 return 0;
71137 _ACEOF
71138 if ac_fn_cxx_try_compile "$LINENO"; then :
71139 glibcxx_cv_func_fmodl_use=yes
71140 else
71141 glibcxx_cv_func_fmodl_use=no
71143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71144 ac_ext=c
71145 ac_cpp='$CPP $CPPFLAGS'
71146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
71155 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
71157 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
71158 for ac_func in fmodl
71159 do :
71160 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
71161 if test "x$ac_cv_func_fmodl" = xyes; then :
71162 cat >>confdefs.h <<_ACEOF
71163 #define HAVE_FMODL 1
71164 _ACEOF
71167 done
71169 else
71171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
71172 $as_echo_n "checking for _fmodl declaration... " >&6; }
71173 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
71174 if ${glibcxx_cv_func__fmodl_use+:} false; then :
71175 $as_echo_n "(cached) " >&6
71176 else
71179 ac_ext=cpp
71180 ac_cpp='$CXXCPP $CPPFLAGS'
71181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71186 /* end confdefs.h. */
71187 #include <math.h>
71189 main ()
71191 _fmodl(0, 0);
71193 return 0;
71195 _ACEOF
71196 if ac_fn_cxx_try_compile "$LINENO"; then :
71197 glibcxx_cv_func__fmodl_use=yes
71198 else
71199 glibcxx_cv_func__fmodl_use=no
71201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71202 ac_ext=c
71203 ac_cpp='$CPP $CPPFLAGS'
71204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
71213 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
71215 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
71216 for ac_func in _fmodl
71217 do :
71218 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
71219 if test "x$ac_cv_func__fmodl" = xyes; then :
71220 cat >>confdefs.h <<_ACEOF
71221 #define HAVE__FMODL 1
71222 _ACEOF
71225 done
71234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
71235 $as_echo_n "checking for frexpl declaration... " >&6; }
71236 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
71237 if ${glibcxx_cv_func_frexpl_use+:} false; then :
71238 $as_echo_n "(cached) " >&6
71239 else
71242 ac_ext=cpp
71243 ac_cpp='$CXXCPP $CPPFLAGS'
71244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71249 /* end confdefs.h. */
71250 #include <math.h>
71252 main ()
71254 frexpl(0, 0);
71256 return 0;
71258 _ACEOF
71259 if ac_fn_cxx_try_compile "$LINENO"; then :
71260 glibcxx_cv_func_frexpl_use=yes
71261 else
71262 glibcxx_cv_func_frexpl_use=no
71264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71265 ac_ext=c
71266 ac_cpp='$CPP $CPPFLAGS'
71267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
71276 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
71278 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
71279 for ac_func in frexpl
71280 do :
71281 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71282 if test "x$ac_cv_func_frexpl" = xyes; then :
71283 cat >>confdefs.h <<_ACEOF
71284 #define HAVE_FREXPL 1
71285 _ACEOF
71288 done
71290 else
71292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71293 $as_echo_n "checking for _frexpl declaration... " >&6; }
71294 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71295 if ${glibcxx_cv_func__frexpl_use+:} false; then :
71296 $as_echo_n "(cached) " >&6
71297 else
71300 ac_ext=cpp
71301 ac_cpp='$CXXCPP $CPPFLAGS'
71302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71307 /* end confdefs.h. */
71308 #include <math.h>
71310 main ()
71312 _frexpl(0, 0);
71314 return 0;
71316 _ACEOF
71317 if ac_fn_cxx_try_compile "$LINENO"; then :
71318 glibcxx_cv_func__frexpl_use=yes
71319 else
71320 glibcxx_cv_func__frexpl_use=no
71322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71323 ac_ext=c
71324 ac_cpp='$CPP $CPPFLAGS'
71325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71334 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71336 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71337 for ac_func in _frexpl
71338 do :
71339 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71340 if test "x$ac_cv_func__frexpl" = xyes; then :
71341 cat >>confdefs.h <<_ACEOF
71342 #define HAVE__FREXPL 1
71343 _ACEOF
71346 done
71355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71356 $as_echo_n "checking for hypotl declaration... " >&6; }
71357 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71358 if ${glibcxx_cv_func_hypotl_use+:} false; then :
71359 $as_echo_n "(cached) " >&6
71360 else
71363 ac_ext=cpp
71364 ac_cpp='$CXXCPP $CPPFLAGS'
71365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71370 /* end confdefs.h. */
71371 #include <math.h>
71373 main ()
71375 hypotl(0, 0);
71377 return 0;
71379 _ACEOF
71380 if ac_fn_cxx_try_compile "$LINENO"; then :
71381 glibcxx_cv_func_hypotl_use=yes
71382 else
71383 glibcxx_cv_func_hypotl_use=no
71385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71386 ac_ext=c
71387 ac_cpp='$CPP $CPPFLAGS'
71388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71397 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71399 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71400 for ac_func in hypotl
71401 do :
71402 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71403 if test "x$ac_cv_func_hypotl" = xyes; then :
71404 cat >>confdefs.h <<_ACEOF
71405 #define HAVE_HYPOTL 1
71406 _ACEOF
71409 done
71411 else
71413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71414 $as_echo_n "checking for _hypotl declaration... " >&6; }
71415 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71416 if ${glibcxx_cv_func__hypotl_use+:} false; then :
71417 $as_echo_n "(cached) " >&6
71418 else
71421 ac_ext=cpp
71422 ac_cpp='$CXXCPP $CPPFLAGS'
71423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71428 /* end confdefs.h. */
71429 #include <math.h>
71431 main ()
71433 _hypotl(0, 0);
71435 return 0;
71437 _ACEOF
71438 if ac_fn_cxx_try_compile "$LINENO"; then :
71439 glibcxx_cv_func__hypotl_use=yes
71440 else
71441 glibcxx_cv_func__hypotl_use=no
71443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71444 ac_ext=c
71445 ac_cpp='$CPP $CPPFLAGS'
71446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71455 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71457 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71458 for ac_func in _hypotl
71459 do :
71460 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71461 if test "x$ac_cv_func__hypotl" = xyes; then :
71462 cat >>confdefs.h <<_ACEOF
71463 #define HAVE__HYPOTL 1
71464 _ACEOF
71467 done
71476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71477 $as_echo_n "checking for ldexpl declaration... " >&6; }
71478 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71479 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
71480 $as_echo_n "(cached) " >&6
71481 else
71484 ac_ext=cpp
71485 ac_cpp='$CXXCPP $CPPFLAGS'
71486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71491 /* end confdefs.h. */
71492 #include <math.h>
71494 main ()
71496 ldexpl(0, 0);
71498 return 0;
71500 _ACEOF
71501 if ac_fn_cxx_try_compile "$LINENO"; then :
71502 glibcxx_cv_func_ldexpl_use=yes
71503 else
71504 glibcxx_cv_func_ldexpl_use=no
71506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71507 ac_ext=c
71508 ac_cpp='$CPP $CPPFLAGS'
71509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71518 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71520 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71521 for ac_func in ldexpl
71522 do :
71523 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71524 if test "x$ac_cv_func_ldexpl" = xyes; then :
71525 cat >>confdefs.h <<_ACEOF
71526 #define HAVE_LDEXPL 1
71527 _ACEOF
71530 done
71532 else
71534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71535 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71536 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71537 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
71538 $as_echo_n "(cached) " >&6
71539 else
71542 ac_ext=cpp
71543 ac_cpp='$CXXCPP $CPPFLAGS'
71544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71549 /* end confdefs.h. */
71550 #include <math.h>
71552 main ()
71554 _ldexpl(0, 0);
71556 return 0;
71558 _ACEOF
71559 if ac_fn_cxx_try_compile "$LINENO"; then :
71560 glibcxx_cv_func__ldexpl_use=yes
71561 else
71562 glibcxx_cv_func__ldexpl_use=no
71564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71565 ac_ext=c
71566 ac_cpp='$CPP $CPPFLAGS'
71567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71576 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71578 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71579 for ac_func in _ldexpl
71580 do :
71581 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71582 if test "x$ac_cv_func__ldexpl" = xyes; then :
71583 cat >>confdefs.h <<_ACEOF
71584 #define HAVE__LDEXPL 1
71585 _ACEOF
71588 done
71597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71598 $as_echo_n "checking for logl declaration... " >&6; }
71599 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71600 if ${glibcxx_cv_func_logl_use+:} false; then :
71601 $as_echo_n "(cached) " >&6
71602 else
71605 ac_ext=cpp
71606 ac_cpp='$CXXCPP $CPPFLAGS'
71607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71612 /* end confdefs.h. */
71613 #include <math.h>
71614 #ifdef HAVE_IEEEFP_H
71615 #include <ieeefp.h>
71616 #endif
71619 main ()
71621 logl(0);
71623 return 0;
71625 _ACEOF
71626 if ac_fn_cxx_try_compile "$LINENO"; then :
71627 glibcxx_cv_func_logl_use=yes
71628 else
71629 glibcxx_cv_func_logl_use=no
71631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71632 ac_ext=c
71633 ac_cpp='$CPP $CPPFLAGS'
71634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71643 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71645 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71646 for ac_func in logl
71647 do :
71648 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71649 if test "x$ac_cv_func_logl" = xyes; then :
71650 cat >>confdefs.h <<_ACEOF
71651 #define HAVE_LOGL 1
71652 _ACEOF
71655 done
71657 else
71659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71660 $as_echo_n "checking for _logl declaration... " >&6; }
71661 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71662 if ${glibcxx_cv_func__logl_use+:} false; then :
71663 $as_echo_n "(cached) " >&6
71664 else
71667 ac_ext=cpp
71668 ac_cpp='$CXXCPP $CPPFLAGS'
71669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71674 /* end confdefs.h. */
71675 #include <math.h>
71676 #ifdef HAVE_IEEEFP_H
71677 #include <ieeefp.h>
71678 #endif
71681 main ()
71683 _logl(0);
71685 return 0;
71687 _ACEOF
71688 if ac_fn_cxx_try_compile "$LINENO"; then :
71689 glibcxx_cv_func__logl_use=yes
71690 else
71691 glibcxx_cv_func__logl_use=no
71693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71694 ac_ext=c
71695 ac_cpp='$CPP $CPPFLAGS'
71696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71705 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71707 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71708 for ac_func in _logl
71709 do :
71710 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71711 if test "x$ac_cv_func__logl" = xyes; then :
71712 cat >>confdefs.h <<_ACEOF
71713 #define HAVE__LOGL 1
71714 _ACEOF
71717 done
71726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71727 $as_echo_n "checking for log10l declaration... " >&6; }
71728 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71729 if ${glibcxx_cv_func_log10l_use+:} false; then :
71730 $as_echo_n "(cached) " >&6
71731 else
71734 ac_ext=cpp
71735 ac_cpp='$CXXCPP $CPPFLAGS'
71736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71741 /* end confdefs.h. */
71742 #include <math.h>
71743 #ifdef HAVE_IEEEFP_H
71744 #include <ieeefp.h>
71745 #endif
71748 main ()
71750 log10l(0);
71752 return 0;
71754 _ACEOF
71755 if ac_fn_cxx_try_compile "$LINENO"; then :
71756 glibcxx_cv_func_log10l_use=yes
71757 else
71758 glibcxx_cv_func_log10l_use=no
71760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71761 ac_ext=c
71762 ac_cpp='$CPP $CPPFLAGS'
71763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71772 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71774 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71775 for ac_func in log10l
71776 do :
71777 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71778 if test "x$ac_cv_func_log10l" = xyes; then :
71779 cat >>confdefs.h <<_ACEOF
71780 #define HAVE_LOG10L 1
71781 _ACEOF
71784 done
71786 else
71788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71789 $as_echo_n "checking for _log10l declaration... " >&6; }
71790 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71791 if ${glibcxx_cv_func__log10l_use+:} false; then :
71792 $as_echo_n "(cached) " >&6
71793 else
71796 ac_ext=cpp
71797 ac_cpp='$CXXCPP $CPPFLAGS'
71798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71803 /* end confdefs.h. */
71804 #include <math.h>
71805 #ifdef HAVE_IEEEFP_H
71806 #include <ieeefp.h>
71807 #endif
71810 main ()
71812 _log10l(0);
71814 return 0;
71816 _ACEOF
71817 if ac_fn_cxx_try_compile "$LINENO"; then :
71818 glibcxx_cv_func__log10l_use=yes
71819 else
71820 glibcxx_cv_func__log10l_use=no
71822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71823 ac_ext=c
71824 ac_cpp='$CPP $CPPFLAGS'
71825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71834 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71836 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71837 for ac_func in _log10l
71838 do :
71839 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71840 if test "x$ac_cv_func__log10l" = xyes; then :
71841 cat >>confdefs.h <<_ACEOF
71842 #define HAVE__LOG10L 1
71843 _ACEOF
71846 done
71855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71856 $as_echo_n "checking for modfl declaration... " >&6; }
71857 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71858 if ${glibcxx_cv_func_modfl_use+:} false; then :
71859 $as_echo_n "(cached) " >&6
71860 else
71863 ac_ext=cpp
71864 ac_cpp='$CXXCPP $CPPFLAGS'
71865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71870 /* end confdefs.h. */
71871 #include <math.h>
71873 main ()
71875 modfl(0, 0);
71877 return 0;
71879 _ACEOF
71880 if ac_fn_cxx_try_compile "$LINENO"; then :
71881 glibcxx_cv_func_modfl_use=yes
71882 else
71883 glibcxx_cv_func_modfl_use=no
71885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71886 ac_ext=c
71887 ac_cpp='$CPP $CPPFLAGS'
71888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71897 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71899 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71900 for ac_func in modfl
71901 do :
71902 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71903 if test "x$ac_cv_func_modfl" = xyes; then :
71904 cat >>confdefs.h <<_ACEOF
71905 #define HAVE_MODFL 1
71906 _ACEOF
71909 done
71911 else
71913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71914 $as_echo_n "checking for _modfl declaration... " >&6; }
71915 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71916 if ${glibcxx_cv_func__modfl_use+:} false; then :
71917 $as_echo_n "(cached) " >&6
71918 else
71921 ac_ext=cpp
71922 ac_cpp='$CXXCPP $CPPFLAGS'
71923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71928 /* end confdefs.h. */
71929 #include <math.h>
71931 main ()
71933 _modfl(0, 0);
71935 return 0;
71937 _ACEOF
71938 if ac_fn_cxx_try_compile "$LINENO"; then :
71939 glibcxx_cv_func__modfl_use=yes
71940 else
71941 glibcxx_cv_func__modfl_use=no
71943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71944 ac_ext=c
71945 ac_cpp='$CPP $CPPFLAGS'
71946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71955 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71957 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71958 for ac_func in _modfl
71959 do :
71960 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71961 if test "x$ac_cv_func__modfl" = xyes; then :
71962 cat >>confdefs.h <<_ACEOF
71963 #define HAVE__MODFL 1
71964 _ACEOF
71967 done
71976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71977 $as_echo_n "checking for powl declaration... " >&6; }
71978 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71979 if ${glibcxx_cv_func_powl_use+:} false; then :
71980 $as_echo_n "(cached) " >&6
71981 else
71984 ac_ext=cpp
71985 ac_cpp='$CXXCPP $CPPFLAGS'
71986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71991 /* end confdefs.h. */
71992 #include <math.h>
71994 main ()
71996 powl(0, 0);
71998 return 0;
72000 _ACEOF
72001 if ac_fn_cxx_try_compile "$LINENO"; then :
72002 glibcxx_cv_func_powl_use=yes
72003 else
72004 glibcxx_cv_func_powl_use=no
72006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72007 ac_ext=c
72008 ac_cpp='$CPP $CPPFLAGS'
72009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
72018 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
72020 if test x$glibcxx_cv_func_powl_use = x"yes"; then
72021 for ac_func in powl
72022 do :
72023 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
72024 if test "x$ac_cv_func_powl" = xyes; then :
72025 cat >>confdefs.h <<_ACEOF
72026 #define HAVE_POWL 1
72027 _ACEOF
72030 done
72032 else
72034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
72035 $as_echo_n "checking for _powl declaration... " >&6; }
72036 if test x${glibcxx_cv_func__powl_use+set} != xset; then
72037 if ${glibcxx_cv_func__powl_use+:} false; then :
72038 $as_echo_n "(cached) " >&6
72039 else
72042 ac_ext=cpp
72043 ac_cpp='$CXXCPP $CPPFLAGS'
72044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72049 /* end confdefs.h. */
72050 #include <math.h>
72052 main ()
72054 _powl(0, 0);
72056 return 0;
72058 _ACEOF
72059 if ac_fn_cxx_try_compile "$LINENO"; then :
72060 glibcxx_cv_func__powl_use=yes
72061 else
72062 glibcxx_cv_func__powl_use=no
72064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72065 ac_ext=c
72066 ac_cpp='$CPP $CPPFLAGS'
72067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
72076 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
72078 if test x$glibcxx_cv_func__powl_use = x"yes"; then
72079 for ac_func in _powl
72080 do :
72081 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
72082 if test "x$ac_cv_func__powl" = xyes; then :
72083 cat >>confdefs.h <<_ACEOF
72084 #define HAVE__POWL 1
72085 _ACEOF
72088 done
72097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
72098 $as_echo_n "checking for sqrtl declaration... " >&6; }
72099 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
72100 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
72101 $as_echo_n "(cached) " >&6
72102 else
72105 ac_ext=cpp
72106 ac_cpp='$CXXCPP $CPPFLAGS'
72107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72112 /* end confdefs.h. */
72113 #include <math.h>
72114 #ifdef HAVE_IEEEFP_H
72115 #include <ieeefp.h>
72116 #endif
72119 main ()
72121 sqrtl(0);
72123 return 0;
72125 _ACEOF
72126 if ac_fn_cxx_try_compile "$LINENO"; then :
72127 glibcxx_cv_func_sqrtl_use=yes
72128 else
72129 glibcxx_cv_func_sqrtl_use=no
72131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72132 ac_ext=c
72133 ac_cpp='$CPP $CPPFLAGS'
72134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
72143 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
72145 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
72146 for ac_func in sqrtl
72147 do :
72148 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
72149 if test "x$ac_cv_func_sqrtl" = xyes; then :
72150 cat >>confdefs.h <<_ACEOF
72151 #define HAVE_SQRTL 1
72152 _ACEOF
72155 done
72157 else
72159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
72160 $as_echo_n "checking for _sqrtl declaration... " >&6; }
72161 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
72162 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
72163 $as_echo_n "(cached) " >&6
72164 else
72167 ac_ext=cpp
72168 ac_cpp='$CXXCPP $CPPFLAGS'
72169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72174 /* end confdefs.h. */
72175 #include <math.h>
72176 #ifdef HAVE_IEEEFP_H
72177 #include <ieeefp.h>
72178 #endif
72181 main ()
72183 _sqrtl(0);
72185 return 0;
72187 _ACEOF
72188 if ac_fn_cxx_try_compile "$LINENO"; then :
72189 glibcxx_cv_func__sqrtl_use=yes
72190 else
72191 glibcxx_cv_func__sqrtl_use=no
72193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72194 ac_ext=c
72195 ac_cpp='$CPP $CPPFLAGS'
72196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
72205 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
72207 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
72208 for ac_func in _sqrtl
72209 do :
72210 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
72211 if test "x$ac_cv_func__sqrtl" = xyes; then :
72212 cat >>confdefs.h <<_ACEOF
72213 #define HAVE__SQRTL 1
72214 _ACEOF
72217 done
72226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
72227 $as_echo_n "checking for sincosl declaration... " >&6; }
72228 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
72229 if ${glibcxx_cv_func_sincosl_use+:} false; then :
72230 $as_echo_n "(cached) " >&6
72231 else
72234 ac_ext=cpp
72235 ac_cpp='$CXXCPP $CPPFLAGS'
72236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72241 /* end confdefs.h. */
72242 #include <math.h>
72244 main ()
72246 sincosl(0, 0, 0);
72248 return 0;
72250 _ACEOF
72251 if ac_fn_cxx_try_compile "$LINENO"; then :
72252 glibcxx_cv_func_sincosl_use=yes
72253 else
72254 glibcxx_cv_func_sincosl_use=no
72256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72257 ac_ext=c
72258 ac_cpp='$CPP $CPPFLAGS'
72259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
72268 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
72270 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
72271 for ac_func in sincosl
72272 do :
72273 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
72274 if test "x$ac_cv_func_sincosl" = xyes; then :
72275 cat >>confdefs.h <<_ACEOF
72276 #define HAVE_SINCOSL 1
72277 _ACEOF
72280 done
72282 else
72284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72285 $as_echo_n "checking for _sincosl declaration... " >&6; }
72286 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72287 if ${glibcxx_cv_func__sincosl_use+:} false; then :
72288 $as_echo_n "(cached) " >&6
72289 else
72292 ac_ext=cpp
72293 ac_cpp='$CXXCPP $CPPFLAGS'
72294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72299 /* end confdefs.h. */
72300 #include <math.h>
72302 main ()
72304 _sincosl(0, 0, 0);
72306 return 0;
72308 _ACEOF
72309 if ac_fn_cxx_try_compile "$LINENO"; then :
72310 glibcxx_cv_func__sincosl_use=yes
72311 else
72312 glibcxx_cv_func__sincosl_use=no
72314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72315 ac_ext=c
72316 ac_cpp='$CPP $CPPFLAGS'
72317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72326 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72328 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72329 for ac_func in _sincosl
72330 do :
72331 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72332 if test "x$ac_cv_func__sincosl" = xyes; then :
72333 cat >>confdefs.h <<_ACEOF
72334 #define HAVE__SINCOSL 1
72335 _ACEOF
72338 done
72347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72348 $as_echo_n "checking for finitel declaration... " >&6; }
72349 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72350 if ${glibcxx_cv_func_finitel_use+:} false; then :
72351 $as_echo_n "(cached) " >&6
72352 else
72355 ac_ext=cpp
72356 ac_cpp='$CXXCPP $CPPFLAGS'
72357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72362 /* end confdefs.h. */
72363 #include <math.h>
72364 #ifdef HAVE_IEEEFP_H
72365 #include <ieeefp.h>
72366 #endif
72369 main ()
72371 finitel(0);
72373 return 0;
72375 _ACEOF
72376 if ac_fn_cxx_try_compile "$LINENO"; then :
72377 glibcxx_cv_func_finitel_use=yes
72378 else
72379 glibcxx_cv_func_finitel_use=no
72381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72382 ac_ext=c
72383 ac_cpp='$CPP $CPPFLAGS'
72384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72393 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72395 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72396 for ac_func in finitel
72397 do :
72398 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72399 if test "x$ac_cv_func_finitel" = xyes; then :
72400 cat >>confdefs.h <<_ACEOF
72401 #define HAVE_FINITEL 1
72402 _ACEOF
72405 done
72407 else
72409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72410 $as_echo_n "checking for _finitel declaration... " >&6; }
72411 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72412 if ${glibcxx_cv_func__finitel_use+:} false; then :
72413 $as_echo_n "(cached) " >&6
72414 else
72417 ac_ext=cpp
72418 ac_cpp='$CXXCPP $CPPFLAGS'
72419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72424 /* end confdefs.h. */
72425 #include <math.h>
72426 #ifdef HAVE_IEEEFP_H
72427 #include <ieeefp.h>
72428 #endif
72431 main ()
72433 _finitel(0);
72435 return 0;
72437 _ACEOF
72438 if ac_fn_cxx_try_compile "$LINENO"; then :
72439 glibcxx_cv_func__finitel_use=yes
72440 else
72441 glibcxx_cv_func__finitel_use=no
72443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72444 ac_ext=c
72445 ac_cpp='$CPP $CPPFLAGS'
72446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72455 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72457 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72458 for ac_func in _finitel
72459 do :
72460 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72461 if test "x$ac_cv_func__finitel" = xyes; then :
72462 cat >>confdefs.h <<_ACEOF
72463 #define HAVE__FINITEL 1
72464 _ACEOF
72467 done
72475 LIBS="$ac_save_LIBS"
72476 CXXFLAGS="$ac_save_CXXFLAGS"
72479 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72480 ac_save_CXXFLAGS="$CXXFLAGS"
72481 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72485 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72486 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72487 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
72488 $as_echo_n "(cached) " >&6
72489 else
72492 ac_ext=cpp
72493 ac_cpp='$CXXCPP $CPPFLAGS'
72494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72499 /* end confdefs.h. */
72500 #include <stdlib.h>
72502 main ()
72504 at_quick_exit(0);
72506 return 0;
72508 _ACEOF
72509 if ac_fn_cxx_try_compile "$LINENO"; then :
72510 glibcxx_cv_func_at_quick_exit_use=yes
72511 else
72512 glibcxx_cv_func_at_quick_exit_use=no
72514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72515 ac_ext=c
72516 ac_cpp='$CPP $CPPFLAGS'
72517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72526 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72527 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72528 for ac_func in at_quick_exit
72529 do :
72530 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72531 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
72532 cat >>confdefs.h <<_ACEOF
72533 #define HAVE_AT_QUICK_EXIT 1
72534 _ACEOF
72537 done
72542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72543 $as_echo_n "checking for quick_exit declaration... " >&6; }
72544 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72545 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
72546 $as_echo_n "(cached) " >&6
72547 else
72550 ac_ext=cpp
72551 ac_cpp='$CXXCPP $CPPFLAGS'
72552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72557 /* end confdefs.h. */
72558 #include <stdlib.h>
72560 main ()
72562 quick_exit(0);
72564 return 0;
72566 _ACEOF
72567 if ac_fn_cxx_try_compile "$LINENO"; then :
72568 glibcxx_cv_func_quick_exit_use=yes
72569 else
72570 glibcxx_cv_func_quick_exit_use=no
72572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72573 ac_ext=c
72574 ac_cpp='$CPP $CPPFLAGS'
72575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72584 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72585 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72586 for ac_func in quick_exit
72587 do :
72588 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72589 if test "x$ac_cv_func_quick_exit" = xyes; then :
72590 cat >>confdefs.h <<_ACEOF
72591 #define HAVE_QUICK_EXIT 1
72592 _ACEOF
72595 done
72600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72601 $as_echo_n "checking for strtold declaration... " >&6; }
72602 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72603 if ${glibcxx_cv_func_strtold_use+:} false; then :
72604 $as_echo_n "(cached) " >&6
72605 else
72608 ac_ext=cpp
72609 ac_cpp='$CXXCPP $CPPFLAGS'
72610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72615 /* end confdefs.h. */
72616 #include <stdlib.h>
72618 main ()
72620 strtold(0, 0);
72622 return 0;
72624 _ACEOF
72625 if ac_fn_cxx_try_compile "$LINENO"; then :
72626 glibcxx_cv_func_strtold_use=yes
72627 else
72628 glibcxx_cv_func_strtold_use=no
72630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72631 ac_ext=c
72632 ac_cpp='$CPP $CPPFLAGS'
72633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72642 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72643 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72644 for ac_func in strtold
72645 do :
72646 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72647 if test "x$ac_cv_func_strtold" = xyes; then :
72648 cat >>confdefs.h <<_ACEOF
72649 #define HAVE_STRTOLD 1
72650 _ACEOF
72653 done
72660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72661 $as_echo_n "checking for strtof declaration... " >&6; }
72662 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72663 if ${glibcxx_cv_func_strtof_use+:} false; then :
72664 $as_echo_n "(cached) " >&6
72665 else
72668 ac_ext=cpp
72669 ac_cpp='$CXXCPP $CPPFLAGS'
72670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72675 /* end confdefs.h. */
72676 #include <stdlib.h>
72678 main ()
72680 strtof(0, 0);
72682 return 0;
72684 _ACEOF
72685 if ac_fn_cxx_try_compile "$LINENO"; then :
72686 glibcxx_cv_func_strtof_use=yes
72687 else
72688 glibcxx_cv_func_strtof_use=no
72690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72691 ac_ext=c
72692 ac_cpp='$CPP $CPPFLAGS'
72693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72702 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72703 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72704 for ac_func in strtof
72705 do :
72706 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72707 if test "x$ac_cv_func_strtof" = xyes; then :
72708 cat >>confdefs.h <<_ACEOF
72709 #define HAVE_STRTOF 1
72710 _ACEOF
72713 done
72720 CXXFLAGS="$ac_save_CXXFLAGS"
72723 *-tpf)
72724 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72725 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72727 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72729 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72731 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72733 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72735 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72737 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72739 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72741 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72743 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72745 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72747 if test x"long_double_math_on_this_cpu" = x"yes"; then
72748 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72750 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72752 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72754 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72758 *-*vms*)
72759 # Check for available headers.
72760 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72762 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72763 ac_save_CXXFLAGS="$CXXFLAGS"
72764 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72767 $as_echo_n "checking for sin in -lm... " >&6; }
72768 if ${ac_cv_lib_m_sin+:} false; then :
72769 $as_echo_n "(cached) " >&6
72770 else
72771 ac_check_lib_save_LIBS=$LIBS
72772 LIBS="-lm $LIBS"
72773 if test x$gcc_no_link = xyes; then
72774 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72777 /* end confdefs.h. */
72779 /* Override any GCC internal prototype to avoid an error.
72780 Use char because int might match the return type of a GCC
72781 builtin and then its argument prototype would still apply. */
72782 #ifdef __cplusplus
72783 extern "C"
72784 #endif
72785 char sin ();
72787 main ()
72789 return sin ();
72791 return 0;
72793 _ACEOF
72794 if ac_fn_c_try_link "$LINENO"; then :
72795 ac_cv_lib_m_sin=yes
72796 else
72797 ac_cv_lib_m_sin=no
72799 rm -f core conftest.err conftest.$ac_objext \
72800 conftest$ac_exeext conftest.$ac_ext
72801 LIBS=$ac_check_lib_save_LIBS
72803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72804 $as_echo "$ac_cv_lib_m_sin" >&6; }
72805 if test "x$ac_cv_lib_m_sin" = xyes; then :
72806 libm="-lm"
72809 ac_save_LIBS="$LIBS"
72810 LIBS="$LIBS $libm"
72814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72815 $as_echo_n "checking for isinf declaration... " >&6; }
72816 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72817 if ${glibcxx_cv_func_isinf_use+:} false; then :
72818 $as_echo_n "(cached) " >&6
72819 else
72822 ac_ext=cpp
72823 ac_cpp='$CXXCPP $CPPFLAGS'
72824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72829 /* end confdefs.h. */
72830 #include <math.h>
72831 #ifdef HAVE_IEEEFP_H
72832 #include <ieeefp.h>
72833 #endif
72836 main ()
72838 isinf(0);
72840 return 0;
72842 _ACEOF
72843 if ac_fn_cxx_try_compile "$LINENO"; then :
72844 glibcxx_cv_func_isinf_use=yes
72845 else
72846 glibcxx_cv_func_isinf_use=no
72848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72849 ac_ext=c
72850 ac_cpp='$CPP $CPPFLAGS'
72851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72860 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72862 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72863 for ac_func in isinf
72864 do :
72865 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72866 if test "x$ac_cv_func_isinf" = xyes; then :
72867 cat >>confdefs.h <<_ACEOF
72868 #define HAVE_ISINF 1
72869 _ACEOF
72872 done
72874 else
72876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72877 $as_echo_n "checking for _isinf declaration... " >&6; }
72878 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72879 if ${glibcxx_cv_func__isinf_use+:} false; then :
72880 $as_echo_n "(cached) " >&6
72881 else
72884 ac_ext=cpp
72885 ac_cpp='$CXXCPP $CPPFLAGS'
72886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72891 /* end confdefs.h. */
72892 #include <math.h>
72893 #ifdef HAVE_IEEEFP_H
72894 #include <ieeefp.h>
72895 #endif
72898 main ()
72900 _isinf(0);
72902 return 0;
72904 _ACEOF
72905 if ac_fn_cxx_try_compile "$LINENO"; then :
72906 glibcxx_cv_func__isinf_use=yes
72907 else
72908 glibcxx_cv_func__isinf_use=no
72910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72911 ac_ext=c
72912 ac_cpp='$CPP $CPPFLAGS'
72913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72922 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72924 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72925 for ac_func in _isinf
72926 do :
72927 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72928 if test "x$ac_cv_func__isinf" = xyes; then :
72929 cat >>confdefs.h <<_ACEOF
72930 #define HAVE__ISINF 1
72931 _ACEOF
72934 done
72943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72944 $as_echo_n "checking for isnan declaration... " >&6; }
72945 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72946 if ${glibcxx_cv_func_isnan_use+:} false; then :
72947 $as_echo_n "(cached) " >&6
72948 else
72951 ac_ext=cpp
72952 ac_cpp='$CXXCPP $CPPFLAGS'
72953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72958 /* end confdefs.h. */
72959 #include <math.h>
72960 #ifdef HAVE_IEEEFP_H
72961 #include <ieeefp.h>
72962 #endif
72965 main ()
72967 isnan(0);
72969 return 0;
72971 _ACEOF
72972 if ac_fn_cxx_try_compile "$LINENO"; then :
72973 glibcxx_cv_func_isnan_use=yes
72974 else
72975 glibcxx_cv_func_isnan_use=no
72977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72978 ac_ext=c
72979 ac_cpp='$CPP $CPPFLAGS'
72980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72989 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72991 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72992 for ac_func in isnan
72993 do :
72994 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72995 if test "x$ac_cv_func_isnan" = xyes; then :
72996 cat >>confdefs.h <<_ACEOF
72997 #define HAVE_ISNAN 1
72998 _ACEOF
73001 done
73003 else
73005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
73006 $as_echo_n "checking for _isnan declaration... " >&6; }
73007 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
73008 if ${glibcxx_cv_func__isnan_use+:} false; then :
73009 $as_echo_n "(cached) " >&6
73010 else
73013 ac_ext=cpp
73014 ac_cpp='$CXXCPP $CPPFLAGS'
73015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73020 /* end confdefs.h. */
73021 #include <math.h>
73022 #ifdef HAVE_IEEEFP_H
73023 #include <ieeefp.h>
73024 #endif
73027 main ()
73029 _isnan(0);
73031 return 0;
73033 _ACEOF
73034 if ac_fn_cxx_try_compile "$LINENO"; then :
73035 glibcxx_cv_func__isnan_use=yes
73036 else
73037 glibcxx_cv_func__isnan_use=no
73039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73040 ac_ext=c
73041 ac_cpp='$CPP $CPPFLAGS'
73042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
73051 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
73053 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
73054 for ac_func in _isnan
73055 do :
73056 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
73057 if test "x$ac_cv_func__isnan" = xyes; then :
73058 cat >>confdefs.h <<_ACEOF
73059 #define HAVE__ISNAN 1
73060 _ACEOF
73063 done
73072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
73073 $as_echo_n "checking for finite declaration... " >&6; }
73074 if test x${glibcxx_cv_func_finite_use+set} != xset; then
73075 if ${glibcxx_cv_func_finite_use+:} false; then :
73076 $as_echo_n "(cached) " >&6
73077 else
73080 ac_ext=cpp
73081 ac_cpp='$CXXCPP $CPPFLAGS'
73082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73087 /* end confdefs.h. */
73088 #include <math.h>
73089 #ifdef HAVE_IEEEFP_H
73090 #include <ieeefp.h>
73091 #endif
73094 main ()
73096 finite(0);
73098 return 0;
73100 _ACEOF
73101 if ac_fn_cxx_try_compile "$LINENO"; then :
73102 glibcxx_cv_func_finite_use=yes
73103 else
73104 glibcxx_cv_func_finite_use=no
73106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73107 ac_ext=c
73108 ac_cpp='$CPP $CPPFLAGS'
73109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
73118 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
73120 if test x$glibcxx_cv_func_finite_use = x"yes"; then
73121 for ac_func in finite
73122 do :
73123 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
73124 if test "x$ac_cv_func_finite" = xyes; then :
73125 cat >>confdefs.h <<_ACEOF
73126 #define HAVE_FINITE 1
73127 _ACEOF
73130 done
73132 else
73134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
73135 $as_echo_n "checking for _finite declaration... " >&6; }
73136 if test x${glibcxx_cv_func__finite_use+set} != xset; then
73137 if ${glibcxx_cv_func__finite_use+:} false; then :
73138 $as_echo_n "(cached) " >&6
73139 else
73142 ac_ext=cpp
73143 ac_cpp='$CXXCPP $CPPFLAGS'
73144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73149 /* end confdefs.h. */
73150 #include <math.h>
73151 #ifdef HAVE_IEEEFP_H
73152 #include <ieeefp.h>
73153 #endif
73156 main ()
73158 _finite(0);
73160 return 0;
73162 _ACEOF
73163 if ac_fn_cxx_try_compile "$LINENO"; then :
73164 glibcxx_cv_func__finite_use=yes
73165 else
73166 glibcxx_cv_func__finite_use=no
73168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73169 ac_ext=c
73170 ac_cpp='$CPP $CPPFLAGS'
73171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
73180 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
73182 if test x$glibcxx_cv_func__finite_use = x"yes"; then
73183 for ac_func in _finite
73184 do :
73185 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
73186 if test "x$ac_cv_func__finite" = xyes; then :
73187 cat >>confdefs.h <<_ACEOF
73188 #define HAVE__FINITE 1
73189 _ACEOF
73192 done
73201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
73202 $as_echo_n "checking for sincos declaration... " >&6; }
73203 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
73204 if ${glibcxx_cv_func_sincos_use+:} false; then :
73205 $as_echo_n "(cached) " >&6
73206 else
73209 ac_ext=cpp
73210 ac_cpp='$CXXCPP $CPPFLAGS'
73211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73216 /* end confdefs.h. */
73217 #include <math.h>
73219 main ()
73221 sincos(0, 0, 0);
73223 return 0;
73225 _ACEOF
73226 if ac_fn_cxx_try_compile "$LINENO"; then :
73227 glibcxx_cv_func_sincos_use=yes
73228 else
73229 glibcxx_cv_func_sincos_use=no
73231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73232 ac_ext=c
73233 ac_cpp='$CPP $CPPFLAGS'
73234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
73243 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
73245 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
73246 for ac_func in sincos
73247 do :
73248 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
73249 if test "x$ac_cv_func_sincos" = xyes; then :
73250 cat >>confdefs.h <<_ACEOF
73251 #define HAVE_SINCOS 1
73252 _ACEOF
73255 done
73257 else
73259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
73260 $as_echo_n "checking for _sincos declaration... " >&6; }
73261 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
73262 if ${glibcxx_cv_func__sincos_use+:} false; then :
73263 $as_echo_n "(cached) " >&6
73264 else
73267 ac_ext=cpp
73268 ac_cpp='$CXXCPP $CPPFLAGS'
73269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73274 /* end confdefs.h. */
73275 #include <math.h>
73277 main ()
73279 _sincos(0, 0, 0);
73281 return 0;
73283 _ACEOF
73284 if ac_fn_cxx_try_compile "$LINENO"; then :
73285 glibcxx_cv_func__sincos_use=yes
73286 else
73287 glibcxx_cv_func__sincos_use=no
73289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73290 ac_ext=c
73291 ac_cpp='$CPP $CPPFLAGS'
73292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
73301 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
73303 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
73304 for ac_func in _sincos
73305 do :
73306 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
73307 if test "x$ac_cv_func__sincos" = xyes; then :
73308 cat >>confdefs.h <<_ACEOF
73309 #define HAVE__SINCOS 1
73310 _ACEOF
73313 done
73322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
73323 $as_echo_n "checking for fpclass declaration... " >&6; }
73324 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
73325 if ${glibcxx_cv_func_fpclass_use+:} false; then :
73326 $as_echo_n "(cached) " >&6
73327 else
73330 ac_ext=cpp
73331 ac_cpp='$CXXCPP $CPPFLAGS'
73332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73337 /* end confdefs.h. */
73338 #include <math.h>
73339 #ifdef HAVE_IEEEFP_H
73340 #include <ieeefp.h>
73341 #endif
73344 main ()
73346 fpclass(0);
73348 return 0;
73350 _ACEOF
73351 if ac_fn_cxx_try_compile "$LINENO"; then :
73352 glibcxx_cv_func_fpclass_use=yes
73353 else
73354 glibcxx_cv_func_fpclass_use=no
73356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73357 ac_ext=c
73358 ac_cpp='$CPP $CPPFLAGS'
73359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
73368 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73370 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73371 for ac_func in fpclass
73372 do :
73373 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73374 if test "x$ac_cv_func_fpclass" = xyes; then :
73375 cat >>confdefs.h <<_ACEOF
73376 #define HAVE_FPCLASS 1
73377 _ACEOF
73380 done
73382 else
73384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73385 $as_echo_n "checking for _fpclass declaration... " >&6; }
73386 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73387 if ${glibcxx_cv_func__fpclass_use+:} false; then :
73388 $as_echo_n "(cached) " >&6
73389 else
73392 ac_ext=cpp
73393 ac_cpp='$CXXCPP $CPPFLAGS'
73394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73399 /* end confdefs.h. */
73400 #include <math.h>
73401 #ifdef HAVE_IEEEFP_H
73402 #include <ieeefp.h>
73403 #endif
73406 main ()
73408 _fpclass(0);
73410 return 0;
73412 _ACEOF
73413 if ac_fn_cxx_try_compile "$LINENO"; then :
73414 glibcxx_cv_func__fpclass_use=yes
73415 else
73416 glibcxx_cv_func__fpclass_use=no
73418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73419 ac_ext=c
73420 ac_cpp='$CPP $CPPFLAGS'
73421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73430 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73432 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73433 for ac_func in _fpclass
73434 do :
73435 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73436 if test "x$ac_cv_func__fpclass" = xyes; then :
73437 cat >>confdefs.h <<_ACEOF
73438 #define HAVE__FPCLASS 1
73439 _ACEOF
73442 done
73451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73452 $as_echo_n "checking for qfpclass declaration... " >&6; }
73453 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73454 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
73455 $as_echo_n "(cached) " >&6
73456 else
73459 ac_ext=cpp
73460 ac_cpp='$CXXCPP $CPPFLAGS'
73461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73466 /* end confdefs.h. */
73467 #include <math.h>
73468 #ifdef HAVE_IEEEFP_H
73469 #include <ieeefp.h>
73470 #endif
73473 main ()
73475 qfpclass(0);
73477 return 0;
73479 _ACEOF
73480 if ac_fn_cxx_try_compile "$LINENO"; then :
73481 glibcxx_cv_func_qfpclass_use=yes
73482 else
73483 glibcxx_cv_func_qfpclass_use=no
73485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73486 ac_ext=c
73487 ac_cpp='$CPP $CPPFLAGS'
73488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73497 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73499 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73500 for ac_func in qfpclass
73501 do :
73502 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73503 if test "x$ac_cv_func_qfpclass" = xyes; then :
73504 cat >>confdefs.h <<_ACEOF
73505 #define HAVE_QFPCLASS 1
73506 _ACEOF
73509 done
73511 else
73513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73514 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73515 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73516 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
73517 $as_echo_n "(cached) " >&6
73518 else
73521 ac_ext=cpp
73522 ac_cpp='$CXXCPP $CPPFLAGS'
73523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73528 /* end confdefs.h. */
73529 #include <math.h>
73530 #ifdef HAVE_IEEEFP_H
73531 #include <ieeefp.h>
73532 #endif
73535 main ()
73537 _qfpclass(0);
73539 return 0;
73541 _ACEOF
73542 if ac_fn_cxx_try_compile "$LINENO"; then :
73543 glibcxx_cv_func__qfpclass_use=yes
73544 else
73545 glibcxx_cv_func__qfpclass_use=no
73547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73548 ac_ext=c
73549 ac_cpp='$CPP $CPPFLAGS'
73550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73559 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73561 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73562 for ac_func in _qfpclass
73563 do :
73564 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73565 if test "x$ac_cv_func__qfpclass" = xyes; then :
73566 cat >>confdefs.h <<_ACEOF
73567 #define HAVE__QFPCLASS 1
73568 _ACEOF
73571 done
73580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73581 $as_echo_n "checking for hypot declaration... " >&6; }
73582 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73583 if ${glibcxx_cv_func_hypot_use+:} false; then :
73584 $as_echo_n "(cached) " >&6
73585 else
73588 ac_ext=cpp
73589 ac_cpp='$CXXCPP $CPPFLAGS'
73590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73595 /* end confdefs.h. */
73596 #include <math.h>
73598 main ()
73600 hypot(0, 0);
73602 return 0;
73604 _ACEOF
73605 if ac_fn_cxx_try_compile "$LINENO"; then :
73606 glibcxx_cv_func_hypot_use=yes
73607 else
73608 glibcxx_cv_func_hypot_use=no
73610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73611 ac_ext=c
73612 ac_cpp='$CPP $CPPFLAGS'
73613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73622 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73624 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73625 for ac_func in hypot
73626 do :
73627 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73628 if test "x$ac_cv_func_hypot" = xyes; then :
73629 cat >>confdefs.h <<_ACEOF
73630 #define HAVE_HYPOT 1
73631 _ACEOF
73634 done
73636 else
73638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73639 $as_echo_n "checking for _hypot declaration... " >&6; }
73640 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73641 if ${glibcxx_cv_func__hypot_use+:} false; then :
73642 $as_echo_n "(cached) " >&6
73643 else
73646 ac_ext=cpp
73647 ac_cpp='$CXXCPP $CPPFLAGS'
73648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73653 /* end confdefs.h. */
73654 #include <math.h>
73656 main ()
73658 _hypot(0, 0);
73660 return 0;
73662 _ACEOF
73663 if ac_fn_cxx_try_compile "$LINENO"; then :
73664 glibcxx_cv_func__hypot_use=yes
73665 else
73666 glibcxx_cv_func__hypot_use=no
73668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73669 ac_ext=c
73670 ac_cpp='$CPP $CPPFLAGS'
73671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73680 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73682 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73683 for ac_func in _hypot
73684 do :
73685 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73686 if test "x$ac_cv_func__hypot" = xyes; then :
73687 cat >>confdefs.h <<_ACEOF
73688 #define HAVE__HYPOT 1
73689 _ACEOF
73692 done
73701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73702 $as_echo_n "checking for float trig functions... " >&6; }
73703 if ${glibcxx_cv_func_float_trig_use+:} false; then :
73704 $as_echo_n "(cached) " >&6
73705 else
73708 ac_ext=cpp
73709 ac_cpp='$CXXCPP $CPPFLAGS'
73710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73715 /* end confdefs.h. */
73716 #include <math.h>
73718 main ()
73720 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73722 return 0;
73724 _ACEOF
73725 if ac_fn_cxx_try_compile "$LINENO"; then :
73726 glibcxx_cv_func_float_trig_use=yes
73727 else
73728 glibcxx_cv_func_float_trig_use=no
73730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73731 ac_ext=c
73732 ac_cpp='$CPP $CPPFLAGS'
73733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73740 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73741 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73742 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73743 do :
73744 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73745 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73746 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
73747 cat >>confdefs.h <<_ACEOF
73748 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73749 _ACEOF
73752 done
73754 else
73755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73756 $as_echo_n "checking for _float trig functions... " >&6; }
73757 if ${glibcxx_cv_func__float_trig_use+:} false; then :
73758 $as_echo_n "(cached) " >&6
73759 else
73762 ac_ext=cpp
73763 ac_cpp='$CXXCPP $CPPFLAGS'
73764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73769 /* end confdefs.h. */
73770 #include <math.h>
73772 main ()
73774 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73776 return 0;
73778 _ACEOF
73779 if ac_fn_cxx_try_compile "$LINENO"; then :
73780 glibcxx_cv_func__float_trig_use=yes
73781 else
73782 glibcxx_cv_func__float_trig_use=no
73784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73785 ac_ext=c
73786 ac_cpp='$CPP $CPPFLAGS'
73787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73794 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73795 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73796 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73797 do :
73798 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73799 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73800 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
73801 cat >>confdefs.h <<_ACEOF
73802 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73803 _ACEOF
73806 done
73815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73816 $as_echo_n "checking for float round functions... " >&6; }
73817 if ${glibcxx_cv_func_float_round_use+:} false; then :
73818 $as_echo_n "(cached) " >&6
73819 else
73822 ac_ext=cpp
73823 ac_cpp='$CXXCPP $CPPFLAGS'
73824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73829 /* end confdefs.h. */
73830 #include <math.h>
73832 main ()
73834 ceilf (0); floorf (0);
73836 return 0;
73838 _ACEOF
73839 if ac_fn_cxx_try_compile "$LINENO"; then :
73840 glibcxx_cv_func_float_round_use=yes
73841 else
73842 glibcxx_cv_func_float_round_use=no
73844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73845 ac_ext=c
73846 ac_cpp='$CPP $CPPFLAGS'
73847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73854 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73855 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73856 for ac_func in ceilf floorf
73857 do :
73858 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73859 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73860 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
73861 cat >>confdefs.h <<_ACEOF
73862 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73863 _ACEOF
73866 done
73868 else
73869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73870 $as_echo_n "checking for _float round functions... " >&6; }
73871 if ${glibcxx_cv_func__float_round_use+:} false; then :
73872 $as_echo_n "(cached) " >&6
73873 else
73876 ac_ext=cpp
73877 ac_cpp='$CXXCPP $CPPFLAGS'
73878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73883 /* end confdefs.h. */
73884 #include <math.h>
73886 main ()
73888 _ceilf (0); _floorf (0);
73890 return 0;
73892 _ACEOF
73893 if ac_fn_cxx_try_compile "$LINENO"; then :
73894 glibcxx_cv_func__float_round_use=yes
73895 else
73896 glibcxx_cv_func__float_round_use=no
73898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73899 ac_ext=c
73900 ac_cpp='$CPP $CPPFLAGS'
73901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73908 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73909 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73910 for ac_func in _ceilf _floorf
73911 do :
73912 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73913 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73914 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
73915 cat >>confdefs.h <<_ACEOF
73916 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73917 _ACEOF
73920 done
73930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73931 $as_echo_n "checking for expf declaration... " >&6; }
73932 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73933 if ${glibcxx_cv_func_expf_use+:} false; then :
73934 $as_echo_n "(cached) " >&6
73935 else
73938 ac_ext=cpp
73939 ac_cpp='$CXXCPP $CPPFLAGS'
73940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73945 /* end confdefs.h. */
73946 #include <math.h>
73947 #ifdef HAVE_IEEEFP_H
73948 #include <ieeefp.h>
73949 #endif
73952 main ()
73954 expf(0);
73956 return 0;
73958 _ACEOF
73959 if ac_fn_cxx_try_compile "$LINENO"; then :
73960 glibcxx_cv_func_expf_use=yes
73961 else
73962 glibcxx_cv_func_expf_use=no
73964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73965 ac_ext=c
73966 ac_cpp='$CPP $CPPFLAGS'
73967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73976 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73978 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73979 for ac_func in expf
73980 do :
73981 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73982 if test "x$ac_cv_func_expf" = xyes; then :
73983 cat >>confdefs.h <<_ACEOF
73984 #define HAVE_EXPF 1
73985 _ACEOF
73988 done
73990 else
73992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73993 $as_echo_n "checking for _expf declaration... " >&6; }
73994 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73995 if ${glibcxx_cv_func__expf_use+:} false; then :
73996 $as_echo_n "(cached) " >&6
73997 else
74000 ac_ext=cpp
74001 ac_cpp='$CXXCPP $CPPFLAGS'
74002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74007 /* end confdefs.h. */
74008 #include <math.h>
74009 #ifdef HAVE_IEEEFP_H
74010 #include <ieeefp.h>
74011 #endif
74014 main ()
74016 _expf(0);
74018 return 0;
74020 _ACEOF
74021 if ac_fn_cxx_try_compile "$LINENO"; then :
74022 glibcxx_cv_func__expf_use=yes
74023 else
74024 glibcxx_cv_func__expf_use=no
74026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74027 ac_ext=c
74028 ac_cpp='$CPP $CPPFLAGS'
74029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
74038 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
74040 if test x$glibcxx_cv_func__expf_use = x"yes"; then
74041 for ac_func in _expf
74042 do :
74043 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
74044 if test "x$ac_cv_func__expf" = xyes; then :
74045 cat >>confdefs.h <<_ACEOF
74046 #define HAVE__EXPF 1
74047 _ACEOF
74050 done
74059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
74060 $as_echo_n "checking for isnanf declaration... " >&6; }
74061 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
74062 if ${glibcxx_cv_func_isnanf_use+:} false; then :
74063 $as_echo_n "(cached) " >&6
74064 else
74067 ac_ext=cpp
74068 ac_cpp='$CXXCPP $CPPFLAGS'
74069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74074 /* end confdefs.h. */
74075 #include <math.h>
74076 #ifdef HAVE_IEEEFP_H
74077 #include <ieeefp.h>
74078 #endif
74081 main ()
74083 isnanf(0);
74085 return 0;
74087 _ACEOF
74088 if ac_fn_cxx_try_compile "$LINENO"; then :
74089 glibcxx_cv_func_isnanf_use=yes
74090 else
74091 glibcxx_cv_func_isnanf_use=no
74093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74094 ac_ext=c
74095 ac_cpp='$CPP $CPPFLAGS'
74096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
74105 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
74107 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
74108 for ac_func in isnanf
74109 do :
74110 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
74111 if test "x$ac_cv_func_isnanf" = xyes; then :
74112 cat >>confdefs.h <<_ACEOF
74113 #define HAVE_ISNANF 1
74114 _ACEOF
74117 done
74119 else
74121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
74122 $as_echo_n "checking for _isnanf declaration... " >&6; }
74123 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
74124 if ${glibcxx_cv_func__isnanf_use+:} false; then :
74125 $as_echo_n "(cached) " >&6
74126 else
74129 ac_ext=cpp
74130 ac_cpp='$CXXCPP $CPPFLAGS'
74131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74136 /* end confdefs.h. */
74137 #include <math.h>
74138 #ifdef HAVE_IEEEFP_H
74139 #include <ieeefp.h>
74140 #endif
74143 main ()
74145 _isnanf(0);
74147 return 0;
74149 _ACEOF
74150 if ac_fn_cxx_try_compile "$LINENO"; then :
74151 glibcxx_cv_func__isnanf_use=yes
74152 else
74153 glibcxx_cv_func__isnanf_use=no
74155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74156 ac_ext=c
74157 ac_cpp='$CPP $CPPFLAGS'
74158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
74167 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
74169 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
74170 for ac_func in _isnanf
74171 do :
74172 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
74173 if test "x$ac_cv_func__isnanf" = xyes; then :
74174 cat >>confdefs.h <<_ACEOF
74175 #define HAVE__ISNANF 1
74176 _ACEOF
74179 done
74188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
74189 $as_echo_n "checking for isinff declaration... " >&6; }
74190 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
74191 if ${glibcxx_cv_func_isinff_use+:} false; then :
74192 $as_echo_n "(cached) " >&6
74193 else
74196 ac_ext=cpp
74197 ac_cpp='$CXXCPP $CPPFLAGS'
74198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74203 /* end confdefs.h. */
74204 #include <math.h>
74205 #ifdef HAVE_IEEEFP_H
74206 #include <ieeefp.h>
74207 #endif
74210 main ()
74212 isinff(0);
74214 return 0;
74216 _ACEOF
74217 if ac_fn_cxx_try_compile "$LINENO"; then :
74218 glibcxx_cv_func_isinff_use=yes
74219 else
74220 glibcxx_cv_func_isinff_use=no
74222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74223 ac_ext=c
74224 ac_cpp='$CPP $CPPFLAGS'
74225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
74234 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
74236 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
74237 for ac_func in isinff
74238 do :
74239 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
74240 if test "x$ac_cv_func_isinff" = xyes; then :
74241 cat >>confdefs.h <<_ACEOF
74242 #define HAVE_ISINFF 1
74243 _ACEOF
74246 done
74248 else
74250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
74251 $as_echo_n "checking for _isinff declaration... " >&6; }
74252 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
74253 if ${glibcxx_cv_func__isinff_use+:} false; then :
74254 $as_echo_n "(cached) " >&6
74255 else
74258 ac_ext=cpp
74259 ac_cpp='$CXXCPP $CPPFLAGS'
74260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74265 /* end confdefs.h. */
74266 #include <math.h>
74267 #ifdef HAVE_IEEEFP_H
74268 #include <ieeefp.h>
74269 #endif
74272 main ()
74274 _isinff(0);
74276 return 0;
74278 _ACEOF
74279 if ac_fn_cxx_try_compile "$LINENO"; then :
74280 glibcxx_cv_func__isinff_use=yes
74281 else
74282 glibcxx_cv_func__isinff_use=no
74284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74285 ac_ext=c
74286 ac_cpp='$CPP $CPPFLAGS'
74287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
74296 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
74298 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
74299 for ac_func in _isinff
74300 do :
74301 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
74302 if test "x$ac_cv_func__isinff" = xyes; then :
74303 cat >>confdefs.h <<_ACEOF
74304 #define HAVE__ISINFF 1
74305 _ACEOF
74308 done
74317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
74318 $as_echo_n "checking for atan2f declaration... " >&6; }
74319 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
74320 if ${glibcxx_cv_func_atan2f_use+:} false; then :
74321 $as_echo_n "(cached) " >&6
74322 else
74325 ac_ext=cpp
74326 ac_cpp='$CXXCPP $CPPFLAGS'
74327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74332 /* end confdefs.h. */
74333 #include <math.h>
74335 main ()
74337 atan2f(0, 0);
74339 return 0;
74341 _ACEOF
74342 if ac_fn_cxx_try_compile "$LINENO"; then :
74343 glibcxx_cv_func_atan2f_use=yes
74344 else
74345 glibcxx_cv_func_atan2f_use=no
74347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74348 ac_ext=c
74349 ac_cpp='$CPP $CPPFLAGS'
74350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
74359 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
74361 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74362 for ac_func in atan2f
74363 do :
74364 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74365 if test "x$ac_cv_func_atan2f" = xyes; then :
74366 cat >>confdefs.h <<_ACEOF
74367 #define HAVE_ATAN2F 1
74368 _ACEOF
74371 done
74373 else
74375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74376 $as_echo_n "checking for _atan2f declaration... " >&6; }
74377 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74378 if ${glibcxx_cv_func__atan2f_use+:} false; then :
74379 $as_echo_n "(cached) " >&6
74380 else
74383 ac_ext=cpp
74384 ac_cpp='$CXXCPP $CPPFLAGS'
74385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74390 /* end confdefs.h. */
74391 #include <math.h>
74393 main ()
74395 _atan2f(0, 0);
74397 return 0;
74399 _ACEOF
74400 if ac_fn_cxx_try_compile "$LINENO"; then :
74401 glibcxx_cv_func__atan2f_use=yes
74402 else
74403 glibcxx_cv_func__atan2f_use=no
74405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74406 ac_ext=c
74407 ac_cpp='$CPP $CPPFLAGS'
74408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74417 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74419 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74420 for ac_func in _atan2f
74421 do :
74422 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74423 if test "x$ac_cv_func__atan2f" = xyes; then :
74424 cat >>confdefs.h <<_ACEOF
74425 #define HAVE__ATAN2F 1
74426 _ACEOF
74429 done
74438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74439 $as_echo_n "checking for fabsf declaration... " >&6; }
74440 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74441 if ${glibcxx_cv_func_fabsf_use+:} false; then :
74442 $as_echo_n "(cached) " >&6
74443 else
74446 ac_ext=cpp
74447 ac_cpp='$CXXCPP $CPPFLAGS'
74448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74453 /* end confdefs.h. */
74454 #include <math.h>
74455 #ifdef HAVE_IEEEFP_H
74456 #include <ieeefp.h>
74457 #endif
74460 main ()
74462 fabsf(0);
74464 return 0;
74466 _ACEOF
74467 if ac_fn_cxx_try_compile "$LINENO"; then :
74468 glibcxx_cv_func_fabsf_use=yes
74469 else
74470 glibcxx_cv_func_fabsf_use=no
74472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74473 ac_ext=c
74474 ac_cpp='$CPP $CPPFLAGS'
74475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74484 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74486 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74487 for ac_func in fabsf
74488 do :
74489 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74490 if test "x$ac_cv_func_fabsf" = xyes; then :
74491 cat >>confdefs.h <<_ACEOF
74492 #define HAVE_FABSF 1
74493 _ACEOF
74496 done
74498 else
74500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74501 $as_echo_n "checking for _fabsf declaration... " >&6; }
74502 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74503 if ${glibcxx_cv_func__fabsf_use+:} false; then :
74504 $as_echo_n "(cached) " >&6
74505 else
74508 ac_ext=cpp
74509 ac_cpp='$CXXCPP $CPPFLAGS'
74510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74515 /* end confdefs.h. */
74516 #include <math.h>
74517 #ifdef HAVE_IEEEFP_H
74518 #include <ieeefp.h>
74519 #endif
74522 main ()
74524 _fabsf(0);
74526 return 0;
74528 _ACEOF
74529 if ac_fn_cxx_try_compile "$LINENO"; then :
74530 glibcxx_cv_func__fabsf_use=yes
74531 else
74532 glibcxx_cv_func__fabsf_use=no
74534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74535 ac_ext=c
74536 ac_cpp='$CPP $CPPFLAGS'
74537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74546 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74548 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74549 for ac_func in _fabsf
74550 do :
74551 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74552 if test "x$ac_cv_func__fabsf" = xyes; then :
74553 cat >>confdefs.h <<_ACEOF
74554 #define HAVE__FABSF 1
74555 _ACEOF
74558 done
74567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74568 $as_echo_n "checking for fmodf declaration... " >&6; }
74569 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74570 if ${glibcxx_cv_func_fmodf_use+:} false; then :
74571 $as_echo_n "(cached) " >&6
74572 else
74575 ac_ext=cpp
74576 ac_cpp='$CXXCPP $CPPFLAGS'
74577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74582 /* end confdefs.h. */
74583 #include <math.h>
74585 main ()
74587 fmodf(0, 0);
74589 return 0;
74591 _ACEOF
74592 if ac_fn_cxx_try_compile "$LINENO"; then :
74593 glibcxx_cv_func_fmodf_use=yes
74594 else
74595 glibcxx_cv_func_fmodf_use=no
74597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74598 ac_ext=c
74599 ac_cpp='$CPP $CPPFLAGS'
74600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74609 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74611 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74612 for ac_func in fmodf
74613 do :
74614 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74615 if test "x$ac_cv_func_fmodf" = xyes; then :
74616 cat >>confdefs.h <<_ACEOF
74617 #define HAVE_FMODF 1
74618 _ACEOF
74621 done
74623 else
74625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74626 $as_echo_n "checking for _fmodf declaration... " >&6; }
74627 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74628 if ${glibcxx_cv_func__fmodf_use+:} false; then :
74629 $as_echo_n "(cached) " >&6
74630 else
74633 ac_ext=cpp
74634 ac_cpp='$CXXCPP $CPPFLAGS'
74635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74640 /* end confdefs.h. */
74641 #include <math.h>
74643 main ()
74645 _fmodf(0, 0);
74647 return 0;
74649 _ACEOF
74650 if ac_fn_cxx_try_compile "$LINENO"; then :
74651 glibcxx_cv_func__fmodf_use=yes
74652 else
74653 glibcxx_cv_func__fmodf_use=no
74655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74656 ac_ext=c
74657 ac_cpp='$CPP $CPPFLAGS'
74658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74667 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74669 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74670 for ac_func in _fmodf
74671 do :
74672 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74673 if test "x$ac_cv_func__fmodf" = xyes; then :
74674 cat >>confdefs.h <<_ACEOF
74675 #define HAVE__FMODF 1
74676 _ACEOF
74679 done
74688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74689 $as_echo_n "checking for frexpf declaration... " >&6; }
74690 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74691 if ${glibcxx_cv_func_frexpf_use+:} false; then :
74692 $as_echo_n "(cached) " >&6
74693 else
74696 ac_ext=cpp
74697 ac_cpp='$CXXCPP $CPPFLAGS'
74698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74703 /* end confdefs.h. */
74704 #include <math.h>
74706 main ()
74708 frexpf(0, 0);
74710 return 0;
74712 _ACEOF
74713 if ac_fn_cxx_try_compile "$LINENO"; then :
74714 glibcxx_cv_func_frexpf_use=yes
74715 else
74716 glibcxx_cv_func_frexpf_use=no
74718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74719 ac_ext=c
74720 ac_cpp='$CPP $CPPFLAGS'
74721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74730 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74732 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74733 for ac_func in frexpf
74734 do :
74735 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74736 if test "x$ac_cv_func_frexpf" = xyes; then :
74737 cat >>confdefs.h <<_ACEOF
74738 #define HAVE_FREXPF 1
74739 _ACEOF
74742 done
74744 else
74746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74747 $as_echo_n "checking for _frexpf declaration... " >&6; }
74748 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74749 if ${glibcxx_cv_func__frexpf_use+:} false; then :
74750 $as_echo_n "(cached) " >&6
74751 else
74754 ac_ext=cpp
74755 ac_cpp='$CXXCPP $CPPFLAGS'
74756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74761 /* end confdefs.h. */
74762 #include <math.h>
74764 main ()
74766 _frexpf(0, 0);
74768 return 0;
74770 _ACEOF
74771 if ac_fn_cxx_try_compile "$LINENO"; then :
74772 glibcxx_cv_func__frexpf_use=yes
74773 else
74774 glibcxx_cv_func__frexpf_use=no
74776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74777 ac_ext=c
74778 ac_cpp='$CPP $CPPFLAGS'
74779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74788 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74790 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74791 for ac_func in _frexpf
74792 do :
74793 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74794 if test "x$ac_cv_func__frexpf" = xyes; then :
74795 cat >>confdefs.h <<_ACEOF
74796 #define HAVE__FREXPF 1
74797 _ACEOF
74800 done
74809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74810 $as_echo_n "checking for hypotf declaration... " >&6; }
74811 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74812 if ${glibcxx_cv_func_hypotf_use+:} false; then :
74813 $as_echo_n "(cached) " >&6
74814 else
74817 ac_ext=cpp
74818 ac_cpp='$CXXCPP $CPPFLAGS'
74819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74824 /* end confdefs.h. */
74825 #include <math.h>
74827 main ()
74829 hypotf(0, 0);
74831 return 0;
74833 _ACEOF
74834 if ac_fn_cxx_try_compile "$LINENO"; then :
74835 glibcxx_cv_func_hypotf_use=yes
74836 else
74837 glibcxx_cv_func_hypotf_use=no
74839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74840 ac_ext=c
74841 ac_cpp='$CPP $CPPFLAGS'
74842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74851 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74853 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74854 for ac_func in hypotf
74855 do :
74856 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74857 if test "x$ac_cv_func_hypotf" = xyes; then :
74858 cat >>confdefs.h <<_ACEOF
74859 #define HAVE_HYPOTF 1
74860 _ACEOF
74863 done
74865 else
74867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74868 $as_echo_n "checking for _hypotf declaration... " >&6; }
74869 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74870 if ${glibcxx_cv_func__hypotf_use+:} false; then :
74871 $as_echo_n "(cached) " >&6
74872 else
74875 ac_ext=cpp
74876 ac_cpp='$CXXCPP $CPPFLAGS'
74877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74882 /* end confdefs.h. */
74883 #include <math.h>
74885 main ()
74887 _hypotf(0, 0);
74889 return 0;
74891 _ACEOF
74892 if ac_fn_cxx_try_compile "$LINENO"; then :
74893 glibcxx_cv_func__hypotf_use=yes
74894 else
74895 glibcxx_cv_func__hypotf_use=no
74897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74898 ac_ext=c
74899 ac_cpp='$CPP $CPPFLAGS'
74900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74909 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74911 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74912 for ac_func in _hypotf
74913 do :
74914 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74915 if test "x$ac_cv_func__hypotf" = xyes; then :
74916 cat >>confdefs.h <<_ACEOF
74917 #define HAVE__HYPOTF 1
74918 _ACEOF
74921 done
74930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74931 $as_echo_n "checking for ldexpf declaration... " >&6; }
74932 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74933 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
74934 $as_echo_n "(cached) " >&6
74935 else
74938 ac_ext=cpp
74939 ac_cpp='$CXXCPP $CPPFLAGS'
74940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74945 /* end confdefs.h. */
74946 #include <math.h>
74948 main ()
74950 ldexpf(0, 0);
74952 return 0;
74954 _ACEOF
74955 if ac_fn_cxx_try_compile "$LINENO"; then :
74956 glibcxx_cv_func_ldexpf_use=yes
74957 else
74958 glibcxx_cv_func_ldexpf_use=no
74960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74961 ac_ext=c
74962 ac_cpp='$CPP $CPPFLAGS'
74963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74972 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74974 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74975 for ac_func in ldexpf
74976 do :
74977 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74978 if test "x$ac_cv_func_ldexpf" = xyes; then :
74979 cat >>confdefs.h <<_ACEOF
74980 #define HAVE_LDEXPF 1
74981 _ACEOF
74984 done
74986 else
74988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74989 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74990 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74991 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
74992 $as_echo_n "(cached) " >&6
74993 else
74996 ac_ext=cpp
74997 ac_cpp='$CXXCPP $CPPFLAGS'
74998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75003 /* end confdefs.h. */
75004 #include <math.h>
75006 main ()
75008 _ldexpf(0, 0);
75010 return 0;
75012 _ACEOF
75013 if ac_fn_cxx_try_compile "$LINENO"; then :
75014 glibcxx_cv_func__ldexpf_use=yes
75015 else
75016 glibcxx_cv_func__ldexpf_use=no
75018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75019 ac_ext=c
75020 ac_cpp='$CPP $CPPFLAGS'
75021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
75030 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
75032 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
75033 for ac_func in _ldexpf
75034 do :
75035 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
75036 if test "x$ac_cv_func__ldexpf" = xyes; then :
75037 cat >>confdefs.h <<_ACEOF
75038 #define HAVE__LDEXPF 1
75039 _ACEOF
75042 done
75051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
75052 $as_echo_n "checking for logf declaration... " >&6; }
75053 if test x${glibcxx_cv_func_logf_use+set} != xset; then
75054 if ${glibcxx_cv_func_logf_use+:} false; then :
75055 $as_echo_n "(cached) " >&6
75056 else
75059 ac_ext=cpp
75060 ac_cpp='$CXXCPP $CPPFLAGS'
75061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75066 /* end confdefs.h. */
75067 #include <math.h>
75068 #ifdef HAVE_IEEEFP_H
75069 #include <ieeefp.h>
75070 #endif
75073 main ()
75075 logf(0);
75077 return 0;
75079 _ACEOF
75080 if ac_fn_cxx_try_compile "$LINENO"; then :
75081 glibcxx_cv_func_logf_use=yes
75082 else
75083 glibcxx_cv_func_logf_use=no
75085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75086 ac_ext=c
75087 ac_cpp='$CPP $CPPFLAGS'
75088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
75097 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
75099 if test x$glibcxx_cv_func_logf_use = x"yes"; then
75100 for ac_func in logf
75101 do :
75102 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
75103 if test "x$ac_cv_func_logf" = xyes; then :
75104 cat >>confdefs.h <<_ACEOF
75105 #define HAVE_LOGF 1
75106 _ACEOF
75109 done
75111 else
75113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
75114 $as_echo_n "checking for _logf declaration... " >&6; }
75115 if test x${glibcxx_cv_func__logf_use+set} != xset; then
75116 if ${glibcxx_cv_func__logf_use+:} false; then :
75117 $as_echo_n "(cached) " >&6
75118 else
75121 ac_ext=cpp
75122 ac_cpp='$CXXCPP $CPPFLAGS'
75123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75128 /* end confdefs.h. */
75129 #include <math.h>
75130 #ifdef HAVE_IEEEFP_H
75131 #include <ieeefp.h>
75132 #endif
75135 main ()
75137 _logf(0);
75139 return 0;
75141 _ACEOF
75142 if ac_fn_cxx_try_compile "$LINENO"; then :
75143 glibcxx_cv_func__logf_use=yes
75144 else
75145 glibcxx_cv_func__logf_use=no
75147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75148 ac_ext=c
75149 ac_cpp='$CPP $CPPFLAGS'
75150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
75159 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
75161 if test x$glibcxx_cv_func__logf_use = x"yes"; then
75162 for ac_func in _logf
75163 do :
75164 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
75165 if test "x$ac_cv_func__logf" = xyes; then :
75166 cat >>confdefs.h <<_ACEOF
75167 #define HAVE__LOGF 1
75168 _ACEOF
75171 done
75180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
75181 $as_echo_n "checking for log10f declaration... " >&6; }
75182 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
75183 if ${glibcxx_cv_func_log10f_use+:} false; then :
75184 $as_echo_n "(cached) " >&6
75185 else
75188 ac_ext=cpp
75189 ac_cpp='$CXXCPP $CPPFLAGS'
75190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75195 /* end confdefs.h. */
75196 #include <math.h>
75197 #ifdef HAVE_IEEEFP_H
75198 #include <ieeefp.h>
75199 #endif
75202 main ()
75204 log10f(0);
75206 return 0;
75208 _ACEOF
75209 if ac_fn_cxx_try_compile "$LINENO"; then :
75210 glibcxx_cv_func_log10f_use=yes
75211 else
75212 glibcxx_cv_func_log10f_use=no
75214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75215 ac_ext=c
75216 ac_cpp='$CPP $CPPFLAGS'
75217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
75226 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
75228 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
75229 for ac_func in log10f
75230 do :
75231 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
75232 if test "x$ac_cv_func_log10f" = xyes; then :
75233 cat >>confdefs.h <<_ACEOF
75234 #define HAVE_LOG10F 1
75235 _ACEOF
75238 done
75240 else
75242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
75243 $as_echo_n "checking for _log10f declaration... " >&6; }
75244 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
75245 if ${glibcxx_cv_func__log10f_use+:} false; then :
75246 $as_echo_n "(cached) " >&6
75247 else
75250 ac_ext=cpp
75251 ac_cpp='$CXXCPP $CPPFLAGS'
75252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75257 /* end confdefs.h. */
75258 #include <math.h>
75259 #ifdef HAVE_IEEEFP_H
75260 #include <ieeefp.h>
75261 #endif
75264 main ()
75266 _log10f(0);
75268 return 0;
75270 _ACEOF
75271 if ac_fn_cxx_try_compile "$LINENO"; then :
75272 glibcxx_cv_func__log10f_use=yes
75273 else
75274 glibcxx_cv_func__log10f_use=no
75276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75277 ac_ext=c
75278 ac_cpp='$CPP $CPPFLAGS'
75279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
75288 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
75290 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
75291 for ac_func in _log10f
75292 do :
75293 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
75294 if test "x$ac_cv_func__log10f" = xyes; then :
75295 cat >>confdefs.h <<_ACEOF
75296 #define HAVE__LOG10F 1
75297 _ACEOF
75300 done
75309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
75310 $as_echo_n "checking for modff declaration... " >&6; }
75311 if test x${glibcxx_cv_func_modff_use+set} != xset; then
75312 if ${glibcxx_cv_func_modff_use+:} false; then :
75313 $as_echo_n "(cached) " >&6
75314 else
75317 ac_ext=cpp
75318 ac_cpp='$CXXCPP $CPPFLAGS'
75319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75324 /* end confdefs.h. */
75325 #include <math.h>
75327 main ()
75329 modff(0, 0);
75331 return 0;
75333 _ACEOF
75334 if ac_fn_cxx_try_compile "$LINENO"; then :
75335 glibcxx_cv_func_modff_use=yes
75336 else
75337 glibcxx_cv_func_modff_use=no
75339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75340 ac_ext=c
75341 ac_cpp='$CPP $CPPFLAGS'
75342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
75351 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
75353 if test x$glibcxx_cv_func_modff_use = x"yes"; then
75354 for ac_func in modff
75355 do :
75356 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
75357 if test "x$ac_cv_func_modff" = xyes; then :
75358 cat >>confdefs.h <<_ACEOF
75359 #define HAVE_MODFF 1
75360 _ACEOF
75363 done
75365 else
75367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75368 $as_echo_n "checking for _modff declaration... " >&6; }
75369 if test x${glibcxx_cv_func__modff_use+set} != xset; then
75370 if ${glibcxx_cv_func__modff_use+:} false; then :
75371 $as_echo_n "(cached) " >&6
75372 else
75375 ac_ext=cpp
75376 ac_cpp='$CXXCPP $CPPFLAGS'
75377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75382 /* end confdefs.h. */
75383 #include <math.h>
75385 main ()
75387 _modff(0, 0);
75389 return 0;
75391 _ACEOF
75392 if ac_fn_cxx_try_compile "$LINENO"; then :
75393 glibcxx_cv_func__modff_use=yes
75394 else
75395 glibcxx_cv_func__modff_use=no
75397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75398 ac_ext=c
75399 ac_cpp='$CPP $CPPFLAGS'
75400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75409 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75411 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75412 for ac_func in _modff
75413 do :
75414 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75415 if test "x$ac_cv_func__modff" = xyes; then :
75416 cat >>confdefs.h <<_ACEOF
75417 #define HAVE__MODFF 1
75418 _ACEOF
75421 done
75430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75431 $as_echo_n "checking for modf declaration... " >&6; }
75432 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75433 if ${glibcxx_cv_func_modf_use+:} false; then :
75434 $as_echo_n "(cached) " >&6
75435 else
75438 ac_ext=cpp
75439 ac_cpp='$CXXCPP $CPPFLAGS'
75440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75445 /* end confdefs.h. */
75446 #include <math.h>
75448 main ()
75450 modf(0, 0);
75452 return 0;
75454 _ACEOF
75455 if ac_fn_cxx_try_compile "$LINENO"; then :
75456 glibcxx_cv_func_modf_use=yes
75457 else
75458 glibcxx_cv_func_modf_use=no
75460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75461 ac_ext=c
75462 ac_cpp='$CPP $CPPFLAGS'
75463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75472 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75474 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75475 for ac_func in modf
75476 do :
75477 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75478 if test "x$ac_cv_func_modf" = xyes; then :
75479 cat >>confdefs.h <<_ACEOF
75480 #define HAVE_MODF 1
75481 _ACEOF
75484 done
75486 else
75488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75489 $as_echo_n "checking for _modf declaration... " >&6; }
75490 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75491 if ${glibcxx_cv_func__modf_use+:} false; then :
75492 $as_echo_n "(cached) " >&6
75493 else
75496 ac_ext=cpp
75497 ac_cpp='$CXXCPP $CPPFLAGS'
75498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75503 /* end confdefs.h. */
75504 #include <math.h>
75506 main ()
75508 _modf(0, 0);
75510 return 0;
75512 _ACEOF
75513 if ac_fn_cxx_try_compile "$LINENO"; then :
75514 glibcxx_cv_func__modf_use=yes
75515 else
75516 glibcxx_cv_func__modf_use=no
75518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75519 ac_ext=c
75520 ac_cpp='$CPP $CPPFLAGS'
75521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75530 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75532 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75533 for ac_func in _modf
75534 do :
75535 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75536 if test "x$ac_cv_func__modf" = xyes; then :
75537 cat >>confdefs.h <<_ACEOF
75538 #define HAVE__MODF 1
75539 _ACEOF
75542 done
75551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75552 $as_echo_n "checking for powf declaration... " >&6; }
75553 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75554 if ${glibcxx_cv_func_powf_use+:} false; then :
75555 $as_echo_n "(cached) " >&6
75556 else
75559 ac_ext=cpp
75560 ac_cpp='$CXXCPP $CPPFLAGS'
75561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75566 /* end confdefs.h. */
75567 #include <math.h>
75569 main ()
75571 powf(0, 0);
75573 return 0;
75575 _ACEOF
75576 if ac_fn_cxx_try_compile "$LINENO"; then :
75577 glibcxx_cv_func_powf_use=yes
75578 else
75579 glibcxx_cv_func_powf_use=no
75581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75582 ac_ext=c
75583 ac_cpp='$CPP $CPPFLAGS'
75584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75593 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75595 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75596 for ac_func in powf
75597 do :
75598 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75599 if test "x$ac_cv_func_powf" = xyes; then :
75600 cat >>confdefs.h <<_ACEOF
75601 #define HAVE_POWF 1
75602 _ACEOF
75605 done
75607 else
75609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75610 $as_echo_n "checking for _powf declaration... " >&6; }
75611 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75612 if ${glibcxx_cv_func__powf_use+:} false; then :
75613 $as_echo_n "(cached) " >&6
75614 else
75617 ac_ext=cpp
75618 ac_cpp='$CXXCPP $CPPFLAGS'
75619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75624 /* end confdefs.h. */
75625 #include <math.h>
75627 main ()
75629 _powf(0, 0);
75631 return 0;
75633 _ACEOF
75634 if ac_fn_cxx_try_compile "$LINENO"; then :
75635 glibcxx_cv_func__powf_use=yes
75636 else
75637 glibcxx_cv_func__powf_use=no
75639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75640 ac_ext=c
75641 ac_cpp='$CPP $CPPFLAGS'
75642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75651 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75653 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75654 for ac_func in _powf
75655 do :
75656 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75657 if test "x$ac_cv_func__powf" = xyes; then :
75658 cat >>confdefs.h <<_ACEOF
75659 #define HAVE__POWF 1
75660 _ACEOF
75663 done
75672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75673 $as_echo_n "checking for sqrtf declaration... " >&6; }
75674 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75675 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
75676 $as_echo_n "(cached) " >&6
75677 else
75680 ac_ext=cpp
75681 ac_cpp='$CXXCPP $CPPFLAGS'
75682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75687 /* end confdefs.h. */
75688 #include <math.h>
75689 #ifdef HAVE_IEEEFP_H
75690 #include <ieeefp.h>
75691 #endif
75694 main ()
75696 sqrtf(0);
75698 return 0;
75700 _ACEOF
75701 if ac_fn_cxx_try_compile "$LINENO"; then :
75702 glibcxx_cv_func_sqrtf_use=yes
75703 else
75704 glibcxx_cv_func_sqrtf_use=no
75706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75707 ac_ext=c
75708 ac_cpp='$CPP $CPPFLAGS'
75709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75718 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75720 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75721 for ac_func in sqrtf
75722 do :
75723 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75724 if test "x$ac_cv_func_sqrtf" = xyes; then :
75725 cat >>confdefs.h <<_ACEOF
75726 #define HAVE_SQRTF 1
75727 _ACEOF
75730 done
75732 else
75734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75735 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75736 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75737 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
75738 $as_echo_n "(cached) " >&6
75739 else
75742 ac_ext=cpp
75743 ac_cpp='$CXXCPP $CPPFLAGS'
75744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75749 /* end confdefs.h. */
75750 #include <math.h>
75751 #ifdef HAVE_IEEEFP_H
75752 #include <ieeefp.h>
75753 #endif
75756 main ()
75758 _sqrtf(0);
75760 return 0;
75762 _ACEOF
75763 if ac_fn_cxx_try_compile "$LINENO"; then :
75764 glibcxx_cv_func__sqrtf_use=yes
75765 else
75766 glibcxx_cv_func__sqrtf_use=no
75768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75769 ac_ext=c
75770 ac_cpp='$CPP $CPPFLAGS'
75771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75780 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75782 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75783 for ac_func in _sqrtf
75784 do :
75785 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75786 if test "x$ac_cv_func__sqrtf" = xyes; then :
75787 cat >>confdefs.h <<_ACEOF
75788 #define HAVE__SQRTF 1
75789 _ACEOF
75792 done
75801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75802 $as_echo_n "checking for sincosf declaration... " >&6; }
75803 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75804 if ${glibcxx_cv_func_sincosf_use+:} false; then :
75805 $as_echo_n "(cached) " >&6
75806 else
75809 ac_ext=cpp
75810 ac_cpp='$CXXCPP $CPPFLAGS'
75811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75816 /* end confdefs.h. */
75817 #include <math.h>
75819 main ()
75821 sincosf(0, 0, 0);
75823 return 0;
75825 _ACEOF
75826 if ac_fn_cxx_try_compile "$LINENO"; then :
75827 glibcxx_cv_func_sincosf_use=yes
75828 else
75829 glibcxx_cv_func_sincosf_use=no
75831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75832 ac_ext=c
75833 ac_cpp='$CPP $CPPFLAGS'
75834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75843 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75845 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75846 for ac_func in sincosf
75847 do :
75848 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75849 if test "x$ac_cv_func_sincosf" = xyes; then :
75850 cat >>confdefs.h <<_ACEOF
75851 #define HAVE_SINCOSF 1
75852 _ACEOF
75855 done
75857 else
75859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75860 $as_echo_n "checking for _sincosf declaration... " >&6; }
75861 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75862 if ${glibcxx_cv_func__sincosf_use+:} false; then :
75863 $as_echo_n "(cached) " >&6
75864 else
75867 ac_ext=cpp
75868 ac_cpp='$CXXCPP $CPPFLAGS'
75869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75874 /* end confdefs.h. */
75875 #include <math.h>
75877 main ()
75879 _sincosf(0, 0, 0);
75881 return 0;
75883 _ACEOF
75884 if ac_fn_cxx_try_compile "$LINENO"; then :
75885 glibcxx_cv_func__sincosf_use=yes
75886 else
75887 glibcxx_cv_func__sincosf_use=no
75889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75890 ac_ext=c
75891 ac_cpp='$CPP $CPPFLAGS'
75892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75901 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75903 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75904 for ac_func in _sincosf
75905 do :
75906 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75907 if test "x$ac_cv_func__sincosf" = xyes; then :
75908 cat >>confdefs.h <<_ACEOF
75909 #define HAVE__SINCOSF 1
75910 _ACEOF
75913 done
75922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75923 $as_echo_n "checking for finitef declaration... " >&6; }
75924 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75925 if ${glibcxx_cv_func_finitef_use+:} false; then :
75926 $as_echo_n "(cached) " >&6
75927 else
75930 ac_ext=cpp
75931 ac_cpp='$CXXCPP $CPPFLAGS'
75932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75937 /* end confdefs.h. */
75938 #include <math.h>
75939 #ifdef HAVE_IEEEFP_H
75940 #include <ieeefp.h>
75941 #endif
75944 main ()
75946 finitef(0);
75948 return 0;
75950 _ACEOF
75951 if ac_fn_cxx_try_compile "$LINENO"; then :
75952 glibcxx_cv_func_finitef_use=yes
75953 else
75954 glibcxx_cv_func_finitef_use=no
75956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75957 ac_ext=c
75958 ac_cpp='$CPP $CPPFLAGS'
75959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75968 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75970 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75971 for ac_func in finitef
75972 do :
75973 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75974 if test "x$ac_cv_func_finitef" = xyes; then :
75975 cat >>confdefs.h <<_ACEOF
75976 #define HAVE_FINITEF 1
75977 _ACEOF
75980 done
75982 else
75984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75985 $as_echo_n "checking for _finitef declaration... " >&6; }
75986 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75987 if ${glibcxx_cv_func__finitef_use+:} false; then :
75988 $as_echo_n "(cached) " >&6
75989 else
75992 ac_ext=cpp
75993 ac_cpp='$CXXCPP $CPPFLAGS'
75994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75999 /* end confdefs.h. */
76000 #include <math.h>
76001 #ifdef HAVE_IEEEFP_H
76002 #include <ieeefp.h>
76003 #endif
76006 main ()
76008 _finitef(0);
76010 return 0;
76012 _ACEOF
76013 if ac_fn_cxx_try_compile "$LINENO"; then :
76014 glibcxx_cv_func__finitef_use=yes
76015 else
76016 glibcxx_cv_func__finitef_use=no
76018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76019 ac_ext=c
76020 ac_cpp='$CPP $CPPFLAGS'
76021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
76030 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
76032 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
76033 for ac_func in _finitef
76034 do :
76035 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
76036 if test "x$ac_cv_func__finitef" = xyes; then :
76037 cat >>confdefs.h <<_ACEOF
76038 #define HAVE__FINITEF 1
76039 _ACEOF
76042 done
76051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
76052 $as_echo_n "checking for long double trig functions... " >&6; }
76053 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
76054 $as_echo_n "(cached) " >&6
76055 else
76058 ac_ext=cpp
76059 ac_cpp='$CXXCPP $CPPFLAGS'
76060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76065 /* end confdefs.h. */
76066 #include <math.h>
76068 main ()
76070 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
76072 return 0;
76074 _ACEOF
76075 if ac_fn_cxx_try_compile "$LINENO"; then :
76076 glibcxx_cv_func_long_double_trig_use=yes
76077 else
76078 glibcxx_cv_func_long_double_trig_use=no
76080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76081 ac_ext=c
76082 ac_cpp='$CPP $CPPFLAGS'
76083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
76090 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
76091 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
76092 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
76093 do :
76094 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76095 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76096 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76097 cat >>confdefs.h <<_ACEOF
76098 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76099 _ACEOF
76102 done
76104 else
76105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
76106 $as_echo_n "checking for _long double trig functions... " >&6; }
76107 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
76108 $as_echo_n "(cached) " >&6
76109 else
76112 ac_ext=cpp
76113 ac_cpp='$CXXCPP $CPPFLAGS'
76114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76119 /* end confdefs.h. */
76120 #include <math.h>
76122 main ()
76124 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
76126 return 0;
76128 _ACEOF
76129 if ac_fn_cxx_try_compile "$LINENO"; then :
76130 glibcxx_cv_func__long_double_trig_use=yes
76131 else
76132 glibcxx_cv_func__long_double_trig_use=no
76134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76135 ac_ext=c
76136 ac_cpp='$CPP $CPPFLAGS'
76137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
76144 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
76145 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
76146 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
76147 do :
76148 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76149 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76150 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76151 cat >>confdefs.h <<_ACEOF
76152 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76153 _ACEOF
76156 done
76165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
76166 $as_echo_n "checking for long double round functions... " >&6; }
76167 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
76168 $as_echo_n "(cached) " >&6
76169 else
76172 ac_ext=cpp
76173 ac_cpp='$CXXCPP $CPPFLAGS'
76174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76179 /* end confdefs.h. */
76180 #include <math.h>
76182 main ()
76184 ceill (0); floorl (0);
76186 return 0;
76188 _ACEOF
76189 if ac_fn_cxx_try_compile "$LINENO"; then :
76190 glibcxx_cv_func_long_double_round_use=yes
76191 else
76192 glibcxx_cv_func_long_double_round_use=no
76194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76195 ac_ext=c
76196 ac_cpp='$CPP $CPPFLAGS'
76197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
76204 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
76205 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
76206 for ac_func in ceill floorl
76207 do :
76208 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76209 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76210 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76211 cat >>confdefs.h <<_ACEOF
76212 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76213 _ACEOF
76216 done
76218 else
76219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
76220 $as_echo_n "checking for _long double round functions... " >&6; }
76221 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
76222 $as_echo_n "(cached) " >&6
76223 else
76226 ac_ext=cpp
76227 ac_cpp='$CXXCPP $CPPFLAGS'
76228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76233 /* end confdefs.h. */
76234 #include <math.h>
76236 main ()
76238 _ceill (0); _floorl (0);
76240 return 0;
76242 _ACEOF
76243 if ac_fn_cxx_try_compile "$LINENO"; then :
76244 glibcxx_cv_func__long_double_round_use=yes
76245 else
76246 glibcxx_cv_func__long_double_round_use=no
76248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76249 ac_ext=c
76250 ac_cpp='$CPP $CPPFLAGS'
76251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
76258 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
76259 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
76260 for ac_func in _ceill _floorl
76261 do :
76262 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76263 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76264 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76265 cat >>confdefs.h <<_ACEOF
76266 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76267 _ACEOF
76270 done
76280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
76281 $as_echo_n "checking for isnanl declaration... " >&6; }
76282 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
76283 if ${glibcxx_cv_func_isnanl_use+:} false; then :
76284 $as_echo_n "(cached) " >&6
76285 else
76288 ac_ext=cpp
76289 ac_cpp='$CXXCPP $CPPFLAGS'
76290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76295 /* end confdefs.h. */
76296 #include <math.h>
76297 #ifdef HAVE_IEEEFP_H
76298 #include <ieeefp.h>
76299 #endif
76302 main ()
76304 isnanl(0);
76306 return 0;
76308 _ACEOF
76309 if ac_fn_cxx_try_compile "$LINENO"; then :
76310 glibcxx_cv_func_isnanl_use=yes
76311 else
76312 glibcxx_cv_func_isnanl_use=no
76314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76315 ac_ext=c
76316 ac_cpp='$CPP $CPPFLAGS'
76317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
76326 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
76328 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76329 for ac_func in isnanl
76330 do :
76331 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
76332 if test "x$ac_cv_func_isnanl" = xyes; then :
76333 cat >>confdefs.h <<_ACEOF
76334 #define HAVE_ISNANL 1
76335 _ACEOF
76338 done
76340 else
76342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
76343 $as_echo_n "checking for _isnanl declaration... " >&6; }
76344 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76345 if ${glibcxx_cv_func__isnanl_use+:} false; then :
76346 $as_echo_n "(cached) " >&6
76347 else
76350 ac_ext=cpp
76351 ac_cpp='$CXXCPP $CPPFLAGS'
76352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76357 /* end confdefs.h. */
76358 #include <math.h>
76359 #ifdef HAVE_IEEEFP_H
76360 #include <ieeefp.h>
76361 #endif
76364 main ()
76366 _isnanl(0);
76368 return 0;
76370 _ACEOF
76371 if ac_fn_cxx_try_compile "$LINENO"; then :
76372 glibcxx_cv_func__isnanl_use=yes
76373 else
76374 glibcxx_cv_func__isnanl_use=no
76376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76377 ac_ext=c
76378 ac_cpp='$CPP $CPPFLAGS'
76379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76388 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76390 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76391 for ac_func in _isnanl
76392 do :
76393 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76394 if test "x$ac_cv_func__isnanl" = xyes; then :
76395 cat >>confdefs.h <<_ACEOF
76396 #define HAVE__ISNANL 1
76397 _ACEOF
76400 done
76409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76410 $as_echo_n "checking for isinfl declaration... " >&6; }
76411 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76412 if ${glibcxx_cv_func_isinfl_use+:} false; then :
76413 $as_echo_n "(cached) " >&6
76414 else
76417 ac_ext=cpp
76418 ac_cpp='$CXXCPP $CPPFLAGS'
76419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76424 /* end confdefs.h. */
76425 #include <math.h>
76426 #ifdef HAVE_IEEEFP_H
76427 #include <ieeefp.h>
76428 #endif
76431 main ()
76433 isinfl(0);
76435 return 0;
76437 _ACEOF
76438 if ac_fn_cxx_try_compile "$LINENO"; then :
76439 glibcxx_cv_func_isinfl_use=yes
76440 else
76441 glibcxx_cv_func_isinfl_use=no
76443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76444 ac_ext=c
76445 ac_cpp='$CPP $CPPFLAGS'
76446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76455 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76457 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76458 for ac_func in isinfl
76459 do :
76460 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76461 if test "x$ac_cv_func_isinfl" = xyes; then :
76462 cat >>confdefs.h <<_ACEOF
76463 #define HAVE_ISINFL 1
76464 _ACEOF
76467 done
76469 else
76471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76472 $as_echo_n "checking for _isinfl declaration... " >&6; }
76473 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76474 if ${glibcxx_cv_func__isinfl_use+:} false; then :
76475 $as_echo_n "(cached) " >&6
76476 else
76479 ac_ext=cpp
76480 ac_cpp='$CXXCPP $CPPFLAGS'
76481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76486 /* end confdefs.h. */
76487 #include <math.h>
76488 #ifdef HAVE_IEEEFP_H
76489 #include <ieeefp.h>
76490 #endif
76493 main ()
76495 _isinfl(0);
76497 return 0;
76499 _ACEOF
76500 if ac_fn_cxx_try_compile "$LINENO"; then :
76501 glibcxx_cv_func__isinfl_use=yes
76502 else
76503 glibcxx_cv_func__isinfl_use=no
76505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76506 ac_ext=c
76507 ac_cpp='$CPP $CPPFLAGS'
76508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76517 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76519 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76520 for ac_func in _isinfl
76521 do :
76522 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76523 if test "x$ac_cv_func__isinfl" = xyes; then :
76524 cat >>confdefs.h <<_ACEOF
76525 #define HAVE__ISINFL 1
76526 _ACEOF
76529 done
76538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76539 $as_echo_n "checking for atan2l declaration... " >&6; }
76540 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76541 if ${glibcxx_cv_func_atan2l_use+:} false; then :
76542 $as_echo_n "(cached) " >&6
76543 else
76546 ac_ext=cpp
76547 ac_cpp='$CXXCPP $CPPFLAGS'
76548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76553 /* end confdefs.h. */
76554 #include <math.h>
76556 main ()
76558 atan2l(0, 0);
76560 return 0;
76562 _ACEOF
76563 if ac_fn_cxx_try_compile "$LINENO"; then :
76564 glibcxx_cv_func_atan2l_use=yes
76565 else
76566 glibcxx_cv_func_atan2l_use=no
76568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76569 ac_ext=c
76570 ac_cpp='$CPP $CPPFLAGS'
76571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76580 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76582 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76583 for ac_func in atan2l
76584 do :
76585 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76586 if test "x$ac_cv_func_atan2l" = xyes; then :
76587 cat >>confdefs.h <<_ACEOF
76588 #define HAVE_ATAN2L 1
76589 _ACEOF
76592 done
76594 else
76596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76597 $as_echo_n "checking for _atan2l declaration... " >&6; }
76598 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76599 if ${glibcxx_cv_func__atan2l_use+:} false; then :
76600 $as_echo_n "(cached) " >&6
76601 else
76604 ac_ext=cpp
76605 ac_cpp='$CXXCPP $CPPFLAGS'
76606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76611 /* end confdefs.h. */
76612 #include <math.h>
76614 main ()
76616 _atan2l(0, 0);
76618 return 0;
76620 _ACEOF
76621 if ac_fn_cxx_try_compile "$LINENO"; then :
76622 glibcxx_cv_func__atan2l_use=yes
76623 else
76624 glibcxx_cv_func__atan2l_use=no
76626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76627 ac_ext=c
76628 ac_cpp='$CPP $CPPFLAGS'
76629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76638 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76640 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76641 for ac_func in _atan2l
76642 do :
76643 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76644 if test "x$ac_cv_func__atan2l" = xyes; then :
76645 cat >>confdefs.h <<_ACEOF
76646 #define HAVE__ATAN2L 1
76647 _ACEOF
76650 done
76659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76660 $as_echo_n "checking for expl declaration... " >&6; }
76661 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76662 if ${glibcxx_cv_func_expl_use+:} false; then :
76663 $as_echo_n "(cached) " >&6
76664 else
76667 ac_ext=cpp
76668 ac_cpp='$CXXCPP $CPPFLAGS'
76669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76674 /* end confdefs.h. */
76675 #include <math.h>
76676 #ifdef HAVE_IEEEFP_H
76677 #include <ieeefp.h>
76678 #endif
76681 main ()
76683 expl(0);
76685 return 0;
76687 _ACEOF
76688 if ac_fn_cxx_try_compile "$LINENO"; then :
76689 glibcxx_cv_func_expl_use=yes
76690 else
76691 glibcxx_cv_func_expl_use=no
76693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76694 ac_ext=c
76695 ac_cpp='$CPP $CPPFLAGS'
76696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76705 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76707 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76708 for ac_func in expl
76709 do :
76710 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76711 if test "x$ac_cv_func_expl" = xyes; then :
76712 cat >>confdefs.h <<_ACEOF
76713 #define HAVE_EXPL 1
76714 _ACEOF
76717 done
76719 else
76721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76722 $as_echo_n "checking for _expl declaration... " >&6; }
76723 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76724 if ${glibcxx_cv_func__expl_use+:} false; then :
76725 $as_echo_n "(cached) " >&6
76726 else
76729 ac_ext=cpp
76730 ac_cpp='$CXXCPP $CPPFLAGS'
76731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76736 /* end confdefs.h. */
76737 #include <math.h>
76738 #ifdef HAVE_IEEEFP_H
76739 #include <ieeefp.h>
76740 #endif
76743 main ()
76745 _expl(0);
76747 return 0;
76749 _ACEOF
76750 if ac_fn_cxx_try_compile "$LINENO"; then :
76751 glibcxx_cv_func__expl_use=yes
76752 else
76753 glibcxx_cv_func__expl_use=no
76755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76756 ac_ext=c
76757 ac_cpp='$CPP $CPPFLAGS'
76758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76767 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76769 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76770 for ac_func in _expl
76771 do :
76772 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76773 if test "x$ac_cv_func__expl" = xyes; then :
76774 cat >>confdefs.h <<_ACEOF
76775 #define HAVE__EXPL 1
76776 _ACEOF
76779 done
76788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76789 $as_echo_n "checking for fabsl declaration... " >&6; }
76790 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76791 if ${glibcxx_cv_func_fabsl_use+:} false; then :
76792 $as_echo_n "(cached) " >&6
76793 else
76796 ac_ext=cpp
76797 ac_cpp='$CXXCPP $CPPFLAGS'
76798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76803 /* end confdefs.h. */
76804 #include <math.h>
76805 #ifdef HAVE_IEEEFP_H
76806 #include <ieeefp.h>
76807 #endif
76810 main ()
76812 fabsl(0);
76814 return 0;
76816 _ACEOF
76817 if ac_fn_cxx_try_compile "$LINENO"; then :
76818 glibcxx_cv_func_fabsl_use=yes
76819 else
76820 glibcxx_cv_func_fabsl_use=no
76822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76823 ac_ext=c
76824 ac_cpp='$CPP $CPPFLAGS'
76825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76834 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76836 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76837 for ac_func in fabsl
76838 do :
76839 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76840 if test "x$ac_cv_func_fabsl" = xyes; then :
76841 cat >>confdefs.h <<_ACEOF
76842 #define HAVE_FABSL 1
76843 _ACEOF
76846 done
76848 else
76850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76851 $as_echo_n "checking for _fabsl declaration... " >&6; }
76852 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76853 if ${glibcxx_cv_func__fabsl_use+:} false; then :
76854 $as_echo_n "(cached) " >&6
76855 else
76858 ac_ext=cpp
76859 ac_cpp='$CXXCPP $CPPFLAGS'
76860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76865 /* end confdefs.h. */
76866 #include <math.h>
76867 #ifdef HAVE_IEEEFP_H
76868 #include <ieeefp.h>
76869 #endif
76872 main ()
76874 _fabsl(0);
76876 return 0;
76878 _ACEOF
76879 if ac_fn_cxx_try_compile "$LINENO"; then :
76880 glibcxx_cv_func__fabsl_use=yes
76881 else
76882 glibcxx_cv_func__fabsl_use=no
76884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76885 ac_ext=c
76886 ac_cpp='$CPP $CPPFLAGS'
76887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76896 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76898 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76899 for ac_func in _fabsl
76900 do :
76901 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76902 if test "x$ac_cv_func__fabsl" = xyes; then :
76903 cat >>confdefs.h <<_ACEOF
76904 #define HAVE__FABSL 1
76905 _ACEOF
76908 done
76917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76918 $as_echo_n "checking for fmodl declaration... " >&6; }
76919 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76920 if ${glibcxx_cv_func_fmodl_use+:} false; then :
76921 $as_echo_n "(cached) " >&6
76922 else
76925 ac_ext=cpp
76926 ac_cpp='$CXXCPP $CPPFLAGS'
76927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76932 /* end confdefs.h. */
76933 #include <math.h>
76935 main ()
76937 fmodl(0, 0);
76939 return 0;
76941 _ACEOF
76942 if ac_fn_cxx_try_compile "$LINENO"; then :
76943 glibcxx_cv_func_fmodl_use=yes
76944 else
76945 glibcxx_cv_func_fmodl_use=no
76947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76948 ac_ext=c
76949 ac_cpp='$CPP $CPPFLAGS'
76950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76959 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76961 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76962 for ac_func in fmodl
76963 do :
76964 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76965 if test "x$ac_cv_func_fmodl" = xyes; then :
76966 cat >>confdefs.h <<_ACEOF
76967 #define HAVE_FMODL 1
76968 _ACEOF
76971 done
76973 else
76975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76976 $as_echo_n "checking for _fmodl declaration... " >&6; }
76977 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76978 if ${glibcxx_cv_func__fmodl_use+:} false; then :
76979 $as_echo_n "(cached) " >&6
76980 else
76983 ac_ext=cpp
76984 ac_cpp='$CXXCPP $CPPFLAGS'
76985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76990 /* end confdefs.h. */
76991 #include <math.h>
76993 main ()
76995 _fmodl(0, 0);
76997 return 0;
76999 _ACEOF
77000 if ac_fn_cxx_try_compile "$LINENO"; then :
77001 glibcxx_cv_func__fmodl_use=yes
77002 else
77003 glibcxx_cv_func__fmodl_use=no
77005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77006 ac_ext=c
77007 ac_cpp='$CPP $CPPFLAGS'
77008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
77017 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
77019 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
77020 for ac_func in _fmodl
77021 do :
77022 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
77023 if test "x$ac_cv_func__fmodl" = xyes; then :
77024 cat >>confdefs.h <<_ACEOF
77025 #define HAVE__FMODL 1
77026 _ACEOF
77029 done
77038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
77039 $as_echo_n "checking for frexpl declaration... " >&6; }
77040 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
77041 if ${glibcxx_cv_func_frexpl_use+:} false; then :
77042 $as_echo_n "(cached) " >&6
77043 else
77046 ac_ext=cpp
77047 ac_cpp='$CXXCPP $CPPFLAGS'
77048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77053 /* end confdefs.h. */
77054 #include <math.h>
77056 main ()
77058 frexpl(0, 0);
77060 return 0;
77062 _ACEOF
77063 if ac_fn_cxx_try_compile "$LINENO"; then :
77064 glibcxx_cv_func_frexpl_use=yes
77065 else
77066 glibcxx_cv_func_frexpl_use=no
77068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77069 ac_ext=c
77070 ac_cpp='$CPP $CPPFLAGS'
77071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
77080 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
77082 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
77083 for ac_func in frexpl
77084 do :
77085 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
77086 if test "x$ac_cv_func_frexpl" = xyes; then :
77087 cat >>confdefs.h <<_ACEOF
77088 #define HAVE_FREXPL 1
77089 _ACEOF
77092 done
77094 else
77096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
77097 $as_echo_n "checking for _frexpl declaration... " >&6; }
77098 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
77099 if ${glibcxx_cv_func__frexpl_use+:} false; then :
77100 $as_echo_n "(cached) " >&6
77101 else
77104 ac_ext=cpp
77105 ac_cpp='$CXXCPP $CPPFLAGS'
77106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77111 /* end confdefs.h. */
77112 #include <math.h>
77114 main ()
77116 _frexpl(0, 0);
77118 return 0;
77120 _ACEOF
77121 if ac_fn_cxx_try_compile "$LINENO"; then :
77122 glibcxx_cv_func__frexpl_use=yes
77123 else
77124 glibcxx_cv_func__frexpl_use=no
77126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77127 ac_ext=c
77128 ac_cpp='$CPP $CPPFLAGS'
77129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
77138 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
77140 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
77141 for ac_func in _frexpl
77142 do :
77143 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
77144 if test "x$ac_cv_func__frexpl" = xyes; then :
77145 cat >>confdefs.h <<_ACEOF
77146 #define HAVE__FREXPL 1
77147 _ACEOF
77150 done
77159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
77160 $as_echo_n "checking for hypotl declaration... " >&6; }
77161 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
77162 if ${glibcxx_cv_func_hypotl_use+:} false; then :
77163 $as_echo_n "(cached) " >&6
77164 else
77167 ac_ext=cpp
77168 ac_cpp='$CXXCPP $CPPFLAGS'
77169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77174 /* end confdefs.h. */
77175 #include <math.h>
77177 main ()
77179 hypotl(0, 0);
77181 return 0;
77183 _ACEOF
77184 if ac_fn_cxx_try_compile "$LINENO"; then :
77185 glibcxx_cv_func_hypotl_use=yes
77186 else
77187 glibcxx_cv_func_hypotl_use=no
77189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77190 ac_ext=c
77191 ac_cpp='$CPP $CPPFLAGS'
77192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
77201 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
77203 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
77204 for ac_func in hypotl
77205 do :
77206 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
77207 if test "x$ac_cv_func_hypotl" = xyes; then :
77208 cat >>confdefs.h <<_ACEOF
77209 #define HAVE_HYPOTL 1
77210 _ACEOF
77213 done
77215 else
77217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
77218 $as_echo_n "checking for _hypotl declaration... " >&6; }
77219 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
77220 if ${glibcxx_cv_func__hypotl_use+:} false; then :
77221 $as_echo_n "(cached) " >&6
77222 else
77225 ac_ext=cpp
77226 ac_cpp='$CXXCPP $CPPFLAGS'
77227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77232 /* end confdefs.h. */
77233 #include <math.h>
77235 main ()
77237 _hypotl(0, 0);
77239 return 0;
77241 _ACEOF
77242 if ac_fn_cxx_try_compile "$LINENO"; then :
77243 glibcxx_cv_func__hypotl_use=yes
77244 else
77245 glibcxx_cv_func__hypotl_use=no
77247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77248 ac_ext=c
77249 ac_cpp='$CPP $CPPFLAGS'
77250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
77259 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
77261 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
77262 for ac_func in _hypotl
77263 do :
77264 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
77265 if test "x$ac_cv_func__hypotl" = xyes; then :
77266 cat >>confdefs.h <<_ACEOF
77267 #define HAVE__HYPOTL 1
77268 _ACEOF
77271 done
77280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
77281 $as_echo_n "checking for ldexpl declaration... " >&6; }
77282 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
77283 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
77284 $as_echo_n "(cached) " >&6
77285 else
77288 ac_ext=cpp
77289 ac_cpp='$CXXCPP $CPPFLAGS'
77290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77295 /* end confdefs.h. */
77296 #include <math.h>
77298 main ()
77300 ldexpl(0, 0);
77302 return 0;
77304 _ACEOF
77305 if ac_fn_cxx_try_compile "$LINENO"; then :
77306 glibcxx_cv_func_ldexpl_use=yes
77307 else
77308 glibcxx_cv_func_ldexpl_use=no
77310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77311 ac_ext=c
77312 ac_cpp='$CPP $CPPFLAGS'
77313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
77322 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
77324 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77325 for ac_func in ldexpl
77326 do :
77327 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
77328 if test "x$ac_cv_func_ldexpl" = xyes; then :
77329 cat >>confdefs.h <<_ACEOF
77330 #define HAVE_LDEXPL 1
77331 _ACEOF
77334 done
77336 else
77338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
77339 $as_echo_n "checking for _ldexpl declaration... " >&6; }
77340 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77341 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
77342 $as_echo_n "(cached) " >&6
77343 else
77346 ac_ext=cpp
77347 ac_cpp='$CXXCPP $CPPFLAGS'
77348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77353 /* end confdefs.h. */
77354 #include <math.h>
77356 main ()
77358 _ldexpl(0, 0);
77360 return 0;
77362 _ACEOF
77363 if ac_fn_cxx_try_compile "$LINENO"; then :
77364 glibcxx_cv_func__ldexpl_use=yes
77365 else
77366 glibcxx_cv_func__ldexpl_use=no
77368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77369 ac_ext=c
77370 ac_cpp='$CPP $CPPFLAGS'
77371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77380 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77382 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77383 for ac_func in _ldexpl
77384 do :
77385 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77386 if test "x$ac_cv_func__ldexpl" = xyes; then :
77387 cat >>confdefs.h <<_ACEOF
77388 #define HAVE__LDEXPL 1
77389 _ACEOF
77392 done
77401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77402 $as_echo_n "checking for logl declaration... " >&6; }
77403 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77404 if ${glibcxx_cv_func_logl_use+:} false; then :
77405 $as_echo_n "(cached) " >&6
77406 else
77409 ac_ext=cpp
77410 ac_cpp='$CXXCPP $CPPFLAGS'
77411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77416 /* end confdefs.h. */
77417 #include <math.h>
77418 #ifdef HAVE_IEEEFP_H
77419 #include <ieeefp.h>
77420 #endif
77423 main ()
77425 logl(0);
77427 return 0;
77429 _ACEOF
77430 if ac_fn_cxx_try_compile "$LINENO"; then :
77431 glibcxx_cv_func_logl_use=yes
77432 else
77433 glibcxx_cv_func_logl_use=no
77435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77436 ac_ext=c
77437 ac_cpp='$CPP $CPPFLAGS'
77438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77447 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77449 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77450 for ac_func in logl
77451 do :
77452 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77453 if test "x$ac_cv_func_logl" = xyes; then :
77454 cat >>confdefs.h <<_ACEOF
77455 #define HAVE_LOGL 1
77456 _ACEOF
77459 done
77461 else
77463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77464 $as_echo_n "checking for _logl declaration... " >&6; }
77465 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77466 if ${glibcxx_cv_func__logl_use+:} false; then :
77467 $as_echo_n "(cached) " >&6
77468 else
77471 ac_ext=cpp
77472 ac_cpp='$CXXCPP $CPPFLAGS'
77473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77478 /* end confdefs.h. */
77479 #include <math.h>
77480 #ifdef HAVE_IEEEFP_H
77481 #include <ieeefp.h>
77482 #endif
77485 main ()
77487 _logl(0);
77489 return 0;
77491 _ACEOF
77492 if ac_fn_cxx_try_compile "$LINENO"; then :
77493 glibcxx_cv_func__logl_use=yes
77494 else
77495 glibcxx_cv_func__logl_use=no
77497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77498 ac_ext=c
77499 ac_cpp='$CPP $CPPFLAGS'
77500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77509 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77511 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77512 for ac_func in _logl
77513 do :
77514 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77515 if test "x$ac_cv_func__logl" = xyes; then :
77516 cat >>confdefs.h <<_ACEOF
77517 #define HAVE__LOGL 1
77518 _ACEOF
77521 done
77530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77531 $as_echo_n "checking for log10l declaration... " >&6; }
77532 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77533 if ${glibcxx_cv_func_log10l_use+:} false; then :
77534 $as_echo_n "(cached) " >&6
77535 else
77538 ac_ext=cpp
77539 ac_cpp='$CXXCPP $CPPFLAGS'
77540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77545 /* end confdefs.h. */
77546 #include <math.h>
77547 #ifdef HAVE_IEEEFP_H
77548 #include <ieeefp.h>
77549 #endif
77552 main ()
77554 log10l(0);
77556 return 0;
77558 _ACEOF
77559 if ac_fn_cxx_try_compile "$LINENO"; then :
77560 glibcxx_cv_func_log10l_use=yes
77561 else
77562 glibcxx_cv_func_log10l_use=no
77564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77565 ac_ext=c
77566 ac_cpp='$CPP $CPPFLAGS'
77567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77576 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77578 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77579 for ac_func in log10l
77580 do :
77581 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77582 if test "x$ac_cv_func_log10l" = xyes; then :
77583 cat >>confdefs.h <<_ACEOF
77584 #define HAVE_LOG10L 1
77585 _ACEOF
77588 done
77590 else
77592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77593 $as_echo_n "checking for _log10l declaration... " >&6; }
77594 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77595 if ${glibcxx_cv_func__log10l_use+:} false; then :
77596 $as_echo_n "(cached) " >&6
77597 else
77600 ac_ext=cpp
77601 ac_cpp='$CXXCPP $CPPFLAGS'
77602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77607 /* end confdefs.h. */
77608 #include <math.h>
77609 #ifdef HAVE_IEEEFP_H
77610 #include <ieeefp.h>
77611 #endif
77614 main ()
77616 _log10l(0);
77618 return 0;
77620 _ACEOF
77621 if ac_fn_cxx_try_compile "$LINENO"; then :
77622 glibcxx_cv_func__log10l_use=yes
77623 else
77624 glibcxx_cv_func__log10l_use=no
77626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77627 ac_ext=c
77628 ac_cpp='$CPP $CPPFLAGS'
77629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77638 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77640 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77641 for ac_func in _log10l
77642 do :
77643 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77644 if test "x$ac_cv_func__log10l" = xyes; then :
77645 cat >>confdefs.h <<_ACEOF
77646 #define HAVE__LOG10L 1
77647 _ACEOF
77650 done
77659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77660 $as_echo_n "checking for modfl declaration... " >&6; }
77661 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77662 if ${glibcxx_cv_func_modfl_use+:} false; then :
77663 $as_echo_n "(cached) " >&6
77664 else
77667 ac_ext=cpp
77668 ac_cpp='$CXXCPP $CPPFLAGS'
77669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77674 /* end confdefs.h. */
77675 #include <math.h>
77677 main ()
77679 modfl(0, 0);
77681 return 0;
77683 _ACEOF
77684 if ac_fn_cxx_try_compile "$LINENO"; then :
77685 glibcxx_cv_func_modfl_use=yes
77686 else
77687 glibcxx_cv_func_modfl_use=no
77689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77690 ac_ext=c
77691 ac_cpp='$CPP $CPPFLAGS'
77692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77701 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77703 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77704 for ac_func in modfl
77705 do :
77706 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77707 if test "x$ac_cv_func_modfl" = xyes; then :
77708 cat >>confdefs.h <<_ACEOF
77709 #define HAVE_MODFL 1
77710 _ACEOF
77713 done
77715 else
77717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77718 $as_echo_n "checking for _modfl declaration... " >&6; }
77719 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77720 if ${glibcxx_cv_func__modfl_use+:} false; then :
77721 $as_echo_n "(cached) " >&6
77722 else
77725 ac_ext=cpp
77726 ac_cpp='$CXXCPP $CPPFLAGS'
77727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77732 /* end confdefs.h. */
77733 #include <math.h>
77735 main ()
77737 _modfl(0, 0);
77739 return 0;
77741 _ACEOF
77742 if ac_fn_cxx_try_compile "$LINENO"; then :
77743 glibcxx_cv_func__modfl_use=yes
77744 else
77745 glibcxx_cv_func__modfl_use=no
77747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77748 ac_ext=c
77749 ac_cpp='$CPP $CPPFLAGS'
77750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77759 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77761 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77762 for ac_func in _modfl
77763 do :
77764 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77765 if test "x$ac_cv_func__modfl" = xyes; then :
77766 cat >>confdefs.h <<_ACEOF
77767 #define HAVE__MODFL 1
77768 _ACEOF
77771 done
77780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77781 $as_echo_n "checking for powl declaration... " >&6; }
77782 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77783 if ${glibcxx_cv_func_powl_use+:} false; then :
77784 $as_echo_n "(cached) " >&6
77785 else
77788 ac_ext=cpp
77789 ac_cpp='$CXXCPP $CPPFLAGS'
77790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77795 /* end confdefs.h. */
77796 #include <math.h>
77798 main ()
77800 powl(0, 0);
77802 return 0;
77804 _ACEOF
77805 if ac_fn_cxx_try_compile "$LINENO"; then :
77806 glibcxx_cv_func_powl_use=yes
77807 else
77808 glibcxx_cv_func_powl_use=no
77810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77811 ac_ext=c
77812 ac_cpp='$CPP $CPPFLAGS'
77813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77822 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77824 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77825 for ac_func in powl
77826 do :
77827 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77828 if test "x$ac_cv_func_powl" = xyes; then :
77829 cat >>confdefs.h <<_ACEOF
77830 #define HAVE_POWL 1
77831 _ACEOF
77834 done
77836 else
77838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77839 $as_echo_n "checking for _powl declaration... " >&6; }
77840 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77841 if ${glibcxx_cv_func__powl_use+:} false; then :
77842 $as_echo_n "(cached) " >&6
77843 else
77846 ac_ext=cpp
77847 ac_cpp='$CXXCPP $CPPFLAGS'
77848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77853 /* end confdefs.h. */
77854 #include <math.h>
77856 main ()
77858 _powl(0, 0);
77860 return 0;
77862 _ACEOF
77863 if ac_fn_cxx_try_compile "$LINENO"; then :
77864 glibcxx_cv_func__powl_use=yes
77865 else
77866 glibcxx_cv_func__powl_use=no
77868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77869 ac_ext=c
77870 ac_cpp='$CPP $CPPFLAGS'
77871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77880 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77882 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77883 for ac_func in _powl
77884 do :
77885 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77886 if test "x$ac_cv_func__powl" = xyes; then :
77887 cat >>confdefs.h <<_ACEOF
77888 #define HAVE__POWL 1
77889 _ACEOF
77892 done
77901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77902 $as_echo_n "checking for sqrtl declaration... " >&6; }
77903 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77904 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
77905 $as_echo_n "(cached) " >&6
77906 else
77909 ac_ext=cpp
77910 ac_cpp='$CXXCPP $CPPFLAGS'
77911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77916 /* end confdefs.h. */
77917 #include <math.h>
77918 #ifdef HAVE_IEEEFP_H
77919 #include <ieeefp.h>
77920 #endif
77923 main ()
77925 sqrtl(0);
77927 return 0;
77929 _ACEOF
77930 if ac_fn_cxx_try_compile "$LINENO"; then :
77931 glibcxx_cv_func_sqrtl_use=yes
77932 else
77933 glibcxx_cv_func_sqrtl_use=no
77935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77936 ac_ext=c
77937 ac_cpp='$CPP $CPPFLAGS'
77938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77947 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77949 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77950 for ac_func in sqrtl
77951 do :
77952 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77953 if test "x$ac_cv_func_sqrtl" = xyes; then :
77954 cat >>confdefs.h <<_ACEOF
77955 #define HAVE_SQRTL 1
77956 _ACEOF
77959 done
77961 else
77963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77964 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77965 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77966 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
77967 $as_echo_n "(cached) " >&6
77968 else
77971 ac_ext=cpp
77972 ac_cpp='$CXXCPP $CPPFLAGS'
77973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77978 /* end confdefs.h. */
77979 #include <math.h>
77980 #ifdef HAVE_IEEEFP_H
77981 #include <ieeefp.h>
77982 #endif
77985 main ()
77987 _sqrtl(0);
77989 return 0;
77991 _ACEOF
77992 if ac_fn_cxx_try_compile "$LINENO"; then :
77993 glibcxx_cv_func__sqrtl_use=yes
77994 else
77995 glibcxx_cv_func__sqrtl_use=no
77997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77998 ac_ext=c
77999 ac_cpp='$CPP $CPPFLAGS'
78000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
78009 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
78011 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
78012 for ac_func in _sqrtl
78013 do :
78014 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
78015 if test "x$ac_cv_func__sqrtl" = xyes; then :
78016 cat >>confdefs.h <<_ACEOF
78017 #define HAVE__SQRTL 1
78018 _ACEOF
78021 done
78030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
78031 $as_echo_n "checking for sincosl declaration... " >&6; }
78032 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
78033 if ${glibcxx_cv_func_sincosl_use+:} false; then :
78034 $as_echo_n "(cached) " >&6
78035 else
78038 ac_ext=cpp
78039 ac_cpp='$CXXCPP $CPPFLAGS'
78040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78045 /* end confdefs.h. */
78046 #include <math.h>
78048 main ()
78050 sincosl(0, 0, 0);
78052 return 0;
78054 _ACEOF
78055 if ac_fn_cxx_try_compile "$LINENO"; then :
78056 glibcxx_cv_func_sincosl_use=yes
78057 else
78058 glibcxx_cv_func_sincosl_use=no
78060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78061 ac_ext=c
78062 ac_cpp='$CPP $CPPFLAGS'
78063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
78072 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
78074 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
78075 for ac_func in sincosl
78076 do :
78077 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
78078 if test "x$ac_cv_func_sincosl" = xyes; then :
78079 cat >>confdefs.h <<_ACEOF
78080 #define HAVE_SINCOSL 1
78081 _ACEOF
78084 done
78086 else
78088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
78089 $as_echo_n "checking for _sincosl declaration... " >&6; }
78090 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
78091 if ${glibcxx_cv_func__sincosl_use+:} false; then :
78092 $as_echo_n "(cached) " >&6
78093 else
78096 ac_ext=cpp
78097 ac_cpp='$CXXCPP $CPPFLAGS'
78098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78103 /* end confdefs.h. */
78104 #include <math.h>
78106 main ()
78108 _sincosl(0, 0, 0);
78110 return 0;
78112 _ACEOF
78113 if ac_fn_cxx_try_compile "$LINENO"; then :
78114 glibcxx_cv_func__sincosl_use=yes
78115 else
78116 glibcxx_cv_func__sincosl_use=no
78118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78119 ac_ext=c
78120 ac_cpp='$CPP $CPPFLAGS'
78121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
78130 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
78132 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
78133 for ac_func in _sincosl
78134 do :
78135 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
78136 if test "x$ac_cv_func__sincosl" = xyes; then :
78137 cat >>confdefs.h <<_ACEOF
78138 #define HAVE__SINCOSL 1
78139 _ACEOF
78142 done
78151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
78152 $as_echo_n "checking for finitel declaration... " >&6; }
78153 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
78154 if ${glibcxx_cv_func_finitel_use+:} false; then :
78155 $as_echo_n "(cached) " >&6
78156 else
78159 ac_ext=cpp
78160 ac_cpp='$CXXCPP $CPPFLAGS'
78161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78166 /* end confdefs.h. */
78167 #include <math.h>
78168 #ifdef HAVE_IEEEFP_H
78169 #include <ieeefp.h>
78170 #endif
78173 main ()
78175 finitel(0);
78177 return 0;
78179 _ACEOF
78180 if ac_fn_cxx_try_compile "$LINENO"; then :
78181 glibcxx_cv_func_finitel_use=yes
78182 else
78183 glibcxx_cv_func_finitel_use=no
78185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78186 ac_ext=c
78187 ac_cpp='$CPP $CPPFLAGS'
78188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
78197 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
78199 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
78200 for ac_func in finitel
78201 do :
78202 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
78203 if test "x$ac_cv_func_finitel" = xyes; then :
78204 cat >>confdefs.h <<_ACEOF
78205 #define HAVE_FINITEL 1
78206 _ACEOF
78209 done
78211 else
78213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
78214 $as_echo_n "checking for _finitel declaration... " >&6; }
78215 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
78216 if ${glibcxx_cv_func__finitel_use+:} false; then :
78217 $as_echo_n "(cached) " >&6
78218 else
78221 ac_ext=cpp
78222 ac_cpp='$CXXCPP $CPPFLAGS'
78223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78228 /* end confdefs.h. */
78229 #include <math.h>
78230 #ifdef HAVE_IEEEFP_H
78231 #include <ieeefp.h>
78232 #endif
78235 main ()
78237 _finitel(0);
78239 return 0;
78241 _ACEOF
78242 if ac_fn_cxx_try_compile "$LINENO"; then :
78243 glibcxx_cv_func__finitel_use=yes
78244 else
78245 glibcxx_cv_func__finitel_use=no
78247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78248 ac_ext=c
78249 ac_cpp='$CPP $CPPFLAGS'
78250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
78259 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
78261 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
78262 for ac_func in _finitel
78263 do :
78264 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
78265 if test "x$ac_cv_func__finitel" = xyes; then :
78266 cat >>confdefs.h <<_ACEOF
78267 #define HAVE__FINITEL 1
78268 _ACEOF
78271 done
78279 LIBS="$ac_save_LIBS"
78280 CXXFLAGS="$ac_save_CXXFLAGS"
78283 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78284 ac_save_CXXFLAGS="$CXXFLAGS"
78285 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
78289 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
78290 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
78291 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
78292 $as_echo_n "(cached) " >&6
78293 else
78296 ac_ext=cpp
78297 ac_cpp='$CXXCPP $CPPFLAGS'
78298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78303 /* end confdefs.h. */
78304 #include <stdlib.h>
78306 main ()
78308 at_quick_exit(0);
78310 return 0;
78312 _ACEOF
78313 if ac_fn_cxx_try_compile "$LINENO"; then :
78314 glibcxx_cv_func_at_quick_exit_use=yes
78315 else
78316 glibcxx_cv_func_at_quick_exit_use=no
78318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78319 ac_ext=c
78320 ac_cpp='$CPP $CPPFLAGS'
78321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
78330 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
78331 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
78332 for ac_func in at_quick_exit
78333 do :
78334 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
78335 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
78336 cat >>confdefs.h <<_ACEOF
78337 #define HAVE_AT_QUICK_EXIT 1
78338 _ACEOF
78341 done
78346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
78347 $as_echo_n "checking for quick_exit declaration... " >&6; }
78348 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
78349 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
78350 $as_echo_n "(cached) " >&6
78351 else
78354 ac_ext=cpp
78355 ac_cpp='$CXXCPP $CPPFLAGS'
78356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78361 /* end confdefs.h. */
78362 #include <stdlib.h>
78364 main ()
78366 quick_exit(0);
78368 return 0;
78370 _ACEOF
78371 if ac_fn_cxx_try_compile "$LINENO"; then :
78372 glibcxx_cv_func_quick_exit_use=yes
78373 else
78374 glibcxx_cv_func_quick_exit_use=no
78376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78377 ac_ext=c
78378 ac_cpp='$CPP $CPPFLAGS'
78379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78388 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78389 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78390 for ac_func in quick_exit
78391 do :
78392 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78393 if test "x$ac_cv_func_quick_exit" = xyes; then :
78394 cat >>confdefs.h <<_ACEOF
78395 #define HAVE_QUICK_EXIT 1
78396 _ACEOF
78399 done
78404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78405 $as_echo_n "checking for strtold declaration... " >&6; }
78406 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78407 if ${glibcxx_cv_func_strtold_use+:} false; then :
78408 $as_echo_n "(cached) " >&6
78409 else
78412 ac_ext=cpp
78413 ac_cpp='$CXXCPP $CPPFLAGS'
78414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78419 /* end confdefs.h. */
78420 #include <stdlib.h>
78422 main ()
78424 strtold(0, 0);
78426 return 0;
78428 _ACEOF
78429 if ac_fn_cxx_try_compile "$LINENO"; then :
78430 glibcxx_cv_func_strtold_use=yes
78431 else
78432 glibcxx_cv_func_strtold_use=no
78434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78435 ac_ext=c
78436 ac_cpp='$CPP $CPPFLAGS'
78437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78446 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78447 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78448 for ac_func in strtold
78449 do :
78450 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78451 if test "x$ac_cv_func_strtold" = xyes; then :
78452 cat >>confdefs.h <<_ACEOF
78453 #define HAVE_STRTOLD 1
78454 _ACEOF
78457 done
78464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78465 $as_echo_n "checking for strtof declaration... " >&6; }
78466 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78467 if ${glibcxx_cv_func_strtof_use+:} false; then :
78468 $as_echo_n "(cached) " >&6
78469 else
78472 ac_ext=cpp
78473 ac_cpp='$CXXCPP $CPPFLAGS'
78474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78479 /* end confdefs.h. */
78480 #include <stdlib.h>
78482 main ()
78484 strtof(0, 0);
78486 return 0;
78488 _ACEOF
78489 if ac_fn_cxx_try_compile "$LINENO"; then :
78490 glibcxx_cv_func_strtof_use=yes
78491 else
78492 glibcxx_cv_func_strtof_use=no
78494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78495 ac_ext=c
78496 ac_cpp='$CPP $CPPFLAGS'
78497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78506 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78507 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78508 for ac_func in strtof
78509 do :
78510 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78511 if test "x$ac_cv_func_strtof" = xyes; then :
78512 cat >>confdefs.h <<_ACEOF
78513 #define HAVE_STRTOF 1
78514 _ACEOF
78517 done
78524 CXXFLAGS="$ac_save_CXXFLAGS"
78527 *-vxworks)
78528 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78530 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78532 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78534 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78536 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78538 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78540 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78542 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78544 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78546 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78548 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78550 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78552 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78554 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78556 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78558 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78560 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78562 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78564 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78566 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78570 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
78572 esac
78576 # At some point, we should differentiate between architectures
78577 # like x86, which have long double versions, and alpha/powerpc/etc.,
78578 # which don't. For the time being, punt.
78579 if test x"long_double_math_on_this_cpu" = x"yes"; then
78580 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78582 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78584 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78586 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78588 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78590 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78592 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78594 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78596 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78598 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78600 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78602 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78604 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78606 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78608 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78610 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78612 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78614 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78616 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78618 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78620 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78622 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78624 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78629 # Check for _Unwind_GetIPInfo.
78632 # Check whether --with-system-libunwind was given.
78633 if test "${with_system_libunwind+set}" = set; then :
78634 withval=$with_system_libunwind;
78637 # If system-libunwind was not specifically set, pick a default setting.
78638 if test x$with_system_libunwind = x; then
78639 case ${target} in
78640 ia64-*-hpux*) with_system_libunwind=yes ;;
78641 *) with_system_libunwind=no ;;
78642 esac
78644 # Based on system-libunwind and target, do we have ipinfo?
78645 if test x$with_system_libunwind = xyes; then
78646 case ${target} in
78647 ia64-*-*) have_unwind_getipinfo=no ;;
78648 *) have_unwind_getipinfo=yes ;;
78649 esac
78650 else
78651 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78653 case ${target} in
78654 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78655 *) have_unwind_getipinfo=yes ;;
78656 esac
78660 if test x$have_unwind_getipinfo = xyes; then
78662 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78667 # Check whether --enable-linux-futex was given.
78668 if test "${enable_linux_futex+set}" = set; then :
78669 enableval=$enable_linux_futex;
78670 case "$enableval" in
78671 yes|no|default) ;;
78672 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78673 esac
78675 else
78676 enable_linux_futex=default
78680 case "$target" in
78681 *-linux*)
78682 case "$enable_linux_futex" in
78683 default)
78684 # If headers don't have gettid/futex syscalls definition, then
78685 # default to no, otherwise there will be compile time failures.
78686 # Otherwise, default to yes. If we don't detect we are
78687 # compiled/linked against NPTL and not cross-compiling, check
78688 # if programs are run by default against NPTL and if not, issue
78689 # a warning.
78690 enable_linux_futex=no
78691 if test x$gcc_no_link = xyes; then
78692 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78695 /* end confdefs.h. */
78696 #include <sys/syscall.h>
78697 int lk;
78699 main ()
78701 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78703 return 0;
78705 _ACEOF
78706 if ac_fn_c_try_link "$LINENO"; then :
78707 save_LIBS="$LIBS"
78708 LIBS="-lpthread $LIBS"
78709 if test x$gcc_no_link = xyes; then
78710 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78713 /* end confdefs.h. */
78714 #ifndef _GNU_SOURCE
78715 #define _GNU_SOURCE 1
78716 #endif
78717 #include <pthread.h>
78718 pthread_t th; void *status;
78720 main ()
78722 pthread_tryjoin_np (th, &status);
78724 return 0;
78726 _ACEOF
78727 if ac_fn_c_try_link "$LINENO"; then :
78728 enable_linux_futex=yes
78729 else
78730 if test x$cross_compiling = xno; then
78731 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78732 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78734 If so, please configure with --disable-linux-futex" >&5
78735 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78736 If so, please configure with --disable-linux-futex" >&2;}
78739 enable_linux_futex=yes
78741 rm -f core conftest.err conftest.$ac_objext \
78742 conftest$ac_exeext conftest.$ac_ext
78743 LIBS="$save_LIBS"
78745 rm -f core conftest.err conftest.$ac_objext \
78746 conftest$ac_exeext conftest.$ac_ext
78748 yes)
78749 if test x$gcc_no_link = xyes; then
78750 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78753 /* end confdefs.h. */
78754 #include <sys/syscall.h>
78755 int lk;
78757 main ()
78759 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78761 return 0;
78763 _ACEOF
78764 if ac_fn_c_try_link "$LINENO"; then :
78766 else
78767 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78769 rm -f core conftest.err conftest.$ac_objext \
78770 conftest$ac_exeext conftest.$ac_ext
78772 esac
78775 enable_linux_futex=no
78777 esac
78778 if test x$enable_linux_futex = xyes; then
78780 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78787 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78789 acx_cv_header_stdint=stddef.h
78790 acx_cv_header_stdint_kind="(already complete)"
78791 for i in stdint.h $inttype_headers; do
78792 unset ac_cv_type_uintptr_t
78793 unset ac_cv_type_uintmax_t
78794 unset ac_cv_type_int_least32_t
78795 unset ac_cv_type_int_fast32_t
78796 unset ac_cv_type_uint64_t
78797 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78798 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78799 #include <$i>
78801 if test "x$ac_cv_type_uintmax_t" = xyes; then :
78802 acx_cv_header_stdint=$i
78803 else
78804 continue
78807 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78808 #include <$i>
78810 if test "x$ac_cv_type_uintptr_t" = xyes; then :
78812 else
78813 acx_cv_header_stdint_kind="(mostly complete)"
78816 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78817 #include <$i>
78819 if test "x$ac_cv_type_int_least32_t" = xyes; then :
78821 else
78822 acx_cv_header_stdint_kind="(mostly complete)"
78825 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78826 #include <$i>
78828 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
78830 else
78831 acx_cv_header_stdint_kind="(mostly complete)"
78834 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78835 #include <$i>
78837 if test "x$ac_cv_type_uint64_t" = xyes; then :
78839 else
78840 acx_cv_header_stdint_kind="(lacks uint64_t)"
78843 break
78844 done
78845 if test "$acx_cv_header_stdint" = stddef.h; then
78846 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78847 for i in stdint.h $inttype_headers; do
78848 unset ac_cv_type_uintptr_t
78849 unset ac_cv_type_uint32_t
78850 unset ac_cv_type_uint64_t
78851 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78852 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78853 #include <$i>
78855 if test "x$ac_cv_type_uint32_t" = xyes; then :
78856 acx_cv_header_stdint=$i
78857 else
78858 continue
78861 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78862 #include <$i>
78864 if test "x$ac_cv_type_uint64_t" = xyes; then :
78868 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78869 #include <$i>
78871 if test "x$ac_cv_type_uintptr_t" = xyes; then :
78875 break
78876 done
78878 if test "$acx_cv_header_stdint" = stddef.h; then
78879 acx_cv_header_stdint_kind="(u_intXX_t style)"
78880 for i in sys/types.h $inttype_headers; do
78881 unset ac_cv_type_u_int32_t
78882 unset ac_cv_type_u_int64_t
78883 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78884 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78885 #include <$i>
78887 if test "x$ac_cv_type_u_int32_t" = xyes; then :
78888 acx_cv_header_stdint=$i
78889 else
78890 continue
78893 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78894 #include <$i>
78896 if test "x$ac_cv_type_u_int64_t" = xyes; then :
78900 break
78901 done
78903 if test "$acx_cv_header_stdint" = stddef.h; then
78904 acx_cv_header_stdint_kind="(using manual detection)"
78907 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78908 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78909 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78910 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78911 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78913 # ----------------- Summarize what we found so far
78915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78916 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78918 case `$as_basename -- include/gstdint.h ||
78919 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78920 Xinclude/gstdint.h : 'X\(//\)$' \| \
78921 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78922 $as_echo X/include/gstdint.h |
78923 sed '/^.*\/\([^/][^/]*\)\/*$/{
78924 s//\1/
78927 /^X\/\(\/\/\)$/{
78928 s//\1/
78931 /^X\/\(\/\).*/{
78932 s//\1/
78935 s/.*/./; q'` in
78936 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78937 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78938 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78939 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78940 *) ;;
78941 esac
78943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78944 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78946 # ----------------- done included file, check C basic types --------
78948 # Lacking an uintptr_t? Test size of void *
78949 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78950 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78951 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78952 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78953 # This bug is HP SR number 8606223364.
78954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78955 $as_echo_n "checking size of void *... " >&6; }
78956 if ${ac_cv_sizeof_void_p+:} false; then :
78957 $as_echo_n "(cached) " >&6
78958 else
78959 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78961 else
78962 if test "$ac_cv_type_void_p" = yes; then
78963 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78965 as_fn_error 77 "cannot compute sizeof (void *)
78966 See \`config.log' for more details" "$LINENO" 5; }
78967 else
78968 ac_cv_sizeof_void_p=0
78973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78974 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78978 cat >>confdefs.h <<_ACEOF
78979 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78980 _ACEOF
78983 esac
78985 # Lacking an uint64_t? Test size of long
78986 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78987 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78988 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78989 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78990 # This bug is HP SR number 8606223364.
78991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78992 $as_echo_n "checking size of long... " >&6; }
78993 if ${ac_cv_sizeof_long+:} false; then :
78994 $as_echo_n "(cached) " >&6
78995 else
78996 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78998 else
78999 if test "$ac_cv_type_long" = yes; then
79000 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
79001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
79002 as_fn_error 77 "cannot compute sizeof (long)
79003 See \`config.log' for more details" "$LINENO" 5; }
79004 else
79005 ac_cv_sizeof_long=0
79010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
79011 $as_echo "$ac_cv_sizeof_long" >&6; }
79015 cat >>confdefs.h <<_ACEOF
79016 #define SIZEOF_LONG $ac_cv_sizeof_long
79017 _ACEOF
79020 esac
79022 if test $acx_cv_header_stdint = stddef.h; then
79023 # Lacking a good header? Test size of everything and deduce all types.
79024 # The cast to long int works around a bug in the HP C Compiler
79025 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
79026 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
79027 # This bug is HP SR number 8606223364.
79028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
79029 $as_echo_n "checking size of int... " >&6; }
79030 if ${ac_cv_sizeof_int+:} false; then :
79031 $as_echo_n "(cached) " >&6
79032 else
79033 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
79035 else
79036 if test "$ac_cv_type_int" = yes; then
79037 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
79038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
79039 as_fn_error 77 "cannot compute sizeof (int)
79040 See \`config.log' for more details" "$LINENO" 5; }
79041 else
79042 ac_cv_sizeof_int=0
79047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
79048 $as_echo "$ac_cv_sizeof_int" >&6; }
79052 cat >>confdefs.h <<_ACEOF
79053 #define SIZEOF_INT $ac_cv_sizeof_int
79054 _ACEOF
79057 # The cast to long int works around a bug in the HP C Compiler
79058 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
79059 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
79060 # This bug is HP SR number 8606223364.
79061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
79062 $as_echo_n "checking size of short... " >&6; }
79063 if ${ac_cv_sizeof_short+:} false; then :
79064 $as_echo_n "(cached) " >&6
79065 else
79066 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
79068 else
79069 if test "$ac_cv_type_short" = yes; then
79070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
79071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
79072 as_fn_error 77 "cannot compute sizeof (short)
79073 See \`config.log' for more details" "$LINENO" 5; }
79074 else
79075 ac_cv_sizeof_short=0
79080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
79081 $as_echo "$ac_cv_sizeof_short" >&6; }
79085 cat >>confdefs.h <<_ACEOF
79086 #define SIZEOF_SHORT $ac_cv_sizeof_short
79087 _ACEOF
79090 # The cast to long int works around a bug in the HP C Compiler
79091 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
79092 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
79093 # This bug is HP SR number 8606223364.
79094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
79095 $as_echo_n "checking size of char... " >&6; }
79096 if ${ac_cv_sizeof_char+:} false; then :
79097 $as_echo_n "(cached) " >&6
79098 else
79099 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
79101 else
79102 if test "$ac_cv_type_char" = yes; then
79103 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
79104 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
79105 as_fn_error 77 "cannot compute sizeof (char)
79106 See \`config.log' for more details" "$LINENO" 5; }
79107 else
79108 ac_cv_sizeof_char=0
79113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
79114 $as_echo "$ac_cv_sizeof_char" >&6; }
79118 cat >>confdefs.h <<_ACEOF
79119 #define SIZEOF_CHAR $ac_cv_sizeof_char
79120 _ACEOF
79124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
79125 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
79126 case "$ac_cv_sizeof_char" in
79127 1) acx_cv_type_int8_t=char ;;
79128 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
79129 esac
79130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
79131 $as_echo "$acx_cv_type_int8_t" >&6; }
79133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
79134 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
79135 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
79136 2:*) acx_cv_type_int16_t=int ;;
79137 *:2) acx_cv_type_int16_t=short ;;
79138 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
79139 esac
79140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
79141 $as_echo "$acx_cv_type_int16_t" >&6; }
79143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
79144 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
79145 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
79146 4:*) acx_cv_type_int32_t=int ;;
79147 *:4) acx_cv_type_int32_t=long ;;
79148 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
79149 esac
79150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
79151 $as_echo "$acx_cv_type_int32_t" >&6; }
79154 # These tests are here to make the output prettier
79156 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
79157 case "$ac_cv_sizeof_long" in
79158 8) acx_cv_type_int64_t=long ;;
79159 esac
79160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
79161 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
79162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
79163 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
79166 # Now we can use the above types
79168 if test "$ac_cv_type_uintptr_t" != yes; then
79169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
79170 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
79171 case $ac_cv_sizeof_void_p in
79172 2) acx_cv_type_intptr_t=int16_t ;;
79173 4) acx_cv_type_intptr_t=int32_t ;;
79174 8) acx_cv_type_intptr_t=int64_t ;;
79175 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
79176 esac
79177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
79178 $as_echo "$acx_cv_type_intptr_t" >&6; }
79181 # ----------------- done all checks, emit header -------------
79182 ac_config_commands="$ac_config_commands include/gstdint.h"
79188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
79189 $as_echo_n "checking for GNU c++filt... " >&6; }
79190 if ${ac_cv_path_CXXFILT+:} false; then :
79191 $as_echo_n "(cached) " >&6
79192 else
79193 if test -z "$CXXFILT"; then
79194 ac_path_CXXFILT_found=false
79195 # Loop through the user's path and test for each of PROGNAME-LIST
79196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79197 for as_dir in $PATH
79199 IFS=$as_save_IFS
79200 test -z "$as_dir" && as_dir=.
79201 for ac_prog in c++filt gc++filt; do
79202 for ac_exec_ext in '' $ac_executable_extensions; do
79203 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
79204 as_fn_executable_p "$ac_path_CXXFILT" || continue
79205 # Check for GNU $ac_path_CXXFILT
79206 case `"$ac_path_CXXFILT" --version 2>&1` in
79207 *GNU*)
79208 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
79209 esac
79211 $ac_path_CXXFILT_found && break 3
79212 done
79213 done
79214 done
79215 IFS=$as_save_IFS
79216 if test -z "$ac_cv_path_CXXFILT"; then
79219 else
79220 ac_cv_path_CXXFILT=$CXXFILT
79224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
79225 $as_echo "$ac_cv_path_CXXFILT" >&6; }
79226 CXXFILT=$ac_cv_path_CXXFILT
79230 # Check whether --enable-symvers was given.
79231 if test "${enable_symvers+set}" = set; then :
79232 enableval=$enable_symvers;
79233 case "$enableval" in
79234 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
79235 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
79236 esac
79238 else
79239 enable_symvers=yes
79244 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
79245 # don't know enough about $LD to do tricks...
79247 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
79248 # with extern "C++" in version scripts.
79251 # Turn a 'yes' into a suitable default.
79252 if test x$enable_symvers = xyes ; then
79253 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
79254 enable_symvers=no
79255 else
79256 if test $with_gnu_ld = yes ; then
79257 case ${target_os} in
79258 hpux*)
79259 enable_symvers=no ;;
79261 enable_symvers=gnu ;;
79262 esac
79263 else
79264 case ${target_os} in
79265 darwin*)
79266 enable_symvers=darwin ;;
79267 # Sun symbol versioning exists since Solaris 2.5.
79268 solaris2.[5-9]* | solaris2.1[0-9]*)
79269 # make_sunver.pl needs GNU c++filt to support extern "C++" in
79270 # version scripts, so disable symbol versioning if none can be
79271 # found.
79272 if test -z "$ac_cv_path_CXXFILT"; then
79273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79274 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
79276 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
79277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79278 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79279 enable_symvers=no
79280 else
79281 enable_symvers=sun
79285 enable_symvers=no ;;
79286 esac
79291 # Check to see if 'darwin' or 'darwin-export' can win.
79292 if test x$enable_symvers = xdarwin-export ; then
79293 enable_symvers=darwin
79296 # Check if 'sun' was requested on non-Solaris 2 platforms.
79297 if test x$enable_symvers = xsun ; then
79298 case ${target_os} in
79299 solaris2*)
79300 # All fine.
79303 # Unlikely to work.
79304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79305 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
79307 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
79308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79309 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79310 enable_symvers=no
79312 esac
79315 # Check to see if 'gnu' can win.
79316 if test $enable_symvers = gnu ||
79317 test $enable_symvers = gnu-versioned-namespace ||
79318 test $enable_symvers = sun; then
79319 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
79320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
79321 $as_echo_n "checking for shared libgcc... " >&6; }
79322 ac_save_CFLAGS="$CFLAGS"
79323 CFLAGS=' -lgcc_s'
79324 if test x$gcc_no_link = xyes; then
79325 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79328 /* end confdefs.h. */
79331 main ()
79333 return 0;
79335 return 0;
79337 _ACEOF
79338 if ac_fn_c_try_link "$LINENO"; then :
79339 glibcxx_shared_libgcc=yes
79340 else
79341 glibcxx_shared_libgcc=no
79343 rm -f core conftest.err conftest.$ac_objext \
79344 conftest$ac_exeext conftest.$ac_ext
79345 CFLAGS="$ac_save_CFLAGS"
79346 if test $glibcxx_shared_libgcc = no; then
79347 cat > conftest.c <<EOF
79348 int main (void) { return 0; }
79350 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
79351 -shared -shared-libgcc -o conftest.so \
79352 conftest.c -v 2>&1 >/dev/null \
79353 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79354 rm -f conftest.c conftest.so
79355 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79356 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79357 if test x$gcc_no_link = xyes; then
79358 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79361 /* end confdefs.h. */
79364 main ()
79366 return 0;
79368 return 0;
79370 _ACEOF
79371 if ac_fn_c_try_link "$LINENO"; then :
79372 glibcxx_shared_libgcc=yes
79374 rm -f core conftest.err conftest.$ac_objext \
79375 conftest$ac_exeext conftest.$ac_ext
79376 CFLAGS="$ac_save_CFLAGS"
79379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79380 $as_echo "$glibcxx_shared_libgcc" >&6; }
79382 # For GNU ld, we need at least this version. The format is described in
79383 # GLIBCXX_CHECK_LINKER_FEATURES above.
79384 glibcxx_min_gnu_ld_version=21400
79386 # If no shared libgcc, can't win.
79387 if test $glibcxx_shared_libgcc != yes; then
79388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79389 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79391 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79393 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79394 enable_symvers=no
79395 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79396 : All interesting versions of Sun ld support sun style symbol versioning.
79397 elif test $with_gnu_ld != yes ; then
79398 # just fail for now
79399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79400 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79402 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79404 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79405 enable_symvers=no
79406 elif test $glibcxx_ld_is_gold = yes ; then
79407 : All versions of gold support symbol versioning.
79408 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79409 # The right tools, the right setup, but too old. Fallbacks?
79410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79411 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79413 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79415 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79417 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79419 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79420 enable_symvers=no
79424 # For libtool versioning info, format is CURRENT:REVISION:AGE
79425 libtool_VERSION=6:26:0
79427 # Everything parsed; figure out what files and settings to use.
79428 case $enable_symvers in
79430 SYMVER_FILE=config/abi/pre/none.ver
79432 gnu)
79433 SYMVER_FILE=config/abi/pre/gnu.ver
79435 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79438 gnu-versioned-namespace)
79439 libtool_VERSION=8:0:0
79440 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79442 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79445 darwin)
79446 SYMVER_FILE=config/abi/pre/gnu.ver
79448 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79451 sun)
79452 SYMVER_FILE=config/abi/pre/gnu.ver
79454 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79457 esac
79459 if test x$enable_symvers != xno ; then
79461 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79466 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79467 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
79468 $as_echo_n "(cached) " >&6
79469 else
79471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79472 /* end confdefs.h. */
79473 void foo (void); __asm (".symver foo, bar@SYMVER");
79475 main ()
79479 return 0;
79481 _ACEOF
79482 if ac_fn_c_try_compile "$LINENO"; then :
79483 glibcxx_cv_have_as_symver_directive=yes
79484 else
79485 glibcxx_cv_have_as_symver_directive=no
79487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79490 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79491 if test $glibcxx_cv_have_as_symver_directive = yes; then
79493 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79504 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79505 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79507 if test $enable_symvers != no ; then
79508 case ${target_os} in
79509 # The Solaris 2 runtime linker doesn't support the GNU extension of
79510 # binding the same symbol to different versions
79511 solaris2*)
79513 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79516 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79519 esac
79522 # Now, set up compatibility support, if any.
79523 # In addition, need this to deal with std::size_t mangling in
79524 # src/compatibility.cc. In a perfect world, could use
79525 # typeid(std::size_t).name()[0] to do direct substitution.
79526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79527 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79528 ac_save_CFLAGS="$CFLAGS"
79529 CFLAGS="-Werror"
79530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79531 /* end confdefs.h. */
79534 main ()
79536 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79538 return 0;
79540 _ACEOF
79541 if ac_fn_c_try_compile "$LINENO"; then :
79542 glibcxx_size_t_is_i=yes
79543 else
79544 glibcxx_size_t_is_i=no
79546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79547 CFLAGS=$ac_save_CFLAGS
79548 if test "$glibcxx_size_t_is_i" = yes; then
79550 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79554 $as_echo "$glibcxx_size_t_is_i" >&6; }
79556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79557 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79558 ac_save_CFLAGS="$CFLAGS"
79559 CFLAGS="-Werror"
79560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79561 /* end confdefs.h. */
79564 main ()
79566 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79568 return 0;
79570 _ACEOF
79571 if ac_fn_c_try_compile "$LINENO"; then :
79572 glibcxx_ptrdiff_t_is_i=yes
79573 else
79574 glibcxx_ptrdiff_t_is_i=no
79576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79577 CFLAGS=$ac_save_CFLAGS
79578 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79580 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79584 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79589 # Check whether --enable-libstdcxx-visibility was given.
79590 if test "${enable_libstdcxx_visibility+set}" = set; then :
79591 enableval=$enable_libstdcxx_visibility;
79592 case "$enableval" in
79593 yes|no) ;;
79594 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79595 esac
79597 else
79598 enable_libstdcxx_visibility=yes
79603 if test x$enable_libstdcxx_visibility = xyes ; then
79604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79605 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79606 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
79607 $as_echo_n "(cached) " >&6
79608 else
79610 save_CFLAGS="$CFLAGS"
79611 CFLAGS="$CFLAGS -Werror"
79612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79613 /* end confdefs.h. */
79614 void __attribute__((visibility("hidden"))) foo(void) { }
79616 main ()
79620 return 0;
79622 _ACEOF
79623 if ac_fn_c_try_compile "$LINENO"; then :
79624 glibcxx_cv_have_attribute_visibility=yes
79625 else
79626 glibcxx_cv_have_attribute_visibility=no
79628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79629 CFLAGS="$save_CFLAGS"
79631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79632 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79633 if test $glibcxx_cv_have_attribute_visibility = no; then
79634 enable_libstdcxx_visibility=no
79639 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79640 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79644 # Check whether --enable-libstdcxx-dual-abi was given.
79645 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79646 enableval=$enable_libstdcxx_dual_abi;
79647 case "$enableval" in
79648 yes|no) ;;
79649 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79650 esac
79652 else
79653 enable_libstdcxx_dual_abi=yes
79657 if test x$enable_symvers = xgnu-versioned-namespace; then
79658 # gnu-versioned-namespace is incompatible with the dual ABI.
79659 enable_libstdcxx_dual_abi="no"
79661 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79662 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79663 $as_echo "$as_me: dual ABI is disabled" >&6;}
79664 default_libstdcxx_abi="gcc4-compatible"
79669 if test x$enable_libstdcxx_dual_abi = xyes; then
79670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79671 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79673 # Check whether --with-default-libstdcxx-abi was given.
79674 if test "${with_default_libstdcxx_abi+set}" = set; then :
79675 withval=$with_default_libstdcxx_abi; case "$withval" in
79676 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79677 new|cxx11) default_libstdcxx_abi="new" ;;
79678 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79679 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79680 esac
79682 else
79683 default_libstdcxx_abi="new"
79686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79687 $as_echo "${default_libstdcxx_abi}" >&6; }
79689 if test $default_libstdcxx_abi = "new"; then
79690 glibcxx_cxx11_abi=1
79691 glibcxx_cxx98_abi=0
79692 else
79693 glibcxx_cxx11_abi=0
79694 glibcxx_cxx98_abi=1
79700 ac_ldbl_compat=no
79701 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79702 case "$target" in
79703 powerpc*-*-linux* | \
79704 sparc*-*-linux* | \
79705 s390*-*-linux* | \
79706 alpha*-*-linux*)
79707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79708 /* end confdefs.h. */
79711 main ()
79714 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79715 #error no need for long double compatibility
79716 #endif
79719 return 0;
79721 _ACEOF
79722 if ac_fn_c_try_compile "$LINENO"; then :
79723 ac_ldbl_compat=yes
79724 else
79725 ac_ldbl_compat=no
79727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79728 if test "$ac_ldbl_compat" = yes; then
79730 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79732 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79733 case "$target" in
79734 powerpc*-*-linux*)
79735 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
79736 esac
79738 esac
79742 # Check if assembler supports disabling hardware capability support.
79744 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
79746 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79747 # with a different meaning.
79748 case ${target_os} in
79749 solaris2*)
79750 ac_save_CFLAGS="$CFLAGS"
79751 CFLAGS="$CFLAGS -Wa,-nH"
79753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79754 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79756 /* end confdefs.h. */
79759 main ()
79761 return 0;
79763 return 0;
79765 _ACEOF
79766 if ac_fn_c_try_compile "$LINENO"; then :
79767 ac_hwcap_flags=yes
79768 else
79769 ac_hwcap_flags=no
79771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79772 if test "$ac_hwcap_flags" = "yes"; then
79773 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
79775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79776 $as_echo "$ac_hwcap_flags" >&6; }
79778 CFLAGS="$ac_save_CFLAGS"
79780 esac
79785 # Check if assembler supports rdrand opcode.
79787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79788 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79789 if ${ac_cv_x86_rdrand+:} false; then :
79790 $as_echo_n "(cached) " >&6
79791 else
79793 ac_cv_x86_rdrand=no
79794 case "$target" in
79795 i?86-*-* | \
79796 x86_64-*-*)
79797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79798 /* end confdefs.h. */
79801 main ()
79803 asm("rdrand %eax");
79805 return 0;
79807 _ACEOF
79808 if ac_fn_c_try_compile "$LINENO"; then :
79809 ac_cv_x86_rdrand=yes
79810 else
79811 ac_cv_x86_rdrand=no
79813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79814 esac
79818 if test $ac_cv_x86_rdrand = yes; then
79820 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79824 $as_echo "$ac_cv_x86_rdrand" >&6; }
79827 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79829 # Do checks for resource limit functions.
79831 setrlimit_have_headers=yes
79832 for ac_header in unistd.h sys/time.h sys/resource.h
79833 do :
79834 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79835 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79836 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
79837 cat >>confdefs.h <<_ACEOF
79838 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79839 _ACEOF
79841 else
79842 setrlimit_have_headers=no
79845 done
79847 # If don't have the headers, then we can't run the tests now, and we
79848 # won't be seeing any of these during testsuite compilation.
79849 if test $setrlimit_have_headers = yes; then
79850 # Can't do these in a loop, else the resulting syntax is wrong.
79852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79853 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79855 /* end confdefs.h. */
79856 #include <unistd.h>
79857 #include <sys/time.h>
79858 #include <sys/resource.h>
79861 main ()
79863 int f = RLIMIT_DATA ;
79865 return 0;
79867 _ACEOF
79868 if ac_fn_c_try_compile "$LINENO"; then :
79869 glibcxx_mresult=1
79870 else
79871 glibcxx_mresult=0
79873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79875 cat >>confdefs.h <<_ACEOF
79876 #define HAVE_LIMIT_DATA $glibcxx_mresult
79877 _ACEOF
79879 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79881 $as_echo "$res" >&6; }
79884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79885 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79887 /* end confdefs.h. */
79888 #include <unistd.h>
79889 #include <sys/time.h>
79890 #include <sys/resource.h>
79893 main ()
79895 int f = RLIMIT_RSS ;
79897 return 0;
79899 _ACEOF
79900 if ac_fn_c_try_compile "$LINENO"; then :
79901 glibcxx_mresult=1
79902 else
79903 glibcxx_mresult=0
79905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79907 cat >>confdefs.h <<_ACEOF
79908 #define HAVE_LIMIT_RSS $glibcxx_mresult
79909 _ACEOF
79911 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79913 $as_echo "$res" >&6; }
79916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79917 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79919 /* end confdefs.h. */
79920 #include <unistd.h>
79921 #include <sys/time.h>
79922 #include <sys/resource.h>
79925 main ()
79927 int f = RLIMIT_VMEM ;
79929 return 0;
79931 _ACEOF
79932 if ac_fn_c_try_compile "$LINENO"; then :
79933 glibcxx_mresult=1
79934 else
79935 glibcxx_mresult=0
79937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79939 cat >>confdefs.h <<_ACEOF
79940 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79941 _ACEOF
79943 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79945 $as_echo "$res" >&6; }
79948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79949 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79951 /* end confdefs.h. */
79952 #include <unistd.h>
79953 #include <sys/time.h>
79954 #include <sys/resource.h>
79957 main ()
79959 int f = RLIMIT_AS ;
79961 return 0;
79963 _ACEOF
79964 if ac_fn_c_try_compile "$LINENO"; then :
79965 glibcxx_mresult=1
79966 else
79967 glibcxx_mresult=0
79969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79971 cat >>confdefs.h <<_ACEOF
79972 #define HAVE_LIMIT_AS $glibcxx_mresult
79973 _ACEOF
79975 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79977 $as_echo "$res" >&6; }
79980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79981 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79983 /* end confdefs.h. */
79984 #include <unistd.h>
79985 #include <sys/time.h>
79986 #include <sys/resource.h>
79989 main ()
79991 int f = RLIMIT_FSIZE ;
79993 return 0;
79995 _ACEOF
79996 if ac_fn_c_try_compile "$LINENO"; then :
79997 glibcxx_mresult=1
79998 else
79999 glibcxx_mresult=0
80001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80003 cat >>confdefs.h <<_ACEOF
80004 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
80005 _ACEOF
80007 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
80008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
80009 $as_echo "$res" >&6; }
80012 # Check for rlimit, setrlimit.
80013 if ${glibcxx_cv_setrlimit+:} false; then :
80014 $as_echo_n "(cached) " >&6
80015 else
80017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80018 /* end confdefs.h. */
80019 #include <unistd.h>
80020 #include <sys/time.h>
80021 #include <sys/resource.h>
80024 main ()
80026 struct rlimit r;
80027 setrlimit(0, &r);
80029 return 0;
80031 _ACEOF
80032 if ac_fn_c_try_compile "$LINENO"; then :
80033 glibcxx_cv_setrlimit=yes
80034 else
80035 glibcxx_cv_setrlimit=no
80037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
80044 $as_echo_n "checking for testsuite resource limits support... " >&6; }
80045 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
80046 ac_res_limits=yes
80048 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
80050 else
80051 ac_res_limits=no
80053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
80054 $as_echo "$ac_res_limits" >&6; }
80057 if $GLIBCXX_IS_NATIVE ; then
80058 # Look for setenv, so that extended locale tests can be performed.
80060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
80061 $as_echo_n "checking for setenv declaration... " >&6; }
80062 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
80063 if ${glibcxx_cv_func_setenv_use+:} false; then :
80064 $as_echo_n "(cached) " >&6
80065 else
80068 ac_ext=cpp
80069 ac_cpp='$CXXCPP $CPPFLAGS'
80070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80075 /* end confdefs.h. */
80076 #include <stdlib.h>
80078 main ()
80080 setenv(0, 0, 0);
80082 return 0;
80084 _ACEOF
80085 if ac_fn_cxx_try_compile "$LINENO"; then :
80086 glibcxx_cv_func_setenv_use=yes
80087 else
80088 glibcxx_cv_func_setenv_use=no
80090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80091 ac_ext=c
80092 ac_cpp='$CPP $CPPFLAGS'
80093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
80102 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
80103 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
80104 for ac_func in setenv
80105 do :
80106 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
80107 if test "x$ac_cv_func_setenv" = xyes; then :
80108 cat >>confdefs.h <<_ACEOF
80109 #define HAVE_SETENV 1
80110 _ACEOF
80113 done
80119 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
80120 test $enable_symvers != no; then
80121 case "$host" in
80122 *-*-cygwin*)
80123 enable_abi_check=no ;;
80125 enable_abi_check=yes ;;
80126 esac
80127 else
80128 # Only build this as native, since automake does not understand
80129 # CXX_FOR_BUILD.
80130 enable_abi_check=no
80133 # Export file names for ABI checking.
80134 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
80136 baseline_subdir_switch="$abi_baseline_subdir_switch"
80140 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
80142 # Check whether --enable-libstdcxx-threads was given.
80143 if test "${enable_libstdcxx_threads+set}" = set; then :
80144 enableval=$enable_libstdcxx_threads;
80145 case "$enableval" in
80146 yes|no) ;;
80147 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
80148 esac
80150 else
80151 enable_libstdcxx_threads=auto
80156 if test x$enable_libstdcxx_threads = xauto ||
80157 test x$enable_libstdcxx_threads = xyes; then
80160 ac_ext=cpp
80161 ac_cpp='$CXXCPP $CPPFLAGS'
80162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80167 ac_save_CXXFLAGS="$CXXFLAGS"
80168 CXXFLAGS="$CXXFLAGS -fno-exceptions \
80169 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
80171 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
80172 case $target_thread_file in
80173 posix)
80174 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
80175 esac
80177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
80178 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
80180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80181 /* end confdefs.h. */
80182 #include <unistd.h>
80184 main ()
80187 // In case of POSIX threads check _POSIX_TIMEOUTS.
80188 #if (defined(_PTHREADS) \
80189 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
80190 #error
80191 #endif
80194 return 0;
80196 _ACEOF
80197 if ac_fn_cxx_try_compile "$LINENO"; then :
80198 ac_gthread_use_mutex_timedlock=1
80199 else
80200 ac_gthread_use_mutex_timedlock=0
80202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80205 cat >>confdefs.h <<_ACEOF
80206 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
80207 _ACEOF
80210 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
80211 else res_mutex_timedlock=no ; fi
80212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
80213 $as_echo "$res_mutex_timedlock" >&6; }
80215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
80216 $as_echo_n "checking for gthreads library... " >&6; }
80218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80219 /* end confdefs.h. */
80220 #include "gthr.h"
80222 main ()
80225 #ifndef __GTHREADS_CXX0X
80226 #error
80227 #endif
80230 return 0;
80232 _ACEOF
80233 if ac_fn_cxx_try_compile "$LINENO"; then :
80234 ac_has_gthreads=yes
80235 else
80236 ac_has_gthreads=no
80238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80239 else
80240 ac_has_gthreads=no
80243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
80244 $as_echo "$ac_has_gthreads" >&6; }
80246 if test x"$ac_has_gthreads" = x"yes"; then
80248 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
80251 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
80252 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
80254 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
80256 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
80262 CXXFLAGS="$ac_save_CXXFLAGS"
80263 ac_ext=c
80264 ac_cpp='$CPP $CPPFLAGS'
80265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80271 # For Filesystem TS.
80272 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
80273 do :
80274 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
80275 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
80276 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
80277 cat >>confdefs.h <<_ACEOF
80278 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
80279 _ACEOF
80283 done
80286 # Check whether --enable-libstdcxx-filesystem-ts was given.
80287 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
80288 enableval=$enable_libstdcxx_filesystem_ts;
80289 case "$enableval" in
80290 yes|no|auto) ;;
80291 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
80292 esac
80294 else
80295 enable_libstdcxx_filesystem_ts=auto
80300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
80301 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
80302 if test x"$ac_cv_header_dirent_h" != x"yes"; then
80303 enable_libstdcxx_filesystem_ts=no
80305 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
80306 case "${target_os}" in
80307 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
80308 enable_libstdcxx_filesystem_ts=yes
80310 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
80311 enable_libstdcxx_filesystem_ts=yes
80313 rtems*)
80314 enable_libstdcxx_filesystem_ts=yes
80316 solaris*)
80317 enable_libstdcxx_filesystem_ts=yes
80320 enable_libstdcxx_filesystem_ts=no
80322 esac
80324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
80325 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
80328 if test $enable_libstdcxx_filesystem_ts = yes; then
80330 ac_ext=cpp
80331 ac_cpp='$CXXCPP $CPPFLAGS'
80332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80336 ac_save_CXXFLAGS="$CXXFLAGS"
80337 CXXFLAGS="$CXXFLAGS -fno-exceptions"
80338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
80339 $as_echo_n "checking for struct dirent.d_type... " >&6; }
80340 if ${glibcxx_cv_dirent_d_type+:} false; then :
80341 $as_echo_n "(cached) " >&6
80342 else
80343 if test x$gcc_no_link = xyes; then
80344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80345 /* end confdefs.h. */
80346 #include <dirent.h>
80348 main ()
80351 struct dirent d;
80352 if (sizeof d.d_type) return 0;
80355 return 0;
80357 _ACEOF
80358 if ac_fn_cxx_try_compile "$LINENO"; then :
80359 glibcxx_cv_dirent_d_type=yes
80360 else
80361 glibcxx_cv_dirent_d_type=no
80363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80364 else
80365 if test x$gcc_no_link = xyes; then
80366 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80369 /* end confdefs.h. */
80370 #include <dirent.h>
80372 main ()
80375 struct dirent d;
80376 if (sizeof d.d_type) return 0;
80379 return 0;
80381 _ACEOF
80382 if ac_fn_cxx_try_link "$LINENO"; then :
80383 glibcxx_cv_dirent_d_type=yes
80384 else
80385 glibcxx_cv_dirent_d_type=no
80387 rm -f core conftest.err conftest.$ac_objext \
80388 conftest$ac_exeext conftest.$ac_ext
80393 if test $glibcxx_cv_dirent_d_type = yes; then
80395 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80399 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80401 $as_echo_n "checking for realpath... " >&6; }
80402 if ${glibcxx_cv_realpath+:} false; then :
80403 $as_echo_n "(cached) " >&6
80404 else
80405 if test x$gcc_no_link = xyes; then
80406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80407 /* end confdefs.h. */
80409 #include <limits.h>
80410 #include <stdlib.h>
80411 #include <unistd.h>
80414 main ()
80417 #if _XOPEN_VERSION < 500
80418 #error
80419 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80420 char *tmp = realpath((const char*)NULL, (char*)NULL);
80421 #else
80422 #error
80423 #endif
80426 return 0;
80428 _ACEOF
80429 if ac_fn_cxx_try_compile "$LINENO"; then :
80430 glibcxx_cv_realpath=yes
80431 else
80432 glibcxx_cv_realpath=no
80434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80435 else
80436 if test x$gcc_no_link = xyes; then
80437 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80440 /* end confdefs.h. */
80442 #include <limits.h>
80443 #include <stdlib.h>
80444 #include <unistd.h>
80447 main ()
80450 #if _XOPEN_VERSION < 500
80451 #error
80452 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80453 char *tmp = realpath((const char*)NULL, (char*)NULL);
80454 #else
80455 #error
80456 #endif
80459 return 0;
80461 _ACEOF
80462 if ac_fn_cxx_try_link "$LINENO"; then :
80463 glibcxx_cv_realpath=yes
80464 else
80465 glibcxx_cv_realpath=no
80467 rm -f core conftest.err conftest.$ac_objext \
80468 conftest$ac_exeext conftest.$ac_ext
80473 if test $glibcxx_cv_realpath = yes; then
80475 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80479 $as_echo "$glibcxx_cv_realpath" >&6; }
80480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80481 $as_echo_n "checking for utimensat... " >&6; }
80482 if ${glibcxx_cv_utimensat+:} false; then :
80483 $as_echo_n "(cached) " >&6
80484 else
80485 if test x$gcc_no_link = xyes; then
80486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80487 /* end confdefs.h. */
80489 #include <fcntl.h>
80490 #include <sys/stat.h>
80493 main ()
80496 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80497 int i = utimensat(AT_FDCWD, "path", ts, 0);
80500 return 0;
80502 _ACEOF
80503 if ac_fn_cxx_try_compile "$LINENO"; then :
80504 glibcxx_cv_utimensat=yes
80505 else
80506 glibcxx_cv_utimensat=no
80508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80509 else
80510 if test x$gcc_no_link = xyes; then
80511 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80514 /* end confdefs.h. */
80516 #include <fcntl.h>
80517 #include <sys/stat.h>
80520 main ()
80523 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80524 int i = utimensat(AT_FDCWD, "path", ts, 0);
80527 return 0;
80529 _ACEOF
80530 if ac_fn_cxx_try_link "$LINENO"; then :
80531 glibcxx_cv_utimensat=yes
80532 else
80533 glibcxx_cv_utimensat=no
80535 rm -f core conftest.err conftest.$ac_objext \
80536 conftest$ac_exeext conftest.$ac_ext
80541 if test $glibcxx_cv_utimensat = yes; then
80543 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80547 $as_echo "$glibcxx_cv_utimensat" >&6; }
80548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
80549 $as_echo_n "checking for utime... " >&6; }
80550 if ${glibcxx_cv_utime+:} false; then :
80551 $as_echo_n "(cached) " >&6
80552 else
80553 if test x$gcc_no_link = xyes; then
80554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80555 /* end confdefs.h. */
80557 #include <utime.h>
80560 main ()
80563 struct utimbuf t = { 1, 1 };
80564 int i = utime("path", &t);
80567 return 0;
80569 _ACEOF
80570 if ac_fn_cxx_try_compile "$LINENO"; then :
80571 glibcxx_cv_utime=yes
80572 else
80573 glibcxx_cv_utime=no
80575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80576 else
80577 if test x$gcc_no_link = xyes; then
80578 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80581 /* end confdefs.h. */
80583 #include <utime.h>
80586 main ()
80589 struct utimbuf t = { 1, 1 };
80590 int i = utime("path", &t);
80593 return 0;
80595 _ACEOF
80596 if ac_fn_cxx_try_link "$LINENO"; then :
80597 glibcxx_cv_utime=yes
80598 else
80599 glibcxx_cv_utime=no
80601 rm -f core conftest.err conftest.$ac_objext \
80602 conftest$ac_exeext conftest.$ac_ext
80607 if test $glibcxx_cv_utime = yes; then
80609 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
80612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
80613 $as_echo "$glibcxx_cv_utime" >&6; }
80614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
80615 $as_echo_n "checking for lstat... " >&6; }
80616 if ${glibcxx_cv_lstat+:} false; then :
80617 $as_echo_n "(cached) " >&6
80618 else
80619 if test x$gcc_no_link = xyes; then
80620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80621 /* end confdefs.h. */
80622 #include <sys/stat.h>
80624 main ()
80627 struct stat st;
80628 int i = lstat("path", &st);
80631 return 0;
80633 _ACEOF
80634 if ac_fn_cxx_try_compile "$LINENO"; then :
80635 glibcxx_cv_lstat=yes
80636 else
80637 glibcxx_cv_lstat=no
80639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80640 else
80641 if test x$gcc_no_link = xyes; then
80642 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80645 /* end confdefs.h. */
80646 #include <sys/stat.h>
80648 main ()
80651 struct stat st;
80652 int i = lstat("path", &st);
80655 return 0;
80657 _ACEOF
80658 if ac_fn_cxx_try_link "$LINENO"; then :
80659 glibcxx_cv_lstat=yes
80660 else
80661 glibcxx_cv_lstat=no
80663 rm -f core conftest.err conftest.$ac_objext \
80664 conftest$ac_exeext conftest.$ac_ext
80669 if test $glibcxx_cv_lstat = yes; then
80671 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
80674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
80675 $as_echo "$glibcxx_cv_lstat" >&6; }
80676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80677 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80678 if ${glibcxx_cv_st_mtim+:} false; then :
80679 $as_echo_n "(cached) " >&6
80680 else
80681 if test x$gcc_no_link = xyes; then
80682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80683 /* end confdefs.h. */
80684 #include <sys/stat.h>
80686 main ()
80689 struct stat st;
80690 return st.st_mtim.tv_nsec;
80693 return 0;
80695 _ACEOF
80696 if ac_fn_cxx_try_compile "$LINENO"; then :
80697 glibcxx_cv_st_mtim=yes
80698 else
80699 glibcxx_cv_st_mtim=no
80701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80702 else
80703 if test x$gcc_no_link = xyes; then
80704 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80707 /* end confdefs.h. */
80708 #include <sys/stat.h>
80710 main ()
80713 struct stat st;
80714 return st.st_mtim.tv_nsec;
80717 return 0;
80719 _ACEOF
80720 if ac_fn_cxx_try_link "$LINENO"; then :
80721 glibcxx_cv_st_mtim=yes
80722 else
80723 glibcxx_cv_st_mtim=no
80725 rm -f core conftest.err conftest.$ac_objext \
80726 conftest$ac_exeext conftest.$ac_ext
80731 if test $glibcxx_cv_st_mtim = yes; then
80733 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80737 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80739 $as_echo_n "checking for fchmod... " >&6; }
80740 if ${glibcxx_cv_fchmod+:} false; then :
80741 $as_echo_n "(cached) " >&6
80742 else
80743 if test x$gcc_no_link = xyes; then
80744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80745 /* end confdefs.h. */
80746 #include <sys/stat.h>
80748 main ()
80750 fchmod(1, S_IWUSR);
80752 return 0;
80754 _ACEOF
80755 if ac_fn_cxx_try_compile "$LINENO"; then :
80756 glibcxx_cv_fchmod=yes
80757 else
80758 glibcxx_cv_fchmod=no
80760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80761 else
80762 if test x$gcc_no_link = xyes; then
80763 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80766 /* end confdefs.h. */
80767 #include <sys/stat.h>
80769 main ()
80771 fchmod(1, S_IWUSR);
80773 return 0;
80775 _ACEOF
80776 if ac_fn_cxx_try_link "$LINENO"; then :
80777 glibcxx_cv_fchmod=yes
80778 else
80779 glibcxx_cv_fchmod=no
80781 rm -f core conftest.err conftest.$ac_objext \
80782 conftest$ac_exeext conftest.$ac_ext
80787 if test $glibcxx_cv_fchmod = yes; then
80789 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80793 $as_echo "$glibcxx_cv_fchmod" >&6; }
80794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80795 $as_echo_n "checking for fchmodat... " >&6; }
80796 if ${glibcxx_cv_fchmodat+:} false; then :
80797 $as_echo_n "(cached) " >&6
80798 else
80799 if test x$gcc_no_link = xyes; then
80800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80801 /* end confdefs.h. */
80803 #include <fcntl.h>
80804 #include <sys/stat.h>
80807 main ()
80809 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80811 return 0;
80813 _ACEOF
80814 if ac_fn_cxx_try_compile "$LINENO"; then :
80815 glibcxx_cv_fchmodat=yes
80816 else
80817 glibcxx_cv_fchmodat=no
80819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80820 else
80821 if test x$gcc_no_link = xyes; then
80822 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80825 /* end confdefs.h. */
80827 #include <fcntl.h>
80828 #include <sys/stat.h>
80831 main ()
80833 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80835 return 0;
80837 _ACEOF
80838 if ac_fn_cxx_try_link "$LINENO"; then :
80839 glibcxx_cv_fchmodat=yes
80840 else
80841 glibcxx_cv_fchmodat=no
80843 rm -f core conftest.err conftest.$ac_objext \
80844 conftest$ac_exeext conftest.$ac_ext
80849 if test $glibcxx_cv_fchmodat = yes; then
80851 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80855 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80857 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80858 if ${glibcxx_cv_sendfile+:} false; then :
80859 $as_echo_n "(cached) " >&6
80860 else
80861 case "${target_os}" in
80862 gnu* | linux* | solaris*)
80863 if test x$gcc_no_link = xyes; then
80864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80865 /* end confdefs.h. */
80866 #include <sys/sendfile.h>
80868 main ()
80870 sendfile(1, 2, (off_t*)0, sizeof 1);
80872 return 0;
80874 _ACEOF
80875 if ac_fn_cxx_try_compile "$LINENO"; then :
80876 glibcxx_cv_sendfile=yes
80877 else
80878 glibcxx_cv_sendfile=no
80880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80881 else
80882 if test x$gcc_no_link = xyes; then
80883 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80886 /* end confdefs.h. */
80887 #include <sys/sendfile.h>
80889 main ()
80891 sendfile(1, 2, (off_t*)0, sizeof 1);
80893 return 0;
80895 _ACEOF
80896 if ac_fn_cxx_try_link "$LINENO"; then :
80897 glibcxx_cv_sendfile=yes
80898 else
80899 glibcxx_cv_sendfile=no
80901 rm -f core conftest.err conftest.$ac_objext \
80902 conftest$ac_exeext conftest.$ac_ext
80906 glibcxx_cv_sendfile=no
80908 esac
80912 if test $glibcxx_cv_sendfile = yes; then
80914 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80918 $as_echo "$glibcxx_cv_sendfile" >&6; }
80919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
80920 $as_echo_n "checking for link... " >&6; }
80921 if ${glibcxx_cv_link+:} false; then :
80922 $as_echo_n "(cached) " >&6
80923 else
80924 if test x$gcc_no_link = xyes; then
80925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80926 /* end confdefs.h. */
80927 #include <unistd.h>
80929 main ()
80931 link("", "");
80933 return 0;
80935 _ACEOF
80936 if ac_fn_cxx_try_compile "$LINENO"; then :
80937 glibcxx_cv_link=yes
80938 else
80939 glibcxx_cv_link=no
80941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80942 else
80943 if test x$gcc_no_link = xyes; then
80944 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80947 /* end confdefs.h. */
80948 #include <unistd.h>
80950 main ()
80952 link("", "");
80954 return 0;
80956 _ACEOF
80957 if ac_fn_cxx_try_link "$LINENO"; then :
80958 glibcxx_cv_link=yes
80959 else
80960 glibcxx_cv_link=no
80962 rm -f core conftest.err conftest.$ac_objext \
80963 conftest$ac_exeext conftest.$ac_ext
80968 if test $glibcxx_cv_link = yes; then
80970 $as_echo "#define HAVE_LINK 1" >>confdefs.h
80973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
80974 $as_echo "$glibcxx_cv_link" >&6; }
80975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
80976 $as_echo_n "checking for readlink... " >&6; }
80977 if ${glibcxx_cv_readlink+:} false; then :
80978 $as_echo_n "(cached) " >&6
80979 else
80980 if test x$gcc_no_link = xyes; then
80981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80982 /* end confdefs.h. */
80983 #include <unistd.h>
80985 main ()
80987 char buf[32]; readlink("", buf, sizeof(buf));
80989 return 0;
80991 _ACEOF
80992 if ac_fn_cxx_try_compile "$LINENO"; then :
80993 glibcxx_cv_readlink=yes
80994 else
80995 glibcxx_cv_readlink=no
80997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80998 else
80999 if test x$gcc_no_link = xyes; then
81000 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
81002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81003 /* end confdefs.h. */
81004 #include <unistd.h>
81006 main ()
81008 char buf[32]; readlink("", buf, sizeof(buf));
81010 return 0;
81012 _ACEOF
81013 if ac_fn_cxx_try_link "$LINENO"; then :
81014 glibcxx_cv_readlink=yes
81015 else
81016 glibcxx_cv_readlink=no
81018 rm -f core conftest.err conftest.$ac_objext \
81019 conftest$ac_exeext conftest.$ac_ext
81024 if test $glibcxx_cv_readlink = yes; then
81026 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
81029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
81030 $as_echo "$glibcxx_cv_readlink" >&6; }
81031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
81032 $as_echo_n "checking for symlink... " >&6; }
81033 if ${glibcxx_cv_symlink+:} false; then :
81034 $as_echo_n "(cached) " >&6
81035 else
81036 if test x$gcc_no_link = xyes; then
81037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81038 /* end confdefs.h. */
81039 #include <unistd.h>
81041 main ()
81043 symlink("", "");
81045 return 0;
81047 _ACEOF
81048 if ac_fn_cxx_try_compile "$LINENO"; then :
81049 glibcxx_cv_symlink=yes
81050 else
81051 glibcxx_cv_symlink=no
81053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81054 else
81055 if test x$gcc_no_link = xyes; then
81056 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
81058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81059 /* end confdefs.h. */
81060 #include <unistd.h>
81062 main ()
81064 symlink("", "");
81066 return 0;
81068 _ACEOF
81069 if ac_fn_cxx_try_link "$LINENO"; then :
81070 glibcxx_cv_symlink=yes
81071 else
81072 glibcxx_cv_symlink=no
81074 rm -f core conftest.err conftest.$ac_objext \
81075 conftest$ac_exeext conftest.$ac_ext
81080 if test $glibcxx_cv_symlink = yes; then
81082 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
81085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
81086 $as_echo "$glibcxx_cv_symlink" >&6; }
81087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
81088 $as_echo_n "checking for truncate... " >&6; }
81089 if ${glibcxx_cv_truncate+:} false; then :
81090 $as_echo_n "(cached) " >&6
81091 else
81092 if test x$gcc_no_link = xyes; then
81093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81094 /* end confdefs.h. */
81095 #include <unistd.h>
81097 main ()
81099 truncate("", 99);
81101 return 0;
81103 _ACEOF
81104 if ac_fn_cxx_try_compile "$LINENO"; then :
81105 glibcxx_cv_truncate=yes
81106 else
81107 glibcxx_cv_truncate=no
81109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81110 else
81111 if test x$gcc_no_link = xyes; then
81112 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
81114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81115 /* end confdefs.h. */
81116 #include <unistd.h>
81118 main ()
81120 truncate("", 99);
81122 return 0;
81124 _ACEOF
81125 if ac_fn_cxx_try_link "$LINENO"; then :
81126 glibcxx_cv_truncate=yes
81127 else
81128 glibcxx_cv_truncate=no
81130 rm -f core conftest.err conftest.$ac_objext \
81131 conftest$ac_exeext conftest.$ac_ext
81136 if test $glibcxx_cv_truncate = yes; then
81138 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
81141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
81142 $as_echo "$glibcxx_cv_truncate" >&6; }
81143 CXXFLAGS="$ac_save_CXXFLAGS"
81144 ac_ext=c
81145 ac_cpp='$CPP $CPPFLAGS'
81146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81153 # For Networking TS.
81154 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
81155 do :
81156 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
81157 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
81158 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
81159 cat >>confdefs.h <<_ACEOF
81160 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
81161 _ACEOF
81165 done
81168 # For Transactional Memory TS
81170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
81171 $as_echo_n "checking how size_t is mangled... " >&6; }
81172 if ${glibcxx_cv_size_t_mangling+:} false; then :
81173 $as_echo_n "(cached) " >&6
81174 else
81176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81177 /* end confdefs.h. */
81180 main ()
81182 extern __SIZE_TYPE__ x; extern unsigned long x;
81184 return 0;
81186 _ACEOF
81187 if ac_fn_c_try_compile "$LINENO"; then :
81188 glibcxx_cv_size_t_mangling=m
81189 else
81191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81192 /* end confdefs.h. */
81195 main ()
81197 extern __SIZE_TYPE__ x; extern unsigned int x;
81199 return 0;
81201 _ACEOF
81202 if ac_fn_c_try_compile "$LINENO"; then :
81203 glibcxx_cv_size_t_mangling=j
81204 else
81206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81207 /* end confdefs.h. */
81210 main ()
81212 extern __SIZE_TYPE__ x; extern unsigned long long x;
81214 return 0;
81216 _ACEOF
81217 if ac_fn_c_try_compile "$LINENO"; then :
81218 glibcxx_cv_size_t_mangling=y
81219 else
81221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81222 /* end confdefs.h. */
81225 main ()
81227 extern __SIZE_TYPE__ x; extern unsigned short x;
81229 return 0;
81231 _ACEOF
81232 if ac_fn_c_try_compile "$LINENO"; then :
81233 glibcxx_cv_size_t_mangling=t
81234 else
81236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81237 /* end confdefs.h. */
81240 main ()
81242 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
81244 return 0;
81246 _ACEOF
81247 if ac_fn_c_try_compile "$LINENO"; then :
81248 glibcxx_cv_size_t_mangling=u6uint20
81249 else
81250 glibcxx_cv_size_t_mangling=x
81252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
81268 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
81269 if test $glibcxx_cv_size_t_mangling = x; then
81270 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
81273 cat >>confdefs.h <<_ACEOF
81274 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
81275 _ACEOF
81279 # Check which release added std::exception_ptr for the target
81281 if test $enable_symvers != no; then
81282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
81283 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
81284 case ${target} in
81285 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
81286 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
81287 ac_exception_ptr_since_gcc46=yes
81290 # If the value of this macro changes then we will need to hardcode
81291 # yes/no here for additional targets based on the original value.
81292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81293 /* end confdefs.h. */
81296 main ()
81299 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
81300 # error atomic int not always lock free
81301 #endif
81304 return 0;
81306 _ACEOF
81307 if ac_fn_c_try_compile "$LINENO"; then :
81308 ac_exception_ptr_since_gcc46=yes
81309 else
81310 ac_exception_ptr_since_gcc46=no
81312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81314 esac
81315 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
81317 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
81319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
81320 $as_echo "4.6.0" >&6; }
81321 else
81322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
81323 $as_echo "7.1.0" >&6; }
81328 # Define documentation rules conditionally.
81330 # See if makeinfo has been installed and is modern enough
81331 # that we can use it.
81333 # Extract the first word of "makeinfo", so it can be a program name with args.
81334 set dummy makeinfo; ac_word=$2
81335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81336 $as_echo_n "checking for $ac_word... " >&6; }
81337 if ${ac_cv_prog_MAKEINFO+:} false; then :
81338 $as_echo_n "(cached) " >&6
81339 else
81340 if test -n "$MAKEINFO"; then
81341 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
81342 else
81343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81344 for as_dir in $PATH
81346 IFS=$as_save_IFS
81347 test -z "$as_dir" && as_dir=.
81348 for ac_exec_ext in '' $ac_executable_extensions; do
81349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81350 ac_cv_prog_MAKEINFO="makeinfo"
81351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81352 break 2
81354 done
81355 done
81356 IFS=$as_save_IFS
81360 MAKEINFO=$ac_cv_prog_MAKEINFO
81361 if test -n "$MAKEINFO"; then
81362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
81363 $as_echo "$MAKEINFO" >&6; }
81364 else
81365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81366 $as_echo "no" >&6; }
81370 if test -n "$MAKEINFO"; then
81371 # Found it, now check the version.
81372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
81373 $as_echo_n "checking for modern makeinfo... " >&6; }
81374 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
81375 $as_echo_n "(cached) " >&6
81376 else
81377 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
81378 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
81380 case $ac_prog_version in
81381 '') gcc_cv_prog_makeinfo_modern=no;;
81382 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
81383 *) gcc_cv_prog_makeinfo_modern=no;;
81384 esac
81387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
81388 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
81389 else
81390 gcc_cv_prog_makeinfo_modern=no
81392 if test $gcc_cv_prog_makeinfo_modern = no; then
81393 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
81396 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
81397 BUILD_INFO_TRUE=
81398 BUILD_INFO_FALSE='#'
81399 else
81400 BUILD_INFO_TRUE='#'
81401 BUILD_INFO_FALSE=
81405 # Check for doxygen
81406 # Extract the first word of "doxygen", so it can be a program name with args.
81407 set dummy doxygen; ac_word=$2
81408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81409 $as_echo_n "checking for $ac_word... " >&6; }
81410 if ${ac_cv_prog_DOXYGEN+:} false; then :
81411 $as_echo_n "(cached) " >&6
81412 else
81413 if test -n "$DOXYGEN"; then
81414 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
81415 else
81416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81417 for as_dir in $PATH
81419 IFS=$as_save_IFS
81420 test -z "$as_dir" && as_dir=.
81421 for ac_exec_ext in '' $ac_executable_extensions; do
81422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81423 ac_cv_prog_DOXYGEN="yes"
81424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81425 break 2
81427 done
81428 done
81429 IFS=$as_save_IFS
81431 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
81434 DOXYGEN=$ac_cv_prog_DOXYGEN
81435 if test -n "$DOXYGEN"; then
81436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
81437 $as_echo "$DOXYGEN" >&6; }
81438 else
81439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81440 $as_echo "no" >&6; }
81444 # Extract the first word of "dot", so it can be a program name with args.
81445 set dummy dot; ac_word=$2
81446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81447 $as_echo_n "checking for $ac_word... " >&6; }
81448 if ${ac_cv_prog_DOT+:} false; then :
81449 $as_echo_n "(cached) " >&6
81450 else
81451 if test -n "$DOT"; then
81452 ac_cv_prog_DOT="$DOT" # Let the user override the test.
81453 else
81454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81455 for as_dir in $PATH
81457 IFS=$as_save_IFS
81458 test -z "$as_dir" && as_dir=.
81459 for ac_exec_ext in '' $ac_executable_extensions; do
81460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81461 ac_cv_prog_DOT="yes"
81462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81463 break 2
81465 done
81466 done
81467 IFS=$as_save_IFS
81469 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
81472 DOT=$ac_cv_prog_DOT
81473 if test -n "$DOT"; then
81474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
81475 $as_echo "$DOT" >&6; }
81476 else
81477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81478 $as_echo "no" >&6; }
81483 # Check for docbook
81484 # Extract the first word of "xsltproc", so it can be a program name with args.
81485 set dummy xsltproc; ac_word=$2
81486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81487 $as_echo_n "checking for $ac_word... " >&6; }
81488 if ${ac_cv_prog_XSLTPROC+:} false; then :
81489 $as_echo_n "(cached) " >&6
81490 else
81491 if test -n "$XSLTPROC"; then
81492 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
81493 else
81494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81495 for as_dir in $PATH
81497 IFS=$as_save_IFS
81498 test -z "$as_dir" && as_dir=.
81499 for ac_exec_ext in '' $ac_executable_extensions; do
81500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81501 ac_cv_prog_XSLTPROC="yes"
81502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81503 break 2
81505 done
81506 done
81507 IFS=$as_save_IFS
81509 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
81512 XSLTPROC=$ac_cv_prog_XSLTPROC
81513 if test -n "$XSLTPROC"; then
81514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
81515 $as_echo "$XSLTPROC" >&6; }
81516 else
81517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81518 $as_echo "no" >&6; }
81522 # Extract the first word of "xmllint", so it can be a program name with args.
81523 set dummy xmllint; ac_word=$2
81524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81525 $as_echo_n "checking for $ac_word... " >&6; }
81526 if ${ac_cv_prog_XMLLINT+:} false; then :
81527 $as_echo_n "(cached) " >&6
81528 else
81529 if test -n "$XMLLINT"; then
81530 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
81531 else
81532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81533 for as_dir in $PATH
81535 IFS=$as_save_IFS
81536 test -z "$as_dir" && as_dir=.
81537 for ac_exec_ext in '' $ac_executable_extensions; do
81538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81539 ac_cv_prog_XMLLINT="yes"
81540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81541 break 2
81543 done
81544 done
81545 IFS=$as_save_IFS
81547 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
81550 XMLLINT=$ac_cv_prog_XMLLINT
81551 if test -n "$XMLLINT"; then
81552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
81553 $as_echo "$XMLLINT" >&6; }
81554 else
81555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81556 $as_echo "no" >&6; }
81562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
81563 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
81564 glibcxx_stylesheets=no
81565 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
81566 glibcxx_stylesheets=yes
81568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
81569 $as_echo "$glibcxx_stylesheets" >&6; }
81571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
81572 $as_echo_n "checking for local stylesheet directory... " >&6; }
81573 glibcxx_local_stylesheets=no
81574 if test x"$glibcxx_stylesheets" = x"yes"; then
81575 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
81576 glibcxx_local_stylesheets=yes
81577 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
81579 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
81580 glibcxx_local_stylesheets=yes
81581 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
81583 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
81584 glibcxx_local_stylesheets=yes
81585 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
81588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
81589 $as_echo "$glibcxx_local_stylesheets" >&6; }
81591 if test x"$glibcxx_local_stylesheets" = x"yes"; then
81593 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
81594 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
81595 else
81596 glibcxx_stylesheets=no
81599 # Check for epub3 dependencies.
81600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
81601 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
81602 glibcxx_epub_stylesheets=no
81603 if test x"$glibcxx_local_stylesheets" = x"yes"; then
81604 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
81605 glibcxx_epub_stylesheets=yes
81608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
81609 $as_echo "$glibcxx_epub_stylesheets" >&6; }
81610 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
81611 BUILD_EPUB_TRUE=
81612 BUILD_EPUB_FALSE='#'
81613 else
81614 BUILD_EPUB_TRUE='#'
81615 BUILD_EPUB_FALSE=
81621 # Check for xml/html dependencies.
81622 if test $ac_cv_prog_DOXYGEN = "yes" &&
81623 test $ac_cv_prog_DOT = "yes" &&
81624 test $ac_cv_prog_XSLTPROC = "yes" &&
81625 test $ac_cv_prog_XMLLINT = "yes" &&
81626 test $glibcxx_stylesheets = "yes"; then
81627 BUILD_XML_TRUE=
81628 BUILD_XML_FALSE='#'
81629 else
81630 BUILD_XML_TRUE='#'
81631 BUILD_XML_FALSE=
81635 if test $ac_cv_prog_DOXYGEN = "yes" &&
81636 test $ac_cv_prog_DOT = "yes" &&
81637 test $ac_cv_prog_XSLTPROC = "yes" &&
81638 test $ac_cv_prog_XMLLINT = "yes" &&
81639 test $glibcxx_stylesheets = "yes"; then
81640 BUILD_HTML_TRUE=
81641 BUILD_HTML_FALSE='#'
81642 else
81643 BUILD_HTML_TRUE='#'
81644 BUILD_HTML_FALSE=
81648 # Check for man dependencies.
81649 if test $ac_cv_prog_DOXYGEN = "yes" &&
81650 test $ac_cv_prog_DOT = "yes"; then
81651 BUILD_MAN_TRUE=
81652 BUILD_MAN_FALSE='#'
81653 else
81654 BUILD_MAN_TRUE='#'
81655 BUILD_MAN_FALSE=
81659 # Check for pdf dependencies.
81660 # Extract the first word of "dblatex", so it can be a program name with args.
81661 set dummy dblatex; ac_word=$2
81662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81663 $as_echo_n "checking for $ac_word... " >&6; }
81664 if ${ac_cv_prog_DBLATEX+:} false; then :
81665 $as_echo_n "(cached) " >&6
81666 else
81667 if test -n "$DBLATEX"; then
81668 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
81669 else
81670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81671 for as_dir in $PATH
81673 IFS=$as_save_IFS
81674 test -z "$as_dir" && as_dir=.
81675 for ac_exec_ext in '' $ac_executable_extensions; do
81676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81677 ac_cv_prog_DBLATEX="yes"
81678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81679 break 2
81681 done
81682 done
81683 IFS=$as_save_IFS
81685 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
81688 DBLATEX=$ac_cv_prog_DBLATEX
81689 if test -n "$DBLATEX"; then
81690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
81691 $as_echo "$DBLATEX" >&6; }
81692 else
81693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81694 $as_echo "no" >&6; }
81698 # Extract the first word of "pdflatex", so it can be a program name with args.
81699 set dummy pdflatex; ac_word=$2
81700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81701 $as_echo_n "checking for $ac_word... " >&6; }
81702 if ${ac_cv_prog_PDFLATEX+:} false; then :
81703 $as_echo_n "(cached) " >&6
81704 else
81705 if test -n "$PDFLATEX"; then
81706 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
81707 else
81708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81709 for as_dir in $PATH
81711 IFS=$as_save_IFS
81712 test -z "$as_dir" && as_dir=.
81713 for ac_exec_ext in '' $ac_executable_extensions; do
81714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81715 ac_cv_prog_PDFLATEX="yes"
81716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81717 break 2
81719 done
81720 done
81721 IFS=$as_save_IFS
81723 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
81726 PDFLATEX=$ac_cv_prog_PDFLATEX
81727 if test -n "$PDFLATEX"; then
81728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
81729 $as_echo "$PDFLATEX" >&6; }
81730 else
81731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81732 $as_echo "no" >&6; }
81736 if test $ac_cv_prog_DBLATEX = "yes" &&
81737 test $ac_cv_prog_PDFLATEX = "yes"; then
81738 BUILD_PDF_TRUE=
81739 BUILD_PDF_FALSE='#'
81740 else
81741 BUILD_PDF_TRUE='#'
81742 BUILD_PDF_FALSE=
81746 case "$build" in
81747 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
81748 * ) glibcxx_include_dir_notparallel=no ;;
81749 esac
81750 if test $glibcxx_include_dir_notparallel = "yes"; then
81751 INCLUDE_DIR_NOTPARALLEL_TRUE=
81752 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
81753 else
81754 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
81755 INCLUDE_DIR_NOTPARALLEL_FALSE=
81759 # Propagate the target-specific source directories through the build chain.
81760 ATOMICITY_SRCDIR=config/${atomicity_dir}
81761 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
81762 ATOMIC_FLAGS=${atomic_flags}
81763 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
81764 OS_INC_SRCDIR=config/${os_include_dir}
81765 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
81766 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
81767 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
81768 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
81780 # Add CET specific flags if Intel CET is enabled.
81781 # Check whether --enable-cet was given.
81782 if test "${enable_cet+set}" = set; then :
81783 enableval=$enable_cet;
81784 case "$enableval" in
81785 yes|no|auto) ;;
81786 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
81787 esac
81789 else
81790 enable_cet=no
81794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
81795 $as_echo_n "checking for CET support... " >&6; }
81797 case "$host" in
81798 i[34567]86-*-linux* | x86_64-*-linux*)
81799 case "$enable_cet" in
81800 auto)
81801 # Check if target supports multi-byte NOPs
81802 # and if assembler supports CET insn.
81803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81804 /* end confdefs.h. */
81807 main ()
81810 #if !defined(__SSE2__)
81811 #error target does not support multi-byte NOPs
81812 #else
81813 asm ("setssbsy");
81814 #endif
81817 return 0;
81819 _ACEOF
81820 if ac_fn_c_try_compile "$LINENO"; then :
81821 enable_cet=yes
81822 else
81823 enable_cet=no
81825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81827 yes)
81828 # Check if assembler supports CET.
81829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81830 /* end confdefs.h. */
81833 main ()
81835 asm ("setssbsy");
81837 return 0;
81839 _ACEOF
81840 if ac_fn_c_try_compile "$LINENO"; then :
81842 else
81843 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
81845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81847 esac
81850 enable_cet=no
81852 esac
81853 if test x$enable_cet = xyes; then
81854 CET_FLAGS="-fcf-protection -mshstk"
81855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
81856 $as_echo "yes" >&6; }
81857 else
81858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81859 $as_echo "no" >&6; }
81862 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
81863 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
81867 # Determine cross-compile flags and AM_CONDITIONALs.
81868 #AC_SUBST(GLIBCXX_IS_NATIVE)
81869 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
81870 if test $is_hosted = yes; then
81871 GLIBCXX_HOSTED_TRUE=
81872 GLIBCXX_HOSTED_FALSE='#'
81873 else
81874 GLIBCXX_HOSTED_TRUE='#'
81875 GLIBCXX_HOSTED_FALSE=
81879 if test $enable_libstdcxx_pch = yes; then
81880 GLIBCXX_BUILD_PCH_TRUE=
81881 GLIBCXX_BUILD_PCH_FALSE='#'
81882 else
81883 GLIBCXX_BUILD_PCH_TRUE='#'
81884 GLIBCXX_BUILD_PCH_FALSE=
81888 if test $enable_float128 = yes; then
81889 ENABLE_FLOAT128_TRUE=
81890 ENABLE_FLOAT128_FALSE='#'
81891 else
81892 ENABLE_FLOAT128_TRUE='#'
81893 ENABLE_FLOAT128_FALSE=
81897 if test $enable_libstdcxx_allocator_flag = new; then
81898 ENABLE_ALLOCATOR_NEW_TRUE=
81899 ENABLE_ALLOCATOR_NEW_FALSE='#'
81900 else
81901 ENABLE_ALLOCATOR_NEW_TRUE='#'
81902 ENABLE_ALLOCATOR_NEW_FALSE=
81906 if test $enable_cheaders = c; then
81907 GLIBCXX_C_HEADERS_C_TRUE=
81908 GLIBCXX_C_HEADERS_C_FALSE='#'
81909 else
81910 GLIBCXX_C_HEADERS_C_TRUE='#'
81911 GLIBCXX_C_HEADERS_C_FALSE=
81915 if test $enable_cheaders = c_std; then
81916 GLIBCXX_C_HEADERS_C_STD_TRUE=
81917 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
81918 else
81919 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
81920 GLIBCXX_C_HEADERS_C_STD_FALSE=
81924 if test $enable_cheaders = c_global; then
81925 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81926 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81927 else
81928 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81929 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81933 if test $c_compatibility = yes; then
81934 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81935 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81936 else
81937 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81938 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81942 if test $enable_libstdcxx_debug = yes; then
81943 GLIBCXX_BUILD_DEBUG_TRUE=
81944 GLIBCXX_BUILD_DEBUG_FALSE='#'
81945 else
81946 GLIBCXX_BUILD_DEBUG_TRUE='#'
81947 GLIBCXX_BUILD_DEBUG_FALSE=
81951 if test $enable_extern_template = yes; then
81952 ENABLE_EXTERN_TEMPLATE_TRUE=
81953 ENABLE_EXTERN_TEMPLATE_FALSE='#'
81954 else
81955 ENABLE_EXTERN_TEMPLATE_TRUE='#'
81956 ENABLE_EXTERN_TEMPLATE_FALSE=
81960 if test $python_mod_dir != no; then
81961 ENABLE_PYTHONDIR_TRUE=
81962 ENABLE_PYTHONDIR_FALSE='#'
81963 else
81964 ENABLE_PYTHONDIR_TRUE='#'
81965 ENABLE_PYTHONDIR_FALSE=
81969 if test $enable_werror = yes; then
81970 ENABLE_WERROR_TRUE=
81971 ENABLE_WERROR_FALSE='#'
81972 else
81973 ENABLE_WERROR_TRUE='#'
81974 ENABLE_WERROR_FALSE=
81978 if test $enable_vtable_verify = yes; then
81979 ENABLE_VTABLE_VERIFY_TRUE=
81980 ENABLE_VTABLE_VERIFY_FALSE='#'
81981 else
81982 ENABLE_VTABLE_VERIFY_TRUE='#'
81983 ENABLE_VTABLE_VERIFY_FALSE=
81987 if test $enable_symvers != no; then
81988 ENABLE_SYMVERS_TRUE=
81989 ENABLE_SYMVERS_FALSE='#'
81990 else
81991 ENABLE_SYMVERS_TRUE='#'
81992 ENABLE_SYMVERS_FALSE=
81996 if test $enable_symvers = gnu; then
81997 ENABLE_SYMVERS_GNU_TRUE=
81998 ENABLE_SYMVERS_GNU_FALSE='#'
81999 else
82000 ENABLE_SYMVERS_GNU_TRUE='#'
82001 ENABLE_SYMVERS_GNU_FALSE=
82005 if test $enable_symvers = gnu-versioned-namespace; then
82006 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
82007 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
82008 else
82009 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
82010 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
82014 if test $enable_symvers = darwin; then
82015 ENABLE_SYMVERS_DARWIN_TRUE=
82016 ENABLE_SYMVERS_DARWIN_FALSE='#'
82017 else
82018 ENABLE_SYMVERS_DARWIN_TRUE='#'
82019 ENABLE_SYMVERS_DARWIN_FALSE=
82023 if test $enable_symvers = sun; then
82024 ENABLE_SYMVERS_SUN_TRUE=
82025 ENABLE_SYMVERS_SUN_FALSE='#'
82026 else
82027 ENABLE_SYMVERS_SUN_TRUE='#'
82028 ENABLE_SYMVERS_SUN_FALSE=
82032 if test $enable_libstdcxx_visibility = yes; then
82033 ENABLE_VISIBILITY_TRUE=
82034 ENABLE_VISIBILITY_FALSE='#'
82035 else
82036 ENABLE_VISIBILITY_TRUE='#'
82037 ENABLE_VISIBILITY_FALSE=
82041 if test $enable_libstdcxx_dual_abi = yes; then
82042 ENABLE_DUAL_ABI_TRUE=
82043 ENABLE_DUAL_ABI_FALSE='#'
82044 else
82045 ENABLE_DUAL_ABI_TRUE='#'
82046 ENABLE_DUAL_ABI_FALSE=
82050 if test $glibcxx_cxx11_abi = 1; then
82051 ENABLE_CXX11_ABI_TRUE=
82052 ENABLE_CXX11_ABI_FALSE='#'
82053 else
82054 ENABLE_CXX11_ABI_TRUE='#'
82055 ENABLE_CXX11_ABI_FALSE=
82059 if test $ac_ldbl_compat = yes; then
82060 GLIBCXX_LDBL_COMPAT_TRUE=
82061 GLIBCXX_LDBL_COMPAT_FALSE='#'
82062 else
82063 GLIBCXX_LDBL_COMPAT_TRUE='#'
82064 GLIBCXX_LDBL_COMPAT_FALSE=
82068 if test $enable_libstdcxx_filesystem_ts = yes; then
82069 ENABLE_FILESYSTEM_TS_TRUE=
82070 ENABLE_FILESYSTEM_TS_FALSE='#'
82071 else
82072 ENABLE_FILESYSTEM_TS_TRUE='#'
82073 ENABLE_FILESYSTEM_TS_FALSE=
82079 cat >confcache <<\_ACEOF
82080 # This file is a shell script that caches the results of configure
82081 # tests run on this system so they can be shared between configure
82082 # scripts and configure runs, see configure's option --config-cache.
82083 # It is not useful on other systems. If it contains results you don't
82084 # want to keep, you may remove or edit it.
82086 # config.status only pays attention to the cache file if you give it
82087 # the --recheck option to rerun configure.
82089 # `ac_cv_env_foo' variables (set or unset) will be overridden when
82090 # loading this file, other *unset* `ac_cv_foo' will be assigned the
82091 # following values.
82093 _ACEOF
82095 # The following way of writing the cache mishandles newlines in values,
82096 # but we know of no workaround that is simple, portable, and efficient.
82097 # So, we kill variables containing newlines.
82098 # Ultrix sh set writes to stderr and can't be redirected directly,
82099 # and sets the high bit in the cache file unless we assign to the vars.
82101 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
82102 eval ac_val=\$$ac_var
82103 case $ac_val in #(
82104 *${as_nl}*)
82105 case $ac_var in #(
82106 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
82107 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
82108 esac
82109 case $ac_var in #(
82110 _ | IFS | as_nl) ;; #(
82111 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
82112 *) { eval $ac_var=; unset $ac_var;} ;;
82113 esac ;;
82114 esac
82115 done
82117 (set) 2>&1 |
82118 case $as_nl`(ac_space=' '; set) 2>&1` in #(
82119 *${as_nl}ac_space=\ *)
82120 # `set' does not quote correctly, so add quotes: double-quote
82121 # substitution turns \\\\ into \\, and sed turns \\ into \.
82122 sed -n \
82123 "s/'/'\\\\''/g;
82124 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
82125 ;; #(
82127 # `set' quotes correctly as required by POSIX, so do not add quotes.
82128 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
82130 esac |
82131 sort
82133 sed '
82134 /^ac_cv_env_/b end
82135 t clear
82136 :clear
82137 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
82138 t end
82139 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
82140 :end' >>confcache
82141 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
82142 if test -w "$cache_file"; then
82143 if test "x$cache_file" != "x/dev/null"; then
82144 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
82145 $as_echo "$as_me: updating cache $cache_file" >&6;}
82146 if test ! -f "$cache_file" || test -h "$cache_file"; then
82147 cat confcache >"$cache_file"
82148 else
82149 case $cache_file in #(
82150 */* | ?:*)
82151 mv -f confcache "$cache_file"$$ &&
82152 mv -f "$cache_file"$$ "$cache_file" ;; #(
82154 mv -f confcache "$cache_file" ;;
82155 esac
82158 else
82159 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
82160 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
82163 rm -f confcache
82165 if test ${multilib} = yes; then
82166 multilib_arg="--enable-multilib"
82167 else
82168 multilib_arg=
82171 # Export all the install information.
82173 glibcxx_toolexecdir=no
82174 glibcxx_toolexeclibdir=no
82175 glibcxx_prefixdir=$prefix
82177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
82178 $as_echo_n "checking for gxx-include-dir... " >&6; }
82180 # Check whether --with-gxx-include-dir was given.
82181 if test "${with_gxx_include_dir+set}" = set; then :
82182 withval=$with_gxx_include_dir; case "$withval" in
82183 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
82184 no) gxx_include_dir=no ;;
82185 *) gxx_include_dir=$withval ;;
82186 esac
82187 else
82188 gxx_include_dir=no
82191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
82192 $as_echo "$gxx_include_dir" >&6; }
82194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
82195 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
82196 # Check whether --enable-version-specific-runtime-libs was given.
82197 if test "${enable_version_specific_runtime_libs+set}" = set; then :
82198 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
82199 yes) version_specific_libs=yes ;;
82200 no) version_specific_libs=no ;;
82201 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
82202 esac
82203 else
82204 version_specific_libs=no
82207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
82208 $as_echo "$version_specific_libs" >&6; }
82210 # Default case for install directory for include files.
82211 if test $version_specific_libs = no && test $gxx_include_dir = no; then
82212 gxx_include_dir='include/c++/${gcc_version}'
82213 if test -n "$with_cross_host" &&
82214 test x"$with_cross_host" != x"no"; then
82215 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
82216 else
82217 gxx_include_dir='${prefix}/'"$gxx_include_dir"
82221 # Version-specific runtime libs processing.
82222 if test $version_specific_libs = yes; then
82223 # Need the gcc compiler version to know where to install libraries
82224 # and header files if --enable-version-specific-runtime-libs option
82225 # is selected. FIXME: these variables are misnamed, there are
82226 # no executables installed in _toolexecdir or _toolexeclibdir.
82227 if test x"$gxx_include_dir" = x"no"; then
82228 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
82230 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
82231 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
82234 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
82235 # Install a library built with a cross compiler in tooldir, not libdir.
82236 if test x"$glibcxx_toolexecdir" = x"no"; then
82237 if test -n "$with_cross_host" &&
82238 test x"$with_cross_host" != x"no"; then
82239 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
82240 glibcxx_toolexeclibdir='${toolexecdir}/lib'
82241 else
82242 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
82243 glibcxx_toolexeclibdir='${libdir}'
82245 multi_os_directory=`$CXX -print-multi-os-directory`
82246 case $multi_os_directory in
82247 .) ;; # Avoid trailing /.
82248 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
82249 esac
82252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
82253 $as_echo_n "checking for install location... " >&6; }
82254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
82255 $as_echo "$gxx_include_dir" >&6; }
82263 # Export all the include and flag information to Makefiles.
82265 # Used for every C++ compile we perform.
82266 GLIBCXX_INCLUDES="\
82267 -I$glibcxx_builddir/include/$host_alias \
82268 -I$glibcxx_builddir/include \
82269 -I$glibcxx_srcdir/libsupc++"
82271 # For Canadian crosses, pick this up too.
82272 if test $CANADIAN = yes; then
82273 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
82276 # Stuff in the actual top level. Currently only used by libsupc++ to
82277 # get unwind* headers from the libgcc dir.
82278 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
82279 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
82281 # Now, export this to all the little Makefiles....
82286 # Optimization flags that are probably a good idea for thrill-seekers. Just
82287 # uncomment the lines below and make, everything else is ready to go...
82288 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
82289 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
82292 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
82296 # Determine what GCC version number to use in filesystem paths.
82298 get_gcc_base_ver="cat"
82300 # Check whether --with-gcc-major-version-only was given.
82301 if test "${with_gcc_major_version_only+set}" = set; then :
82302 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
82303 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
82311 ac_config_files="$ac_config_files Makefile"
82313 ac_config_files="$ac_config_files scripts/testsuite_flags"
82315 ac_config_files="$ac_config_files scripts/extract_symvers"
82317 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
82320 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
82321 # that multilib installs will end up installed in the correct place.
82322 # The testsuite needs it for multilib-aware ABI baseline files.
82323 # To work around this not being passed down from config-ml.in ->
82324 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
82325 # append it here. Only modify Makefiles that have just been created.
82327 # Also, get rid of this simulated-VPATH thing that automake does.
82328 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"
82331 ac_config_commands="$ac_config_commands generate-headers"
82334 cat >confcache <<\_ACEOF
82335 # This file is a shell script that caches the results of configure
82336 # tests run on this system so they can be shared between configure
82337 # scripts and configure runs, see configure's option --config-cache.
82338 # It is not useful on other systems. If it contains results you don't
82339 # want to keep, you may remove or edit it.
82341 # config.status only pays attention to the cache file if you give it
82342 # the --recheck option to rerun configure.
82344 # `ac_cv_env_foo' variables (set or unset) will be overridden when
82345 # loading this file, other *unset* `ac_cv_foo' will be assigned the
82346 # following values.
82348 _ACEOF
82350 # The following way of writing the cache mishandles newlines in values,
82351 # but we know of no workaround that is simple, portable, and efficient.
82352 # So, we kill variables containing newlines.
82353 # Ultrix sh set writes to stderr and can't be redirected directly,
82354 # and sets the high bit in the cache file unless we assign to the vars.
82356 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
82357 eval ac_val=\$$ac_var
82358 case $ac_val in #(
82359 *${as_nl}*)
82360 case $ac_var in #(
82361 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
82362 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
82363 esac
82364 case $ac_var in #(
82365 _ | IFS | as_nl) ;; #(
82366 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
82367 *) { eval $ac_var=; unset $ac_var;} ;;
82368 esac ;;
82369 esac
82370 done
82372 (set) 2>&1 |
82373 case $as_nl`(ac_space=' '; set) 2>&1` in #(
82374 *${as_nl}ac_space=\ *)
82375 # `set' does not quote correctly, so add quotes: double-quote
82376 # substitution turns \\\\ into \\, and sed turns \\ into \.
82377 sed -n \
82378 "s/'/'\\\\''/g;
82379 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
82380 ;; #(
82382 # `set' quotes correctly as required by POSIX, so do not add quotes.
82383 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
82385 esac |
82386 sort
82388 sed '
82389 /^ac_cv_env_/b end
82390 t clear
82391 :clear
82392 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
82393 t end
82394 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
82395 :end' >>confcache
82396 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
82397 if test -w "$cache_file"; then
82398 if test "x$cache_file" != "x/dev/null"; then
82399 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
82400 $as_echo "$as_me: updating cache $cache_file" >&6;}
82401 if test ! -f "$cache_file" || test -h "$cache_file"; then
82402 cat confcache >"$cache_file"
82403 else
82404 case $cache_file in #(
82405 */* | ?:*)
82406 mv -f confcache "$cache_file"$$ &&
82407 mv -f "$cache_file"$$ "$cache_file" ;; #(
82409 mv -f confcache "$cache_file" ;;
82410 esac
82413 else
82414 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
82415 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
82418 rm -f confcache
82420 test "x$prefix" = xNONE && prefix=$ac_default_prefix
82421 # Let make expand exec_prefix.
82422 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
82424 DEFS=-DHAVE_CONFIG_H
82426 ac_libobjs=
82427 ac_ltlibobjs=
82429 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
82430 # 1. Remove the extension, and $U if already installed.
82431 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
82432 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
82433 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
82434 # will be set to the directory where LIBOBJS objects are built.
82435 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
82436 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
82437 done
82438 LIBOBJS=$ac_libobjs
82440 LTLIBOBJS=$ac_ltlibobjs
82443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
82444 $as_echo_n "checking that generated files are newer than configure... " >&6; }
82445 if test -n "$am_sleep_pid"; then
82446 # Hide warnings about reused PIDs.
82447 wait $am_sleep_pid 2>/dev/null
82449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
82450 $as_echo "done" >&6; }
82451 if test -n "$EXEEXT"; then
82452 am__EXEEXT_TRUE=
82453 am__EXEEXT_FALSE='#'
82454 else
82455 am__EXEEXT_TRUE='#'
82456 am__EXEEXT_FALSE=
82459 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
82460 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
82461 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82463 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
82464 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
82465 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82467 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
82468 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
82469 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82471 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
82472 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
82473 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82475 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
82476 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
82477 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82479 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
82480 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
82481 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82483 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
82484 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
82485 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82487 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
82488 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
82489 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82491 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
82492 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
82493 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82495 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
82496 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
82497 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82499 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
82500 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
82501 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82503 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
82504 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
82505 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82507 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
82508 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
82509 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82511 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
82512 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
82513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82515 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
82516 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
82517 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82519 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
82520 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
82521 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82523 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
82524 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
82525 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82527 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
82528 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
82529 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82531 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
82532 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
82533 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82535 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
82536 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
82537 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82539 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
82540 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
82541 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82543 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
82544 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
82545 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82547 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
82548 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
82549 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82551 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
82552 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
82553 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82555 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
82556 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
82557 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82559 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
82560 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
82561 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82563 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
82564 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
82565 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82567 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
82568 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
82569 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82571 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
82572 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
82573 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82575 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
82576 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
82577 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82579 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
82580 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
82581 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82583 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
82584 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
82585 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82588 : "${CONFIG_STATUS=./config.status}"
82589 ac_write_fail=0
82590 ac_clean_files_save=$ac_clean_files
82591 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
82592 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
82593 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
82594 as_write_fail=0
82595 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
82596 #! $SHELL
82597 # Generated by $as_me.
82598 # Run this file to recreate the current configuration.
82599 # Compiler output produced by configure, useful for debugging
82600 # configure, is in config.log if it exists.
82602 debug=false
82603 ac_cs_recheck=false
82604 ac_cs_silent=false
82606 SHELL=\${CONFIG_SHELL-$SHELL}
82607 export SHELL
82608 _ASEOF
82609 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
82610 ## -------------------- ##
82611 ## M4sh Initialization. ##
82612 ## -------------------- ##
82614 # Be more Bourne compatible
82615 DUALCASE=1; export DUALCASE # for MKS sh
82616 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
82617 emulate sh
82618 NULLCMD=:
82619 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
82620 # is contrary to our usage. Disable this feature.
82621 alias -g '${1+"$@"}'='"$@"'
82622 setopt NO_GLOB_SUBST
82623 else
82624 case `(set -o) 2>/dev/null` in #(
82625 *posix*) :
82626 set -o posix ;; #(
82627 *) :
82629 esac
82633 as_nl='
82635 export as_nl
82636 # Printing a long string crashes Solaris 7 /usr/bin/printf.
82637 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
82638 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
82639 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
82640 # Prefer a ksh shell builtin over an external printf program on Solaris,
82641 # but without wasting forks for bash or zsh.
82642 if test -z "$BASH_VERSION$ZSH_VERSION" \
82643 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
82644 as_echo='print -r --'
82645 as_echo_n='print -rn --'
82646 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
82647 as_echo='printf %s\n'
82648 as_echo_n='printf %s'
82649 else
82650 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
82651 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
82652 as_echo_n='/usr/ucb/echo -n'
82653 else
82654 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
82655 as_echo_n_body='eval
82656 arg=$1;
82657 case $arg in #(
82658 *"$as_nl"*)
82659 expr "X$arg" : "X\\(.*\\)$as_nl";
82660 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
82661 esac;
82662 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
82664 export as_echo_n_body
82665 as_echo_n='sh -c $as_echo_n_body as_echo'
82667 export as_echo_body
82668 as_echo='sh -c $as_echo_body as_echo'
82671 # The user is always right.
82672 if test "${PATH_SEPARATOR+set}" != set; then
82673 PATH_SEPARATOR=:
82674 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82675 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82676 PATH_SEPARATOR=';'
82681 # IFS
82682 # We need space, tab and new line, in precisely that order. Quoting is
82683 # there to prevent editors from complaining about space-tab.
82684 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
82685 # splitting by setting IFS to empty value.)
82686 IFS=" "" $as_nl"
82688 # Find who we are. Look in the path if we contain no directory separator.
82689 as_myself=
82690 case $0 in #((
82691 *[\\/]* ) as_myself=$0 ;;
82692 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
82693 for as_dir in $PATH
82695 IFS=$as_save_IFS
82696 test -z "$as_dir" && as_dir=.
82697 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82698 done
82699 IFS=$as_save_IFS
82702 esac
82703 # We did not find ourselves, most probably we were run as `sh COMMAND'
82704 # in which case we are not to be found in the path.
82705 if test "x$as_myself" = x; then
82706 as_myself=$0
82708 if test ! -f "$as_myself"; then
82709 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
82710 exit 1
82713 # Unset variables that we do not need and which cause bugs (e.g. in
82714 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
82715 # suppresses any "Segmentation fault" message there. '((' could
82716 # trigger a bug in pdksh 5.2.14.
82717 for as_var in BASH_ENV ENV MAIL MAILPATH
82718 do eval test x\${$as_var+set} = xset \
82719 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
82720 done
82721 PS1='$ '
82722 PS2='> '
82723 PS4='+ '
82725 # NLS nuisances.
82726 LC_ALL=C
82727 export LC_ALL
82728 LANGUAGE=C
82729 export LANGUAGE
82731 # CDPATH.
82732 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82735 # as_fn_error STATUS ERROR [LINENO LOG_FD]
82736 # ----------------------------------------
82737 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
82738 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
82739 # script with STATUS, using 1 if that was 0.
82740 as_fn_error ()
82742 as_status=$1; test $as_status -eq 0 && as_status=1
82743 if test "$4"; then
82744 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
82745 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
82747 $as_echo "$as_me: error: $2" >&2
82748 as_fn_exit $as_status
82749 } # as_fn_error
82752 # as_fn_set_status STATUS
82753 # -----------------------
82754 # Set $? to STATUS, without forking.
82755 as_fn_set_status ()
82757 return $1
82758 } # as_fn_set_status
82760 # as_fn_exit STATUS
82761 # -----------------
82762 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
82763 as_fn_exit ()
82765 set +e
82766 as_fn_set_status $1
82767 exit $1
82768 } # as_fn_exit
82770 # as_fn_unset VAR
82771 # ---------------
82772 # Portably unset VAR.
82773 as_fn_unset ()
82775 { eval $1=; unset $1;}
82777 as_unset=as_fn_unset
82778 # as_fn_append VAR VALUE
82779 # ----------------------
82780 # Append the text in VALUE to the end of the definition contained in VAR. Take
82781 # advantage of any shell optimizations that allow amortized linear growth over
82782 # repeated appends, instead of the typical quadratic growth present in naive
82783 # implementations.
82784 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
82785 eval 'as_fn_append ()
82787 eval $1+=\$2
82789 else
82790 as_fn_append ()
82792 eval $1=\$$1\$2
82794 fi # as_fn_append
82796 # as_fn_arith ARG...
82797 # ------------------
82798 # Perform arithmetic evaluation on the ARGs, and store the result in the
82799 # global $as_val. Take advantage of shells that can avoid forks. The arguments
82800 # must be portable across $(()) and expr.
82801 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
82802 eval 'as_fn_arith ()
82804 as_val=$(( $* ))
82806 else
82807 as_fn_arith ()
82809 as_val=`expr "$@" || test $? -eq 1`
82811 fi # as_fn_arith
82814 if expr a : '\(a\)' >/dev/null 2>&1 &&
82815 test "X`expr 00001 : '.*\(...\)'`" = X001; then
82816 as_expr=expr
82817 else
82818 as_expr=false
82821 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
82822 as_basename=basename
82823 else
82824 as_basename=false
82827 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
82828 as_dirname=dirname
82829 else
82830 as_dirname=false
82833 as_me=`$as_basename -- "$0" ||
82834 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
82835 X"$0" : 'X\(//\)$' \| \
82836 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
82837 $as_echo X/"$0" |
82838 sed '/^.*\/\([^/][^/]*\)\/*$/{
82839 s//\1/
82842 /^X\/\(\/\/\)$/{
82843 s//\1/
82846 /^X\/\(\/\).*/{
82847 s//\1/
82850 s/.*/./; q'`
82852 # Avoid depending upon Character Ranges.
82853 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82854 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82855 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82856 as_cr_digits='0123456789'
82857 as_cr_alnum=$as_cr_Letters$as_cr_digits
82859 ECHO_C= ECHO_N= ECHO_T=
82860 case `echo -n x` in #(((((
82861 -n*)
82862 case `echo 'xy\c'` in
82863 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
82864 xy) ECHO_C='\c';;
82865 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
82866 ECHO_T=' ';;
82867 esac;;
82869 ECHO_N='-n';;
82870 esac
82872 rm -f conf$$ conf$$.exe conf$$.file
82873 if test -d conf$$.dir; then
82874 rm -f conf$$.dir/conf$$.file
82875 else
82876 rm -f conf$$.dir
82877 mkdir conf$$.dir 2>/dev/null
82879 if (echo >conf$$.file) 2>/dev/null; then
82880 if ln -s conf$$.file conf$$ 2>/dev/null; then
82881 as_ln_s='ln -s'
82882 # ... but there are two gotchas:
82883 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
82884 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
82885 # In both cases, we have to default to `cp -pR'.
82886 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
82887 as_ln_s='cp -pR'
82888 elif ln conf$$.file conf$$ 2>/dev/null; then
82889 as_ln_s=ln
82890 else
82891 as_ln_s='cp -pR'
82893 else
82894 as_ln_s='cp -pR'
82896 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
82897 rmdir conf$$.dir 2>/dev/null
82900 # as_fn_mkdir_p
82901 # -------------
82902 # Create "$as_dir" as a directory, including parents if necessary.
82903 as_fn_mkdir_p ()
82906 case $as_dir in #(
82907 -*) as_dir=./$as_dir;;
82908 esac
82909 test -d "$as_dir" || eval $as_mkdir_p || {
82910 as_dirs=
82911 while :; do
82912 case $as_dir in #(
82913 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
82914 *) as_qdir=$as_dir;;
82915 esac
82916 as_dirs="'$as_qdir' $as_dirs"
82917 as_dir=`$as_dirname -- "$as_dir" ||
82918 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82919 X"$as_dir" : 'X\(//\)[^/]' \| \
82920 X"$as_dir" : 'X\(//\)$' \| \
82921 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
82922 $as_echo X"$as_dir" |
82923 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82924 s//\1/
82927 /^X\(\/\/\)[^/].*/{
82928 s//\1/
82931 /^X\(\/\/\)$/{
82932 s//\1/
82935 /^X\(\/\).*/{
82936 s//\1/
82939 s/.*/./; q'`
82940 test -d "$as_dir" && break
82941 done
82942 test -z "$as_dirs" || eval "mkdir $as_dirs"
82943 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
82946 } # as_fn_mkdir_p
82947 if mkdir -p . 2>/dev/null; then
82948 as_mkdir_p='mkdir -p "$as_dir"'
82949 else
82950 test -d ./-p && rmdir ./-p
82951 as_mkdir_p=false
82955 # as_fn_executable_p FILE
82956 # -----------------------
82957 # Test if FILE is an executable regular file.
82958 as_fn_executable_p ()
82960 test -f "$1" && test -x "$1"
82961 } # as_fn_executable_p
82962 as_test_x='test -x'
82963 as_executable_p=as_fn_executable_p
82965 # Sed expression to map a string onto a valid CPP name.
82966 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82968 # Sed expression to map a string onto a valid variable name.
82969 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82972 exec 6>&1
82973 ## ----------------------------------- ##
82974 ## Main body of $CONFIG_STATUS script. ##
82975 ## ----------------------------------- ##
82976 _ASEOF
82977 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82979 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82980 # Save the log message, to keep $0 and so on meaningful, and to
82981 # report actual input values of CONFIG_FILES etc. instead of their
82982 # values after options handling.
82983 ac_log="
82984 This file was extended by package-unused $as_me version-unused, which was
82985 generated by GNU Autoconf 2.69. Invocation command line was
82987 CONFIG_FILES = $CONFIG_FILES
82988 CONFIG_HEADERS = $CONFIG_HEADERS
82989 CONFIG_LINKS = $CONFIG_LINKS
82990 CONFIG_COMMANDS = $CONFIG_COMMANDS
82991 $ $0 $@
82993 on `(hostname || uname -n) 2>/dev/null | sed 1q`
82996 _ACEOF
82998 case $ac_config_files in *"
82999 "*) set x $ac_config_files; shift; ac_config_files=$*;;
83000 esac
83002 case $ac_config_headers in *"
83003 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
83004 esac
83007 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83008 # Files that config.status was made for.
83009 config_files="$ac_config_files"
83010 config_headers="$ac_config_headers"
83011 config_commands="$ac_config_commands"
83013 _ACEOF
83015 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83016 ac_cs_usage="\
83017 \`$as_me' instantiates files and other configuration actions
83018 from templates according to the current configuration. Unless the files
83019 and actions are specified as TAGs, all are instantiated by default.
83021 Usage: $0 [OPTION]... [TAG]...
83023 -h, --help print this help, then exit
83024 -V, --version print version number and configuration settings, then exit
83025 --config print configuration, then exit
83026 -q, --quiet, --silent
83027 do not print progress messages
83028 -d, --debug don't remove temporary files
83029 --recheck update $as_me by reconfiguring in the same conditions
83030 --file=FILE[:TEMPLATE]
83031 instantiate the configuration file FILE
83032 --header=FILE[:TEMPLATE]
83033 instantiate the configuration header FILE
83035 Configuration files:
83036 $config_files
83038 Configuration headers:
83039 $config_headers
83041 Configuration commands:
83042 $config_commands
83044 Report bugs to the package provider."
83046 _ACEOF
83047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83048 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
83049 ac_cs_version="\\
83050 package-unused config.status version-unused
83051 configured by $0, generated by GNU Autoconf 2.69,
83052 with options \\"\$ac_cs_config\\"
83054 Copyright (C) 2012 Free Software Foundation, Inc.
83055 This config.status script is free software; the Free Software Foundation
83056 gives unlimited permission to copy, distribute and modify it."
83058 ac_pwd='$ac_pwd'
83059 srcdir='$srcdir'
83060 INSTALL='$INSTALL'
83061 MKDIR_P='$MKDIR_P'
83062 AWK='$AWK'
83063 test -n "\$AWK" || AWK=awk
83064 _ACEOF
83066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83067 # The default lists apply if the user does not specify any file.
83068 ac_need_defaults=:
83069 while test $# != 0
83071 case $1 in
83072 --*=?*)
83073 ac_option=`expr "X$1" : 'X\([^=]*\)='`
83074 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
83075 ac_shift=:
83077 --*=)
83078 ac_option=`expr "X$1" : 'X\([^=]*\)='`
83079 ac_optarg=
83080 ac_shift=:
83083 ac_option=$1
83084 ac_optarg=$2
83085 ac_shift=shift
83087 esac
83089 case $ac_option in
83090 # Handling of the options.
83091 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
83092 ac_cs_recheck=: ;;
83093 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
83094 $as_echo "$ac_cs_version"; exit ;;
83095 --config | --confi | --conf | --con | --co | --c )
83096 $as_echo "$ac_cs_config"; exit ;;
83097 --debug | --debu | --deb | --de | --d | -d )
83098 debug=: ;;
83099 --file | --fil | --fi | --f )
83100 $ac_shift
83101 case $ac_optarg in
83102 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
83103 '') as_fn_error $? "missing file argument" ;;
83104 esac
83105 as_fn_append CONFIG_FILES " '$ac_optarg'"
83106 ac_need_defaults=false;;
83107 --header | --heade | --head | --hea )
83108 $ac_shift
83109 case $ac_optarg in
83110 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
83111 esac
83112 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
83113 ac_need_defaults=false;;
83114 --he | --h)
83115 # Conflict between --help and --header
83116 as_fn_error $? "ambiguous option: \`$1'
83117 Try \`$0 --help' for more information.";;
83118 --help | --hel | -h )
83119 $as_echo "$ac_cs_usage"; exit ;;
83120 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
83121 | -silent | --silent | --silen | --sile | --sil | --si | --s)
83122 ac_cs_silent=: ;;
83124 # This is an error.
83125 -*) as_fn_error $? "unrecognized option: \`$1'
83126 Try \`$0 --help' for more information." ;;
83128 *) as_fn_append ac_config_targets " $1"
83129 ac_need_defaults=false ;;
83131 esac
83132 shift
83133 done
83135 ac_configure_extra_args=
83137 if $ac_cs_silent; then
83138 exec 6>/dev/null
83139 ac_configure_extra_args="$ac_configure_extra_args --silent"
83142 _ACEOF
83143 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83144 if \$ac_cs_recheck; then
83145 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
83146 shift
83147 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
83148 CONFIG_SHELL='$SHELL'
83149 export CONFIG_SHELL
83150 exec "\$@"
83153 _ACEOF
83154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83155 exec 5>>config.log
83157 echo
83158 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
83159 ## Running $as_me. ##
83160 _ASBOX
83161 $as_echo "$ac_log"
83162 } >&5
83164 _ACEOF
83165 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83167 # INIT-COMMANDS
83170 srcdir="$srcdir"
83171 host="$host"
83172 target="$target"
83173 with_multisubdir="$with_multisubdir"
83174 with_multisrctop="$with_multisrctop"
83175 with_target_subdir="$with_target_subdir"
83176 ac_configure_args="${multilib_arg} ${ac_configure_args}"
83177 multi_basedir="$multi_basedir"
83178 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
83179 CC="$CC"
83180 CXX="$CXX"
83181 GFORTRAN="$GFORTRAN"
83182 GDC="$GDC"
83185 # The HP-UX ksh and POSIX shell print the target directory to stdout
83186 # if CDPATH is set.
83187 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
83189 sed_quote_subst='$sed_quote_subst'
83190 double_quote_subst='$double_quote_subst'
83191 delay_variable_subst='$delay_variable_subst'
83192 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
83193 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
83194 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
83195 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
83196 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
83197 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
83198 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
83199 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
83200 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
83201 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
83202 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
83203 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
83204 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
83205 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
83206 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
83207 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
83208 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
83209 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
83210 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
83211 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
83212 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
83213 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
83214 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
83215 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
83216 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
83217 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
83218 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
83219 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
83220 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
83221 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
83222 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
83223 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
83224 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
83225 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
83226 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
83227 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
83228 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
83229 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
83230 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
83231 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
83232 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
83233 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
83234 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
83235 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
83236 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
83237 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
83238 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
83239 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
83240 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"`'
83241 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
83242 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
83243 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
83244 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
83245 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
83246 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
83247 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
83248 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
83249 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
83250 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
83251 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
83252 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
83253 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
83254 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
83255 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
83256 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
83257 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
83258 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
83259 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
83260 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
83261 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
83262 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
83263 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
83264 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
83265 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
83266 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
83267 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
83268 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
83269 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
83270 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
83271 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
83272 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
83273 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
83274 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
83275 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
83276 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
83277 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
83278 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
83279 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
83280 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
83281 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
83282 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
83283 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
83284 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
83285 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
83286 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
83287 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
83288 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
83289 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
83290 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
83291 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
83292 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
83293 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
83294 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
83295 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
83296 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
83297 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
83298 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
83299 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
83300 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
83301 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
83302 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
83303 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
83304 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
83305 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
83306 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
83307 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
83308 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
83309 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
83310 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
83311 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
83312 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
83313 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
83314 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
83315 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
83316 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
83317 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
83318 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
83319 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
83320 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83321 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83322 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
83323 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
83324 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
83325 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
83326 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
83327 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
83328 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
83329 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
83330 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
83331 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
83332 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
83333 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
83334 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83335 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83336 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83337 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83338 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83339 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83340 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
83341 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
83342 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
83343 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
83344 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
83345 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
83346 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
83347 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
83348 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
83349 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
83350 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
83351 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
83352 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
83353 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
83354 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
83355 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83356 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
83357 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
83358 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83359 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
83360 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
83361 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
83362 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
83363 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
83364 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
83365 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
83366 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
83368 LTCC='$LTCC'
83369 LTCFLAGS='$LTCFLAGS'
83370 compiler='$compiler_DEFAULT'
83372 # A function that is used when there is no print builtin or printf.
83373 func_fallback_echo ()
83375 eval 'cat <<_LTECHO_EOF
83377 _LTECHO_EOF'
83380 # Quote evaled strings.
83381 for var in SHELL \
83382 ECHO \
83383 SED \
83384 GREP \
83385 EGREP \
83386 FGREP \
83387 LD \
83388 NM \
83389 LN_S \
83390 lt_SP2NL \
83391 lt_NL2SP \
83392 reload_flag \
83393 OBJDUMP \
83394 deplibs_check_method \
83395 file_magic_cmd \
83396 AR \
83397 AR_FLAGS \
83398 STRIP \
83399 RANLIB \
83400 CC \
83401 CFLAGS \
83402 compiler \
83403 lt_cv_sys_global_symbol_pipe \
83404 lt_cv_sys_global_symbol_to_cdecl \
83405 lt_cv_sys_global_symbol_to_c_name_address \
83406 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
83407 lt_prog_compiler_no_builtin_flag \
83408 lt_prog_compiler_wl \
83409 lt_prog_compiler_pic \
83410 lt_prog_compiler_static \
83411 lt_cv_prog_compiler_c_o \
83412 need_locks \
83413 DSYMUTIL \
83414 NMEDIT \
83415 LIPO \
83416 OTOOL \
83417 OTOOL64 \
83418 shrext_cmds \
83419 export_dynamic_flag_spec \
83420 whole_archive_flag_spec \
83421 compiler_needs_object \
83422 with_gnu_ld \
83423 allow_undefined_flag \
83424 no_undefined_flag \
83425 hardcode_libdir_flag_spec \
83426 hardcode_libdir_flag_spec_ld \
83427 hardcode_libdir_separator \
83428 fix_srcfile_path \
83429 exclude_expsyms \
83430 include_expsyms \
83431 file_list_spec \
83432 variables_saved_for_relink \
83433 libname_spec \
83434 library_names_spec \
83435 soname_spec \
83436 install_override_mode \
83437 finish_eval \
83438 old_striplib \
83439 striplib \
83440 compiler_lib_search_dirs \
83441 predep_objects \
83442 postdep_objects \
83443 predeps \
83444 postdeps \
83445 compiler_lib_search_path \
83446 LD_CXX \
83447 reload_flag_CXX \
83448 compiler_CXX \
83449 lt_prog_compiler_no_builtin_flag_CXX \
83450 lt_prog_compiler_wl_CXX \
83451 lt_prog_compiler_pic_CXX \
83452 lt_prog_compiler_static_CXX \
83453 lt_cv_prog_compiler_c_o_CXX \
83454 export_dynamic_flag_spec_CXX \
83455 whole_archive_flag_spec_CXX \
83456 compiler_needs_object_CXX \
83457 with_gnu_ld_CXX \
83458 allow_undefined_flag_CXX \
83459 no_undefined_flag_CXX \
83460 hardcode_libdir_flag_spec_CXX \
83461 hardcode_libdir_flag_spec_ld_CXX \
83462 hardcode_libdir_separator_CXX \
83463 fix_srcfile_path_CXX \
83464 exclude_expsyms_CXX \
83465 include_expsyms_CXX \
83466 file_list_spec_CXX \
83467 compiler_lib_search_dirs_CXX \
83468 predep_objects_CXX \
83469 postdep_objects_CXX \
83470 predeps_CXX \
83471 postdeps_CXX \
83472 compiler_lib_search_path_CXX; do
83473 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
83474 *[\\\\\\\`\\"\\\$]*)
83475 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
83478 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
83480 esac
83481 done
83483 # Double-quote double-evaled strings.
83484 for var in reload_cmds \
83485 old_postinstall_cmds \
83486 old_postuninstall_cmds \
83487 old_archive_cmds \
83488 extract_expsyms_cmds \
83489 old_archive_from_new_cmds \
83490 old_archive_from_expsyms_cmds \
83491 archive_cmds \
83492 archive_expsym_cmds \
83493 module_cmds \
83494 module_expsym_cmds \
83495 export_symbols_cmds \
83496 prelink_cmds \
83497 postinstall_cmds \
83498 postuninstall_cmds \
83499 finish_cmds \
83500 sys_lib_search_path_spec \
83501 sys_lib_dlsearch_path_spec \
83502 reload_cmds_CXX \
83503 old_archive_cmds_CXX \
83504 old_archive_from_new_cmds_CXX \
83505 old_archive_from_expsyms_cmds_CXX \
83506 archive_cmds_CXX \
83507 archive_expsym_cmds_CXX \
83508 module_cmds_CXX \
83509 module_expsym_cmds_CXX \
83510 export_symbols_cmds_CXX \
83511 prelink_cmds_CXX; do
83512 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
83513 *[\\\\\\\`\\"\\\$]*)
83514 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
83517 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
83519 esac
83520 done
83522 ac_aux_dir='$ac_aux_dir'
83523 xsi_shell='$xsi_shell'
83524 lt_shell_append='$lt_shell_append'
83526 # See if we are running on zsh, and set the options which allow our
83527 # commands through without removal of \ escapes INIT.
83528 if test -n "\${ZSH_VERSION+set}" ; then
83529 setopt NO_GLOB_SUBST
83533 PACKAGE='$PACKAGE'
83534 VERSION='$VERSION'
83535 TIMESTAMP='$TIMESTAMP'
83536 RM='$RM'
83537 ofile='$ofile'
83544 GCC="$GCC"
83545 CC="$CC"
83546 acx_cv_header_stdint="$acx_cv_header_stdint"
83547 acx_cv_type_int8_t="$acx_cv_type_int8_t"
83548 acx_cv_type_int16_t="$acx_cv_type_int16_t"
83549 acx_cv_type_int32_t="$acx_cv_type_int32_t"
83550 acx_cv_type_int64_t="$acx_cv_type_int64_t"
83551 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
83552 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
83553 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
83554 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
83555 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
83556 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
83557 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
83558 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
83559 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
83562 _ACEOF
83564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83566 # Handling of arguments.
83567 for ac_config_target in $ac_config_targets
83569 case $ac_config_target in
83570 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
83571 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
83572 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
83573 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
83574 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
83575 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
83576 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
83577 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
83578 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
83579 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
83580 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
83581 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
83582 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
83583 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
83584 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
83585 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
83586 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
83587 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
83588 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
83589 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
83591 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
83592 esac
83593 done
83596 # If the user did not use the arguments to specify the items to instantiate,
83597 # then the envvar interface is used. Set only those that are not.
83598 # We use the long form for the default assignment because of an extremely
83599 # bizarre bug on SunOS 4.1.3.
83600 if $ac_need_defaults; then
83601 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
83602 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
83603 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
83606 # Have a temporary directory for convenience. Make it in the build tree
83607 # simply because there is no reason against having it here, and in addition,
83608 # creating and moving files from /tmp can sometimes cause problems.
83609 # Hook for its removal unless debugging.
83610 # Note that there is a small window in which the directory will not be cleaned:
83611 # after its creation but before its name has been assigned to `$tmp'.
83612 $debug ||
83614 tmp= ac_tmp=
83615 trap 'exit_status=$?
83616 : "${ac_tmp:=$tmp}"
83617 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
83619 trap 'as_fn_exit 1' 1 2 13 15
83621 # Create a (secure) tmp directory for tmp files.
83624 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
83625 test -d "$tmp"
83626 } ||
83628 tmp=./conf$$-$RANDOM
83629 (umask 077 && mkdir "$tmp")
83630 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
83631 ac_tmp=$tmp
83633 # Set up the scripts for CONFIG_FILES section.
83634 # No need to generate them if there are no CONFIG_FILES.
83635 # This happens for instance with `./config.status config.h'.
83636 if test -n "$CONFIG_FILES"; then
83639 ac_cr=`echo X | tr X '\015'`
83640 # On cygwin, bash can eat \r inside `` if the user requested igncr.
83641 # But we know of no other shell where ac_cr would be empty at this
83642 # point, so we can use a bashism as a fallback.
83643 if test "x$ac_cr" = x; then
83644 eval ac_cr=\$\'\\r\'
83646 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
83647 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
83648 ac_cs_awk_cr='\\r'
83649 else
83650 ac_cs_awk_cr=$ac_cr
83653 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
83654 _ACEOF
83658 echo "cat >conf$$subs.awk <<_ACEOF" &&
83659 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
83660 echo "_ACEOF"
83661 } >conf$$subs.sh ||
83662 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
83663 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
83664 ac_delim='%!_!# '
83665 for ac_last_try in false false false false false :; do
83666 . ./conf$$subs.sh ||
83667 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
83669 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
83670 if test $ac_delim_n = $ac_delim_num; then
83671 break
83672 elif $ac_last_try; then
83673 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
83674 else
83675 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83677 done
83678 rm -f conf$$subs.sh
83680 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83681 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
83682 _ACEOF
83683 sed -n '
83685 s/^/S["/; s/!.*/"]=/
83688 s/^[^!]*!//
83689 :repl
83690 t repl
83691 s/'"$ac_delim"'$//
83692 t delim
83695 s/\(.\{148\}\)..*/\1/
83696 t more1
83697 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
83700 b repl
83701 :more1
83702 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83705 s/.\{148\}//
83706 t nl
83707 :delim
83709 s/\(.\{148\}\)..*/\1/
83710 t more2
83711 s/["\\]/\\&/g; s/^/"/; s/$/"/
83714 :more2
83715 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83718 s/.\{148\}//
83719 t delim
83720 ' <conf$$subs.awk | sed '
83721 /^[^""]/{
83723 s/\n//
83725 ' >>$CONFIG_STATUS || ac_write_fail=1
83726 rm -f conf$$subs.awk
83727 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83728 _ACAWK
83729 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
83730 for (key in S) S_is_set[key] = 1
83731 FS = "\a"
83735 line = $ 0
83736 nfields = split(line, field, "@")
83737 substed = 0
83738 len = length(field[1])
83739 for (i = 2; i < nfields; i++) {
83740 key = field[i]
83741 keylen = length(key)
83742 if (S_is_set[key]) {
83743 value = S[key]
83744 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
83745 len += length(value) + length(field[++i])
83746 substed = 1
83747 } else
83748 len += 1 + keylen
83751 print line
83754 _ACAWK
83755 _ACEOF
83756 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83757 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
83758 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
83759 else
83761 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
83762 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
83763 _ACEOF
83765 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
83766 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
83767 # trailing colons and then remove the whole line if VPATH becomes empty
83768 # (actually we leave an empty line to preserve line numbers).
83769 if test "x$srcdir" = x.; then
83770 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
83772 s///
83773 s/^/:/
83774 s/[ ]*$/:/
83775 s/:\$(srcdir):/:/g
83776 s/:\${srcdir}:/:/g
83777 s/:@srcdir@:/:/g
83778 s/^:*//
83779 s/:*$//
83781 s/\(=[ ]*\).*/\1/
83783 s/\n//
83784 s/^[^=]*=[ ]*$//
83788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83789 fi # test -n "$CONFIG_FILES"
83791 # Set up the scripts for CONFIG_HEADERS section.
83792 # No need to generate them if there are no CONFIG_HEADERS.
83793 # This happens for instance with `./config.status Makefile'.
83794 if test -n "$CONFIG_HEADERS"; then
83795 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
83796 BEGIN {
83797 _ACEOF
83799 # Transform confdefs.h into an awk script `defines.awk', embedded as
83800 # here-document in config.status, that substitutes the proper values into
83801 # config.h.in to produce config.h.
83803 # Create a delimiter string that does not exist in confdefs.h, to ease
83804 # handling of long lines.
83805 ac_delim='%!_!# '
83806 for ac_last_try in false false :; do
83807 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
83808 if test -z "$ac_tt"; then
83809 break
83810 elif $ac_last_try; then
83811 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
83812 else
83813 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83815 done
83817 # For the awk script, D is an array of macro values keyed by name,
83818 # likewise P contains macro parameters if any. Preserve backslash
83819 # newline sequences.
83821 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
83822 sed -n '
83823 s/.\{148\}/&'"$ac_delim"'/g
83824 t rset
83825 :rset
83826 s/^[ ]*#[ ]*define[ ][ ]*/ /
83827 t def
83829 :def
83830 s/\\$//
83831 t bsnl
83832 s/["\\]/\\&/g
83833 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83834 D["\1"]=" \3"/p
83835 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
83837 :bsnl
83838 s/["\\]/\\&/g
83839 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83840 D["\1"]=" \3\\\\\\n"\\/p
83841 t cont
83842 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
83843 t cont
83845 :cont
83847 s/.\{148\}/&'"$ac_delim"'/g
83848 t clear
83849 :clear
83850 s/\\$//
83851 t bsnlc
83852 s/["\\]/\\&/g; s/^/"/; s/$/"/p
83854 :bsnlc
83855 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
83856 b cont
83857 ' <confdefs.h | sed '
83858 s/'"$ac_delim"'/"\\\
83859 "/g' >>$CONFIG_STATUS || ac_write_fail=1
83861 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83862 for (key in D) D_is_set[key] = 1
83863 FS = "\a"
83865 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
83866 line = \$ 0
83867 split(line, arg, " ")
83868 if (arg[1] == "#") {
83869 defundef = arg[2]
83870 mac1 = arg[3]
83871 } else {
83872 defundef = substr(arg[1], 2)
83873 mac1 = arg[2]
83875 split(mac1, mac2, "(") #)
83876 macro = mac2[1]
83877 prefix = substr(line, 1, index(line, defundef) - 1)
83878 if (D_is_set[macro]) {
83879 # Preserve the white space surrounding the "#".
83880 print prefix "define", macro P[macro] D[macro]
83881 next
83882 } else {
83883 # Replace #undef with comments. This is necessary, for example,
83884 # in the case of _POSIX_SOURCE, which is predefined and required
83885 # on some systems where configure will not decide to define it.
83886 if (defundef == "undef") {
83887 print "/*", prefix defundef, macro, "*/"
83888 next
83892 { print }
83893 _ACAWK
83894 _ACEOF
83895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83896 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
83897 fi # test -n "$CONFIG_HEADERS"
83900 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
83901 shift
83902 for ac_tag
83904 case $ac_tag in
83905 :[FHLC]) ac_mode=$ac_tag; continue;;
83906 esac
83907 case $ac_mode$ac_tag in
83908 :[FHL]*:*);;
83909 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
83910 :[FH]-) ac_tag=-:-;;
83911 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
83912 esac
83913 ac_save_IFS=$IFS
83914 IFS=:
83915 set x $ac_tag
83916 IFS=$ac_save_IFS
83917 shift
83918 ac_file=$1
83919 shift
83921 case $ac_mode in
83922 :L) ac_source=$1;;
83923 :[FH])
83924 ac_file_inputs=
83925 for ac_f
83927 case $ac_f in
83928 -) ac_f="$ac_tmp/stdin";;
83929 *) # Look for the file first in the build tree, then in the source tree
83930 # (if the path is not absolute). The absolute path cannot be DOS-style,
83931 # because $ac_f cannot contain `:'.
83932 test -f "$ac_f" ||
83933 case $ac_f in
83934 [\\/$]*) false;;
83935 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
83936 esac ||
83937 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
83938 esac
83939 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
83940 as_fn_append ac_file_inputs " '$ac_f'"
83941 done
83943 # Let's still pretend it is `configure' which instantiates (i.e., don't
83944 # use $as_me), people would be surprised to read:
83945 # /* config.h. Generated by config.status. */
83946 configure_input='Generated from '`
83947 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
83948 `' by configure.'
83949 if test x"$ac_file" != x-; then
83950 configure_input="$ac_file. $configure_input"
83951 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
83952 $as_echo "$as_me: creating $ac_file" >&6;}
83954 # Neutralize special characters interpreted by sed in replacement strings.
83955 case $configure_input in #(
83956 *\&* | *\|* | *\\* )
83957 ac_sed_conf_input=`$as_echo "$configure_input" |
83958 sed 's/[\\\\&|]/\\\\&/g'`;; #(
83959 *) ac_sed_conf_input=$configure_input;;
83960 esac
83962 case $ac_tag in
83963 *:-:* | *:-) cat >"$ac_tmp/stdin" \
83964 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
83965 esac
83967 esac
83969 ac_dir=`$as_dirname -- "$ac_file" ||
83970 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83971 X"$ac_file" : 'X\(//\)[^/]' \| \
83972 X"$ac_file" : 'X\(//\)$' \| \
83973 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
83974 $as_echo X"$ac_file" |
83975 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83976 s//\1/
83979 /^X\(\/\/\)[^/].*/{
83980 s//\1/
83983 /^X\(\/\/\)$/{
83984 s//\1/
83987 /^X\(\/\).*/{
83988 s//\1/
83991 s/.*/./; q'`
83992 as_dir="$ac_dir"; as_fn_mkdir_p
83993 ac_builddir=.
83995 case "$ac_dir" in
83996 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83998 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83999 # A ".." for each directory in $ac_dir_suffix.
84000 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
84001 case $ac_top_builddir_sub in
84002 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
84003 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
84004 esac ;;
84005 esac
84006 ac_abs_top_builddir=$ac_pwd
84007 ac_abs_builddir=$ac_pwd$ac_dir_suffix
84008 # for backward compatibility:
84009 ac_top_builddir=$ac_top_build_prefix
84011 case $srcdir in
84012 .) # We are building in place.
84013 ac_srcdir=.
84014 ac_top_srcdir=$ac_top_builddir_sub
84015 ac_abs_top_srcdir=$ac_pwd ;;
84016 [\\/]* | ?:[\\/]* ) # Absolute name.
84017 ac_srcdir=$srcdir$ac_dir_suffix;
84018 ac_top_srcdir=$srcdir
84019 ac_abs_top_srcdir=$srcdir ;;
84020 *) # Relative name.
84021 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
84022 ac_top_srcdir=$ac_top_build_prefix$srcdir
84023 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
84024 esac
84025 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
84028 case $ac_mode in
84031 # CONFIG_FILE
84034 case $INSTALL in
84035 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
84036 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
84037 esac
84038 ac_MKDIR_P=$MKDIR_P
84039 case $MKDIR_P in
84040 [\\/$]* | ?:[\\/]* ) ;;
84041 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
84042 esac
84043 _ACEOF
84045 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
84046 # If the template does not know about datarootdir, expand it.
84047 # FIXME: This hack should be removed a few years after 2.60.
84048 ac_datarootdir_hack=; ac_datarootdir_seen=
84049 ac_sed_dataroot='
84050 /datarootdir/ {
84054 /@datadir@/p
84055 /@docdir@/p
84056 /@infodir@/p
84057 /@localedir@/p
84058 /@mandir@/p'
84059 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
84060 *datarootdir*) ac_datarootdir_seen=yes;;
84061 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
84062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
84063 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
84064 _ACEOF
84065 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
84066 ac_datarootdir_hack='
84067 s&@datadir@&$datadir&g
84068 s&@docdir@&$docdir&g
84069 s&@infodir@&$infodir&g
84070 s&@localedir@&$localedir&g
84071 s&@mandir@&$mandir&g
84072 s&\\\${datarootdir}&$datarootdir&g' ;;
84073 esac
84074 _ACEOF
84076 # Neutralize VPATH when `$srcdir' = `.'.
84077 # Shell code in configure.ac might set extrasub.
84078 # FIXME: do we really want to maintain this feature?
84079 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
84080 ac_sed_extra="$ac_vpsub
84081 $extrasub
84082 _ACEOF
84083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
84085 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
84086 s|@configure_input@|$ac_sed_conf_input|;t t
84087 s&@top_builddir@&$ac_top_builddir_sub&;t t
84088 s&@top_build_prefix@&$ac_top_build_prefix&;t t
84089 s&@srcdir@&$ac_srcdir&;t t
84090 s&@abs_srcdir@&$ac_abs_srcdir&;t t
84091 s&@top_srcdir@&$ac_top_srcdir&;t t
84092 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
84093 s&@builddir@&$ac_builddir&;t t
84094 s&@abs_builddir@&$ac_abs_builddir&;t t
84095 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
84096 s&@INSTALL@&$ac_INSTALL&;t t
84097 s&@MKDIR_P@&$ac_MKDIR_P&;t t
84098 $ac_datarootdir_hack
84100 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
84101 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
84103 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
84104 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
84105 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
84106 "$ac_tmp/out"`; test -z "$ac_out"; } &&
84107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
84108 which seems to be undefined. Please make sure it is defined" >&5
84109 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
84110 which seems to be undefined. Please make sure it is defined" >&2;}
84112 rm -f "$ac_tmp/stdin"
84113 case $ac_file in
84114 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
84115 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
84116 esac \
84117 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
84121 # CONFIG_HEADER
84123 if test x"$ac_file" != x-; then
84125 $as_echo "/* $configure_input */" \
84126 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
84127 } >"$ac_tmp/config.h" \
84128 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
84129 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
84130 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
84131 $as_echo "$as_me: $ac_file is unchanged" >&6;}
84132 else
84133 rm -f "$ac_file"
84134 mv "$ac_tmp/config.h" "$ac_file" \
84135 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
84137 else
84138 $as_echo "/* $configure_input */" \
84139 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
84140 || as_fn_error $? "could not create -" "$LINENO" 5
84142 # Compute "$ac_file"'s index in $config_headers.
84143 _am_arg="$ac_file"
84144 _am_stamp_count=1
84145 for _am_header in $config_headers :; do
84146 case $_am_header in
84147 $_am_arg | $_am_arg:* )
84148 break ;;
84150 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
84151 esac
84152 done
84153 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
84154 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
84155 X"$_am_arg" : 'X\(//\)[^/]' \| \
84156 X"$_am_arg" : 'X\(//\)$' \| \
84157 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
84158 $as_echo X"$_am_arg" |
84159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
84160 s//\1/
84163 /^X\(\/\/\)[^/].*/{
84164 s//\1/
84167 /^X\(\/\/\)$/{
84168 s//\1/
84171 /^X\(\/\).*/{
84172 s//\1/
84175 s/.*/./; q'`/stamp-h$_am_stamp_count
84178 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
84179 $as_echo "$as_me: executing $ac_file commands" >&6;}
84181 esac
84184 case $ac_file$ac_mode in
84185 "default-1":C)
84186 # Only add multilib support code if we just rebuilt the top-level
84187 # Makefile.
84188 case " $CONFIG_FILES " in
84189 *" Makefile "*)
84190 ac_file=Makefile . ${multi_basedir}/config-ml.in
84192 esac ;;
84193 "libtool":C)
84195 # See if we are running on zsh, and set the options which allow our
84196 # commands through without removal of \ escapes.
84197 if test -n "${ZSH_VERSION+set}" ; then
84198 setopt NO_GLOB_SUBST
84201 cfgfile="${ofile}T"
84202 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
84203 $RM "$cfgfile"
84205 cat <<_LT_EOF >> "$cfgfile"
84206 #! $SHELL
84208 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
84209 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
84210 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
84211 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
84213 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
84214 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
84215 # Written by Gordon Matzigkeit, 1996
84217 # This file is part of GNU Libtool.
84219 # GNU Libtool is free software; you can redistribute it and/or
84220 # modify it under the terms of the GNU General Public License as
84221 # published by the Free Software Foundation; either version 2 of
84222 # the License, or (at your option) any later version.
84224 # As a special exception to the GNU General Public License,
84225 # if you distribute this file as part of a program or library that
84226 # is built using GNU Libtool, you may include this file under the
84227 # same distribution terms that you use for the rest of that program.
84229 # GNU Libtool is distributed in the hope that it will be useful,
84230 # but WITHOUT ANY WARRANTY; without even the implied warranty of
84231 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
84232 # GNU General Public License for more details.
84234 # You should have received a copy of the GNU General Public License
84235 # along with GNU Libtool; see the file COPYING. If not, a copy
84236 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
84237 # obtained by writing to the Free Software Foundation, Inc.,
84238 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
84241 # The names of the tagged configurations supported by this script.
84242 available_tags="CXX "
84244 # ### BEGIN LIBTOOL CONFIG
84246 # Which release of libtool.m4 was used?
84247 macro_version=$macro_version
84248 macro_revision=$macro_revision
84250 # Whether or not to build shared libraries.
84251 build_libtool_libs=$enable_shared
84253 # Whether or not to build static libraries.
84254 build_old_libs=$enable_static
84256 # What type of objects to build.
84257 pic_mode=$pic_mode
84259 # Whether or not to optimize for fast installation.
84260 fast_install=$enable_fast_install
84262 # Shell to use when invoking shell scripts.
84263 SHELL=$lt_SHELL
84265 # An echo program that protects backslashes.
84266 ECHO=$lt_ECHO
84268 # The host system.
84269 host_alias=$host_alias
84270 host=$host
84271 host_os=$host_os
84273 # The build system.
84274 build_alias=$build_alias
84275 build=$build
84276 build_os=$build_os
84278 # A sed program that does not truncate output.
84279 SED=$lt_SED
84281 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
84282 Xsed="\$SED -e 1s/^X//"
84284 # A grep program that handles long lines.
84285 GREP=$lt_GREP
84287 # An ERE matcher.
84288 EGREP=$lt_EGREP
84290 # A literal string matcher.
84291 FGREP=$lt_FGREP
84293 # A BSD- or MS-compatible name lister.
84294 NM=$lt_NM
84296 # Whether we need soft or hard links.
84297 LN_S=$lt_LN_S
84299 # What is the maximum length of a command?
84300 max_cmd_len=$max_cmd_len
84302 # Object file suffix (normally "o").
84303 objext=$ac_objext
84305 # Executable file suffix (normally "").
84306 exeext=$exeext
84308 # whether the shell understands "unset".
84309 lt_unset=$lt_unset
84311 # turn spaces into newlines.
84312 SP2NL=$lt_lt_SP2NL
84314 # turn newlines into spaces.
84315 NL2SP=$lt_lt_NL2SP
84317 # An object symbol dumper.
84318 OBJDUMP=$lt_OBJDUMP
84320 # Method to check whether dependent libraries are shared objects.
84321 deplibs_check_method=$lt_deplibs_check_method
84323 # Command to use when deplibs_check_method == "file_magic".
84324 file_magic_cmd=$lt_file_magic_cmd
84326 # The archiver.
84327 AR=$lt_AR
84328 AR_FLAGS=$lt_AR_FLAGS
84330 # A symbol stripping program.
84331 STRIP=$lt_STRIP
84333 # Commands used to install an old-style archive.
84334 RANLIB=$lt_RANLIB
84335 old_postinstall_cmds=$lt_old_postinstall_cmds
84336 old_postuninstall_cmds=$lt_old_postuninstall_cmds
84338 # Whether to use a lock for old archive extraction.
84339 lock_old_archive_extraction=$lock_old_archive_extraction
84341 # A C compiler.
84342 LTCC=$lt_CC
84344 # LTCC compiler flags.
84345 LTCFLAGS=$lt_CFLAGS
84347 # Take the output of nm and produce a listing of raw symbols and C names.
84348 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
84350 # Transform the output of nm in a proper C declaration.
84351 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
84353 # Transform the output of nm in a C name address pair.
84354 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
84356 # Transform the output of nm in a C name address pair when lib prefix is needed.
84357 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
84359 # The name of the directory that contains temporary libtool files.
84360 objdir=$objdir
84362 # Used to examine libraries when file_magic_cmd begins with "file".
84363 MAGIC_CMD=$MAGIC_CMD
84365 # Must we lock files when doing compilation?
84366 need_locks=$lt_need_locks
84368 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
84369 DSYMUTIL=$lt_DSYMUTIL
84371 # Tool to change global to local symbols on Mac OS X.
84372 NMEDIT=$lt_NMEDIT
84374 # Tool to manipulate fat objects and archives on Mac OS X.
84375 LIPO=$lt_LIPO
84377 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
84378 OTOOL=$lt_OTOOL
84380 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
84381 OTOOL64=$lt_OTOOL64
84383 # Old archive suffix (normally "a").
84384 libext=$libext
84386 # Shared library suffix (normally ".so").
84387 shrext_cmds=$lt_shrext_cmds
84389 # The commands to extract the exported symbol list from a shared archive.
84390 extract_expsyms_cmds=$lt_extract_expsyms_cmds
84392 # Variables whose values should be saved in libtool wrapper scripts and
84393 # restored at link time.
84394 variables_saved_for_relink=$lt_variables_saved_for_relink
84396 # Do we need the "lib" prefix for modules?
84397 need_lib_prefix=$need_lib_prefix
84399 # Do we need a version for libraries?
84400 need_version=$need_version
84402 # Library versioning type.
84403 version_type=$version_type
84405 # Shared library runtime path variable.
84406 runpath_var=$runpath_var
84408 # Shared library path variable.
84409 shlibpath_var=$shlibpath_var
84411 # Is shlibpath searched before the hard-coded library search path?
84412 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
84414 # Format of library name prefix.
84415 libname_spec=$lt_libname_spec
84417 # List of archive names. First name is the real one, the rest are links.
84418 # The last name is the one that the linker finds with -lNAME
84419 library_names_spec=$lt_library_names_spec
84421 # The coded name of the library, if different from the real name.
84422 soname_spec=$lt_soname_spec
84424 # Permission mode override for installation of shared libraries.
84425 install_override_mode=$lt_install_override_mode
84427 # Command to use after installation of a shared archive.
84428 postinstall_cmds=$lt_postinstall_cmds
84430 # Command to use after uninstallation of a shared archive.
84431 postuninstall_cmds=$lt_postuninstall_cmds
84433 # Commands used to finish a libtool library installation in a directory.
84434 finish_cmds=$lt_finish_cmds
84436 # As "finish_cmds", except a single script fragment to be evaled but
84437 # not shown.
84438 finish_eval=$lt_finish_eval
84440 # Whether we should hardcode library paths into libraries.
84441 hardcode_into_libs=$hardcode_into_libs
84443 # Compile-time system search path for libraries.
84444 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
84446 # Run-time system search path for libraries.
84447 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
84449 # Whether dlopen is supported.
84450 dlopen_support=$enable_dlopen
84452 # Whether dlopen of programs is supported.
84453 dlopen_self=$enable_dlopen_self
84455 # Whether dlopen of statically linked programs is supported.
84456 dlopen_self_static=$enable_dlopen_self_static
84458 # Commands to strip libraries.
84459 old_striplib=$lt_old_striplib
84460 striplib=$lt_striplib
84463 # The linker used to build libraries.
84464 LD=$lt_LD
84466 # How to create reloadable object files.
84467 reload_flag=$lt_reload_flag
84468 reload_cmds=$lt_reload_cmds
84470 # Commands used to build an old-style archive.
84471 old_archive_cmds=$lt_old_archive_cmds
84473 # A language specific compiler.
84474 CC=$lt_compiler
84476 # Is the compiler the GNU compiler?
84477 with_gcc=$GCC
84479 # Compiler flag to turn off builtin functions.
84480 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
84482 # How to pass a linker flag through the compiler.
84483 wl=$lt_lt_prog_compiler_wl
84485 # Additional compiler flags for building library objects.
84486 pic_flag=$lt_lt_prog_compiler_pic
84488 # Compiler flag to prevent dynamic linking.
84489 link_static_flag=$lt_lt_prog_compiler_static
84491 # Does compiler simultaneously support -c and -o options?
84492 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
84494 # Whether or not to add -lc for building shared libraries.
84495 build_libtool_need_lc=$archive_cmds_need_lc
84497 # Whether or not to disallow shared libs when runtime libs are static.
84498 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
84500 # Compiler flag to allow reflexive dlopens.
84501 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
84503 # Compiler flag to generate shared objects directly from archives.
84504 whole_archive_flag_spec=$lt_whole_archive_flag_spec
84506 # Whether the compiler copes with passing no objects directly.
84507 compiler_needs_object=$lt_compiler_needs_object
84509 # Create an old-style archive from a shared archive.
84510 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
84512 # Create a temporary old-style archive to link instead of a shared archive.
84513 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
84515 # Commands used to build a shared archive.
84516 archive_cmds=$lt_archive_cmds
84517 archive_expsym_cmds=$lt_archive_expsym_cmds
84519 # Commands used to build a loadable module if different from building
84520 # a shared archive.
84521 module_cmds=$lt_module_cmds
84522 module_expsym_cmds=$lt_module_expsym_cmds
84524 # Whether we are building with GNU ld or not.
84525 with_gnu_ld=$lt_with_gnu_ld
84527 # Flag that allows shared libraries with undefined symbols to be built.
84528 allow_undefined_flag=$lt_allow_undefined_flag
84530 # Flag that enforces no undefined symbols.
84531 no_undefined_flag=$lt_no_undefined_flag
84533 # Flag to hardcode \$libdir into a binary during linking.
84534 # This must work even if \$libdir does not exist
84535 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
84537 # If ld is used when linking, flag to hardcode \$libdir into a binary
84538 # during linking. This must work even if \$libdir does not exist.
84539 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
84541 # Whether we need a single "-rpath" flag with a separated argument.
84542 hardcode_libdir_separator=$lt_hardcode_libdir_separator
84544 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84545 # DIR into the resulting binary.
84546 hardcode_direct=$hardcode_direct
84548 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84549 # DIR into the resulting binary and the resulting library dependency is
84550 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84551 # library is relocated.
84552 hardcode_direct_absolute=$hardcode_direct_absolute
84554 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84555 # into the resulting binary.
84556 hardcode_minus_L=$hardcode_minus_L
84558 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84559 # into the resulting binary.
84560 hardcode_shlibpath_var=$hardcode_shlibpath_var
84562 # Set to "yes" if building a shared library automatically hardcodes DIR
84563 # into the library and all subsequent libraries and executables linked
84564 # against it.
84565 hardcode_automatic=$hardcode_automatic
84567 # Set to yes if linker adds runtime paths of dependent libraries
84568 # to runtime path list.
84569 inherit_rpath=$inherit_rpath
84571 # Whether libtool must link a program against all its dependency libraries.
84572 link_all_deplibs=$link_all_deplibs
84574 # Fix the shell variable \$srcfile for the compiler.
84575 fix_srcfile_path=$lt_fix_srcfile_path
84577 # Set to "yes" if exported symbols are required.
84578 always_export_symbols=$always_export_symbols
84580 # The commands to list exported symbols.
84581 export_symbols_cmds=$lt_export_symbols_cmds
84583 # Symbols that should not be listed in the preloaded symbols.
84584 exclude_expsyms=$lt_exclude_expsyms
84586 # Symbols that must always be exported.
84587 include_expsyms=$lt_include_expsyms
84589 # Commands necessary for linking programs (against libraries) with templates.
84590 prelink_cmds=$lt_prelink_cmds
84592 # Specify filename containing input files.
84593 file_list_spec=$lt_file_list_spec
84595 # How to hardcode a shared library path into an executable.
84596 hardcode_action=$hardcode_action
84598 # The directories searched by this compiler when creating a shared library.
84599 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
84601 # Dependencies to place before and after the objects being linked to
84602 # create a shared library.
84603 predep_objects=$lt_predep_objects
84604 postdep_objects=$lt_postdep_objects
84605 predeps=$lt_predeps
84606 postdeps=$lt_postdeps
84608 # The library search path used internally by the compiler when linking
84609 # a shared library.
84610 compiler_lib_search_path=$lt_compiler_lib_search_path
84612 # ### END LIBTOOL CONFIG
84614 _LT_EOF
84616 case $host_os in
84617 aix3*)
84618 cat <<\_LT_EOF >> "$cfgfile"
84619 # AIX sometimes has problems with the GCC collect2 program. For some
84620 # reason, if we set the COLLECT_NAMES environment variable, the problems
84621 # vanish in a puff of smoke.
84622 if test "X${COLLECT_NAMES+set}" != Xset; then
84623 COLLECT_NAMES=
84624 export COLLECT_NAMES
84626 _LT_EOF
84628 esac
84631 ltmain="$ac_aux_dir/ltmain.sh"
84634 # We use sed instead of cat because bash on DJGPP gets confused if
84635 # if finds mixed CR/LF and LF-only lines. Since sed operates in
84636 # text mode, it properly converts lines to CR/LF. This bash problem
84637 # is reportedly fixed, but why not run on old versions too?
84638 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
84639 || (rm -f "$cfgfile"; exit 1)
84641 case $xsi_shell in
84642 yes)
84643 cat << \_LT_EOF >> "$cfgfile"
84645 # func_dirname file append nondir_replacement
84646 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84647 # otherwise set result to NONDIR_REPLACEMENT.
84648 func_dirname ()
84650 case ${1} in
84651 */*) func_dirname_result="${1%/*}${2}" ;;
84652 * ) func_dirname_result="${3}" ;;
84653 esac
84656 # func_basename file
84657 func_basename ()
84659 func_basename_result="${1##*/}"
84662 # func_dirname_and_basename file append nondir_replacement
84663 # perform func_basename and func_dirname in a single function
84664 # call:
84665 # dirname: Compute the dirname of FILE. If nonempty,
84666 # add APPEND to the result, otherwise set result
84667 # to NONDIR_REPLACEMENT.
84668 # value returned in "$func_dirname_result"
84669 # basename: Compute filename of FILE.
84670 # value retuned in "$func_basename_result"
84671 # Implementation must be kept synchronized with func_dirname
84672 # and func_basename. For efficiency, we do not delegate to
84673 # those functions but instead duplicate the functionality here.
84674 func_dirname_and_basename ()
84676 case ${1} in
84677 */*) func_dirname_result="${1%/*}${2}" ;;
84678 * ) func_dirname_result="${3}" ;;
84679 esac
84680 func_basename_result="${1##*/}"
84683 # func_stripname prefix suffix name
84684 # strip PREFIX and SUFFIX off of NAME.
84685 # PREFIX and SUFFIX must not contain globbing or regex special
84686 # characters, hashes, percent signs, but SUFFIX may contain a leading
84687 # dot (in which case that matches only a dot).
84688 func_stripname ()
84690 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
84691 # positional parameters, so assign one to ordinary parameter first.
84692 func_stripname_result=${3}
84693 func_stripname_result=${func_stripname_result#"${1}"}
84694 func_stripname_result=${func_stripname_result%"${2}"}
84697 # func_opt_split
84698 func_opt_split ()
84700 func_opt_split_opt=${1%%=*}
84701 func_opt_split_arg=${1#*=}
84704 # func_lo2o object
84705 func_lo2o ()
84707 case ${1} in
84708 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
84709 *) func_lo2o_result=${1} ;;
84710 esac
84713 # func_xform libobj-or-source
84714 func_xform ()
84716 func_xform_result=${1%.*}.lo
84719 # func_arith arithmetic-term...
84720 func_arith ()
84722 func_arith_result=$(( $* ))
84725 # func_len string
84726 # STRING may not start with a hyphen.
84727 func_len ()
84729 func_len_result=${#1}
84732 _LT_EOF
84734 *) # Bourne compatible functions.
84735 cat << \_LT_EOF >> "$cfgfile"
84737 # func_dirname file append nondir_replacement
84738 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84739 # otherwise set result to NONDIR_REPLACEMENT.
84740 func_dirname ()
84742 # Extract subdirectory from the argument.
84743 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
84744 if test "X$func_dirname_result" = "X${1}"; then
84745 func_dirname_result="${3}"
84746 else
84747 func_dirname_result="$func_dirname_result${2}"
84751 # func_basename file
84752 func_basename ()
84754 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
84758 # func_stripname prefix suffix name
84759 # strip PREFIX and SUFFIX off of NAME.
84760 # PREFIX and SUFFIX must not contain globbing or regex special
84761 # characters, hashes, percent signs, but SUFFIX may contain a leading
84762 # dot (in which case that matches only a dot).
84763 # func_strip_suffix prefix name
84764 func_stripname ()
84766 case ${2} in
84767 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
84768 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
84769 esac
84772 # sed scripts:
84773 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
84774 my_sed_long_arg='1s/^-[^=]*=//'
84776 # func_opt_split
84777 func_opt_split ()
84779 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
84780 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
84783 # func_lo2o object
84784 func_lo2o ()
84786 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
84789 # func_xform libobj-or-source
84790 func_xform ()
84792 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
84795 # func_arith arithmetic-term...
84796 func_arith ()
84798 func_arith_result=`expr "$@"`
84801 # func_len string
84802 # STRING may not start with a hyphen.
84803 func_len ()
84805 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
84808 _LT_EOF
84809 esac
84811 case $lt_shell_append in
84812 yes)
84813 cat << \_LT_EOF >> "$cfgfile"
84815 # func_append var value
84816 # Append VALUE to the end of shell variable VAR.
84817 func_append ()
84819 eval "$1+=\$2"
84821 _LT_EOF
84824 cat << \_LT_EOF >> "$cfgfile"
84826 # func_append var value
84827 # Append VALUE to the end of shell variable VAR.
84828 func_append ()
84830 eval "$1=\$$1\$2"
84833 _LT_EOF
84835 esac
84838 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
84839 || (rm -f "$cfgfile"; exit 1)
84841 mv -f "$cfgfile" "$ofile" ||
84842 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
84843 chmod +x "$ofile"
84846 cat <<_LT_EOF >> "$ofile"
84848 # ### BEGIN LIBTOOL TAG CONFIG: CXX
84850 # The linker used to build libraries.
84851 LD=$lt_LD_CXX
84853 # How to create reloadable object files.
84854 reload_flag=$lt_reload_flag_CXX
84855 reload_cmds=$lt_reload_cmds_CXX
84857 # Commands used to build an old-style archive.
84858 old_archive_cmds=$lt_old_archive_cmds_CXX
84860 # A language specific compiler.
84861 CC=$lt_compiler_CXX
84863 # Is the compiler the GNU compiler?
84864 with_gcc=$GCC_CXX
84866 # Compiler flag to turn off builtin functions.
84867 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
84869 # How to pass a linker flag through the compiler.
84870 wl=$lt_lt_prog_compiler_wl_CXX
84872 # Additional compiler flags for building library objects.
84873 pic_flag=$lt_lt_prog_compiler_pic_CXX
84875 # Compiler flag to prevent dynamic linking.
84876 link_static_flag=$lt_lt_prog_compiler_static_CXX
84878 # Does compiler simultaneously support -c and -o options?
84879 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
84881 # Whether or not to add -lc for building shared libraries.
84882 build_libtool_need_lc=$archive_cmds_need_lc_CXX
84884 # Whether or not to disallow shared libs when runtime libs are static.
84885 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
84887 # Compiler flag to allow reflexive dlopens.
84888 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
84890 # Compiler flag to generate shared objects directly from archives.
84891 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
84893 # Whether the compiler copes with passing no objects directly.
84894 compiler_needs_object=$lt_compiler_needs_object_CXX
84896 # Create an old-style archive from a shared archive.
84897 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
84899 # Create a temporary old-style archive to link instead of a shared archive.
84900 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
84902 # Commands used to build a shared archive.
84903 archive_cmds=$lt_archive_cmds_CXX
84904 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
84906 # Commands used to build a loadable module if different from building
84907 # a shared archive.
84908 module_cmds=$lt_module_cmds_CXX
84909 module_expsym_cmds=$lt_module_expsym_cmds_CXX
84911 # Whether we are building with GNU ld or not.
84912 with_gnu_ld=$lt_with_gnu_ld_CXX
84914 # Flag that allows shared libraries with undefined symbols to be built.
84915 allow_undefined_flag=$lt_allow_undefined_flag_CXX
84917 # Flag that enforces no undefined symbols.
84918 no_undefined_flag=$lt_no_undefined_flag_CXX
84920 # Flag to hardcode \$libdir into a binary during linking.
84921 # This must work even if \$libdir does not exist
84922 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
84924 # If ld is used when linking, flag to hardcode \$libdir into a binary
84925 # during linking. This must work even if \$libdir does not exist.
84926 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
84928 # Whether we need a single "-rpath" flag with a separated argument.
84929 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
84931 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84932 # DIR into the resulting binary.
84933 hardcode_direct=$hardcode_direct_CXX
84935 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84936 # DIR into the resulting binary and the resulting library dependency is
84937 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84938 # library is relocated.
84939 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
84941 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84942 # into the resulting binary.
84943 hardcode_minus_L=$hardcode_minus_L_CXX
84945 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84946 # into the resulting binary.
84947 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
84949 # Set to "yes" if building a shared library automatically hardcodes DIR
84950 # into the library and all subsequent libraries and executables linked
84951 # against it.
84952 hardcode_automatic=$hardcode_automatic_CXX
84954 # Set to yes if linker adds runtime paths of dependent libraries
84955 # to runtime path list.
84956 inherit_rpath=$inherit_rpath_CXX
84958 # Whether libtool must link a program against all its dependency libraries.
84959 link_all_deplibs=$link_all_deplibs_CXX
84961 # Fix the shell variable \$srcfile for the compiler.
84962 fix_srcfile_path=$lt_fix_srcfile_path_CXX
84964 # Set to "yes" if exported symbols are required.
84965 always_export_symbols=$always_export_symbols_CXX
84967 # The commands to list exported symbols.
84968 export_symbols_cmds=$lt_export_symbols_cmds_CXX
84970 # Symbols that should not be listed in the preloaded symbols.
84971 exclude_expsyms=$lt_exclude_expsyms_CXX
84973 # Symbols that must always be exported.
84974 include_expsyms=$lt_include_expsyms_CXX
84976 # Commands necessary for linking programs (against libraries) with templates.
84977 prelink_cmds=$lt_prelink_cmds_CXX
84979 # Specify filename containing input files.
84980 file_list_spec=$lt_file_list_spec_CXX
84982 # How to hardcode a shared library path into an executable.
84983 hardcode_action=$hardcode_action_CXX
84985 # The directories searched by this compiler when creating a shared library.
84986 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
84988 # Dependencies to place before and after the objects being linked to
84989 # create a shared library.
84990 predep_objects=$lt_predep_objects_CXX
84991 postdep_objects=$lt_postdep_objects_CXX
84992 predeps=$lt_predeps_CXX
84993 postdeps=$lt_postdeps_CXX
84995 # The library search path used internally by the compiler when linking
84996 # a shared library.
84997 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84999 # ### END LIBTOOL TAG CONFIG: CXX
85000 _LT_EOF
85003 "include/gstdint.h":C)
85004 if test "$GCC" = yes; then
85005 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
85006 else
85007 echo "/* generated for $CC */" > tmp-stdint.h
85010 sed 's/^ *//' >> tmp-stdint.h <<EOF
85012 #ifndef GCC_GENERATED_STDINT_H
85013 #define GCC_GENERATED_STDINT_H 1
85015 #include <sys/types.h>
85018 if test "$acx_cv_header_stdint" != stdint.h; then
85019 echo "#include <stddef.h>" >> tmp-stdint.h
85021 if test "$acx_cv_header_stdint" != stddef.h; then
85022 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
85025 sed 's/^ *//' >> tmp-stdint.h <<EOF
85026 /* glibc uses these symbols as guards to prevent redefinitions. */
85027 #ifdef __int8_t_defined
85028 #define _INT8_T
85029 #define _INT16_T
85030 #define _INT32_T
85031 #endif
85032 #ifdef __uint32_t_defined
85033 #define _UINT32_T
85034 #endif
85038 # ----------------- done header, emit basic int types -------------
85039 if test "$acx_cv_header_stdint" = stddef.h; then
85040 sed 's/^ *//' >> tmp-stdint.h <<EOF
85042 #ifndef _UINT8_T
85043 #define _UINT8_T
85044 #ifndef __uint8_t_defined
85045 #define __uint8_t_defined
85046 #ifndef uint8_t
85047 typedef unsigned $acx_cv_type_int8_t uint8_t;
85048 #endif
85049 #endif
85050 #endif
85052 #ifndef _UINT16_T
85053 #define _UINT16_T
85054 #ifndef __uint16_t_defined
85055 #define __uint16_t_defined
85056 #ifndef uint16_t
85057 typedef unsigned $acx_cv_type_int16_t uint16_t;
85058 #endif
85059 #endif
85060 #endif
85062 #ifndef _UINT32_T
85063 #define _UINT32_T
85064 #ifndef __uint32_t_defined
85065 #define __uint32_t_defined
85066 #ifndef uint32_t
85067 typedef unsigned $acx_cv_type_int32_t uint32_t;
85068 #endif
85069 #endif
85070 #endif
85072 #ifndef _INT8_T
85073 #define _INT8_T
85074 #ifndef __int8_t_defined
85075 #define __int8_t_defined
85076 #ifndef int8_t
85077 typedef $acx_cv_type_int8_t int8_t;
85078 #endif
85079 #endif
85080 #endif
85082 #ifndef _INT16_T
85083 #define _INT16_T
85084 #ifndef __int16_t_defined
85085 #define __int16_t_defined
85086 #ifndef int16_t
85087 typedef $acx_cv_type_int16_t int16_t;
85088 #endif
85089 #endif
85090 #endif
85092 #ifndef _INT32_T
85093 #define _INT32_T
85094 #ifndef __int32_t_defined
85095 #define __int32_t_defined
85096 #ifndef int32_t
85097 typedef $acx_cv_type_int32_t int32_t;
85098 #endif
85099 #endif
85100 #endif
85102 elif test "$ac_cv_type_u_int32_t" = yes; then
85103 sed 's/^ *//' >> tmp-stdint.h <<EOF
85105 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
85106 #ifndef _INT8_T
85107 #define _INT8_T
85108 #endif
85109 #ifndef _INT16_T
85110 #define _INT16_T
85111 #endif
85112 #ifndef _INT32_T
85113 #define _INT32_T
85114 #endif
85116 #ifndef _UINT8_T
85117 #define _UINT8_T
85118 #ifndef __uint8_t_defined
85119 #define __uint8_t_defined
85120 #ifndef uint8_t
85121 typedef u_int8_t uint8_t;
85122 #endif
85123 #endif
85124 #endif
85126 #ifndef _UINT16_T
85127 #define _UINT16_T
85128 #ifndef __uint16_t_defined
85129 #define __uint16_t_defined
85130 #ifndef uint16_t
85131 typedef u_int16_t uint16_t;
85132 #endif
85133 #endif
85134 #endif
85136 #ifndef _UINT32_T
85137 #define _UINT32_T
85138 #ifndef __uint32_t_defined
85139 #define __uint32_t_defined
85140 #ifndef uint32_t
85141 typedef u_int32_t uint32_t;
85142 #endif
85143 #endif
85144 #endif
85146 else
85147 sed 's/^ *//' >> tmp-stdint.h <<EOF
85149 /* Some systems have guard macros to prevent redefinitions, define them. */
85150 #ifndef _INT8_T
85151 #define _INT8_T
85152 #endif
85153 #ifndef _INT16_T
85154 #define _INT16_T
85155 #endif
85156 #ifndef _INT32_T
85157 #define _INT32_T
85158 #endif
85159 #ifndef _UINT8_T
85160 #define _UINT8_T
85161 #endif
85162 #ifndef _UINT16_T
85163 #define _UINT16_T
85164 #endif
85165 #ifndef _UINT32_T
85166 #define _UINT32_T
85167 #endif
85171 # ------------- done basic int types, emit int64_t types ------------
85172 if test "$ac_cv_type_uint64_t" = yes; then
85173 sed 's/^ *//' >> tmp-stdint.h <<EOF
85175 /* system headers have good uint64_t and int64_t */
85176 #ifndef _INT64_T
85177 #define _INT64_T
85178 #endif
85179 #ifndef _UINT64_T
85180 #define _UINT64_T
85181 #endif
85183 elif test "$ac_cv_type_u_int64_t" = yes; then
85184 sed 's/^ *//' >> tmp-stdint.h <<EOF
85186 /* system headers have an u_int64_t (and int64_t) */
85187 #ifndef _INT64_T
85188 #define _INT64_T
85189 #endif
85190 #ifndef _UINT64_T
85191 #define _UINT64_T
85192 #ifndef __uint64_t_defined
85193 #define __uint64_t_defined
85194 #ifndef uint64_t
85195 typedef u_int64_t uint64_t;
85196 #endif
85197 #endif
85198 #endif
85200 elif test -n "$acx_cv_type_int64_t"; then
85201 sed 's/^ *//' >> tmp-stdint.h <<EOF
85203 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
85204 #ifndef _INT64_T
85205 #define _INT64_T
85206 #ifndef int64_t
85207 typedef $acx_cv_type_int64_t int64_t;
85208 #endif
85209 #endif
85210 #ifndef _UINT64_T
85211 #define _UINT64_T
85212 #ifndef __uint64_t_defined
85213 #define __uint64_t_defined
85214 #ifndef uint64_t
85215 typedef unsigned $acx_cv_type_int64_t uint64_t;
85216 #endif
85217 #endif
85218 #endif
85220 else
85221 sed 's/^ *//' >> tmp-stdint.h <<EOF
85223 /* some common heuristics for int64_t, using compiler-specific tests */
85224 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
85225 #ifndef _INT64_T
85226 #define _INT64_T
85227 #ifndef __int64_t_defined
85228 #ifndef int64_t
85229 typedef long long int64_t;
85230 #endif
85231 #endif
85232 #endif
85233 #ifndef _UINT64_T
85234 #define _UINT64_T
85235 #ifndef uint64_t
85236 typedef unsigned long long uint64_t;
85237 #endif
85238 #endif
85240 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
85241 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
85242 does not implement __extension__. But that compiler doesn't define
85243 __GNUC_MINOR__. */
85244 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
85245 # define __extension__
85246 # endif
85248 # ifndef _INT64_T
85249 # define _INT64_T
85250 # ifndef int64_t
85251 __extension__ typedef long long int64_t;
85252 # endif
85253 # endif
85254 # ifndef _UINT64_T
85255 # define _UINT64_T
85256 # ifndef uint64_t
85257 __extension__ typedef unsigned long long uint64_t;
85258 # endif
85259 # endif
85261 #elif !defined __STRICT_ANSI__
85262 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
85264 # ifndef _INT64_T
85265 # define _INT64_T
85266 # ifndef int64_t
85267 typedef __int64 int64_t;
85268 # endif
85269 # endif
85270 # ifndef _UINT64_T
85271 # define _UINT64_T
85272 # ifndef uint64_t
85273 typedef unsigned __int64 uint64_t;
85274 # endif
85275 # endif
85276 # endif /* compiler */
85278 #endif /* ANSI version */
85282 # ------------- done int64_t types, emit intptr types ------------
85283 if test "$ac_cv_type_uintptr_t" != yes; then
85284 sed 's/^ *//' >> tmp-stdint.h <<EOF
85286 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
85287 #ifndef __uintptr_t_defined
85288 #ifndef uintptr_t
85289 typedef u$acx_cv_type_intptr_t uintptr_t;
85290 #endif
85291 #endif
85292 #ifndef __intptr_t_defined
85293 #ifndef intptr_t
85294 typedef $acx_cv_type_intptr_t intptr_t;
85295 #endif
85296 #endif
85300 # ------------- done intptr types, emit int_least types ------------
85301 if test "$ac_cv_type_int_least32_t" != yes; then
85302 sed 's/^ *//' >> tmp-stdint.h <<EOF
85304 /* Define int_least types */
85305 typedef int8_t int_least8_t;
85306 typedef int16_t int_least16_t;
85307 typedef int32_t int_least32_t;
85308 #ifdef _INT64_T
85309 typedef int64_t int_least64_t;
85310 #endif
85312 typedef uint8_t uint_least8_t;
85313 typedef uint16_t uint_least16_t;
85314 typedef uint32_t uint_least32_t;
85315 #ifdef _UINT64_T
85316 typedef uint64_t uint_least64_t;
85317 #endif
85321 # ------------- done intptr types, emit int_fast types ------------
85322 if test "$ac_cv_type_int_fast32_t" != yes; then
85323 sed 's/^ *//' >> tmp-stdint.h <<EOF
85325 /* Define int_fast types. short is often slow */
85326 typedef int8_t int_fast8_t;
85327 typedef int int_fast16_t;
85328 typedef int32_t int_fast32_t;
85329 #ifdef _INT64_T
85330 typedef int64_t int_fast64_t;
85331 #endif
85333 typedef uint8_t uint_fast8_t;
85334 typedef unsigned int uint_fast16_t;
85335 typedef uint32_t uint_fast32_t;
85336 #ifdef _UINT64_T
85337 typedef uint64_t uint_fast64_t;
85338 #endif
85342 if test "$ac_cv_type_uintmax_t" != yes; then
85343 sed 's/^ *//' >> tmp-stdint.h <<EOF
85345 /* Define intmax based on what we found */
85346 #ifndef intmax_t
85347 #ifdef _INT64_T
85348 typedef int64_t intmax_t;
85349 #else
85350 typedef long intmax_t;
85351 #endif
85352 #endif
85353 #ifndef uintmax_t
85354 #ifdef _UINT64_T
85355 typedef uint64_t uintmax_t;
85356 #else
85357 typedef unsigned long uintmax_t;
85358 #endif
85359 #endif
85363 sed 's/^ *//' >> tmp-stdint.h <<EOF
85365 #endif /* GCC_GENERATED_STDINT_H */
85368 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
85369 rm -f tmp-stdint.h
85370 else
85371 mv -f tmp-stdint.h include/gstdint.h
85375 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
85376 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
85377 "include/Makefile":F) cat > vpsed$$ << \_EOF
85378 s!`test -f '$<' || echo '$(srcdir)/'`!!
85379 _EOF
85380 sed -f vpsed$$ $ac_file > tmp$$
85381 mv tmp$$ $ac_file
85382 rm vpsed$$
85383 echo 'MULTISUBDIR =' >> $ac_file
85384 ml_norecursion=yes
85385 . ${multi_basedir}/config-ml.in
85386 { ml_norecursion=; unset ml_norecursion;}
85388 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
85389 s!`test -f '$<' || echo '$(srcdir)/'`!!
85390 _EOF
85391 sed -f vpsed$$ $ac_file > tmp$$
85392 mv tmp$$ $ac_file
85393 rm vpsed$$
85394 echo 'MULTISUBDIR =' >> $ac_file
85395 ml_norecursion=yes
85396 . ${multi_basedir}/config-ml.in
85397 { ml_norecursion=; unset ml_norecursion;}
85399 "src/Makefile":F) cat > vpsed$$ << \_EOF
85400 s!`test -f '$<' || echo '$(srcdir)/'`!!
85401 _EOF
85402 sed -f vpsed$$ $ac_file > tmp$$
85403 mv tmp$$ $ac_file
85404 rm vpsed$$
85405 echo 'MULTISUBDIR =' >> $ac_file
85406 ml_norecursion=yes
85407 . ${multi_basedir}/config-ml.in
85408 { ml_norecursion=; unset ml_norecursion;}
85410 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
85411 s!`test -f '$<' || echo '$(srcdir)/'`!!
85412 _EOF
85413 sed -f vpsed$$ $ac_file > tmp$$
85414 mv tmp$$ $ac_file
85415 rm vpsed$$
85416 echo 'MULTISUBDIR =' >> $ac_file
85417 ml_norecursion=yes
85418 . ${multi_basedir}/config-ml.in
85419 { ml_norecursion=; unset ml_norecursion;}
85421 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
85422 s!`test -f '$<' || echo '$(srcdir)/'`!!
85423 _EOF
85424 sed -f vpsed$$ $ac_file > tmp$$
85425 mv tmp$$ $ac_file
85426 rm vpsed$$
85427 echo 'MULTISUBDIR =' >> $ac_file
85428 ml_norecursion=yes
85429 . ${multi_basedir}/config-ml.in
85430 { ml_norecursion=; unset ml_norecursion;}
85432 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
85433 s!`test -f '$<' || echo '$(srcdir)/'`!!
85434 _EOF
85435 sed -f vpsed$$ $ac_file > tmp$$
85436 mv tmp$$ $ac_file
85437 rm vpsed$$
85438 echo 'MULTISUBDIR =' >> $ac_file
85439 ml_norecursion=yes
85440 . ${multi_basedir}/config-ml.in
85441 { ml_norecursion=; unset ml_norecursion;}
85443 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
85444 s!`test -f '$<' || echo '$(srcdir)/'`!!
85445 _EOF
85446 sed -f vpsed$$ $ac_file > tmp$$
85447 mv tmp$$ $ac_file
85448 rm vpsed$$
85449 echo 'MULTISUBDIR =' >> $ac_file
85450 ml_norecursion=yes
85451 . ${multi_basedir}/config-ml.in
85452 { ml_norecursion=; unset ml_norecursion;}
85454 "doc/Makefile":F) cat > vpsed$$ << \_EOF
85455 s!`test -f '$<' || echo '$(srcdir)/'`!!
85456 _EOF
85457 sed -f vpsed$$ $ac_file > tmp$$
85458 mv tmp$$ $ac_file
85459 rm vpsed$$
85460 echo 'MULTISUBDIR =' >> $ac_file
85461 ml_norecursion=yes
85462 . ${multi_basedir}/config-ml.in
85463 { ml_norecursion=; unset ml_norecursion;}
85465 "po/Makefile":F) cat > vpsed$$ << \_EOF
85466 s!`test -f '$<' || echo '$(srcdir)/'`!!
85467 _EOF
85468 sed -f vpsed$$ $ac_file > tmp$$
85469 mv tmp$$ $ac_file
85470 rm vpsed$$
85471 echo 'MULTISUBDIR =' >> $ac_file
85472 ml_norecursion=yes
85473 . ${multi_basedir}/config-ml.in
85474 { ml_norecursion=; unset ml_norecursion;}
85476 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
85477 s!`test -f '$<' || echo '$(srcdir)/'`!!
85478 _EOF
85479 sed -f vpsed$$ $ac_file > tmp$$
85480 mv tmp$$ $ac_file
85481 rm vpsed$$
85482 echo 'MULTISUBDIR =' >> $ac_file
85483 ml_norecursion=yes
85484 . ${multi_basedir}/config-ml.in
85485 { ml_norecursion=; unset ml_norecursion;}
85487 "python/Makefile":F) cat > vpsed$$ << \_EOF
85488 s!`test -f '$<' || echo '$(srcdir)/'`!!
85489 _EOF
85490 sed -f vpsed$$ $ac_file > tmp$$
85491 mv tmp$$ $ac_file
85492 rm vpsed$$
85493 echo 'MULTISUBDIR =' >> $ac_file
85494 ml_norecursion=yes
85495 . ${multi_basedir}/config-ml.in
85496 { ml_norecursion=; unset ml_norecursion;}
85498 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
85500 esac
85501 done # for ac_tag
85504 as_fn_exit 0
85505 _ACEOF
85506 ac_clean_files=$ac_clean_files_save
85508 test $ac_write_fail = 0 ||
85509 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
85512 # configure is writing to config.log, and then calls config.status.
85513 # config.status does its own redirection, appending to config.log.
85514 # Unfortunately, on DOS this fails, as config.log is still kept open
85515 # by configure, so config.status won't be able to write to it; its
85516 # output is simply discarded. So we exec the FD to /dev/null,
85517 # effectively closing config.log, so it can be properly (re)opened and
85518 # appended to by config.status. When coming back to configure, we
85519 # need to make the FD available again.
85520 if test "$no_create" != yes; then
85521 ac_cs_success=:
85522 ac_config_status_args=
85523 test "$silent" = yes &&
85524 ac_config_status_args="$ac_config_status_args --quiet"
85525 exec 5>/dev/null
85526 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
85527 exec 5>>config.log
85528 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
85529 # would make configure fail if this is the last instruction.
85530 $ac_cs_success || as_fn_exit 1
85532 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
85533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
85534 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}